/* Moonshift Studio
   Concept: the whole site is one night shift. The page opens at midnight over the store lot and the
   sky warms toward sunrise as you scroll; the shift clock in the header runs 10 PM to 7 AM with it.
   Quiet, premium surfaces; each app keeps its own brand colors on its own stage. */
:root {
  --night: #0B1427;        /* page sky */
  --night-2: #111D36;      /* raised surface */
  --night-3: #18264A;      /* hover / inputs */
  --line: rgba(232, 226, 214, .13);
  --moon: #EFE9DD;         /* main text, warm moonlight */
  --haze: #9BA7BF;         /* secondary text */
  --gold: #E5B24C;         /* lamp gold from the logo */
  --gold-ink: #1A1204;
  --dawn: #F2A766;
  --dawn-ink: #2A1A10;

  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mark: 'Michroma', 'Eurostile', sans-serif;

  --wrap: 1240px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--moon); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; z-index: 50; font-weight: 700; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The night: page background runs midnight -> pre-dawn -> sunrise at the footer */
body.sky {
  background:
    linear-gradient(180deg,
      var(--night) 0,
      var(--night) calc(100% - 1500px),
      #1B2347 calc(100% - 1050px),
      #4A3550 calc(100% - 640px),
      #4A3550 100%);
}

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--display); font-weight: 600; }
.display { font-size: clamp(50px, 8.4vw, 132px); line-height: .92; letter-spacing: -0.035em; font-stretch: 88%; font-weight: 600; font-variation-settings: 'opsz' 96; }
h2.big { font-size: clamp(38px, 5.4vw, 80px); line-height: .98; letter-spacing: -0.032em; font-stretch: 90%; font-variation-settings: 'opsz' 96; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -0.03em; font-stretch: 88%; }
h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--haze); max-width: 54ch; margin: 22px 0 0; }
p { margin: 0; }
.muted { color: var(--haze); }
section { padding-block: clamp(72px, 10vw, 140px); }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 16px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #F1C366; }
.btn-ghost { border-color: var(--line); color: var(--moon); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--moon); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.head.solid, .head.always { background: rgba(11, 20, 39, .82); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom-color: var(--line); }
.head .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand span { font-family: var(--mark); font-size: 13px; letter-spacing: .22em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--haze); padding: 10px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--moon); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; margin-left: 6px; color: var(--gold-ink); }
.clock { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; border: 1px solid var(--line); font: 600 13px var(--body); color: var(--haze); font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock svg { width: 15px; height: 15px; color: var(--gold); }
.menu-btn { display: none; min-height: 44px; min-width: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 920px) {
  .clock { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter-r) 18px var(--gutter-l); background: rgba(11,20,39,.97); border-bottom: 1px solid var(--line); }
  .nav:not(.open) { display: none; }
  .nav a { padding: 14px 4px; border-radius: 0; font-size: 18px; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 0; margin-top: -73px; overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,20,39,.88) 0%, rgba(11,20,39,.5) 45%, rgba(11,20,39,0) 75%), linear-gradient(180deg, rgba(11,20,39,.4) 0%, rgba(11,20,39,0) 30%, rgba(11,20,39,0) 70%, var(--night) 100%); }
.hero .wrap { position: relative; min-height: min(880px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 170px 96px; }
.hero h1 { max-width: 11ch; }
.hero .lede { color: #C9D0DF; }
.hero .lede b { color: var(--moon); font-weight: 600; }
@media (max-width: 700px) {
  .hero-art img { object-position: 78% 50%; }
  .hero-art::after { background: linear-gradient(180deg, rgba(11,20,39,.35) 0%, rgba(11,20,39,.55) 40%, var(--night) 100%); }
  .hero .wrap { min-height: 640px; padding-block: 150px 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
  .hero .wrap > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero .wrap > :nth-child(2) { animation-delay: .12s; }
  .hero .wrap > :nth-child(3) { animation-delay: .24s; }
  @keyframes settle { from { transform: scale(1.06); filter: brightness(.6); } to { transform: none; filter: none; } }
  @keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
}

/* App index strip under the hero */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip a { display: flex; align-items: center; gap: 14px; padding: 22px 18px; text-decoration: none; border-left: 1px solid var(--line); min-width: 0; }
.strip a:first-child { border-left: 0; padding-left: 0; }
.strip a:hover b { color: var(--gold); }
.strip .ic { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; }
.strip .ic svg { width: 100%; height: 100%; display: block; }
.strip b { display: block; font-size: 17px; }
.strip small { display: block; color: var(--haze); font-size: 14px; }
@media (max-width: 900px) { .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip a:nth-child(3) { border-left: 0; padding-left: 0; } .strip a:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .strip .wrap { grid-template-columns: minmax(0, 1fr); } .strip a { border-left: 0; padding-left: 0; } .strip a + a { border-top: 1px solid var(--line); } }

/* Status */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 6px 13px; border-radius: 999px; white-space: nowrap; background: var(--chip-bg, rgba(255,255,255,.08)); color: var(--chip-fg, var(--moon)); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-live { --chip-fg: #5BD69A; --chip-bg: rgba(91,214,154,.13); }
.status-beta { --chip-fg: #FFB271; --chip-bg: rgba(255,178,113,.14); }
.status-dev { --chip-fg: #A9BCFF; --chip-bg: rgba(169,188,255,.14); }

/* ---------- App stages ---------- */
.intro { max-width: 760px; }
.intro .lede { margin-top: 18px; }
.stages { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); margin-top: clamp(40px, 6vw, 72px); }
.stage { position: relative; border-radius: clamp(26px, 3vw, 40px); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 640px; isolation: isolate; }
.stage .art { position: absolute; inset: 0; z-index: -2; }
.stage .art img { width: 100%; height: 100%; object-fit: cover; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--veil); }
.stage .copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; min-width: 0; }
.stage .name { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stage .name .ic { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: 0 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.stage .name .ic svg { width: 100%; height: 100%; display: block; }
.stage h3 { font-size: clamp(36px, 4.4vw, 60px); line-height: .95; letter-spacing: -0.04em; font-stretch: 84%; font-family: var(--app-font, var(--display)); }
.stage .tag { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; color: var(--accent); }
.stage .desc { color: var(--soft); max-width: 46ch; }
.stage ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.stage li { display: flex; gap: 12px; color: var(--soft); }
.stage li::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0 3.5px, transparent 4px), color-mix(in srgb, var(--accent) 22%, transparent); }
.stage li b { color: var(--ink); font-weight: 700; }
.stage .btns { margin-top: 6px; }
.stage .btn-app { background: var(--btn-bg); color: var(--btn-ink); }
.stage .btn-app:hover { filter: brightness(1.08); }
.stage .btn-line { border: 1px solid var(--line-app); color: var(--ink); background: transparent; }
.stage .btn-line:hover { border-color: var(--ink); }
.stage { color: var(--ink); }
.stage.flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.stage.flip .copy { order: 2; }
.phones { position: relative; min-height: 560px; }
.phones .phone { position: absolute; width: 236px; top: 50%; left: 50%; }
.phones .p0 { transform: translate(-50%, -50%) translate(-150px, 26px) rotate(-7deg); }
.phones .p1 { transform: translate(-50%, -50%); z-index: 2; width: 262px; }
.phones .p2 { transform: translate(-50%, -50%) translate(150px, 26px) rotate(7deg); }
@media (max-width: 980px) {
  .stage, .stage.flip { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .stage.flip .copy { order: 0; }
  .phones { min-height: 0; display: flex; gap: 14px; padding: 0 clamp(20px, 5vw, 48px) 40px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .phones .phone, .phones .p1 { position: static; transform: none; width: 220px; scroll-snap-align: center; }
}

/* Phone frame */
.phone { aspect-ratio: 9 / 19.5; max-width: 100%; border-radius: 42px; padding: 9px; background: #07090D; box-shadow: 0 0 0 1.5px rgba(255,255,255,.14), 0 40px 80px -20px rgba(0,0,0,.6); flex: 0 0 auto; }
.phone .screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #111; position: relative; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Brand stages */
.s-nopehook { --ink: #10213A; --soft: #3F4C63; --accent: #E0651B; --btn-bg: #10213A; --btn-ink: #fff; --line-app: rgba(16,33,58,.22); --veil: linear-gradient(90deg, rgba(246,248,252,.94) 0%, rgba(246,248,252,.78) 42%, rgba(246,248,252,.15) 70%, rgba(246,248,252,0) 100%); --app-font: 'Plus Jakarta Sans', var(--display); background: #EEF3FA; }
.s-nopehook h3 { letter-spacing: -0.03em; font-stretch: 100%; font-weight: 800; }
.s-nopehook .phone { box-shadow: 0 0 0 1.5px rgba(16,33,58,.2), 0 40px 80px -24px rgba(16,33,58,.45); }
.s-unbadged { --ink: #F1F4F9; --soft: #B9C2CF; --accent: #FF7C30; --btn-bg: #FF7C30; --btn-ink: #161B24; --line-app: rgba(241,244,249,.25); --veil: linear-gradient(270deg, rgba(14,18,25,.94) 0%, rgba(14,18,25,.8) 40%, rgba(14,18,25,.2) 72%, rgba(14,18,25,.35) 100%); --app-font: 'Barlow Condensed', 'Arial Narrow', sans-serif; background: #161B24; }
.s-unbadged h3 { text-transform: uppercase; font-weight: 800; letter-spacing: .01em; font-stretch: 100%; font-size: clamp(44px, 5.4vw, 74px); }
.s-firefly { --ink: #F3F9E6; --soft: #B5C5D6; --accent: #C6F24E; --btn-bg: #C6F24E; --btn-ink: #0B1626; --line-app: rgba(243,249,230,.25); --veil: linear-gradient(90deg, rgba(7,14,28,.92) 0%, rgba(7,14,28,.72) 40%, rgba(7,14,28,.1) 72%, rgba(7,14,28,.3) 100%); --app-font: 'Press Start 2P', monospace; background: #0B1626; }
.s-firefly h3 { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; letter-spacing: 0; font-stretch: 100%; font-weight: 400; }
.s-commander { --ink: #F4EBD8; --soft: #C2B79F; --accent: #E7C77A; --btn-bg: linear-gradient(135deg, #F7DE9A, #C9962E 55%, #F2CF7A); --btn-ink: #1A1408; --line-app: rgba(244,235,216,.25); --veil: linear-gradient(270deg, rgba(10,8,5,.94) 0%, rgba(10,8,5,.78) 42%, rgba(10,8,5,.15) 75%, rgba(10,8,5,.35) 100%); --app-font: 'Marcellus', Georgia, serif; background: #0B0A08; }
.s-commander h3 { font-weight: 400; letter-spacing: -0.01em; font-stretch: 100%; }
.s-commander .btn-app { border: 0; }
@media (max-width: 980px) {
  .s-nopehook { --veil: linear-gradient(180deg, rgba(246,248,252,.96) 0%, rgba(246,248,252,.9) 55%, rgba(246,248,252,.6) 100%); }
  .s-unbadged { --veil: linear-gradient(180deg, rgba(14,18,25,.93) 0%, rgba(14,18,25,.85) 60%, rgba(14,18,25,.6) 100%); }
  .s-firefly { --veil: linear-gradient(180deg, rgba(7,14,28,.9) 0%, rgba(7,14,28,.75) 60%, rgba(7,14,28,.5) 100%); }
  .s-commander { --veil: linear-gradient(180deg, rgba(10,8,5,.93) 0%, rgba(10,8,5,.82) 60%, rgba(10,8,5,.55) 100%); }
}

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.story .portrait { position: sticky; top: 110px; }
.story .portrait img { width: 100%; max-width: 420px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 140px rgba(229,178,76,.18); }
.story .portrait figcaption { margin-top: 18px; color: var(--haze); font-size: 15px; max-width: 34ch; }
.story .body { display: flex; flex-direction: column; gap: 22px; }
.story .body p { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.65; color: #CBD2E0; max-width: 60ch; }
.story .body p.first { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.22; letter-spacing: -0.02em; color: var(--moon); font-stretch: 92%; }
.why { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; border-top: 1px solid var(--line); padding-top: 30px; }
.why div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.why b { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.why b i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: 0 0 auto; }
.why p { font-size: 16px !important; line-height: 1.55 !important; color: var(--haze) !important; }
.sig { font-family: var(--display); font-size: 22px; color: var(--gold); }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } .story .portrait { position: static; } .story .portrait img { max-width: 260px; } .why { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Play ---------- */
.play { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.play .phone { width: 330px; }
.play .screen { background: #0B1626; }
.play iframe { width: 100%; height: 100%; border: 0; display: block; }
.play .poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 14px; padding: 26px; background-color: #0B1626; background-size: cover; background-position: center; border: 0; cursor: pointer; color: #F3F9E6; width: 100%; }
.play .poster span { display: inline-flex; align-items: center; gap: 10px; background: #C6F24E; color: #0B1626; font: 700 17px var(--body); padding: 14px 24px; border-radius: 999px; }
.play .poster small { font-size: 13px; color: #CFE0EE; }
.kbd-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; color: var(--haze); }
.kbd-list li { display: flex; gap: 12px; align-items: baseline; }
.kbd-list b { color: var(--moon); min-width: 7.5em; }
@media (max-width: 820px) { .play { grid-template-columns: minmax(0, 1fr); } .play .phone { width: min(330px, 100%); justify-self: center; } }

/* ---------- Devlog + roadmap ---------- */
.log { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; }
.log li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; padding-block: 26px; border-top: 1px solid var(--line); }
.log time { color: var(--gold); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; padding-top: 3px; }
.log h3 { font-size: 22px; font-family: var(--body); font-weight: 700; letter-spacing: -0.01em; }
.log p { color: var(--haze); margin-top: 6px; max-width: 66ch; }
.log .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.log .tags span { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--moon); display: inline-flex; align-items: center; gap: 7px; }
.log .tags i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
@media (max-width: 640px) { .log li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
.road { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.road .lane { background: rgba(17,29,54,.6); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.road .lane h3 { font-family: var(--body); font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.road .lane ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.road .lane li { display: flex; gap: 12px; align-items: baseline; }
.road .lane li i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); flex: 0 0 auto; transform: translateY(-1px); }
.road .lane li b { font-weight: 700; }
.road .lane li span { color: var(--haze); }
.d-nopehook { --dot: #F07020; } .d-unbadged { --dot: #FF9A5A; } .d-firefly-dash { --dot: #C6F24E; } .d-manatable { --dot: #E7C77A; } .d-studio { --dot: #A9BCFF; }

/* ---------- Join ---------- */
.join { border-radius: clamp(26px, 3vw, 40px); background: rgba(17,29,54,.72); border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); backdrop-filter: blur(6px); }
@media (max-width: 900px) { .join { grid-template-columns: minmax(0, 1fr); } }
.join .callout { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: rgba(198,242,78,.08); border: 1px solid rgba(198,242,78,.25); color: #DCEBC2; font-size: 16px; }
.join .callout b { color: #E9F7CC; }
form.signup { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, fieldset legend { font-weight: 700; font-size: 16px; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
input[type=email] { min-height: 56px; border-radius: 16px; border: 1px solid var(--line); background: rgba(11,20,39,.7); padding: 0 18px; font-size: 17px; }
input[type=email]::placeholder { color: #6F7C96; }
input[type=email]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(229,178,76,.25); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11,20,39,.5); font-weight: 600; font-size: 15px; }
.chip.plain > span { padding: 0 18px; }
.chip span .ic { width: 32px; height: 32px; border-radius: 9px; overflow: hidden; }
.chip span .ic svg { width: 100%; height: 100%; display: block; }
.chip input:checked + span { border-color: var(--gold); background: rgba(229,178,76,.14); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--haze); }
.form-msg { font-weight: 600; min-height: 1.6em; }
.form-msg.ok { color: #7BE0AD; } .form-msg.err { color: #FFB4A1; }

/* ---------- Footer at sunrise ---------- */
.foot { color: var(--dawn-ink); padding-block: 200px 40px; background: linear-gradient(180deg, rgba(74,53,80,0) 0, #4A3550 150px, #C27758 34%, #F2A766 62%, #F7CB91 100%); }
.foot .sun { font-family: var(--display); font-size: clamp(44px, 7.6vw, 112px); line-height: .94; letter-spacing: -0.035em; font-stretch: 88%; font-weight: 600; max-width: 12ch; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 72px; padding-top: 32px; border-top: 1px solid rgba(42,26,16,.2); font-size: 16px; }
.foot h4 { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .legal { margin-top: 40px; font-size: 13px; opacity: .8; max-width: 90ch; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- Generic page bits ---------- */
.page-head { padding-block: 72px 24px; }
.page-head .lede { margin-top: 18px; }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 26px; margin-top: 22px; }
.prose p, .prose li { color: #CBD2E0; }
.grid-qr { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tile { background: rgba(17,29,54,.6); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.tile .row { display: flex; gap: 14px; align-items: center; }
.tile .ic { width: 52px; height: 52px; border-radius: 13px; overflow: hidden; flex: 0 0 auto; }
.tile .ic svg { width: 100%; height: 100%; display: block; }
.tile h3 { font-size: 20px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.qr { background: #fff; border-radius: 18px; padding: 14px; width: 100%; max-width: 260px; aspect-ratio: 1; align-self: center; display: grid; place-items: center; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-fallback { color: #10213A; font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.url { text-align: center; font-size: 14px; color: var(--haze); overflow-wrap: anywhere; }
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.contact { background: rgba(17,29,54,.6); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.contact span { color: var(--haze); font-size: 15px; }
.contact .addr { color: var(--moon); font-weight: 700; font-size: 18px; overflow-wrap: anywhere; user-select: all; }
.copy { align-self: start; margin-top: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; }
.copy:hover { border-color: var(--moon); }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.social:hover { border-color: var(--moon); }
.social svg { width: 22px; height: 22px; }
.social span { color: var(--haze); font-size: 15px; }
.landing { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.landing .ic { display: block; width: 112px; height: 112px; border-radius: 28px; overflow: hidden; margin: 0 auto 22px; }
.landing .ic svg { width: 100%; height: 100%; display: block; }
.landing h1 { font-size: clamp(34px, 7vw, 56px); letter-spacing: -0.035em; }
.landing p { color: var(--haze); max-width: 46ch; margin: 14px auto 0; }
.landing .btns { justify-content: center; }

/* =========================================================
   App pages: each app page takes on its own brand
   ========================================================= */
body.app { background: var(--a-bg); color: var(--a-ink); font-family: var(--a-body, var(--body)); }
body.app .head.always { background: color-mix(in srgb, var(--a-bg) 86%, transparent); border-bottom-color: var(--a-line); }
body.app::before { background: var(--a-bg); }
body.app .brand span, body.app .nav a { color: var(--a-soft); }
body.app .nav a:hover, body.app .nav a[aria-current="page"] { color: var(--a-ink); }
body.app .clock { border-color: var(--a-line); color: var(--a-soft); }
body.app .menu-btn { border-color: var(--a-line); }
@media (max-width: 920px) { body.app .nav { background: var(--a-bg); border-color: var(--a-line); } }
body.app h1, body.app h2 { font-family: var(--a-head); }
body.app .muted, body.app .lede { color: var(--a-soft); }
.a-btn { background: var(--a-btn); color: var(--a-btn-ink); }
.a-btn:hover { filter: brightness(1.07); }
.a-line { border: 1px solid var(--a-line); color: var(--a-ink); background: transparent; }
.a-line:hover { border-color: var(--a-ink); }

.t-nopehook { --a-bg: #F6F8FC; --a-panel: #FFFFFF; --a-ink: #10213A; --a-soft: #56627A; --a-accent: #D9601A; --a-btn: #10213A; --a-btn-ink: #fff; --a-line: #DCE3EE; --a-head: 'Plus Jakarta Sans', var(--display); --a-body: 'Plus Jakarta Sans', var(--body); color-scheme: light; }
.t-nopehook h1, .t-nopehook h2 { font-weight: 800; letter-spacing: -0.035em; font-stretch: 100%; }
.t-unbadged { --a-bg: #141922; --a-panel: #1C2230; --a-ink: #EEF2F8; --a-soft: #AEB7C4; --a-accent: #FF7C30; --a-btn: #FF7C30; --a-btn-ink: #141922; --a-line: #2B3343; --a-head: 'Barlow Condensed', 'Arial Narrow', sans-serif; --a-body: 'Barlow', var(--body); }
.t-unbadged h1, .t-unbadged h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .005em; font-stretch: 100%; }
.t-firefly-dash { --a-bg: #0A1424; --a-panel: #11213A; --a-ink: #EEF7DE; --a-soft: #A9B8C9; --a-accent: #C6F24E; --a-btn: #C6F24E; --a-btn-ink: #0A1424; --a-line: #213654; --a-head: 'Press Start 2P', monospace; }
.t-firefly-dash h1 { font-size: clamp(26px, 4.4vw, 50px) !important; line-height: 1.3 !important; letter-spacing: 0 !important; font-weight: 400; }
.t-firefly-dash h2 { font-size: clamp(17px, 2.2vw, 24px) !important; line-height: 1.5 !important; letter-spacing: 0 !important; font-weight: 400; }
.t-manatable { --a-bg: #0B0A08; --a-panel: #17140F; --a-ink: #F3EBDA; --a-soft: #B9AE98; --a-accent: #E7C77A; --a-btn: linear-gradient(135deg, #F7DE9A, #C9962E 55%, #F2CF7A); --a-btn-ink: #1A1408; --a-line: #352D20; --a-head: 'Marcellus', Georgia, serif; --a-body: 'Manrope', var(--body); }
.t-manatable h1, .t-manatable h2 { font-weight: 400; letter-spacing: -0.01em; font-stretch: 100%; }

.a-hero { position: relative; margin-top: -73px; overflow: hidden; isolation: isolate; }
.a-hero .bg { position: absolute; inset: 0; z-index: -2; }
.a-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.a-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--a-bg) 0%, color-mix(in srgb, var(--a-bg) 82%, transparent) 40%, color-mix(in srgb, var(--a-bg) 10%, transparent) 75%), linear-gradient(180deg, transparent 60%, var(--a-bg) 100%); }
.a-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 150px 80px; min-height: 760px; }
.a-hero .ic { display: block; width: 88px; height: 88px; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.25); margin-bottom: 26px; }
.a-hero .ic svg { width: 100%; height: 100%; display: block; }
.a-hero h1 { font-size: clamp(48px, 7vw, 104px); line-height: .92; letter-spacing: -0.045em; font-stretch: 82%; }
.a-hero .tag { font-size: clamp(21px, 2vw, 27px); font-weight: 700; color: var(--a-accent); margin-top: 14px; }
.a-hero .status { margin-top: 18px; }
.a-hero .lede { color: var(--a-soft); }
.a-hero .phone { width: 300px; justify-self: center; }
@media (max-width: 900px) {
  .a-hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--a-bg) 70%, transparent) 0%, color-mix(in srgb, var(--a-bg) 92%, transparent) 50%, var(--a-bg) 100%); }
  .a-hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 130px 56px; }
  .a-hero .phone { width: 250px; }
}
.t-nopehook .status-dev { --chip-fg: #2B4BB8; --chip-bg: #E3EAFF; }

.a-sec { padding-block: clamp(64px, 8vw, 110px); }
.a-sec h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.035em; font-stretch: 86%; max-width: 18ch; }
.a-sec .sub { color: var(--a-soft); margin-top: 14px; max-width: 56ch; font-size: 19px; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--a-line); }
.steps li { counter-increment: s; padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 8px; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--a-line); }
.steps li::before { content: counter(s); font-family: var(--a-head); font-size: 44px; line-height: 1; color: var(--a-accent); margin-bottom: 10px; }
.t-firefly-dash .steps li::before { font-size: 26px; }
.steps h3 { font-family: var(--a-body, var(--body)); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.steps p { color: var(--a-soft); }
@media (max-width: 780px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li, .steps li + li { padding: 24px 0; border-left: 0; } .steps li + li { border-top: 1px solid var(--a-line); } }

.gallery { display: flex; gap: 26px; overflow-x: auto; padding: 44px 4px 26px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 14px; scroll-snap-align: start; }
.gallery .phone { width: 248px; }
.t-nopehook .gallery .phone, .t-nopehook .a-hero .phone { box-shadow: 0 0 0 1.5px rgba(16,33,58,.16), 0 30px 60px -24px rgba(16,33,58,.4); }
.gallery figcaption { font-weight: 700; max-width: 248px; font-size: 17px; }
.gallery figcaption span { display: block; font-weight: 400; color: var(--a-soft); font-size: 15px; }

.art-band { border-radius: 32px; overflow: hidden; aspect-ratio: 21 / 8; max-width: 100%; }
.art-band img { width: 100%; height: 100%; object-fit: cover; }

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; margin-top: 48px; }
.feats div { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 2px solid var(--a-accent); min-width: 0; }
.feats h3 { font-family: var(--a-body, var(--body)); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.feats p { color: var(--a-soft); font-size: 17px; }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feats { grid-template-columns: minmax(0, 1fr); } }
.a-note { margin-top: 40px; padding: 18px 22px; border-radius: 18px; background: var(--a-panel); border: 1px solid var(--a-line); color: var(--a-soft); font-size: 16px; max-width: 80ch; }

.get { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: center; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 36px; padding: clamp(26px, 4vw, 52px); }
@media (max-width: 820px) { .get { grid-template-columns: minmax(0, 1fr); } }
.get-card { display: flex; flex-direction: column; gap: 14px; }
.get-card .url { color: var(--a-soft); }
.stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.store { display: flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--a-line, var(--line)); text-decoration: none; font-size: 13px; line-height: 1.3; }
.store b { font-size: 15px; }
.store.off { opacity: .6; }
.store.on:hover { border-color: var(--a-ink, var(--moon)); }
body.app .copy { border-color: var(--a-line); }
body.app .contact { background: var(--a-panel); border-color: var(--a-line); }
body.app .contact span { color: var(--a-soft); }
body.app .contact .addr { color: var(--a-ink); }

.faq { display: flex; flex-direction: column; margin-top: 36px; max-width: 860px; border-top: 1px solid var(--a-line); }
.faq details { border-bottom: 1px solid var(--a-line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--a-accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--a-soft); padding: 0 0 22px; max-width: 68ch; }

.play .poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,38,0) 40%, rgba(11,22,38,.85) 100%); }
.play .poster > * { position: relative; }
body.app .nav a.btn, body.app .nav a.btn:hover { color: var(--gold-ink); }

/* Privacy policy */
.policy { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 100px; font-size: 15px; }
.toc-title { font-weight: 700; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; color: var(--haze); }
.toc a { text-decoration: none; color: var(--haze); }
.toc a:hover { color: var(--moon); text-decoration: underline; }
.policy .prose { max-width: 72ch; }
.policy .prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 34px; scroll-margin-top: 100px; }
.policy .prose h2:first-child { margin-top: 0; }
.policy .prose ul { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.policy .prose b { color: var(--moon); }
.policy-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.policy-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.policy-table th, .policy-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); color: #CBD2E0; }
.policy-table th { color: var(--moon); background: rgba(17,29,54,.7); }
.policy-table tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) { .policy { grid-template-columns: minmax(0, 1fr); } .toc { position: static; background: rgba(17,29,54,.6); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; } }
