/* Did You Adult Today? beta site
   Layout: cozy pixel-game landing page. Cream day sections alternate with night-purple "Zori's room" sections; gold is the only loud color. */
@font-face { font-family: "Nunito"; src: url("fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Press Start 2P"; src: url("fonts/press-start-2p-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --zori: #B2529D; --zori-light: #BE6CAC; --outline: #1A1028;
  --title-dark: #32116B; --violet: #7C3AED; --plum: #915194;
  --gold: #FACC15; --gold-soft: #FDE68A; --cream: #FFF8E7; --night: #1B0B33; --night-2: #2A1650;

  --bg: #FFF8E7; --bg-alt: #FDF0D2; --surface: #FFFFFF; --text: #32116B; --muted: #4B3A63;
  --link: #6D28D9; --line: #1A1028; --focus: #6D28D9;
  --wm-top: #32116B; --wm-a: #7C3AED; --wm-b: #915194;
  --chip-bg: #FFFFFF; --dots: #F2E2BC;
  --night-bg: #1B0B33; --night-text: #FFFFFF; --night-muted: #CFC3E6; --night-surface: #2A1650;
  --cat-ink: #1A1028;

  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --r-sm: 12px; --r: 18px; --r-lg: 28px;
  --shadow: 4px 4px 0 var(--line);
  --shadow-lg: 6px 6px 0 var(--line);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B0B33; --bg-alt: #221042; --surface: #2A1650; --text: #FFFFFF; --muted: #CFC3E6;
    --link: #C4B5FD; --line: #6A4FA3; --focus: #FACC15;
    --wm-top: #FFFFFF; --wm-a: #A78BFA; --wm-b: #E6A8D7; --chip-bg: #2A1650; --dots: #2A1650;
    --night-bg: #120724; --night-surface: #251246;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1B0B33; --bg-alt: #221042; --surface: #2A1650; --text: #FFFFFF; --muted: #CFC3E6;
  --link: #C4B5FD; --line: #6A4FA3; --focus: #FACC15;
  --wm-top: #FFFFFF; --wm-a: #A78BFA; --wm-b: #E6A8D7; --chip-bg: #2A1650; --dots: #2A1650;
  --night-bg: #120724; --night-surface: #251246;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; height: auto; }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--gold); color: #1A1028; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.eyebrow { font-family: var(--pixel); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--link); line-height: 1.6; }

/* Wordmark */
.wm-top { color: var(--wm-top); }
.wm-grad { background: linear-gradient(90deg, var(--wm-a), var(--wm-b)); -webkit-background-clip: text; background-clip: text; color: var(--wm-a); -webkit-text-fill-color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  padding: 14px 22px; min-height: 48px; border-radius: 14px;
  border: 2.5px solid var(--line); box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--line); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--line); }
.btn-gold { background: var(--gold); color: #1A1028; }
.btn-ghost { background: var(--chip-bg); color: var(--text); }
.btn-night { background: #1B0B33; color: #FFFFFF; border-color: #1A1028; box-shadow: 4px 4px 0 #1A1028; }
.btn-sm { padding: 10px 14px; min-height: 44px; font-size: .95rem; border-radius: 12px; }
.btn-lg { padding: 17px 28px; min-height: 56px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--link); font: 700 .95rem var(--font); text-decoration: underline; cursor: pointer; padding: 8px 0; min-height: 44px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid color-mix(in srgb, var(--line) 12%, transparent);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { border-radius: 10px; border: 2px solid var(--line); }
.brand-word { font-weight: 900; font-size: 1.2rem; white-space: nowrap; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 10px; display: block; }
.main-nav a:hover { background: color-mix(in srgb, var(--gold) 35%, transparent); }
.nav-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border-radius: 12px; border: 2px solid var(--line); background: var(--chip-bg); color: var(--text);
}
#soundToggle .wave { display: none; }
#soundToggle[aria-pressed="true"] .wave { display: block; }
#soundToggle[aria-pressed="true"] .mute { display: none; }
:root[data-theme="dark"] .mug-fill { opacity: .2; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 96px); position: relative; overflow: hidden;
  background-image: radial-gradient(var(--dots) 2px, transparent 2px); background-size: 26px 26px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .95rem;
  background: var(--gold); color: #1A1028; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; box-shadow: 3px 3px 0 var(--line);
}
.chip .dot { width: 10px; height: 10px; background: #16A34A; border: 2px solid #1A1028; border-radius: 2px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.wordmark { font-size: clamp(2.9rem, 6.6vw, 5.5rem); font-weight: 900; letter-spacing: -0.025em; line-height: .98; cursor: default; }
.wordmark .wm-top, .wordmark .wm-grad { display: block; }
.wordmark .wm-grad { padding-bottom: .08em; }
.slogan { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.25; max-width: 22ch; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.fine { font-size: .95rem; color: var(--muted); font-weight: 600; }

.hero-art { display: grid; gap: 12px; min-width: 0; }
.room-scene { position: relative; aspect-ratio: 160 / 100; border: 3px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #FFF1DC; max-width: 100%; }
.room-bg { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.zori-btn { position: absolute; left: 39.7%; bottom: 3%; width: 30.6%; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 12px; }
.zori-img { width: 100%; display: block; image-rendering: pixelated; animation: bob 2.4s steps(2) infinite; transform-origin: 50% 100%; }
@keyframes bob { 50% { transform: translateY(-3%); } }
.zori-btn.wiggle .zori-img { animation: wiggle .5s steps(4) 1; }
@keyframes wiggle { 25% { transform: rotate(-5deg) scale(1.03); } 50% { transform: rotate(4deg) translateY(-6%); } 75% { transform: rotate(-2deg); } }
.bubble {
  position: absolute; top: 5%; right: 4%; max-width: 44%; z-index: 2;
  background: var(--surface); color: var(--text); font-weight: 800; font-size: clamp(.85rem, 1.4vw, 1.05rem); line-height: 1.3;
  padding: 10px 14px; border: 2.5px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.hero .bubble { background: #FFFFFF; color: #32116B; border-color: #1A1028; box-shadow: 4px 4px 0 #1A1028; }
.bubble::after { content: ""; position: absolute; bottom: -11px; left: 22%; width: 16px; height: 16px; background: inherit; border-right: 2.5px solid; border-bottom: 2.5px solid; border-color: inherit; transform: rotate(45deg); }
.tap-hint { position: absolute; top: 6%; left: 4%; font-family: var(--pixel); font-size: .58rem; color: #1A1028; background: #FACC15; border: 2px solid #1A1028; padding: 6px 8px; border-radius: 6px; transform: rotate(-4deg); }
.room-caption { color: var(--muted); font-size: .95rem; font-weight: 600; text-align: center; }

/* Cream band */
.band-cream { background: var(--bg-alt); border-block: 2px solid color-mix(in srgb, var(--line) 10%, transparent); }
.grid9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.familiar-grid li {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 20px 20px 20px 52px;
  font-weight: 800; font-size: 1.08rem; line-height: 1.35; position: relative; transition: transform .15s;
}
.familiar-grid li::before {
  content: ""; position: absolute; left: 18px; top: 22px; width: 18px; height: 18px; border: 2.5px solid var(--line); border-radius: 4px; background: var(--bg);
}
.familiar-grid li:hover { transform: rotate(-1deg) translateY(-2px); }
.familiar-art { display: flex; justify-content: center; align-items: flex-end; gap: 40px; margin-top: 36px; }
.familiar-art img { width: 120px; }
.familiar-art img + img { width: 150px; }

/* How */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step {
  counter-increment: step; position: relative; display: grid; gap: 10px; align-content: start;
  background: var(--surface); border: 2.5px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step); position: absolute; top: 20px; right: 22px; font-family: var(--pixel); font-size: 1rem;
  width: 40px; height: 40px; display: grid; place-items: center; background: var(--gold); color: #1A1028; border: 2px solid var(--line); border-radius: 10px;
}
.step-zori { width: 120px; margin-bottom: 6px; }
.step p { color: var(--muted); }
.step .home-q { color: var(--text); font-weight: 800; font-size: 1.1rem; background: color-mix(in srgb, var(--gold) 30%, transparent); padding: 12px 14px; border-radius: 12px; }

/* Night band */
.band-night { background: var(--night-bg); color: var(--night-text);
  background-image: radial-gradient(rgba(255,255,255,.07) 2px, transparent 2px); background-size: 30px 30px; }
.band-night .eyebrow { color: var(--gold); }
.band-night p { color: var(--night-muted); }
.band-night h2, .band-night h3 { color: #FFFFFF; }
.band-night a { color: #C4B5FD; }

.meet-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.meet-stage { position: relative; display: grid; place-items: center; min-height: 460px; }
.stage-floor { position: absolute; bottom: 40px; width: 80%; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(250,204,21,.45), transparent); }
.meet-img { width: min(360px, 78vw); position: relative; transition: transform .2s; }
.meet-img.pop { animation: pop .45s steps(3); }
@keyframes pop { 40% { transform: scale(1.08) translateY(-10px); } }
.bubble-dark { top: 0; left: auto; right: 0; background: #FFFFFF; color: #32116B !important; border-color: #FFFFFF; box-shadow: 4px 4px 0 #7C3AED; }
.bubble-dark::after { background: #FFFFFF; border-color: #FFFFFF; left: 50px; right: auto; }
.meet-copy { display: grid; gap: 18px; min-width: 0; }
.meet-copy > p:not(.eyebrow) { font-size: 1.1rem; max-width: 56ch; }
.poses { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.pose {
  display: grid; justify-items: center; gap: 2px; padding: 8px 4px 6px; cursor: pointer;
  background: var(--night-surface); color: #FFFFFF; border: 2px solid #4C2F80; border-radius: 12px; font: 700 .72rem var(--font); min-height: 44px;
}
.pose img { width: 44px; }
.pose[aria-pressed="true"] { border-color: var(--gold); background: #3B1F6E; box-shadow: 0 0 0 2px var(--gold); }
#feedBtn { justify-self: start; }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.stages li { display: flex; flex-direction: column; text-align: center; align-items: center; gap: 4px; line-height: 1.25; background: var(--night-surface); border: 2px solid #4C2F80; border-radius: 14px; padding: 10px 8px; font-weight: 800; font-size: .9rem; color: #FFFFFF; }
.stages img { width: 56px; }

/* Apartment */
.apt-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.apt-copy { display: grid; gap: 18px; min-width: 0; }
.apt-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.demo-card { background: var(--surface); border: 2.5px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo-label { font-family: var(--pixel); font-size: .6rem; color: var(--muted); line-height: 1.6; }
.tokens { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 1.2rem; background: color-mix(in srgb, var(--gold) 30%, transparent); padding: 4px 12px 4px 6px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.tokens.bump { animation: pop .4s steps(3); }
.todo { display: grid; gap: 8px; }
.todo label { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 2px solid color-mix(in srgb, var(--line) 25%, transparent); font-weight: 800; cursor: pointer; min-height: 52px; }
.todo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.todo .box { width: 26px; height: 26px; border: 2.5px solid var(--line); border-radius: 6px; background: var(--bg); flex: none; display: grid; place-items: center; }
.todo input:checked + .box { background: var(--gold); }
.todo input:checked + .box::after { content: ""; width: 12px; height: 7px; border-left: 3.5px solid #1A1028; border-bottom: 3.5px solid #1A1028; transform: rotate(-45deg) translate(1px, -1px); }
.todo input:checked ~ * { }
.todo label:has(input:checked) { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }
.todo input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 3px; }
.demo-say { font-weight: 800; background: var(--bg); border-radius: 12px; padding: 12px 14px; border: 2px dashed color-mix(in srgb, var(--line) 30%, transparent); }
.room { margin: 0; position: relative; display: grid; gap: 10px; }
.room-img { width: 100%; border-radius: var(--r-lg); border: 3px solid var(--line); box-shadow: var(--shadow-lg); image-rendering: pixelated; background: #FFF8E7; }
.room-items { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; }
.room-items img { width: 56px; background: #FFFFFF; border: 2px solid #1A1028; border-radius: 10px; padding: 6px; animation: drop .5s steps(4); }
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } }
.room figcaption { color: var(--muted); font-size: .95rem; text-align: center; font-weight: 600; }

/* Features */
.feat-grid li { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.feat-grid img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 4px; }
.feat-grid p { color: var(--muted); }
.nudges { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--surface); border: 2.5px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); }
.nudge-copy { display: grid; gap: 12px; }
.nudge-copy h3 { font-size: 1.5rem; }
.nudge-copy p { color: var(--muted); }
.seg { display: inline-flex; border: 2.5px solid var(--line); border-radius: 14px; overflow: hidden; justify-self: start; }
.seg button { font: 800 1rem var(--font); padding: 10px 18px; min-height: 46px; background: var(--chip-bg); color: var(--text); border: 0; cursor: pointer; }
.seg button + button { border-left: 2.5px solid var(--line); }
.seg button[aria-checked="true"] { background: var(--gold); color: #1A1028; }
.notif { display: flex; gap: 14px; align-items: flex-start; background: #F3EEF9; color: #1A1028; border-radius: 22px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(27,11,51,.18); border: 1px solid rgba(26,16,40,.08); }
.notif img { border-radius: 10px; flex: none; }
.notif-top { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: #4B3A63; }
.notif-top strong { color: #1A1028; }
.notif-text { font-weight: 700; font-size: 1.05rem; color: #1A1028; }

/* Prompts */
.cat { border: 2.5px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; align-content: start; color: var(--cat-ink); box-shadow: var(--shadow); }
.cat h3 { font-size: 1.25rem; color: #1A1028; }
.cat .count { font-family: var(--pixel); font-size: .58rem; justify-self: start; background: rgba(255,255,255,.75); color: #1A1028; padding: 5px 8px; border-radius: 6px; border: 1.5px solid #1A1028; }
.cat ul { display: grid; gap: 6px; }
.cat ul li { font-weight: 700; color: #1A1028; padding-left: 18px; position: relative; line-height: 1.35; }
.cat ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; background: #1A1028; }
.c1 { background: #FDE68A; } .c2 { background: #F5D0EC; } .c3 { background: #BBF7D0; }
.c4 { background: #FED7AA; } .c5 { background: #DDD6FE; } .c6 { background: #BAE6FD; }
.c7 { background: #FBCFE8; } .c8 { background: #FEF08A; } .c9 { background: #E9D5FF; }

/* Join */
.join-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.join-copy { display: grid; gap: 18px; position: relative; min-width: 0; }
.join-copy > p:not(.eyebrow) { font-size: 1.1rem; }
.perks { display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: center; font-weight: 800; color: #FFFFFF; }
.join-zori { width: 200px; margin-top: 10px; }
.form-card { background: var(--surface); color: var(--text); border: 3px solid #0D0619; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: 8px 8px 0 #FACC15; }
.form-card p { color: var(--muted); }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; color: var(--text); }
.opt { font-weight: 600; color: var(--muted); font-size: .9rem; }
input[type="email"], input[type="text"], select, textarea {
  width: 100%; font: 600 1.05rem var(--font); color: var(--text); background: var(--bg);
  border: 2.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px;
}
textarea { resize: vertical; min-height: 90px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .85; }
[aria-invalid="true"] { border-color: #BE123C !important; box-shadow: 0 0 0 2px #BE123C; }
.help { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.help .count { font-variant-numeric: tabular-nums; }
.err { color: #BE123C !important; font-weight: 800; font-size: .95rem; }
:root[data-theme="dark"] .err { color: #FDA4AF !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FDA4AF !important; } }
.field.check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field.check input { width: 26px; height: 26px; margin: 2px 0 0; accent-color: #7C3AED; }
.field.check label { font-weight: 600; }
.field.check .err { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.ref-banner { background: var(--gold); color: #1A1028 !important; font-weight: 800; padding: 10px 14px; border-radius: 12px; border: 2px solid #1A1028; }
.form-status { font-weight: 700; }
.form-status:empty { display: none; }
.success { display: grid; gap: 14px; justify-items: center; text-align: center; }
.success:focus { outline: none; }
.success-zori { width: 150px; animation: bob 1.2s steps(2) infinite; }
.success h3 { font-size: 2.2rem; font-weight: 900; }
.share-box { width: 100%; display: grid; gap: 10px; text-align: left; background: var(--bg); border: 2px solid var(--line); border-radius: 16px; padding: 16px; }
.share-label { font-weight: 800; color: var(--text) !important; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { min-width: 0; font-size: .95rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-text-label { font-size: .9rem; }
.share-text { background: var(--surface); border-radius: 10px; padding: 10px 12px; font-size: .95rem; color: var(--text) !important; user-select: all; }
.card-preview { margin: 0; display: grid; gap: 8px; justify-items: center; }
.card-preview img { width: 180px; border-radius: 14px; border: 2px solid var(--line); }
.card-preview figcaption { font-size: .95rem; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-side { display: grid; gap: 14px; position: sticky; top: 100px; }
.faq-side img { width: 200px; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--surface); border: 2px solid var(--line); border-radius: 16px; }
summary { cursor: pointer; font-weight: 800; font-size: 1.1rem; padding: 18px 52px 18px 20px; list-style: none; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--pixel); font-size: .9rem; color: var(--link); }
details[open] summary::after { content: "-"; }
details p { padding: 0 20px 18px; color: var(--muted); }

/* Final */
.band-gold { background: var(--gold); color: #1A1028; border-top: 3px solid #1A1028; }
.final-row { display: flex; align-items: center; gap: clamp(20px, 5vw, 56px); }
.final-row img { width: clamp(140px, 22vw, 240px); flex: none; }
.final-row > div { display: grid; gap: 14px; justify-items: start; }
.final h2 { color: #1A1028; }
.final p { color: #32116B; font-size: 1.15rem; font-weight: 700; }

/* Footer */
.site-footer { background: var(--night-bg); color: var(--night-muted); padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr 1.4fr; gap: 28px; }
.footer-word { font-size: 1.4rem; margin-bottom: 4px; }
.footer-word .wm-top { color: #FFFFFF; }
.footer-word .wm-grad { background: linear-gradient(90deg, #A78BFA, #E6A8D7); -webkit-background-clip: text; background-clip: text; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { color: #FFFFFF; font-weight: 700; display: inline-block; padding: 6px 0; }
.footer-fine { display: grid; gap: 8px; font-size: .95rem; }

/* Toast + stars */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80; background: #1B0B33; color: #FFFFFF; font-weight: 800; padding: 14px 20px; border-radius: 14px; border: 2px solid var(--gold); box-shadow: 4px 4px 0 var(--gold); max-width: calc(100% - 32px); text-align: center; }
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.stars img { position: absolute; width: 28px; animation: fall 1.8s ease-in forwards; }
@keyframes fall { from { transform: translateY(-40px) rotate(0); opacity: 1; } to { transform: translateY(105vh) rotate(260deg); opacity: .9; } }

/* Sub pages */
.page { padding-block: 48px 80px; }
.page .wrap { max-width: 760px; display: grid; gap: 16px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.page h2 { font-size: 1.4rem; margin-top: 16px; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.center-page .wrap { justify-items: center; }
.center-page img { width: 200px; }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { order: 3; margin-left: 0; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; font: 800 1rem var(--font); background: var(--chip-bg); color: var(--text); border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
  .main-nav ul { display: none; position: absolute; left: 16px; right: 16px; top: 72px; flex-direction: column; background: var(--surface); border: 2.5px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); }
  .main-nav ul.open { display: flex; }
  .header-actions { margin-left: auto; }
  .hero-grid, .meet-grid, .apt-grid, .join-grid, .faq-grid, .nudges { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; }
  .faq-side { position: static; }
  .faq-side img { display: none; }
  .meet-stage { min-height: 400px; }
  .poses { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grid9, .steps { grid-template-columns: minmax(0, 1fr); }
  .familiar-grid { grid-template-columns: minmax(0, 1fr); }
  .header-actions .btn { display: none; }
  .brand-word { font-size: 1rem; }
  .tap-hint { display: none; }
  .final-row { flex-direction: column; align-items: flex-start; }
  .join-zori { display: none; }
}
@media (max-width: 420px) {
  .site-header .brand-word { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .grid9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid9 > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Form card sits inside a night band: reset band colors */
.form-card h3 { color: var(--text); }
.form-card a { color: var(--link); }
.form-card .btn-ghost { color: var(--text); }
.form-card .btn-gold { color: #1A1028; }


/* ---- Compact page ---- */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 64px); }
.hero-grid { align-items: start; }
.hero-copy { gap: 16px; }
.wordmark { font-size: clamp(2.7rem, 5.6vw, 4.8rem); }
.slogan { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.lede { font-size: 1.05rem; }
.hero .form-card { width: 100%; box-shadow: 6px 6px 0 var(--line); border: 3px solid var(--line); padding: clamp(18px, 3vw, 26px); margin-top: 4px; }
.hero form { gap: 14px; }
.row2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.row2 .field { min-width: 0; }
.hero .fine { text-align: center; font-size: .9rem; }
.hero-art { position: sticky; top: 96px; gap: 16px; }
.mini-steps { display: grid; gap: 8px; counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: flex; gap: 12px; align-items: baseline; font-size: 1rem; color: var(--muted); }
.mini-steps li::before { content: counter(ms); flex: none; font-family: var(--pixel); font-size: .7rem; width: 28px; height: 28px; display: grid; place-items: center; background: var(--gold); color: #1A1028; border: 2px solid var(--line); border-radius: 8px; }
.mini-steps strong { color: var(--text); }

.ticker { overflow: hidden; background: var(--gold); border-block: 3px solid #1A1028; padding-block: 12px; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-weight: 900; color: #1A1028; font-size: 1.05rem; white-space: nowrap; padding-inline: 18px; }
.ticker span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 14px; border: 2.5px solid #1A1028; border-radius: 3px; vertical-align: -1px; background: #FFF8E7; }
@keyframes tick { to { transform: translateX(-50%); } }

.apartment { padding-block: clamp(48px, 7vw, 88px); }
.apartment .apt-copy > p:not(.eyebrow) { color: var(--night-muted); }
.apartment .demo-card { background: var(--surface); color: var(--text); }
.apartment .demo-card p { color: var(--text); }
.apartment .demo-label { color: var(--muted) !important; }

.prompts { padding-block: clamp(48px, 7vw, 88px); }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; margin-bottom: 28px; }
.chips9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.chips9 li { border: 2.5px solid #1A1028; border-radius: 14px; padding: 16px 18px; font-weight: 900; font-size: 1.1rem; color: #1A1028; box-shadow: 4px 4px 0 var(--line); text-align: center; }
.prompt-eg { text-align: center; color: var(--muted); max-width: 640px; margin: 24px auto 0; font-size: 1.05rem; }
.faq { padding-block: clamp(40px, 6vw, 72px); }
.faq-narrow { max-width: 760px; display: grid; gap: 20px; }
.final { padding-block: clamp(40px, 6vw, 64px); }
@media (max-width: 980px) {
  .hero-art { position: static; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .chips9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips9 li:last-child { grid-column: 1 / -1; }
  .chips9 li { padding: 12px 10px; font-size: .98rem; }
  .mini-steps { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } .ticker span[aria-hidden] { display: none; } }

/* ---- App preview + widget ---- */
.phone-sec { padding-block: clamp(48px, 7vw, 88px); }
.phone-head { margin-inline: auto; text-align: center; justify-items: center; margin-bottom: clamp(24px, 4vw, 40px); }
.phone-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.phones { display: flex; justify-content: center; gap: clamp(16px, 5vw, 64px); align-items: flex-start; }
.iphone { margin: 0; width: min(290px, 44vw); container-type: inline-size; display: grid; gap: 14px; justify-items: center; }
.iphone-screen { position: relative; width: 100%; border-radius: clamp(26px, 4.4vw, 44px); overflow: hidden; aspect-ratio: 603 / 1311; background: #FFF8E7; border: clamp(5px, 1vw, 10px) solid #17122A; box-shadow: 0 0 0 2px #3A3257, 0 30px 60px -20px rgba(50,17,107,.45); }
.tilt-l .iphone-screen { transform: rotate(-2deg); }
.tilt-r .iphone-screen { transform: rotate(2deg); }
.iphone figcaption { font-family: var(--pixel); font-size: .62rem; text-transform: uppercase; letter-spacing: .04em; color: var(--link); }
.iphone-screen .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot-dark { display: none; }
:root[data-theme="dark"] .shot-dark { display: block; }
:root[data-theme="dark"] .shot-light { display: none; }
:root[data-theme="dark"] .iphone-screen { box-shadow: 0 0 0 2px #6A4FA3, 0 30px 60px -20px rgba(0,0,0,.6); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-dark { display: block; }
  :root:not([data-theme="light"]) .shot-light { display: none; }
  :root:not([data-theme="light"]) .iphone-screen { box-shadow: 0 0 0 2px #6A4FA3, 0 30px 60px -20px rgba(0,0,0,.6); }
}
.island { position: absolute; z-index: 2; top: 1.8%; left: 50%; transform: translateX(-50%); width: 32%; height: 3.4%; border-radius: 99px; background: #000; }
/* Sample Home Screen (sizes in container units so it scales with the phone) */
.hs { background: radial-gradient(120% 70% at 15% 0%, #E6A8D7 0%, #A78BFA 35%, #7C3AED 65%, #32116B 100%); display: flex; flex-direction: column; padding: 0 7cqw; }
.hs-status { display: flex; justify-content: space-between; align-items: center; height: 13cqw; padding: 0 3cqw; color: #fff; font: 700 4.6cqw/1 system-ui, sans-serif; }
.hs-status i { width: 9cqw; height: 4cqw; border-radius: 1.2cqw; border: .5cqw solid #fff; opacity: .9; }
.hs-widget { margin-top: 4cqw; display: grid; gap: 1.6cqw; justify-items: center; }
.hs-widget img { width: 100%; height: auto; display: block; filter: drop-shadow(0 2cqw 3cqw rgba(20,6,45,.35)); }
.hs-widget small, .hs-grid .app::after { color: #fff; font: 600 3.2cqw/1 system-ui, sans-serif; }
.hs-grid { margin-top: 6cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8cqw 6.5cqw; }
.ic { display: block; aspect-ratio: 1; border-radius: 23%; box-shadow: 0 1cqw 2cqw rgba(20,6,45,.25); }
.ic.app { position: relative; }
.ic.app img { width: 100%; height: 100%; border-radius: 23%; display: block; }
.ic.app::after { content: "Adult?"; position: absolute; left: 50%; top: 106%; transform: translateX(-50%); white-space: nowrap; }
.c0 { background: #FFF8E7; } .c1 { background: #FACC15; } .c2 { background: #BE6CAC; } .c3 { background: #A5E3C9; } .c4 { background: #93C5FD; } .c5 { background: #FDBA74; }
.hs-grid .ic:not(.app), .hs-dock .ic { opacity: .55; }
.hs-dots { margin-top: auto; display: flex; justify-content: center; gap: 2cqw; padding-bottom: 4cqw; }
.hs-dots i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #fff; opacity: .5; } .hs-dots i:first-child { opacity: 1; }
.hs-dock { margin: 0 -3cqw 5cqw; padding: 4cqw; border-radius: 9cqw; background: rgba(255,255,255,.22); display: grid; grid-template-columns: repeat(4, 1fr); gap: 6.5cqw; }
@media (max-width: 560px) { .phones { gap: 14px; } .iphone { width: 46vw; } }

/* ==== Landing page v2 (egg Zori, compact) ==== */
.lp-center { text-align: center; margin-inline: auto; }
.lp-hero { padding-block: clamp(24px, 4vw, 56px) clamp(40px, 5vw, 64px); background: radial-gradient(ellipse at 80% 20%, rgba(250,204,21,.28), transparent 55%), var(--bg); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lp-hero-copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.lp-hero-copy .wordmark { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.lp-hero-copy .slogan { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.lp-hero-copy .lede { font-size: 1.05rem; }
.lp-hero-copy .form-card { width: 100%; margin-top: 4px; padding: clamp(18px, 3vw, 26px); box-shadow: 6px 6px 0 var(--line); border: 3px solid var(--line); }
.lp-hero-copy form { gap: 14px; }
.lp-hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.lp-phone { width: min(300px, 70vw); transform: rotate(3deg); }
.lp-phone .iphone-screen { background: #2A1650; }
.lp-zori-wrap { position: absolute; left: max(-20px, calc(50% - 330px)); bottom: -6px; width: clamp(150px, 17vw, 210px); display: grid; justify-items: center; }
.lp-zori { position: static; width: 100%; filter: drop-shadow(4px 6px 0 rgba(26,16,40,.18)); }
.lp-zori img { width: 100%; display: block; }
.lp-zori.wiggle img { animation: wiggle .5s steps(4) 1; }
.lp-bubble { position: relative; top: auto; left: auto; right: auto; width: max-content; max-width: 220px; margin-bottom: 6px; font-size: .95rem; transform: translateX(-6%); }
.lp-zori-wrap .tap-hint { top: auto; bottom: 18%; left: -14px; }

/* beta / waitlist choice */
.lp-choice { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-choice legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.lp-opt { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 2.5px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; min-height: 44px; }
.lp-opt input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: #7C3AED; flex: none; }
.lp-opt-body { display: grid; gap: 2px; line-height: 1.3; }
.lp-opt-body strong { color: var(--text); }
.lp-opt-body span { color: var(--muted); font-size: .88rem; }
.lp-opt:has(input:checked) { background: var(--gold); border-color: #1A1028; box-shadow: 3px 3px 0 #1A1028; }
.lp-opt:has(input:checked) strong, .lp-opt:has(input:checked) span { color: #1A1028; }
.lp-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }

/* hooks */
.lp-hooks { padding-block: clamp(48px, 7vw, 80px); }
.lp-hooks h2 { margin-bottom: clamp(24px, 4vw, 40px); }
.lp-hook-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.lp-hook { display: grid; gap: 10px; align-content: start; }
.lp-hook h3 { font-size: 1.3rem; }
.lp-hook-art { position: relative; aspect-ratio: 330 / 275; border-radius: 20px; overflow: hidden; border: 3px solid #0D0619; box-shadow: 5px 5px 0 #FACC15; background: #2A1650; }
.lp-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.lp-tank { background: linear-gradient(#8FD3FF 0%, #5BB5F0 70%, #E8C98F 70%, #D9B375 100%); }
.lp-tank-zori { position: absolute; left: 50%; bottom: 14%; width: 34%; transform: translateX(-50%); }
.lp-mess { position: absolute; bottom: 22%; width: 26%; transition: transform .35s steps(3), opacity .35s steps(3); }
.lp-mess.m1 { left: 4%; } .lp-mess.m2 { right: 4%; }
.lp-mess.poof { transform: scale(1.4) translateY(-30%); opacity: 0; }
.lp-tank-btn { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); white-space: nowrap; }
.lp-tank-btn:hover { transform: translate(calc(-50% - 1px), -1px); }
.lp-bubbles i { position: absolute; bottom: 30%; width: 10px; height: 10px; border: 2px solid rgba(255,255,255,.9); border-radius: 3px; animation: rise 4s steps(12) infinite; }
.lp-bubbles i:nth-child(1) { left: 12%; } .lp-bubbles i:nth-child(2) { left: 30%; animation-delay: 1.2s; width: 7px; height: 7px; }
.lp-bubbles i:nth-child(3) { left: 66%; animation-delay: .6s; } .lp-bubbles i:nth-child(4) { left: 82%; animation-delay: 2s; width: 7px; height: 7px; }
.lp-bubbles i:nth-child(5) { left: 48%; animation-delay: 2.8s; }
@keyframes rise { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-160px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-bubbles i { animation: none; } }

.lp-faq { padding-block: clamp(48px, 6vw, 72px); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.final .btn-ghost { background: #FFF8E7; color: #1A1028; border-color: #1A1028; box-shadow: 4px 4px 0 #1A1028; }

@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-hero-art { order: -1; min-height: 0; }
  .lp-phone { width: min(220px, 56vw); }
  .lp-zori-wrap { left: 0; width: clamp(120px, 34vw, 170px); }
  .lp-bubble { max-width: 180px; font-size: .85rem; transform: translateX(10%); }
  .lp-hook-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .lp-choice { grid-template-columns: minmax(0, 1fr); }
  .lp-zori-wrap .tap-hint { display: none; }
}

.lp-hero-copy .row2 { align-items: start; }
@media (max-width: 900px) {
  .lp-hero-grid { gap: 14px; }
  .lp-hero-copy { display: contents; }
  .lp-hero-copy > * { justify-self: start; }
  .lp-hero-copy > .form-card { order: 2; justify-self: stretch; margin-top: 8px; }
  .lp-hero-art { order: 1; margin-top: 4px; }
  .lp-hook-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 8px 14px 4px; margin-inline: -4px; }
  .lp-hook { scroll-snap-align: start; }
}
.footer-privacy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.footer-privacy a { color: #FFFFFF; font-weight: 700; padding: 6px 0; }
.footer-privacy span { color: var(--night-muted); }
.site-header .header-actions { margin-left: auto; }
.lp-tagline { font-family: var(--pixel); font-size: clamp(.7rem, 1.2vw, .85rem); line-height: 1.7; color: var(--link); text-transform: uppercase; letter-spacing: .02em; margin-top: -6px; }
.lp-hero-copy .lede strong { color: var(--text); }
.lp-form-title { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 900; color: var(--text); }
