/* Roju: shared styles for the public site (index, privacy, terms). Mobile first: base rules are for phones,
   min-width queries add the laptop layout.
   Concept: one night, scrolled through. The page starts in the son's evening (deep navy) and warms to her
   sunrise at the bottom. Gold is lamp-light and home; teal means "she's okay"; coral is kept for real alerts. */
:root {
  --void: #050C1C;         /* top of the night */
  --night: #0B1A33;        /* midnight navy: trust, calm, the hour he reads this */
  --night-2: #12264A;      /* raised surface on night */
  --night-3: #1B355C;
  --star: #EEF2FB;         /* text on night */
  --star-dim: #A9B6CF;     /* secondary text on night */
  --star-faint: #7D8CAA;   /* labels on night */
  --night-line: rgba(238, 242, 251, .09);
  --night-line-2: rgba(238, 242, 251, .16);
  --glass: rgba(238, 242, 251, .045);
  --glass-2: rgba(238, 242, 251, .075);
  --mist: #F3F5F9;         /* her morning: legal pages read on light */
  --paper: #FFFFFF;
  --ink: #0E1B30;
  --ink-dim: #526079;
  --line: #DEE3EC;
  --gold: #E8BE73;         /* lamp-light: warmth, home, the accent */
  --gold-hi: #F7D99E;
  --gold-deep: #8A5F12;    /* gold as text on light */
  --gold-soft: rgba(232, 190, 115, .14);
  --teal: #1F7F72;         /* she's okay */
  --teal-light: #6CD3C1;
  --alert: #C23B3B;        /* only for real alerts */
  --alert-light: #FF8A80;
  --wa: #E2F6EA;           /* WhatsApp bubble, as the family sees it */

  --f-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-te: "Anek Telugu", "Noto Sans Telugu", "Hanken Grotesk", sans-serif;

  --r-xl: 26px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 27, 48, .06), 0 12px 32px rgba(14, 27, 48, .08);
  --shadow-night: 0 30px 80px rgba(0, 0, 0, .45);
  --gutter: max(18px, env(safe-area-inset-left, 0px));
  --gutter-r: max(18px, env(safe-area-inset-right, 0px));
  --nav-h: 62px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.te { font-family: var(--f-te); }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 12px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 11vw, 4.4rem); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(1.95rem, 7.6vw, 3.25rem); font-variation-settings: "opsz" 72; }
h3 { font-size: 1.22rem; letter-spacing: -.012em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(1.06rem, 1.4vw + .8rem, 1.24rem); line-height: 1.62; max-width: 60ch; }
.eyebrow { font: 500 .74rem/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- page + bands ---------- */
body.home {
  color: var(--star);
  background: var(--void) linear-gradient(180deg, #050C1C 0, #081530 1100px, #0B1A33 34%, #0D1F3D 62%, #13274A 84%, #1B3158 100%);
}
body.home::after { /* film grain: keeps big dark areas from looking flat */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.band { position: relative; padding-block: 76px; }
.inner { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); position: relative; }
.night { background: var(--night); color: var(--star); }
.night .dim, .home .dim { color: var(--star-dim); }
.mist .dim, .paper .dim { color: var(--ink-dim); }
.mist { background: var(--mist); }
.paper { background: var(--paper); }
.section-head { display: grid; gap: 16px; max-width: 780px; margin-bottom: 36px; }
.night .eyebrow, .home .eyebrow { color: var(--gold); }
.mist .eyebrow, .paper .eyebrow { color: var(--gold-deep); }
.home .lead { color: var(--star-dim); }
.home .lead strong { color: var(--star); font-weight: 600; }
.divider { height: 1px; max-width: 1180px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--night-line-2), transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; border: 0; text-align: center;
  padding: 14px 22px; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-gold { background: linear-gradient(180deg, #F2CD8A, var(--gold)); color: #0B1A33; box-shadow: 0 10px 30px rgba(232, 190, 115, .26), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-gold:hover { box-shadow: 0 14px 40px rgba(232, 190, 115, .38), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-navy { background: var(--ink); color: #fff; box-shadow: 0 10px 26px rgba(14, 27, 48, .22); }
.btn-glass { background: var(--glass); color: var(--star); border: 1px solid var(--night-line-2); }
.btn-glass:hover { background: var(--glass-2); border-color: rgba(238, 242, 251, .28); }
.btn-line { background: transparent; color: var(--star); border: 1px solid var(--night-line-2); }
.btn-line:hover { border-color: rgba(238, 242, 251, .4); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: rgba(5, 12, 28, .78); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.nav.scrolled { border-bottom-color: var(--night-line); background: rgba(5, 12, 28, .86); }
.nav .inner { display: flex; align-items: center; gap: 10px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--star); flex: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo b { font: 700 1.34rem/1 var(--f-display); letter-spacing: -.02em; }
.logo .te { font-size: .92rem; color: var(--star-dim); font-weight: 400; transform: translateY(2px); }
.nav-links { display: none; }
.nav .signin { display: none; color: var(--star-dim); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav .signin:hover { color: var(--star); }
.nav .cta { margin-left: auto; min-height: 42px; padding: 10px 16px; font-size: .9rem; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--night-line-2); background: var(--glass); color: var(--star); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu { position: absolute; left: var(--gutter); right: var(--gutter-r); top: calc(100% + 8px); display: grid; gap: 2px; padding: 10px; border-radius: 18px; background: #0E2040; border: 1px solid var(--night-line-2); box-shadow: var(--shadow-night); }
.menu[hidden] { display: none; }
.menu a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--star); text-decoration: none; font-weight: 500; }
.menu a:hover, .menu a:focus-visible { background: var(--glass-2); }
.menu a span { color: var(--star-faint); font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.menu hr { border: 0; height: 1px; background: var(--night-line); margin: 6px 4px; }
@media (max-width: 380px) { .logo .te { display: none; } .nav .cta { padding: 10px 13px; } }
@media (min-width: 980px) {
  .nav .inner { gap: 26px; height: 70px; }
  .nav-links { display: flex; gap: 26px; margin-left: auto; }
  .nav-links a { color: var(--star-dim); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s; }
  .nav-links a:hover { color: var(--star); }
  .nav .signin { display: inline; }
  .nav .cta { margin-left: 0; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 30px 0 64px; overflow: hidden; isolation: isolate; }
.hero::before { /* aurora */
  content: ""; position: absolute; inset: -30% -20% auto; height: 150%; z-index: -2; pointer-events: none;
  background: radial-gradient(42% 34% at 78% 28%, rgba(232, 190, 115, .16), transparent 70%), radial-gradient(38% 30% at 12% 12%, rgba(108, 211, 193, .10), transparent 70%), radial-gradient(40% 30% at 60% 90%, rgba(80, 110, 200, .14), transparent 70%);
  animation: aurora 22s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(-4%, 3%, 0) rotate(4deg); } }
.hero::after { /* the pulli (dot grid) a muggu is drawn on */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(238, 242, 251, .18) 1px, transparent 1.5px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 55% at 72% 42%, #000, transparent 75%); mask-image: radial-gradient(60% 55% at 72% 42%, #000, transparent 75%);
}
.hero-grid { display: grid; gap: 40px; }
.hero-copy { display: grid; gap: 22px; min-width: 0; align-content: start; }
.live { display: flex; flex-wrap: wrap; gap: 8px; font: 500 .7rem/1.3 var(--f-mono); color: var(--star-dim); }
.live .pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: var(--glass); border: 1px solid var(--night-line-2); white-space: nowrap; max-width: 100%; }
.live .pill > span:last-child { overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 560px) { .live { font-size: .74rem; letter-spacing: .02em; } .live .pill { padding: 7px 13px; gap: 8px; } }
.live b { color: var(--star); font-weight: 500; }
.live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); animation: pulse 2.2s infinite; flex: none; }
.live svg { width: 14px; height: 14px; flex: none; }
.live .moon { color: var(--star-dim); } .live .sun { color: var(--gold); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(108, 211, 193, .55); } 70% { box-shadow: 0 0 0 9px rgba(108, 211, 193, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 211, 193, 0); } }
.hero h1 em { display: block; font-style: normal; font-weight: 500; color: var(--gold); background: linear-gradient(100deg, #E8BE73 0%, #F7D99E 30%, #E8BE73 52%, #DDAE5F 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 9s ease-in-out infinite; padding-bottom: .06em; }
@keyframes shine { 50% { background-position: 100% 0; } }
.cta-row { display: grid; gap: 10px; }
.wide { display: none; }
.fine { font-size: .9rem; color: var(--star-dim); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fine span { display: inline-flex; align-items: center; gap: 8px; }
.fine span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-light); flex: none; }
@media (min-width: 560px) { .cta-row { display: flex; flex-wrap: wrap; gap: 12px; } span.wide { display: inline; } .btn.wide { display: inline-flex; } }
@media (min-width: 980px) {
  .hero { padding: 64px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: 64px; align-items: center; }
  .hero-copy { gap: 26px; }
}

/* ---------- the live call console ---------- */
.console-wrap { position: relative; min-width: 0; }
.console-wrap::before { content: ""; position: absolute; inset: -12% -8%; z-index: -1; pointer-events: none; background: radial-gradient(50% 45% at 50% 45%, rgba(232, 190, 115, .16), transparent 70%); }
.console { position: relative; border-radius: var(--r-xl); padding: 16px; background: linear-gradient(180deg, rgba(25, 48, 88, .94), rgba(10, 23, 46, .97)); border: 1px solid var(--night-line-2); box-shadow: var(--shadow-night); }
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(140deg, rgba(232, 190, 115, .6), transparent 32%, transparent 68%, rgba(108, 211, 193, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.c-top { display: flex; align-items: center; gap: 10px; font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--star-dim); }
.c-who { display: inline-flex; align-items: center; gap: 9px; color: var(--star); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-who i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); animation: pulse 2s infinite; flex: none; }
.c-who.idle i { background: var(--star-faint); animation: none; }
.c-clock { margin-left: auto; color: var(--star); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-clock small { font-size: inherit; color: var(--star-dim); margin-left: 4px; }
#voice { display: block; width: 100%; height: 56px; margin: 12px 0 8px; }
.c-status { display: flex; align-items: center; gap: 8px; height: 22px; font: 500 .74rem/1.3 var(--f-mono); color: var(--star-dim); letter-spacing: .02em; min-width: 0; }
.c-status .k { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; flex: none; }
.c-status .t { color: var(--star); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.c-status .spin { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(232, 190, 115, .3); border-top-color: var(--gold); animation: spin .9s linear infinite; flex: none; }
.c-status .ok { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-light); flex: none; box-shadow: 0 0 10px rgba(108, 211, 193, .6); }
@keyframes spin { to { transform: rotate(360deg); } }
.c-stage { position: relative; margin-top: 12px; }
.anim .c-stage { height: 318px; overflow: hidden; }
.c-track { display: grid; gap: 14px; align-content: start; transition: transform .75s cubic-bezier(.22, .7, .2, 1), opacity .5s ease; will-change: transform; }
.ln { display: grid; gap: 3px; padding-left: 12px; border-left: 2px solid rgba(108, 211, 193, .4); transition: opacity .45s ease; }
.ln.roju { border-left-color: rgba(232, 190, 115, .55); }
.ln .meta { display: flex; gap: 10px; align-items: baseline; font: 500 .64rem/1.4 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--star-faint); }
.ln .meta b { font-weight: 500; color: var(--teal-light); }
.ln.roju .meta b { color: var(--gold); }
.ln .te { display: block; font-size: 1.04rem; line-height: 1.5; color: var(--star); }
.ln .en { display: block; font-size: .85rem; line-height: 1.45; color: var(--star-dim); }
.ln.gap { border-left: 0; padding: 2px 0; font: 500 .7rem/1.5 var(--f-mono); letter-spacing: .04em; color: var(--star-faint); text-align: center; }
.ln.gap > span { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--night-line-2); }
.ln.past { opacity: 0; }
.ln, .ln p { transition: opacity .45s ease, border-color .4s ease; }
.anim .ln:not(.said):not(.gap), .anim .ln:not(.said) p { border-left-color: transparent; }
.ln mark { background: linear-gradient(180deg, transparent 66%, rgba(232, 190, 115, 0) 66%, rgba(232, 190, 115, 0) 92%, transparent 92%); color: inherit; transition: background .7s ease, color .7s ease; }
.ln mark.lit { background: linear-gradient(180deg, transparent 66%, rgba(232, 190, 115, .55) 66%, rgba(232, 190, 115, .55) 92%, transparent 92%); color: var(--gold-hi); }
html:not(.anim) .ln mark { background: linear-gradient(180deg, transparent 66%, rgba(232, 190, 115, .55) 66%, rgba(232, 190, 115, .55) 92%, transparent 92%); color: var(--gold-hi); }
.w { transition: opacity .28s ease; }
.anim .w { opacity: 0; }
.anim .w.on { opacity: 1; }
.anim .ln .en { opacity: 0; transition: opacity .5s ease; }
.anim .ln.said .en { opacity: 1; }
.anim .ln.pending { display: none; }
.c-ring { display: none; }
.anim .c-ring { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.anim .c-stage.calling .c-ring { opacity: 1; }
.c-ring-ico { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; background: radial-gradient(circle, rgba(108, 211, 193, .22), rgba(108, 211, 193, .06)); color: var(--teal-light); }
.c-ring-ico svg { width: 26px; height: 26px; }
.c-ring-ico::before, .c-ring-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(108, 211, 193, .5); animation: ring 1.6s ease-out infinite; }
.c-ring-ico::after { animation-delay: .8s; }
.c-ring b { font: 600 1.05rem/1.2 var(--f-display); color: var(--star); }
.c-ring small { font: 500 .72rem/1.3 var(--f-mono); color: var(--star-dim); letter-spacing: .06em; text-transform: uppercase; }
.c-wa { margin-top: 16px; }
.anim .c-wa { position: absolute; inset: 0 0 auto; margin: 0; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .7, .2, 1); pointer-events: none; }
.anim .c-stage.done .c-track { opacity: 0; }
.anim .c-stage.done .c-wa { opacity: 1; transform: none; }
.wa-msg { background: var(--wa); color: #10261C; border-radius: 16px 16px 16px 4px; padding: 14px 16px; font-size: .93rem; line-height: 1.5; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); }
.wa-msg .meta { display: flex; justify-content: space-between; gap: 10px; font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .06em; color: #4C6B5B; margin-bottom: 8px; text-transform: uppercase; }
.wa-msg b { font-weight: 700; }
.wa-msg .wl { display: block; }
.wa-msg .flag { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(16, 38, 28, .12); color: #7A4A00; font-weight: 600; }
.wa-msg .ticks { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 6px; font: 500 .68rem/1 var(--f-mono); color: #4C6B5B; }
.wa-msg .ticks svg { width: 18px; height: 12px; color: #8696A0; transition: color .4s ease; }
.wa-msg .ticks.read svg { color: #34B7F1; }
.anim .c-wa .wl { opacity: 0; transform: translateY(4px); transition: opacity .45s ease, transform .45s ease; }
.anim .c-wa .wl.on { opacity: 1; transform: none; }
.c-sent { margin-top: 10px; font: 500 .72rem/1.4 var(--f-mono); color: var(--star-dim); letter-spacing: .03em; display: flex; gap: 8px; align-items: center; }
.c-sent::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 10px rgba(108, 211, 193, .6); flex: none; }
.c-notes { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; }
.c-notes .k { font: 500 .64rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--star-faint); padding-top: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 66px; align-content: flex-start; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .02em; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--night-line-2); background: var(--glass); color: var(--star); white-space: nowrap; }
.chip i { font-style: normal; }
.chip.amber { color: var(--gold-hi); border-color: rgba(232, 190, 115, .38); background: rgba(232, 190, 115, .08); }
.chip.red { color: #FFB3AC; border-color: rgba(255, 138, 128, .42); background: rgba(255, 138, 128, .08); }
.chip.ok { color: var(--teal-light); border-color: rgba(108, 211, 193, .36); background: rgba(108, 211, 193, .07); }
.anim .chip.pending { display: none; }
.chip.pop { animation: chipIn .5s cubic-bezier(.2, .8, .2, 1.2) both; }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(.9); } }
.chip.flash { animation: flash .9s ease; }
@keyframes flash { 30% { box-shadow: 0 0 0 4px rgba(232, 190, 115, .25); background: rgba(232, 190, 115, .2); } }
.c-caption { margin-top: 12px; text-align: center; font: 500 .7rem/1.5 var(--f-mono); letter-spacing: .04em; color: var(--star-faint); }
/* without animation (no JS, or reduced motion) the whole call, notes and summary simply stack: nothing overlaps */
@media (min-width: 560px) { .console { padding: 20px; } #voice { height: 64px; } .anim .c-stage { height: 300px; } .ln { grid-template-columns: 78px minmax(0, 1fr); column-gap: 12px; padding-left: 0; border-left: 0; } .ln .meta { flex-direction: column; gap: 2px; padding-top: 4px; } .ln p { padding-left: 12px; border-left: 2px solid rgba(108, 211, 193, .4); } .ln.roju p { border-left-color: rgba(232, 190, 115, .55); } .ln.gap { grid-template-columns: 1fr; } }

/* ---------- numbers strip ---------- */
.numbers { padding-block: 0 8px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: rgba(7, 16, 34, .94); padding: 20px 16px; display: grid; gap: 6px; align-content: start; }
.stat b { font: 600 clamp(1.55rem, 6.4vw, 2.2rem)/1 var(--f-display); letter-spacing: -.02em; color: var(--star); font-variant-numeric: tabular-nums; }
.stat b small { font-size: .55em; font-weight: 500; color: var(--star-dim); margin-left: 2px; letter-spacing: 0; }
.stat span { font-size: .88rem; color: var(--star-dim); line-height: 1.45; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stat { padding: 26px 24px; } }

/* ---------- shared glass ---------- */
.glass { background: linear-gradient(180deg, rgba(238, 242, 251, .055), rgba(238, 242, 251, .025)); border: 1px solid var(--night-line); border-radius: var(--r-lg); }
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 190, 115, .09), transparent 60%); }
.spot:hover::after { opacity: 1; }

/* ---------- her week (dashboard) ---------- */
.split { display: grid; gap: 36px; }
.prose { display: grid; gap: 16px; max-width: 58ch; align-content: start; }
.prose p { color: var(--star-dim); font-size: 1.05rem; }
.mist .prose p, .paper .prose p { color: var(--ink-dim); }
.dash { padding: 18px; border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(25, 48, 88, .62), rgba(10, 23, 46, .78)); border: 1px solid var(--night-line-2); box-shadow: var(--shadow-night); min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-top h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.dash-top h3 i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font: 600 .72rem/1 var(--f-te); font-style: normal; }
.dash-top .range { font: 500 .64rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--star-faint); }
.g7 { display: grid; gap: 6px; margin-top: 18px; }
.g-row { display: grid; grid-template-columns: 72px repeat(7, minmax(0, 1fr)); gap: 5px; align-items: center; }
.g-head span { font: 500 .6rem/1 var(--f-mono); letter-spacing: .06em; color: var(--star-faint); text-align: center; text-transform: uppercase; }
.g-row .g-k { font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .02em; color: var(--star-dim); text-align: left; text-transform: none; }
.c { display: grid; place-items: center; height: 26px; border-radius: 8px; font: 600 .7rem/1 var(--f-mono); font-style: normal; color: #062019; }
.c.ok { background: linear-gradient(180deg, #84E2D2, #3BA592); }
.c.watch { background: linear-gradient(180deg, #F7D99E, #D9A957); color: #3A2600; }
.c.bad { background: linear-gradient(180deg, #FFA99F, #E0605A); color: #3A0B08; }
.c.none { background: transparent; border: 1px dashed var(--night-line-2); }
.g-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font: 500 .64rem/1 var(--f-mono); color: var(--star-faint); letter-spacing: .04em; }
.g-legend span { display: inline-flex; align-items: center; gap: 6px; }
.g-legend .c { width: 14px; height: 10px; border-radius: 3px; }
.g-row:nth-child(2) { --row: 0; } .g-row:nth-child(3) { --row: 1; } .g-row:nth-child(4) { --row: 2; } .g-row:nth-child(5) { --row: 3; } .g-row:nth-child(6) { --row: 4; }
.g-row .c:nth-child(2) { --col: 0; } .g-row .c:nth-child(3) { --col: 1; } .g-row .c:nth-child(4) { --col: 2; } .g-row .c:nth-child(5) { --col: 3; } .g-row .c:nth-child(6) { --col: 4; } .g-row .c:nth-child(7) { --col: 5; } .g-row .c:nth-child(8) { --col: 6; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.tile { padding: 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--night-line); display: grid; gap: 4px; align-content: start; min-width: 0; }
.tile b { font: 600 1.1rem/1.1 var(--f-display); color: var(--star); }
.tile b.warn { color: var(--gold-hi); }
.tile span { font: 500 .62rem/1.35 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--star-faint); }
.noticed { margin-top: 12px; padding: 14px; border-radius: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; background: linear-gradient(90deg, rgba(232, 190, 115, .14), rgba(232, 190, 115, .04)); border: 1px solid rgba(232, 190, 115, .28); color: #F1DDB6; font-size: .94rem; line-height: 1.5; }
.noticed svg { width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.noticed b { color: var(--gold-hi); font-weight: 600; }
/* the week fills in day by day when the card scrolls into view */
.anim .dash .c { opacity: 0; transform: scale(.6); }
.dash.play .c { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1.2); transition-delay: calc(var(--col, 0) * 110ms + var(--row, 0) * 45ms + .1s); }
@media (min-width: 560px) { .dash { padding: 24px; } .g7 { gap: 8px; } .g-row { grid-template-columns: 96px repeat(7, minmax(0, 1fr)); gap: 7px; } .c { height: 32px; border-radius: 10px; font-size: .78rem; } .g-row .g-k { font-size: .76rem; } .tile b { font-size: 1.25rem; } }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; align-items: center; } }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 14px; }
.stepc { padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.stepc .num { font: 500 .7rem/1 var(--f-mono); letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.stepc h3 { font-size: 1.24rem; }
.stepc p { color: var(--star-dim); font-size: .97rem; }
.mini { margin-top: 6px; border-radius: 16px; padding: 14px; background: rgba(5, 12, 28, .55); border: 1px solid var(--night-line); font-size: .9rem; display: grid; gap: 8px; }
.mini .row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--glass); }
.mini .row span { color: var(--star-faint); font: 500 .7rem/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.mini .row b { font-weight: 600; color: var(--star); text-align: right; }
.mini .ring { display: flex; align-items: center; gap: 12px; }
.mini .ring i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(108, 211, 193, .14); color: var(--teal-light); flex: none; position: relative; }
.mini .ring i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(108, 211, 193, .4); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.mini .ring svg { width: 18px; height: 18px; }
.mini .ring b { display: block; font-weight: 600; }
.mini .ring small { color: var(--star-dim); font-size: .8rem; }
.mini .say { padding: 9px 12px; border-radius: 12px; background: var(--glass); }
.mini .say .te { display: block; color: var(--star); }
.mini .say .en { display: block; color: var(--star-dim); font-size: .8rem; }
.mini .say.her { background: rgba(108, 211, 193, .08); margin-left: 18%; }
.mini .wa-msg { font-size: .86rem; box-shadow: none; }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .stepc { padding: 26px; } }

/* ---------- inside the call (tabs) ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter-r)) 18px calc(-1 * var(--gutter)); padding: 2px var(--gutter-r) 4px var(--gutter); scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; scroll-snap-align: start; min-height: 44px; font: 500 .94rem/1 var(--f-body); padding: 12px 16px; border-radius: 999px; border: 1px solid var(--night-line-2); background: var(--glass); color: var(--star-dim); cursor: pointer; transition: all .2s ease; }
.tab:hover { color: var(--star); border-color: rgba(238, 242, 251, .3); }
.tab[aria-selected="true"] { background: var(--star); color: var(--night); border-color: var(--star); }
.tab.alarm[aria-selected="true"] { background: var(--alert-light); border-color: var(--alert-light); color: #2B0A08; }
.panel { display: grid; gap: 14px; }
.panel[hidden] { display: none; }
.convo, .outcome { border-radius: var(--r-lg); padding: 18px; min-width: 0; display: grid; gap: 12px; align-content: start; }
.convo { background: rgba(18, 38, 74, .7); border: 1px solid var(--night-line); }
.outcome { background: linear-gradient(180deg, rgba(238, 242, 251, .06), rgba(238, 242, 251, .03)); border: 1px solid var(--night-line); }
.label { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--star-faint); }
.bub { max-width: 90%; padding: 11px 14px; border-radius: 18px; background: rgba(238, 242, 251, .06); border: 1px solid var(--night-line); }
.bub .te { display: block; font-size: 1.04rem; line-height: 1.5; color: var(--star); }
.bub .en { display: block; font-size: .85rem; color: var(--star-dim); margin-top: 3px; }
.bub.her { margin-left: auto; background: rgba(108, 211, 193, .09); border-color: rgba(108, 211, 193, .24); border-bottom-right-radius: 6px; }
.bub.roju { border-bottom-left-radius: 6px; background: rgba(232, 190, 115, .07); border-color: rgba(232, 190, 115, .2); }
.bub.sys { max-width: 100%; text-align: center; background: transparent; border: 1px dashed var(--night-line-2); font: 500 .76rem/1.45 var(--f-mono); color: var(--star-dim); }
.outcome p { color: var(--star-dim); }
.outcome ul, .plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.outcome ul { font-size: .95rem; color: var(--star-dim); }
.outcome li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.outcome li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-light); margin-top: 9px; }
.alert-card { border-radius: 16px; padding: 14px 16px; background: rgba(255, 138, 128, .1); border: 1px solid rgba(255, 138, 128, .35); color: #FFD9D5; font-size: .95rem; }
.alert-card b { color: var(--alert-light); display: block; font: 600 .72rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.example-tag { font: 500 .72rem/1.5 var(--f-mono); color: var(--star-faint); letter-spacing: .04em; margin-top: 16px; }
@media (min-width: 900px) {
  .tabs { flex-wrap: wrap; overflow: visible; margin: 0 0 22px; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .panel { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 18px; }
  .convo, .outcome { padding: 24px; }
}

/* ---------- groceries ---------- */
.pipe { display: grid; margin-top: 4px; }
.pstep { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; min-width: 0; }
.pstep:last-child { padding-bottom: 0; }
.pstep::before, .pstep::after { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--night-line-2); }
.pstep::after { background: linear-gradient(180deg, var(--teal-light), var(--gold)); transform-origin: top; }
.pstep:last-child::before, .pstep:last-child::after { display: none; }
.pstep .node { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--teal-light); background: var(--night); box-shadow: 0 0 0 5px rgba(108, 211, 193, .08); display: grid; place-items: center; }
.pstep .node::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); }
.pstep:last-child .node { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(232, 190, 115, .1); }
.pstep:last-child .node::after { background: var(--gold); }
.pstep .body { display: grid; gap: 4px; min-width: 0; }
.pstep .tm { font: 500 .72rem/1.4 var(--f-mono); color: var(--gold); letter-spacing: .06em; }
.pstep h3 { font-size: 1.05rem; }
.pstep p { font-size: .93rem; color: var(--star-dim); }
.pstep .te { font-size: 1rem; color: var(--star); }
.anim .pipe .pstep::after { transform: scaleY(0); }
.anim .pipe .node { border-color: var(--night-line-2); box-shadow: none; }
.anim .pipe .node::after { transform: scale(0); }
.pipe.play .pstep::after { transform: none; transition: transform .5s ease calc(var(--i) * 420ms + .3s); }
.pipe.play .node { border-color: var(--teal-light); box-shadow: 0 0 0 5px rgba(108, 211, 193, .08); transition: border-color .3s ease calc(var(--i) * 420ms), box-shadow .3s ease calc(var(--i) * 420ms); }
.pipe.play .pstep:last-child .node { border-color: var(--gold); }
.pipe.play .node::after { transform: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1.3) calc(var(--i) * 420ms); }
.proof { margin-top: 40px; display: grid; gap: 16px; }
.proof-card { padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.proof-card h3 { font-size: 1.32rem; }
.proof-card p { color: var(--star-dim); }
.receipt { margin-top: 4px; border-radius: 14px; padding: 14px 16px; font: 500 .85rem/1.9 var(--f-mono); color: var(--ink); background: #FBFAF6; box-shadow: 0 14px 40px rgba(0, 0, 0, .3); position: relative; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; }
.receipt .muted { color: var(--ink-dim); }
.receipt .tot { border-top: 1px dashed #C9CFDA; margin-top: 4px; padding-top: 4px; }
.receipt .head { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.ways { display: grid; gap: 10px; }
.way { padding: 16px 18px; display: grid; gap: 5px; }
.way b { font-weight: 600; color: var(--star); }
.way span { font-size: .93rem; color: var(--star-dim); }
.tag { display: inline-block; font: 500 .66rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-hi); margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
@media (min-width: 980px) {
  .pipe { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pstep { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 18px 0 0; }
  .pstep::before, .pstep::after { left: 30px; right: 4px; top: 11px; bottom: auto; width: auto; height: 2px; }
  .pstep::after { transform-origin: left; }
  .anim .pipe .pstep::after { transform: scaleX(0); }
  .proof { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; margin-top: 52px; }
  .proof-card { padding: 28px; }
}

/* ---------- safety ---------- */
.safety::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 10%, rgba(255, 138, 128, .1), transparent 70%); }
.timeline { display: grid; border-left: 1px solid var(--night-line-2); margin-left: 6px; }
.tl { position: relative; display: grid; gap: 4px; padding: 0 0 24px 24px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -7px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--night); border: 2px solid var(--alert-light); box-shadow: 0 0 0 4px rgba(255, 138, 128, .1); }
.tl.calm::before { border-color: var(--teal-light); box-shadow: 0 0 0 4px rgba(108, 211, 193, .1); }
.tl .tm { font: 500 .78rem/1.5 var(--f-mono); color: var(--star-faint); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.tl p { color: var(--star); }
.tl p .dim { color: var(--star-dim); }
.disclaimer { padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--night-line); background: var(--glass); color: var(--star-dim); font-size: .94rem; }
@media (min-width: 560px) { .tl { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; } }

/* ---------- made for her ---------- */
.grid4 { display: grid; gap: 12px; }
.feature { padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feature .glyph { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(232, 190, 115, .2), rgba(232, 190, 115, .06)); border: 1px solid rgba(232, 190, 115, .25); color: var(--gold); margin-bottom: 4px; }
.feature .glyph svg { width: 22px; height: 22px; }
.feature p { color: var(--star-dim); font-size: .96rem; }
@media (min-width: 640px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .feature { padding: 26px; } }

/* ---------- privacy band ---------- */
.promises { display: grid; gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r-lg); overflow: hidden; }
.promise { background: rgba(9, 20, 41, .95); padding: 22px; display: grid; gap: 8px; align-content: start; }
.promise .k { font: 500 .68rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); }
.promise h3 { font-size: 1.16rem; }
.promise p { color: var(--star-dim); font-size: .95rem; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.home .textlink, .night .textlink { color: var(--gold); }
.mist .textlink, .paper .textlink { color: var(--ink); }
@media (min-width: 640px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } .promise { padding: 26px; } }

/* ---------- pricing ---------- */
.price-top { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--night-line-2); }
.toggle button { min-height: 40px; font: 600 .9rem/1 var(--f-body); padding: 10px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--star-dim); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--star); color: var(--night); }
.plans { display: grid; gap: 14px; align-items: stretch; }
.plan { position: relative; padding: 24px; display: grid; gap: 16px; grid-template-rows: auto auto 1fr auto; min-width: 0; }
.plan h3 { font-size: 1.2rem; }
.plan .amt { font: 700 2.6rem/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--star); }
.plan .amt small { font: 500 .95rem/1 var(--f-body); color: var(--star-dim); letter-spacing: 0; margin-left: 4px; }
.plan ul { font-size: .96rem; color: var(--star-dim); align-content: start; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
.plan li::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--teal-light); border-bottom: 2px solid var(--teal-light); transform: rotate(-45deg) translate(1px, 6px); }
.plan li em { font-style: normal; color: var(--star-faint); }
.plan .btn { width: 100%; }
.plan.pick { background: linear-gradient(180deg, rgba(232, 190, 115, .12), rgba(238, 242, 251, .03) 60%); border-color: rgba(232, 190, 115, .45); box-shadow: 0 0 0 1px rgba(232, 190, 115, .12), 0 30px 70px rgba(0, 0, 0, .35); }
.plan.pick::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--a, 0deg), rgba(232, 190, 115, .9), transparent 25%, transparent 50%, rgba(108, 211, 193, .7), transparent 75%, rgba(232, 190, 115, .9)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: orbit 7s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --a: 360deg; } }
.plan .ribbon { position: absolute; top: -12px; left: 22px; background: var(--gold); color: var(--night); font: 600 .68rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.price-note { margin-top: 18px; color: var(--star-dim); font-size: .94rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.price-note span { display: inline-flex; align-items: center; gap: 8px; }
.price-note span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-light); }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .plan { padding: 28px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 28px; align-items: start; }
.qa { border-top: 1px solid var(--night-line-2); }
.qa details { border-bottom: 1px solid var(--night-line-2); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.06rem/1.4 var(--f-body); color: var(--star); min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--star-dim); border-bottom: 2px solid var(--star-dim); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.qa details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa details p { padding: 0 0 20px; color: var(--star-dim); max-width: 66ch; }
.qa a, .faq .section-head a { color: var(--gold); }
@media (min-width: 980px) { .faq { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 64px; } .faq .section-head { position: sticky; top: 110px; } }

/* ---------- dawn close ---------- */
.dawn { position: relative; overflow: hidden; text-align: center; color: var(--star); padding-block: 96px 120px; background: linear-gradient(180deg, transparent 0%, rgba(40, 56, 100, .5) 40%, #4A557F 70%, #B58F78 100%); }
.dawn::after { content: ""; position: absolute; left: 50%; bottom: -330px; width: min(1000px, 160vw); height: 560px; transform: translateX(-50%); border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 224, 160, .9), rgba(232, 190, 115, .4) 55%, transparent 76%); }
#dawnMuggu { position: absolute; left: 50%; top: 60%; width: min(760px, 150vw); aspect-ratio: 1; transform: translate(-50%, -46%); opacity: .26; pointer-events: none; }
@media (min-width: 900px) { #dawnMuggu { top: 50%; opacity: .42; } }
.dawn .inner { display: grid; gap: 20px; justify-items: center; z-index: 1; }
.dawn .te-big { font: 600 clamp(1.7rem, 7vw, 3.3rem)/1.4 var(--f-te); max-width: 20ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(5, 12, 28, .5); }
.dawn p { color: #E3E8F4; font-size: 1.08rem; }
.dawn .eyebrow { color: var(--gold-hi); }

/* ---------- footer ---------- */
.foot { background: #070F22; color: var(--star-dim); padding-block: 44px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; position: relative; z-index: 1; }
.foot .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.foot .brand { grid-column: 1 / -1; }
.foot a { color: var(--star); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot li a { display: inline-block; padding: 6px 0; }
.foot .legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: .86rem; }
@media (min-width: 900px) { .foot .inner { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .6fr)); } .foot .brand { grid-column: auto; } }

/* ---------- reveal on scroll (only when motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- section rhythm on larger screens ---------- */
@media (min-width: 980px) {
  .band { padding-block: 120px; }
  .section-head { gap: 18px; margin-bottom: 52px; }
}

/* ---------- legal pages (privacy, terms): light, for reading ---------- */
.doc-hero { padding-block: 56px 44px; overflow: hidden; isolation: isolate; background: radial-gradient(60% 80% at 85% 0%, rgba(232, 190, 115, .12), transparent 70%), var(--night); }
.doc-hero .inner { display: grid; gap: 16px; }
.doc-hero .lead { color: var(--star-dim); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 .78rem/1.4 var(--f-mono); color: var(--star-dim); letter-spacing: .04em; }
.short { display: grid; gap: 12px; margin-top: 24px; }
.short div { padding: 16px 18px; border-radius: var(--r-md); background: rgba(238, 242, 251, .05); border: 1px solid var(--night-line); display: grid; gap: 6px; align-content: start; }
.short b { color: var(--star); font-weight: 600; }
.short span { color: var(--star-dim); font-size: .95rem; }
.doc { display: grid; gap: 28px; align-items: start; }
.toc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; font-size: .94rem; }
.toc b { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 10px; }
.toc a { text-decoration: none; color: var(--ink-dim); padding: 8px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); background: var(--paper); }
.toc a.on { color: var(--ink); border-left-color: var(--gold); background: var(--paper); }
.article { max-width: 72ch; min-width: 0; display: grid; gap: 14px; }
.article h2 { font-size: clamp(1.45rem, 5vw, 2rem); margin-top: 38px; scroll-margin-top: 96px; color: var(--ink); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.1rem; margin-top: 12px; }
.article p, .article li { color: #2E3A50; }
.article ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.article strong { color: var(--ink); }
.article a { color: var(--ink); }
.article .callout { padding: 16px 18px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.article .callout.warn { background: #FDF1F1; border-color: #F3C9C9; }
.article .callout.gold { background: #FBF4E6; border-color: #F0E0BE; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); -webkit-overflow-scrolling: touch; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; }
.tablewrap th, .tablewrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tablewrap th { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); background: #F8F9FC; }
.tablewrap tr:last-child td { border-bottom: 0; }
.rights { display: grid; gap: 12px; }
.rights div { padding: 16px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 4px; }
.rights b { font-weight: 600; }
.rights span { color: var(--ink-dim); font-size: .94rem; }
.contact-card { display: grid; gap: 6px; padding: 20px; border-radius: var(--r-lg); background: var(--night); color: var(--star); }
.contact-card .dim { color: var(--star-dim); }
.contact-card a { color: var(--gold); }
@media (min-width: 640px) { .short { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rights { grid-template-columns: repeat(2, minmax(0, 1fr)); } .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .toc b { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .doc-hero { padding-block: 88px 64px; }
  .short { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
  .doc { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
  .toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); grid-template-columns: minmax(0, 1fr); }
  .toc b { grid-column: auto; }
}
