/* Dusk Glow homepage. Bands: dusk hero, cream and dusk feature sections,
   a final waitlist band, then the footer. Contrast pairs: scripts/contrast-pairs.json. */
@font-face { font-family: 'Nunito'; font-weight: 400 800; font-display: swap;
  src: url('fonts/nunito-latin-var.woff2') format('woff2'); }

:root {
  --text-hi: #F8F1E7;
  --text-soft: rgba(248, 241, 231, 0.78);
  --text-on-glass: rgba(248, 241, 231, 0.86);
  --ink: #3A3560;
  --ink-soft: #6B6590;
  --coral: #E8896B;
  --coral-ink: #A8492F;
  --peach: #F3C8A0;
  --glass: rgba(255, 255, 255, 0.13);
  --glass-edge: rgba(255, 255, 255, 0.32);
  --violet-bubble: #5F55A8;
  --screen-lav-a: #948BD2;
  --screen-lav-b: #7C71C2;
  --cream-screen: #FBF3E6;
  --cream-card: #FFF9EE;
  --dusk-900: #37325F;
  --dusk-700: #453E78;
  --dusk-600: #66619A;
  --room-card: #4F4789;
  --final: #5A5294;
  --radius-card: 20px;
  --shadow-card: 0 12px 40px rgba(35, 29, 75, 0.18);
  --wrap: 76rem;
}

* { box-sizing: border-box; }
html { color-scheme: light; background: var(--dusk-900); }
html, body { margin: 0; padding: 0; }
body {
  color: var(--text-hi);
  font-family: 'Nunito', ui-rounded, system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
  /* Matches the top of the hero, so a tall header (enlarged text) never shows a strip. */
  background: #5E5894;
  overflow-x: hidden;
}
.page { position: relative; padding-top: 1.3rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }
.page > .nav { max-width: calc(var(--wrap) - 4rem); margin: 0 auto; width: calc(100% - 4rem); }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--peach); outline-offset: 3px;
}
.cream a:focus-visible, .cream button:focus-visible, .cream input:focus-visible, .cream summary:focus-visible { outline-color: var(--ink); }
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav.glass { background: rgba(58, 53, 96, 0.5); }

/* ---- Nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 999px; padding: 0.7rem 1.6rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text-hi); }
.brand strong { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.01em; }
.brand strong b { font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; font-size: 1.0625rem; }
.nav-links a { color: rgba(248, 241, 231, 0.92); text-decoration: none; }
.nav-links a:hover { color: var(--text-hi); }
.pill-cta {
  background: linear-gradient(120deg, #F7DDBC, #F2B896);
  color: var(--ink) !important; text-decoration: none;
  padding: 0.65rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1.0625rem;
  box-shadow: 0 8px 22px rgba(242, 184, 150, 0.35);
}
.pill-cta:hover { filter: brightness(1.04); }
/* ---- Skip link and phone menu (mirrors site.css) ---- */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #453E78; color: var(--text-hi); font-weight: 700;
  padding: 0.7rem 1.2rem; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 1rem; }
.nav { position: relative; z-index: 20; }
.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none; margin-right: -0.6rem;
  align-items: center; justify-content: center; padding: 0; cursor: pointer;
  background: transparent; border: 0; border-radius: 999px; color: var(--text-hi);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: calc(100% + 0.6rem); left: 0; right: 0;
    padding: 0.6rem 1rem 1rem; border-radius: 22px;
    background: #453E78; border: 1px solid var(--glass-edge);
    box-shadow: 0 12px 40px rgba(35, 29, 75, 0.35);
  }
  .nav-links.open a { display: flex; align-items: center; min-height: 44px; padding: 0 0.6rem; color: var(--text-hi); }
  .nav-links.open .pill-cta { justify-content: center; margin-top: 0.6rem; }
}
@media (max-width: 62rem) and (prefers-reduced-motion: no-preference) {
  .nav-links.open { animation: nav-in 200ms cubic-bezier(0.4, 0, 0.2, 1); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } }
}

/* ---- Hero ---- */
/* The glow lives inside the hero band and is clipped by it, so it can never
   end partway down the page as a visible seam. */
.hero-band {
  position: relative; overflow: hidden; margin-top: -6.5rem; padding-top: 6.5rem;
  background: linear-gradient(180deg, #5E5894 0%, #615B97 100%);
}
.atmo { position: absolute; inset: 0; pointer-events: none; }
.atmo i { position: absolute; border-radius: 50%; filter: blur(60px); }
.atmo .a1 { width: 520px; height: 520px; right: -12%; bottom: -30%; background: rgba(255, 225, 190, 0.30); }
.atmo .a2 { width: 320px; height: 320px; right: 18%; top: 20%; background: rgba(170, 155, 220, 0.30); }
/* Glow stays on the phone side; on one-column layouts the text sits above it. */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem; align-items: center; padding-top: 3.2rem; padding-bottom: 4.5rem;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.7rem); font-weight: 700; line-height: 1.12;
  letter-spacing: -0.005em; margin: 0 0 1.1rem; max-width: 15ch;
  text-shadow: 0 2px 30px rgba(50, 42, 95, 0.30);
}
.hero-copy .sub {
  font-size: 1.3rem; line-height: 1.55; color: var(--text-hi);
  max-width: 30rem; margin: 0 0 1.8rem; text-shadow: 0 1px 18px rgba(50, 42, 95, 0.35);
}

/* ---- Waitlist forms (hero and final band) ---- */
.waitlist { max-width: 32rem; margin: 0; }
.wl-label { display: block; font-weight: 700; font-size: 1rem; margin: 0 0 0.45rem 0.2rem; }
.wl-row {
  display: flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  background: rgba(58, 53, 96, 0.6); border: 1px solid var(--glass-edge);
}
.wl-row:focus-within { border-color: var(--peach); }
.waitlist input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; color: var(--text-hi);
  background: transparent; border: none; padding: 0.6rem 0.2rem; border-radius: 999px;
}
.waitlist input:focus-visible { outline-offset: 2px; }
.waitlist input[aria-invalid="true"] { text-decoration: underline wavy #FFE6D0; text-underline-offset: 4px; }
.waitlist input:disabled { opacity: 0.85; }
.waitlist input::placeholder { color: var(--text-on-glass); }
.waitlist button, .pill-btn {
  flex: none; font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer;
  background: linear-gradient(120deg, #F7DDBC, #F2B896);
  color: var(--ink); border: none; border-radius: 999px; padding: 0.85rem 1.5rem; min-height: 48px;
  box-shadow: 0 8px 22px rgba(242, 184, 150, 0.30);
}
.waitlist button:hover { filter: brightness(1.04); }
.waitlist button:disabled { opacity: 0.75; cursor: progress; }
.wl-msg { margin: 0.6rem 0 0 0.2rem; font-size: 1rem; line-height: 1.45; min-height: 1.45em; }
.wl-msg:empty { min-height: 0; margin: 0; }
.wl-msg.ok { color: var(--text-hi); font-weight: 700; }
.wl-msg.err { color: #FFF1E6; font-weight: 600; }
.wl-note { margin: 0.7rem 0 0 0.2rem; max-width: 32rem; font-size: 0.95rem; line-height: 1.5; color: var(--text-hi); }
.wl-note a { color: var(--text-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.diffs { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.diffs li { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.05rem; }
.diffs svg { flex: none; color: var(--peach); }

/* ---- Hero phones: illustrations, not controls ---- */
/* The switch exists only on phone widths (see the 40rem query). */
.duo-switch, .duo-switch[hidden] { display: none; }
.duo-switch button {
  flex: 1 1 0; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  min-height: 44px; padding: 0.5rem 0.9rem; border-radius: 999px;
  color: var(--text-hi); background: transparent; border: 0;
  -webkit-tap-highlight-color: transparent;
}
.duo-switch button[aria-pressed="true"] { background: linear-gradient(120deg, #F7DDBC, #F2B896); color: var(--ink); }
.duo { display: flex; justify-content: center; align-items: flex-start; gap: 1.6rem; }
.device { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.device-r { margin-top: 2.5rem; }
.device figcaption {
  font-size: 1rem; font-weight: 800; color: var(--text-hi); text-align: center;
  background: rgba(58, 53, 96, 0.78); border: 1px solid var(--glass-edge);
  border-radius: 999px; padding: 0.45rem 1.1rem;
}
.phone {
  position: relative; flex: none;
  background: linear-gradient(160deg, #3A3550, #191527 40%, #24203A);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 30px 60px rgba(28, 22, 62, 0.45);
}
.phone-l { width: 262px; height: 500px; border-radius: 44px; padding: 10px; }
.phone-r { width: 244px; height: 466px; border-radius: 42px; padding: 10px; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  font-size: 0.76rem; line-height: 1.4; display: flex; flex-direction: column; }
.island {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 20px; border-radius: 999px; background: #0E0B18;
}
.statusbar { padding: 10px 22px 2px; font-size: 0.68rem; font-weight: 700; }
.statusbar.ink { color: var(--ink); }
.scr-patient { background: linear-gradient(180deg, var(--screen-lav-a), var(--screen-lav-b)); color: #FFFFFF; }
.chat-head { padding: 14px 14px 10px; text-align: center; }
.chat-head .room { font-weight: 800; font-size: 0.9rem; }
.chat-head .members { font-size: 0.64rem; opacity: 0.85; }
.chat-body { flex: 1; padding: 6px 12px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; gap: 7px; align-items: flex-end; }
.msg .av, .post .av {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); font-weight: 800; font-size: 0.66rem;
}
/* Avatar hues (DESIGN.md avatar-hues). Classes, not style attributes: the CSP blocks inline styles. */
.av-rose { background: #D79DBD; }
.av-sky { background: #8FB5D8; }
.av-lavender { background: #A99FE6; }
.msg .stack { flex: 1; }
.msg .name { font-size: 0.62rem; opacity: 0.9; margin: 0 0 2px 4px; }
.msg .bub { background: #FFFFFF; color: var(--ink); border-radius: 13px; border-bottom-left-radius: 4px; padding: 7px 9px; }
.own { display: flex; justify-content: flex-end; }
.own .bub { background: var(--violet-bubble); color: #FFFFFF; border-radius: 13px; border-bottom-right-radius: 4px; padding: 7px 10px; max-width: 85%; }
.chat-compose { padding: 8px 12px 16px; }
.chat-compose .field { display: block; background: rgba(255,255,255,0.9); color: var(--ink-soft); border-radius: 999px; padding: 7px 12px; font-size: 0.66rem; }
.scr-partner { background: var(--cream-screen); color: var(--ink); }
.pt-title { margin: 14px 16px 4px; font-size: 1.05rem; font-weight: 800; }
.pt-card { margin: 8px 12px; background: var(--cream-card); border-radius: 16px; box-shadow: 0 6px 20px rgba(90, 70, 40, 0.12); padding: 12px 14px; }
.pt-card .big { font-size: 1rem; font-weight: 800; }
.pt-card .when { font-size: 0.64rem; color: var(--ink-soft); }
.pt-card .nudge { font-size: 0.68rem; margin-top: 8px; line-height: 1.45; }
.pt-list { padding: 6px 18px; display: flex; flex-direction: column; gap: 9px; }
.pt-item { display: flex; gap: 9px; align-items: center; }
.pt-item .dot { width: 16px; height: 16px; border-radius: 50%; flex: none; border: 2px solid rgba(58,53,96,0.25); }
.pt-item .dot.next { border-color: var(--coral); }
.pt-item .lbl { font-size: 0.72rem; font-weight: 700; }
.pt-item .sub { font-size: 0.58rem; color: var(--ink-soft); }

/* ---- Feature bands ---- */
.band { padding: 5.5rem 0; }
.band.cream { background: var(--cream-screen); color: var(--ink); }
.band.dusk { background: var(--dusk-700); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.split.reverse > .demo { order: -1; }
.band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; margin: 0 0 1.1rem; max-width: 20ch; }
.copy p { font-size: 1.125rem; line-height: 1.65; margin: 0 0 1rem; max-width: 34rem; }
.dusk .copy p { color: var(--text-hi); }
.kicker { font-size: 0.9rem !important; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.7rem !important; }
.cream .kicker { color: var(--coral-ink); }
.dusk .kicker { color: var(--peach) !important; }
.steps { list-style: none; counter-reset: step; margin: 1.4rem 0 1.4rem; padding: 0; max-width: 34rem; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1rem 3rem; font-size: 1.08rem; line-height: 1.6; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--peach); color: var(--ink);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}

/* Disclosures: secondary detail, closed by default. */
.more { margin: 0.4rem 0 1rem; max-width: 34rem; }
.more summary {
  cursor: pointer; font-weight: 800; font-size: 1.05rem; min-height: 44px;
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 8px;
  list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; font-weight: 800; width: 1.2rem; text-align: center; }
.more[open] summary::before { content: "\2212"; }
.more > p, .more > ol { margin-top: 0.4rem; }
.more .steps { margin-bottom: 0; }

/* Interface examples are the only cards on the page. */
.demo { display: flex; flex-direction: column; gap: 1.4rem; }
.ui-card { border-radius: var(--radius-card); padding: 1.5rem; }
.cream .ui-card { background: #FFFFFF; box-shadow: var(--shadow-card); }
.ui-tag { margin: 0 0 1rem; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

.partner-demo .pd-stage { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 1rem; }
.pd-stage dt { font-size: 0.95rem; color: var(--ink-soft); }
.pd-stage dd { margin: 0; font-weight: 800; font-size: 1.05rem; background: rgba(243, 200, 160, 0.45); padding: 0.15rem 0.7rem; border-radius: 999px; }
.pd-event { border-left: 3px solid var(--coral); padding: 0.2rem 0 0.2rem 0.9rem; margin-bottom: 1.1rem; }
.pd-event p { margin: 0; }
.pd-when { font-size: 0.95rem; color: var(--ink-soft); }
.pd-what { font-size: 1.25rem; font-weight: 800; }
.pd-sub { font-size: 0.92rem; color: var(--ink-soft); }
.pd-nudge { background: var(--cream-card); border-radius: 14px; padding: 0.9rem 1rem; }
.pd-nudge p { margin: 0; font-size: 1rem; line-height: 1.55; }
.pd-nudge .pd-nudge-label { font-size: 0.85rem; font-weight: 800; color: var(--ink-soft); margin-bottom: 0.3rem; }
.boundary { border-left: 4px solid var(--violet-bubble); padding: 0.2rem 0 0.2rem 1rem; }
.boundary p { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.boundary .boundary-title { font-weight: 800; margin-bottom: 0.2rem; }

.stage-pick { border: 0; margin: 1.6rem 0 0; padding: 0; min-width: 0; }
.stage-pick legend { font-weight: 800; font-size: 1.05rem; padding: 0; margin-bottom: 0.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem;
  border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--glass);
  font-weight: 700; font-size: 0.98rem; color: var(--text-hi);
}
.chip:hover span { background: rgba(255, 255, 255, 0.2); }
.chip input:checked + span { background: linear-gradient(120deg, #F7DDBC, #F2B896); color: var(--ink); border-color: transparent; }
.chip input:focus-visible + span { outline: 3px solid var(--peach); outline-offset: 3px; }
.room-demo { background: var(--room-card); border: 1px solid var(--glass-edge); }
.room-demo .ui-tag { color: var(--text-on-glass); }
.room-head { border-bottom: 1px solid var(--glass-edge); padding-bottom: 0.8rem; margin-bottom: 1rem; }
.room-head p { margin: 0; }
.room-title { font-size: 1.3rem; font-weight: 800; }
.room-meta { font-size: 0.95rem; color: var(--text-on-glass); }
.room-body { display: flex; flex-direction: column; gap: 0.9rem; min-height: 11rem; }
.post { display: flex; gap: 0.7rem; align-items: flex-start; }
.post .av { width: 34px; height: 34px; font-size: 0.85rem; margin-top: 0.2rem; }
.post-body { flex: 1; min-width: 0; }
.post-body p { margin: 0; }
.post-who { font-size: 0.9rem; font-weight: 800; }
.post-who span { font-weight: 400; color: var(--ink-soft); margin-left: 0.3rem; }
.post-text { background: #FFFFFF; color: var(--ink); border-radius: 14px; border-top-left-radius: 4px; padding: 0.6rem 0.85rem; margin-top: 0.25rem !important; font-size: 1rem; line-height: 1.5; }
.room-demo .post-who { color: var(--text-hi); }

.veil-demo .post-text { background: var(--cream-card); }
/* A content notice, not a field: soft peach wash, icon, plain label. */
.veil-label {
  margin-top: 0.3rem !important; padding: 0.75rem 0.95rem; border-radius: 14px; border-top-left-radius: 4px;
  background: #FBEBDD; color: var(--ink); font-weight: 600;
  display: flex; align-items: center; gap: 0.6rem;
}
.veil-label[hidden] { display: none; }
.veil-icon { flex: none; color: var(--coral-ink); }
.veil-toggle {
  margin-top: 0.8rem; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  min-height: 44px; padding: 0.5rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: var(--text-hi); border: 1px solid var(--ink);
}
.veil-toggle[aria-expanded="true"] { background: transparent; color: var(--ink); }
.demo-note { margin: 1.1rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---- Privacy facts ---- */
.trust h2 { max-width: none; }
.facts { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 3rem; }
.facts li { position: relative; padding-left: 2rem; font-size: 1.08rem; line-height: 1.6; color: var(--text-hi); }
.facts li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--peach); font-weight: 800; }
.facts strong { display: block; }
.trust a { color: var(--peach); font-weight: 700; text-underline-offset: 3px; }
.founding, .disclaimer { margin: 0 0 0.6rem; font-size: 1rem; color: var(--text-hi); max-width: 46rem; }
.disclaimer { color: var(--text-soft); }

/* ---- Final waitlist band ---- */
.band.final { background: var(--final); }
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-inner h2 { margin-left: auto; margin-right: auto; }
.final-inner .waitlist { width: 100%; text-align: left; }
.final-inner .wl-note { text-align: center; }
.final-sub { margin: -0.3rem 0 1.6rem; font-size: 1.15rem; line-height: 1.55; max-width: 32rem; color: var(--text-hi); }
.final-inner .wl-note a, .wl-data a { color: var(--text-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.final-inner .more { margin: 0.8rem auto 0; text-align: left; }
.final-inner .more summary { margin: 0 auto; display: flex; justify-content: center; }
.final-inner .more > p { font-size: 0.98rem; line-height: 1.55; }

/* ---- Footer ---- */
.site-foot { background: var(--dusk-900); padding: 3.5rem 0 3rem; font-size: 1rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem 3rem; }
.foot-brand p { margin: 0 0 0.4rem; color: var(--text-soft); max-width: 22rem; }
.foot-brand .foot-name { color: var(--text-hi); font-weight: 800; font-size: 1.2rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-cols h2 { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); margin: 0 0 0.8rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.foot-cols li { color: var(--text-soft); min-height: 2.2rem; display: flex; align-items: center; }
.foot-cols a { color: var(--text-hi); text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-safety { grid-column: 1 / -1; border-top: 1px solid rgba(248, 241, 231, 0.18); padding-top: 1.4rem; color: var(--text-soft); }
.foot-safety p { margin: 0 0 0.4rem; }
.foot-safety a { color: var(--text-hi); font-weight: 700; }

/* ---- Responsive ---- */
@media (max-width: 66rem) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .split.reverse > .demo { order: 0; }
  .demo { max-width: 34rem; }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .wrap { padding: 0 1rem; }
  .page > .nav { width: calc(100% - 2rem); margin-top: 1rem; padding: 0.55rem 1rem; }
  .hero { padding-top: 2.2rem; padding-bottom: 3rem; }
  .hero-copy h1 { font-size: 2.3rem; }
  .hero-copy .sub { font-size: 1.15rem; }
  .wl-row { flex-wrap: wrap; border-radius: 24px; padding: 0.4rem; }
  .waitlist input { flex: 1 1 100%; padding: 0.7rem 0.8rem; }
  .waitlist button { flex: 1 1 100%; }
  /* One readable phone at a time, chosen with the switch. Both phones share
     one size here so switching never changes the layout's height. */
  .hero-demo { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
  .duo-switch:not([hidden]) {
    display: flex; gap: 0.3rem; width: 100%; max-width: 22rem; padding: 0.3rem;
    border-radius: 999px; background: rgba(58, 53, 96, 0.6); border: 1px solid var(--glass-edge);
  }
  .duo[data-show="community"] .device-r, .duo[data-show="partner"] .device-l { display: none; }
  .device-r { margin-top: 0; }
  .phone-r { width: 262px; height: 500px; border-radius: 44px; }
  .band { padding: 3.75rem 0; }
  .ui-card { padding: 1.2rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  /* Columns are sized in rem so enlarged text drops to one column. */
  .foot-cols { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1.5rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
