/* ==========================================================================
   White site, one dark moment
   Everything is light and flat. The alert walkthrough stays at night,
   because that's when it happens. Decoration is kept deliberately plain:
   solid colours, thin rules, modest radii, no glows or gradient type.
   ========================================================================== */
.theme-light { --soft: #f6f4fb; --line: #e7e2f2; }
.theme-light .grain { display: none; }

/* header: always light */
.theme-light .site-header,
.theme-light .site-header.is-scrolled {
  background: rgba(255, 255, 255, .92); color: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.theme-light .site-header .logo-img { filter: none; }
.theme-light .site-header .btn { --bg: var(--purple); --fg: var(--white); }
.theme-light .logo-glow, .theme-light .logo-glow * { animation: none !important; filter: none; }
.theme-light .logo-sheen { display: none; }
.theme-light .btn:hover { box-shadow: none; }

/* ---------- hero ---------- */
.theme-light .hero { background: var(--white); color: var(--ink); min-height: 0; padding: 150px 0 96px; }
.theme-light .aurora, .theme-light .cursor-light, .theme-light .dawn, .theme-light .scroll-cue { display: none; }
.theme-light .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; opacity: 1 !important; transform: none !important; }
.theme-light .eyebrow {
  display: block; padding: 0; margin-bottom: 22px; background: none; border: 0; border-radius: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  color: var(--purple); font-size: 1rem; font-weight: 520;
}
.theme-light .hero .display { color: var(--ink); font-size: clamp(2.8rem, 5.6vw, 5rem); }
.theme-light .glow-word { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--purple); }
.theme-light .hero-copy .lede { color: var(--ink-2); }
.theme-light .hero .btn { --bg: var(--purple); --fg: var(--white); }
.theme-light .hero .btn-ghost { --bg: var(--white); --fg: var(--purple); border-color: var(--lav-2); }
.theme-light .hero .btn-ghost:hover { border-color: var(--purple); }
.theme-light .play { border-color: var(--purple); }
.theme-light .play::after { border-left-color: var(--purple); }
.theme-light .trust { border-top-color: var(--line); }
.theme-light .trust li { border-right-color: var(--line); }
.theme-light .trust strong { color: var(--ink); }
.theme-light .trust span { color: var(--ink-2); }

.theme-light .hero-visual { min-height: 540px; background: var(--soft); border-radius: 20px; }
.theme-light .hero-visual .hero-watch { width: min(280px, 62%); }
.theme-light .hero-watch .glow { display: none; }
.theme-light .hero-card {
  animation: none; background: var(--white); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(26, 16, 51, .06), 0 0 0 1px var(--line);
}
.theme-light .card-circle { top: 8%; left: 5%; }
.theme-light .card-night  { top: 50%; right: 4%; }
.theme-light .card-diary  { bottom: 8%; left: 8%; }

/* ---------- alert: the one dark section (base styles kept) ---------- */
.theme-light .alert { background: #1d1040; }
.alert-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; }
.alert-note { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--on-night-2); }
.note-i {
  width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid currentColor; font-size: .72rem; font-weight: 600; font-style: normal; line-height: 1;
}

/* ---------- results: flat tiles ---------- */
.theme-light .results { background: var(--white); color: var(--ink); padding: clamp(80px, 10vw, 128px) 0; }
.theme-light .results-trace { display: none; }
.theme-light .results .h2 { color: var(--ink); }
.theme-light .results-grid { grid-template-columns: 1.15fr 1fr; gap: 12px; align-items: stretch; }
.theme-light .result-lead {
  border-radius: 16px; padding: 36px; background: var(--purple); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
}
.theme-light .result-num { color: #fff; font-size: clamp(4.5rem, 10vw, 8.5rem); }
.theme-light .result-label { color: #ddd3f7; }
.theme-light .result-list { border: 0; gap: 12px; }
.theme-light .result-list > div,
.theme-light .result-list > div:nth-child(odd),
.theme-light .result-list > div:nth-child(even) {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; min-height: 150px;
}
.theme-light .result-list dt { color: var(--ink); }
.theme-light .result-list dd { color: var(--ink-2); }

/* ---------- why: plain columns on rules ---------- */
.theme-light .why { background: var(--white); color: var(--ink); padding: 0 0 clamp(80px, 10vw, 128px); }
.theme-light .why .h2 { color: var(--ink); }
.theme-light .facts { border-top: 1px solid var(--ink); margin-top: 36px; }
.theme-light .facts > div { border-color: var(--line) !important; }
.theme-light .facts dt { color: var(--purple); }
.theme-light .facts dd { color: var(--ink-2); }

/* ---------- light sections: flatter ---------- */
.theme-light .serve, .theme-light .stories, .theme-light .faq { background: var(--soft); }
.theme-light .diary, .theme-light .community, .theme-light .clinicians, .theme-light .close { background: var(--white); }
.theme-light .panel { border-radius: 16px; box-shadow: none; border: 1px solid var(--line); }
.theme-light .panel-visual { background: #efebf9; border-radius: 12px; }
.theme-light .v-cap { color: var(--ink-2); }
.theme-light .mini-bars i { background: var(--purple); }
.theme-light .mini-note { box-shadow: 0 0 0 1px var(--line); }
.theme-light .cal-fig, .theme-light .report { box-shadow: 0 0 0 1px var(--line), 0 12px 24px -20px rgba(26,16,51,.3); border-radius: 14px; }
.theme-light .report { transform: none !important; }
.theme-light .story-lead { margin-top: 48px; }
.theme-light .story-row { gap: 12px; }
.theme-light .story { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.theme-light .demo { border-radius: 16px; }

/* ---------- footer: light ---------- */
.theme-light .site-footer { background: var(--soft); color: var(--ink-2); border-top: 1px solid var(--line); }
.theme-light .site-footer #city, .theme-light .foot-glow, .theme-light .site-footer::before, .theme-light .foot-logo-sheen { display: none; }
.theme-light .foot-logo, .theme-light .foot-logo img { filter: none; }
.theme-light .foot-brand .foot-tag { color: var(--ink); }
.theme-light .foot-brand .foot-about { color: var(--ink-2); }
.theme-light .site-footer .foot-cta { --bg: var(--purple); --fg: var(--white); }
.theme-light .foot-col h3 { color: var(--ink); }
.theme-light .foot-col a, .theme-light .foot-col address { color: var(--ink-2); }
.theme-light .foot-col a:hover { color: var(--purple); }
.theme-light .foot-fine::before { background: var(--line); }
.theme-light .foot-bar p { color: var(--ink); }
.theme-light .foot-bar a { color: var(--ink-2); }
.theme-light .foot-bar a:hover { color: var(--purple); }
.theme-light .foot-disclaimer { color: #857e9b; }

@media (max-width: 980px) {
  .theme-light .hero-grid { grid-template-columns: 1fr; }
  .theme-light .results-grid { grid-template-columns: 1fr; }
  .theme-light .hero-visual { min-height: 440px; }
}
@media (max-width: 640px) {
  .theme-light .hero { padding-top: 116px; }
  .theme-light .hero-visual { min-height: 380px; }
  .theme-light .facts { grid-template-columns: 1fr; }
}
.theme-light .trust { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; max-width: none; }
.theme-light .trust li { padding-right: 24px; margin-right: 24px; }
.theme-light .card-night { top: auto; bottom: 26%; right: 3%; }
.theme-light .card-diary { bottom: 7%; left: auto; right: 5%; }
@media (max-width: 640px) {
  .theme-light .trust li { padding-right: 12px; margin-right: 12px; }
}

/* real app screenshots */
.mini-watch { padding: 0; overflow: hidden; width: 150px; height: 186px; border-radius: 38px; }
.mini-watch img { width: 100%; height: 100%; object-fit: cover; }
.mini-watch { padding: 12px; background: #000; }
.mini-watch img { border-radius: 12px; object-fit: contain; }

/* ---------- FAQ: grouped cards with a help panel ---------- */
.faq-grid { grid-template-columns: .75fr 1.25fr; }
.faq-grid .h2 { position: static; }
.faq-side { position: sticky; top: 120px; }
.faq-intro { margin-top: 16px; color: var(--ink-2); max-width: 22em; }
.faq-help {
  margin-top: 36px; padding: 24px; max-width: 320px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  display: flex; flex-direction: column; gap: 4px; font-size: 1rem;
}
.faq-help-t { font-weight: 540; color: var(--ink); font-size: 1.1rem; }
.faq-help p { color: var(--ink-2); }
.faq-help p + a { margin-top: 12px; }
.faq-help a { color: var(--purple); font-weight: 500; text-decoration: none; width: fit-content; }
.faq-help a:hover { text-decoration: underline; }

.faq-list { border-top: 0; display: grid; gap: 36px; }
.faq-cat { font-size: .9rem; font-weight: 560; color: var(--purple); margin-bottom: 12px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px;
  transition: border-color .25s;
}
.faq-list details:hover, .faq-list details[open] { border-color: #cdbff0; }
.faq-list summary { padding: 20px 60px 20px 24px; font-size: clamp(1.05rem, 1.3vw, 1.15rem); }
.faq-list summary::before, .faq-list summary::after { right: 24px; width: 14px; }
.faq-a p { padding: 0 60px 22px 24px; }

@media (max-width: 980px) {
  .faq-side { position: static; }
  .faq-help { max-width: none; }
}
.faq-side { position: static; }
.faq-help .faq-help-t { color: var(--ink); }
.card-icon.card-rep { background: var(--lav-2); }
.card-icon.card-rep svg { stroke: var(--purple); stroke-width: 2.6; }
