/* Ashborn Studio site: bright cartoon look matching Arrow Bird Escape. Mobile first. */
:root {
  --sky-1: #7cc8ff; --sky-2: #c4e8ff;
  --bg: #f3f8ff; --bg-2: #e7f1ff; --card: #ffffff; --line: #d8e5f5;
  --ink: #1d2747; --dim: #56627f;
  --green: #3cbf5c; --green-lip: #279044; --gold: #ffc93c; --gold-ink: #4a3500;
  --coral: #ff6b5b; --blue: #4f8df0; --violet: #7b5cf0;
  --link: #2f6fd8;
  --shadow: 0 10px 30px rgba(32, 62, 120, .14);
  --shadow-sm: 0 4px 14px rgba(32, 62, 120, .10);
  --radius: 22px;
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky-1: #2b2470; --sky-2: #17143d;
    --bg: #131130; --bg-2: #1a173f; --card: #221e52; --line: #332d6e;
    --ink: #eef0ff; --dim: #aab0d8; --link: #9fb7ff;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35); --shadow-sm: 0 4px 14px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky-1: #2b2470; --sky-2: #17143d;
  --bg: #131130; --bg-2: #1a173f; --card: #221e52; --line: #332d6e;
  --ink: #eef0ff; --dim: #aab0d8; --link: #9fb7ff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35); --shadow-sm: 0 4px 14px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  padding-top: env(safe-area-inset-top, 0px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand span { color: var(--green); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--dim); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.theme-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; margin-left: 4px;
}
.theme-btn svg { width: 18px; height: 18px; }
@media (max-width: 520px) {
  .brand .full { display: none; }
  .nav a { padding: 8px 9px; font-size: .9rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 22px; border-radius: 16px; border: 0;
  font: 700 1.05rem/1.1 var(--display); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(3px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-lip), var(--shadow-sm); }
.btn-green:active { box-shadow: 0 2px 0 var(--green-lip); }
.btn-light { background: var(--card); color: var(--ink); box-shadow: 0 5px 0 var(--line), var(--shadow-sm); }
.btn-light:active { box-shadow: 0 2px 0 var(--line); }
.play-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px;
  background: #0d0f14; color: #fff; border-radius: 14px; text-decoration: none; font-family: var(--display);
  font-weight: 600; font-size: 1.1rem; line-height: 1.05; box-shadow: var(--shadow-sm);
}
.play-badge small { display: block; font: 600 .7rem/1.2 var(--body); opacity: .8; letter-spacing: .02em; text-transform: uppercase; }
.play-badge svg { width: 26px; height: 26px; flex: none; }
a.play-badge { transition: transform .15s ease; }
a.play-badge:hover { transform: translateY(-2px); }
a.play-badge:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Sections */
section { padding: 56px 0; }
.eyebrow { font: 600 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.h2 { font-size: clamp(1.7rem, 5.2vw, 2.5rem); margin-bottom: 12px; }
.lead { color: var(--dim); font-size: 1.06rem; max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--dim); font-size: .92rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--dim); text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
