:root {
  --bg: #121018;
  --bg-deep: #0c0a10;
  --surface: #1b1824;
  --surface-raised: #252130;
  --text: #f7f4fc;
  --muted: #aaa3b7;
  --faint: #7b7487;
  --border: rgba(255,255,255,.11);
  --border-strong: rgba(255,255,255,.2);
  --violet: #9b73ff;
  --violet-soft: #c9bdee;
  --amber: #ff963c;
  --success: #62c995;
  --phone: #17141e;
  --scrim: rgba(8,6,12,.7);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --section-pad: clamp(84px, 10vw, 144px);
  --flow-gap: clamp(36px, 4.5vw, 64px);
}
html[data-theme="light"] {
  --bg: #f8f6fb;
  --bg-deep: #efebf4;
  --surface: #ffffff;
  --surface-raised: #f0ecf6;
  --text: #1b1724;
  --muted: #625b6d;
  --faint: #837b8d;
  --border: rgba(27,23,36,.12);
  --border-strong: rgba(27,23,36,.22);
  --violet: #6d43d7;
  --violet-soft: #5a3da0;
  --amber: #c45d0a;
  --success: #207b50;
  --phone: #17141e;
  --scrim: rgba(255,255,255,.75);
  --shadow: 0 24px 70px rgba(62,43,83,.16);
}
@media (prefers-color-scheme: light) {
  /* No-JS fallback: follow the OS when no stored choice exists. */
  html:not([data-theme]) {
    --bg: #f8f6fb;
    --bg-deep: #efebf4;
    --surface: #ffffff;
    --surface-raised: #f0ecf6;
    --text: #1b1724;
    --muted: #625b6d;
    --faint: #837b8d;
    --border: rgba(27,23,36,.12);
    --border-strong: rgba(27,23,36,.22);
    --violet: #6d43d7;
    --violet-soft: #5a3da0;
    --amber: #c45d0a;
    --success: #207b50;
    --phone: #17141e;
    --scrim: rgba(255,255,255,.75);
    --shadow: 0 24px 70px rgba(62,43,83,.16);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
::selection { background: var(--violet); color: #100d16; }
section[id], details[id] { scroll-margin-top: 84px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

.site-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta {
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  margin-left: 8px;
}
.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { color: var(--text); transform: translateY(-1px); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  gap: clamp(42px, 8vw, 116px);
  align-items: center;
  padding: 72px 0 88px;
}
.hero-copy { max-width: 650px; }
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--violet-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.status-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(54px, 6.7vw, 98px);
  font-weight: 400;
  letter-spacing: -.048em;
  line-height: .94;
}
.hero-copy > p {
  max-width: 570px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; color: var(--faint); font-size: 13px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.button-primary { background: var(--violet); color: #100d16; }
html[data-theme="light"] .button-primary { color: #fff; }
@media (prefers-color-scheme: light) { html:not([data-theme]) .button-primary { color: #fff; } }
.button-primary:hover { background: var(--violet-soft); transform: translateY(-1px); }
.button-secondary { border-color: var(--border-strong); color: var(--text); background: transparent; }
.button-secondary:hover { background: var(--surface); }
.arrow { font-size: 18px; line-height: 1; }

.phone-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}
.phone-stage::before {
  content: "";
  position: absolute;
  inset: 10% 0 6%;
  border: 1px solid var(--border);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.phone {
  position: relative;
  z-index: 1;
  width: min(348px, 86vw);
  aspect-ratio: 9 / 18.8;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 38px;
  background: var(--phone);
  color: #f7f4fc;
  box-shadow: var(--shadow);
  padding: 17px 16px 18px;
}
.phone::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 92px;
  height: 23px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #09080c;
  z-index: 3;
}
.phone-top {
  height: 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 6px 8px;
  color: #c9c2d2;
  font-size: 10px;
  font-weight: 700;
}
.phone h3 {
  margin: 11px 4px 14px;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
}
.search {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  background: #211d2a;
  color: #9c94a7;
  font-size: 12px;
}
.search svg { flex: 0 0 auto; }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #30283e;
}
.poster:nth-child(1) { border-radius: 4px 4px 4px 15px; background: #2a2735; }
.poster:nth-child(2) { border-radius: 4px; background: #291f25; }
.poster:nth-child(3) { border-radius: 4px 15px 4px 4px; background: #1d2930; }
.poster::before, .poster::after { content: ""; position: absolute; }
.poster.one::before { width: 66px; height: 92px; left: 10px; top: 13px; border: 2px solid #9b73ff; border-radius: 50%; transform: rotate(17deg); }
.poster.one::after { width: 2px; height: 120%; left: 54%; top: -10%; background: #ff963c; transform: rotate(21deg); opacity: .85; }
.poster.two::before { width: 88px; height: 88px; left: 5px; bottom: 12px; border-radius: 50%; background: #d86c36; opacity: .85; }
.poster.two::after { inset: 0; background: linear-gradient(142deg, transparent 42%, rgba(201,189,238,.68) 43%, rgba(201,189,238,.68) 48%, transparent 49%); }
.poster.three::before { width: 72px; height: 72px; left: 15px; top: 25px; background: #5ab2a3; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.poster.three::after { width: 42px; height: 110px; right: -8px; bottom: -16px; background: #9b73ff; transform: rotate(28deg); }
.poster-meta { margin: 7px 2px 0; }
.poster-meta strong { display: block; font-size: 10px; line-height: 1.3; }
.poster-meta span { color: #8e8798; font-size: 9px; }
.diary-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 3px 10px;
  color: #aaa3b7;
  font-size: 10px;
  font-weight: 700;
}
.diary {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 3px 0;
}
.diary-date { color: #ff963c; font-size: 9px; font-weight: 700; }
.diary p { margin: 6px 0 8px; font-family: var(--serif); font-size: 17px; line-height: 1.28; }
.stars { color: #ff963c; font-size: 12px; letter-spacing: 1px; }
.phone-tabs {
  position: absolute;
  bottom: 11px;
  left: 16px;
  right: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 48px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #17141e;
  color: #787180;
  font-size: 9px;
  text-align: center;
}
.phone-tabs span:first-child { color: #c9bdee; }
.phone-tabs b { display: block; margin: auto auto 2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* One spacing scale for every section, so the rhythm stays even on any screen. */
.section { padding: var(--section-pad) 0; border-top: 1px solid var(--border); }
.section-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; margin-bottom: var(--flow-gap); align-items: start; }
.section-tag { color: var(--amber); font-size: 13px; font-weight: 700; }
h2 {
  max-width: 780px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 400;
  letter-spacing: -.038em;
  line-height: 1;
}
.section-intro p { max-width: 620px; color: var(--muted); font-size: 18px; }
.feature-list { border-top: 1px solid var(--border-strong); }
.feature {
  display: grid;
  grid-template-columns: 80px 1fr minmax(230px, 380px);
  gap: 24px;
  align-items: baseline;
  padding: 30px 12px;
  border-bottom: 1px solid var(--border);
  border-radius: 6px;
  transition: background-color .25s ease;
}
.feature:hover { background: var(--surface); }
.feature-number { color: var(--violet-soft); font-family: var(--serif); font-size: 20px; }
.feature h3 { margin: 0; font-size: clamp(21px, 2.5vw, 30px); font-weight: 600; letter-spacing: -.025em; }
.feature p { margin: 0; color: var(--muted); }

.principles { background: var(--bg-deep); }
.principle-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 24px; }
.manifesto {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--border);
  border-radius: 28px 6px 28px 6px;
  background: var(--surface);
}
.manifesto blockquote {
  margin: 0;
  max-width: 700px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 72px);
  letter-spacing: -.04em;
  line-height: 1.02;
}
.manifesto .accent { color: var(--violet-soft); }
.manifesto footer { color: var(--muted); font-size: 14px; }
.principle-stack { display: grid; gap: 16px; }
.principle {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-top: 1px solid var(--border-strong);
  background: var(--surface);
}
.principle strong { font-size: 18px; }
.principle p { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.faq-list { border-top: 1px solid var(--border-strong); max-width: 880px; }
.faq-list summary { min-height: 64px; font-size: 17px; }
.faq-list .policy-copy { font-size: 16px; }

.waitlist-layout { display: grid; grid-template-columns: 1fr minmax(330px, .85fr); gap: clamp(48px, 8vw, 110px); align-items: start; }
.waitlist-layout p { max-width: 560px; color: var(--muted); font-size: 18px; }
.waitlist-panel { padding-top: 8px; }
.waitlist-panel label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.waitlist-form { display: flex; gap: 10px; }
.waitlist-form input {
  min-width: 0;
  flex: 1;
  height: 52px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 0 15px;
}
.waitlist-form input::placeholder { color: var(--faint); }
.form-note { margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-note[data-state="notice"] { color: var(--amber); }

.legal { padding: var(--section-pad) 0; border-top: 1px solid var(--border); }
.legal-header { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.legal-header h2 { font-size: clamp(36px, 4.3vw, 56px); }
.legal-header p { color: var(--muted); }
.policy-list { border-top: 1px solid var(--border-strong); }
details { border-bottom: 1px solid var(--border); }
summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--violet-soft); font-size: 24px; font-weight: 400; flex: 0 0 auto; }
details[open] summary::after { content: "−"; }
.policy-copy { max-width: 780px; padding: 0 0 28px; color: var(--muted); }
.policy-copy p, .policy-copy ul, .policy-copy ol { margin: 0 0 14px; }
.policy-copy ul, .policy-copy ol { padding-left: 20px; }
.policy-copy strong { color: var(--text); }
.policy-copy h4 { color: var(--text); font-size: 16px; margin: 22px 0 8px; }
.draft-badge { margin-left: auto; color: var(--amber); font-size: 11px; font-weight: 700; }

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.site-footer .footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a:hover { color: var(--text); }
.footer-fineprint { margin-top: 18px; color: var(--faint); font-size: 12px; line-height: 1.6; max-width: 900px; }

@media (max-width: 840px) {
  .wrap { width: min(100% - 32px, 700px); }
  .site-nav { justify-content: center; gap: 2px; }
  .site-nav a { padding: 0 10px; font-size: 12px; }
  .site-nav .nav-cta { margin-left: 2px; }
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .status-line { margin-bottom: 18px; }
  .actions { justify-content: center; }
  .hero-note { text-align: center; }
  .phone-stage { min-height: 650px; }
  .section-intro, .waitlist-layout, .legal-header { grid-template-columns: 1fr; gap: 22px; }
  .section-intro { margin-bottom: var(--flow-gap); }
  .feature { grid-template-columns: 48px 1fr; }
  .feature p { grid-column: 2; }
  .principle-grid { grid-template-columns: 1fr; }
  .manifesto { min-height: 420px; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 520px); }
  .site-nav a:not(.nav-cta) { display: none; }
  .site-nav { justify-content: flex-end; }
  .hero { min-height: auto; padding: 48px 0 64px; }
  h1 { font-size: clamp(50px, 17vw, 70px); }
  .hero-copy > p { font-size: 16px; }
  .actions { display: grid; }
  .button { width: 100%; }
  .phone-stage { min-height: 600px; }
  .section { padding: calc(var(--section-pad) * .82) 0; }
  .feature { grid-template-columns: 34px 1fr; gap: 14px; padding: 24px 8px; }
  .feature p { grid-column: 1 / -1; padding-left: 48px; }
  .manifesto { min-height: 370px; padding: 28px 24px; border-radius: 22px 4px 22px 4px; }
  .principle { min-height: 130px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .button { width: 100%; }
  .site-footer .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Read by screen readers, not shown. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
