/* ============================================================
   ASCENYX — site styles
   Chapters: dark hero → light thesis/modules → dark demo/atlas
             → light app/waitlist/faq
   ============================================================ */

:root {
  --paper: #f4f4f0;
  --tint: #e9ecf3;
  --ink: #14161a;
  --muted: #62665f;
  --blue: #2b62f0;
  --blue-deep: #184cc9;
  --blue-soft: #7ea3ff;
  --line: #d8d9d2;
  --dark: #0a0c11;
  --dark-2: #12151d;
  --dark-line: #262b36;
  --dark-text: #edeff3;
  --dark-muted: #9ba3b4;
  --sans: 'Inter', Arial, sans-serif;
  --display: 'Space Grotesk', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 150px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip { position: fixed; top: -80px; left: 20px; padding: 15px; background: #fff; color: var(--ink); z-index: 200; }
.skip:focus { top: 10px; }
.hp { position: absolute; left: -9999px; }

/* film grain — keeps large fields from feeling flat */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared type ---------- */
.kicker {
  font-size: 12px; font-weight: 500; letter-spacing: .025em;
  margin: 0 0 30px;
}
h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(64px, 7.25vw, 112px); line-height: 1.01;
  letter-spacing: -.07em; margin: 0 0 29px;
}
h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(42px, 5vw, 72px); line-height: 1.05;
  letter-spacing: -.055em; margin: 0;
}
h2 em { font-style: normal; color: var(--blue-soft); }
h3 { font-family: var(--display); font-weight: 500; }
.accent {
  background: linear-gradient(115deg, #8fb0ff 0%, var(--blue) 55%, #4c7dff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.large-copy {
  font-family: var(--display); font-size: 30px; line-height: 1.35;
  letter-spacing: -.035em; margin: 0 0 24px;
}

/* A long word must never drag a chapter wider than the screen: grid items are
   allowed to shrink below their min-content width and headings may break. */
h1, h2 { overflow-wrap: break-word; }
.thesis-head, .modules-head, .demo-head, .atlas-copy, .screens-head,
.beta-copy, .signup > div, .questions > div, .hero-copy { min-width: 0; }

/* ---------- chapter themes ---------- */
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark .kicker { color: var(--dark-muted); }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .kicker { color: var(--muted); }
.section--tint { background: var(--tint); color: var(--ink); }
.section--tint .kicker { color: var(--muted); }

/* ---------- fixed header: beta strip + nav ---------- */
.head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.beta-bar {
  background: var(--blue); color: #fff;
  padding: 0 5.5vw; min-height: 44px;
  display: flex; align-items: center;
  font-size: 11px;
}
.beta-bar p { margin: 0; }
.beta-bar a { display: inline-block; padding: 14px 0; text-decoration: underline; text-underline-offset: 3px; }
.beta-bar a span { display: inline-block; transition: transform .2s; }
.beta-bar a:hover span { transform: translateX(3px); }
.nav {
  height: 88px; padding: 0 5.5vw;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s, color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav--over-dark { color: var(--dark-text); background: rgba(10, 12, 17, .55); border-bottom-color: rgba(255, 255, 255, .07); }
.nav--over-light { color: var(--ink); background: rgba(244, 244, 240, .78); border-bottom-color: rgba(20, 22, 26, .08); }
.nav { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { display: flex; gap: 13px; align-items: center; min-height: 44px; }
.brand span { font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -1.5px; }
.brand img { object-fit: contain; }
/* the mark swaps to the white logo over a dark chapter, so it keeps the same
   contrast as the wordmark instead of disappearing into the black */
.brand .mark { position: relative; display: block; width: 30px; height: 25px; flex: none; font-size: 0; }
.brand .mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.brand .mark img + img { opacity: 0; }
.nav--over-dark .brand .mark img { opacity: 0; }
.nav--over-dark .brand .mark img + img { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 40px; font-size: 13px; }
.nav-links > a { display: flex; align-items: center; min-height: 44px; }
.nav-join { gap: 22px; border-bottom: 1px solid currentColor; }
.nav-join span { font-size: 17px; line-height: 1; }

/* ---------- hero ----------
   One ordinary screen. The mark assembles itself on arrival and the page just
   scrolls past it — no pin, no long scrub, nothing to wait for. */
.hero-sequence { position: relative; }
.hero-inner {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  padding: 150px 5.5vw 95px; isolation: isolate; overflow: hidden;
}
.hero-glow {
  position: absolute; z-index: 0; right: -12%; top: 8%;
  width: 72vw; height: 84%; pointer-events: none;
  background: radial-gradient(45% 50% at 55% 45%, rgba(43, 98, 240, .34) 0%, rgba(43, 98, 240, .12) 42%, transparent 72%);
  filter: blur(24px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .kicker { color: var(--dark-muted); }
.hero-copy .intro { font-size: 16px; color: var(--dark-muted); line-height: 1.8; margin: 0 0 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 44px; background: var(--blue); color: #fff; font-weight: 500; font-size: 14px;
  padding: 18px 22px; border: 1px solid var(--blue); border-radius: 3px;
  min-height: 54px; transition: background .2s, transform .2s;
}
.button:hover { background: var(--blue-deep); transform: translateY(-2px); }
.button span { font-size: 20px; line-height: 1; }
.availability { font-size: 11px; line-height: 1.6; color: var(--dark-muted); margin: 15px 0 0; }
.hero-stage { position: relative; align-self: stretch; min-height: clamp(340px, 50vh, 560px); }
.hero-stage canvas, .demo-visual canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity .3s;
}
.ready canvas { opacity: 1; }
.logo-fallback {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76%; height: auto; object-fit: contain;
}
.ready > .logo-fallback { visibility: hidden; }
.hero-bottom {
  position: absolute; bottom: 30px; left: 5.5vw; right: 5.5vw; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--dark-line); padding-top: 25px;
  font-size: 11px; color: var(--dark-muted);
}
.hero-tagline { color: var(--dark-muted); }
.hero-cue { display: inline-flex; gap: 10px; color: var(--blue-soft); }
.hero-cue > span { font-size: 17px; line-height: 1; }

/* ---------- ticker ---------- */
.ticker {
  background: var(--blue); color: #fff; overflow: hidden;
  padding: 15px 0; font-family: var(--display);
  font-size: 15px; letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track { display: inline-flex; will-change: transform; animation: ticker 30s linear infinite; }
.ticker-track span { padding-right: 2em; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- thesis ---------- */
.thesis { padding: 120px 8vw 110px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 8vw; }
.thesis-head h2 em { color: var(--blue); }
.thesis-body { padding-top: 43px; }
.thesis-body > p:not(.large-copy) { font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 430px; }
.principles {
  grid-column: 1 / -1; list-style: none; margin: 90px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw;
}
.principles li { border-top: 1px solid var(--line); padding-top: 22px; }
.principles small { display: block; font-size: 9px; letter-spacing: .13em; color: var(--muted); margin-bottom: 14px; }
.principles strong { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.35; letter-spacing: -.02em; }

/* ---------- modules ---------- */
.modules { padding: 20px 8vw 130px; }
.modules-head { max-width: 760px; margin-bottom: 64px; }
.modules-head > p:last-child { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 26px 0 0; }
.module-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.module {
  background: var(--paper); padding: 30px 30px 26px; margin: 0;
  display: flex; flex-direction: column; min-height: 235px;
  transition: background .25s, transform .25s;
}
.module:hover { background: #fff; }
.module header {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 10px; letter-spacing: .13em;
}
.module-idx { color: var(--muted); transition: color .25s; font-family: var(--display); }
.module:hover .module-idx { color: var(--blue); }
.module-stat { color: var(--muted); }
.module h3 { font-size: 30px; letter-spacing: -.03em; margin: 34px 0 10px; }
.module p { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0; max-width: 250px; }
.module-bar { height: 2px; background: var(--line); margin-top: auto; padding-top: 24px; background-clip: content-box; }
.module-bar i { display: block; height: 2px; width: var(--w, 72%); background: var(--blue); opacity: .55; transition: opacity .25s; }
.module:hover .module-bar i { opacity: 1; }
.module--atlas { background: var(--dark); color: var(--dark-text); }
.module--atlas:hover { background: var(--dark-2); }
.module--atlas .module-idx, .module--atlas .module-stat, .module--atlas p { color: var(--dark-muted); }
.module--atlas .module-bar { background: var(--dark-line); background-clip: content-box; }
.module--atlas .module-bar i { background: var(--blue-soft); opacity: 1; }

/* ---------- demo ---------- */
.demo { padding: 120px 8vw 130px; }
.demo-head { max-width: 760px; }
.demo-head > p:last-child { color: var(--dark-muted); font-size: 15px; margin: 26px 0 0; }
.experiment {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8vw;
  align-items: center; margin-top: 58px;
}
.demo-visual { height: 410px; position: relative; overflow: hidden; }
.demo-glow {
  position: absolute; inset: -8%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 48%, rgba(43, 98, 240, .3) 0%, transparent 70%);
  filter: blur(18px);
}
.demo-caption {
  position: absolute; bottom: 0; left: 5%; right: 5%; display: flex;
  justify-content: space-between; border-top: 1px solid var(--dark-line);
  padding-top: 18px; font-size: 10px; color: var(--dark-muted); letter-spacing: .09em;
}
.demo-caption b { font-weight: 400; font-size: 14px; color: #fff; letter-spacing: 0; }
.actions { border-top: 1px solid var(--dark-line); }
.action {
  padding: 22px 0; background: transparent; border: 0;
  border-bottom: 1px solid var(--dark-line); width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--dark-text); font-size: 18px;
  transition: padding-left .25s, color .25s;
}
.action:hover { padding-left: 10px; }
.action small { display: block; font-size: 9px; letter-spacing: .13em; margin-bottom: 7px; color: var(--dark-muted); }
.check {
  width: 30px; height: 30px; border: 1px solid var(--dark-line); border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
  transition: background .2s, border-color .2s, transform .2s;
}
.action:hover .check { border-color: var(--blue-soft); }
.action[aria-pressed="true"] .check { background: var(--blue); border-color: var(--blue); transform: scale(1.08); }
.progress-track { height: 2px; background: var(--dark-line); margin-top: 25px; }
.progress-track > div { height: 100%; background: var(--blue-soft); width: 0; transition: width .5s; }
#demo-message { font-size: 12px; color: var(--dark-muted); min-height: 20px; line-height: 1.6; }
.demo-foot { display: flex; align-items: center; justify-content: flex-end; gap: 20px; color: var(--dark-muted); }
.reset { padding: 12px 0; border: 0; background: none; color: inherit; font-size: 12px; min-height: 44px; }
.reset:hover { text-decoration: underline; }

/* ---------- atlas ---------- */
.atlas {
  position: relative; overflow: hidden;
  padding: 130px 8vw 140px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center;
  border-top: 1px solid var(--dark-line);
}
.atlas-orb {
  position: absolute; z-index: 0; left: -18%; top: 10%;
  width: 60vw; height: 80%; pointer-events: none; filter: blur(30px);
  background:
    radial-gradient(40% 42% at 42% 40%, rgba(43, 98, 240, .3) 0%, transparent 70%),
    radial-gradient(30% 34% at 62% 62%, rgba(126, 163, 255, .18) 0%, transparent 72%);
  animation: orb 14s ease-in-out infinite alternate;
}
@keyframes orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -3%, 0) scale(1.07); }
}
.atlas-copy { position: relative; z-index: 1; }
.atlas-copy > p:last-child { color: var(--dark-muted); font-size: 15px; line-height: 1.9; max-width: 420px; margin: 26px 0 0; }
.chat { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.bubble {
  border: 1px solid var(--dark-line); border-radius: 14px;
  padding: 18px 22px; max-width: 86%;
}
.bubble small { display: block; font-size: 9px; letter-spacing: .13em; color: var(--dark-muted); margin-bottom: 9px; }
.bubble p { margin: 0; font-size: 15px; line-height: 1.65; }
.bubble--user { align-self: flex-end; background: var(--dark-2); }
.bubble--atlas {
  align-self: flex-start;
  background: rgba(43, 98, 240, .12); border-color: rgba(126, 163, 255, .35);
  box-shadow: 0 0 42px rgba(43, 98, 240, .12);
}
.bubble--atlas small { color: var(--blue-soft); }
/* ---------- app screens ---------- */
.screens { padding: 130px 8vw; }
.screens-head { max-width: 760px; }
.screens-head > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 26px 0 0; }
.phone-row {
  display: flex; gap: 4vw; justify-content: center; flex-wrap: wrap;
  margin-top: 70px;
}
.phone { margin: 0; text-align: center; }
.phone-frame {
  display: block; position: relative; margin: 0 auto;
  width: clamp(215px, 21vw, 262px); aspect-ratio: 9 / 19;
  background: var(--ink); border: 0; border-radius: 42px; padding: 11px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(20, 22, 26, .18);
  overflow: hidden; cursor: pointer; -webkit-appearance: none; appearance: none;
}
/* the whole screen sits in the frame; hover/tap scrolls it up to the end */
.phone-frame img {
  position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px);
  object-fit: cover; object-position: 50% 0%;
  border-radius: 32px; z-index: 1;
  transition: object-position 3.6s cubic-bezier(.25, .6, .3, 1);
}
.phone:hover .phone-frame img,
.phone-frame[aria-expanded="true"] img { object-position: 50% 100%; }
.phone figcaption { margin-top: 22px; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.phone figcaption b { color: var(--ink); font-weight: 500; }
.screens-hint { margin: 42px 0 0; font-size: 11px; color: var(--muted); }

/* ---------- waitlist ---------- */
.signup {
  padding: 110px 8vw; display: grid; grid-template-columns: 1fr 1fr;
  gap: 8vw; align-items: center;
}
.signup h2 { font-size: clamp(46px, 5vw, 75px); }
.signup > div:first-child > p:last-child { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 26px 0 0; }
.signup-panel { padding-top: 40px; }
.signup label { font-size: 12px; }
.email-row { display: flex; border-bottom: 1px solid #4b5147; margin-top: 10px; align-items: center; }
.email-row input {
  width: 100%; min-width: 0; font-size: clamp(20px, 2.25vw, 32px);
  font-family: var(--display); letter-spacing: -.035em; background: transparent;
  border: 0; padding: 20px 0; color: var(--ink); border-radius: 0;
}
.email-row input::placeholder { color: #7c8393; }
.email-row button {
  flex-shrink: 0; width: 52px; height: 52px; border: 0; border-radius: 3px;
  background: var(--blue); color: #fff; font-size: 28px; margin-left: 15px;
  transition: background .2s, transform .2s;
}
.email-row button:hover { background: var(--blue-deep); transform: translateY(-2px); }
.form-error { color: #c22f2f; font-size: 12px; min-height: 18px; margin: 10px 0 0; }
.beta-label { display: flex; gap: 10px; align-items: center; min-height: 44px; margin-top: 12px; color: var(--muted); }
.beta-label input { width: 20px; height: 20px; accent-color: var(--blue); }
.form-note { font-size: 11px; margin: 10px 0 0; color: var(--muted); }
.beta-disclaimer { font-size: 11px; margin: 32px 0 0; color: var(--muted); }
#signup-result h3 { font-size: 34px; letter-spacing: -.035em; margin: 0 0 12px; }
#signup-result p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 8px; }
.beta-status { min-height: 20px; font-size: 12px; }

/* ---------- beta reports ---------- */
.beta {
  padding: 120px 8vw 130px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 8vw; align-items: center;
  border-top: 1px solid var(--dark-line);
}
.beta h2 { font-size: clamp(46px, 5vw, 72px); }
.beta-copy p { color: var(--dark-muted); font-size: 15px; line-height: 1.85; max-width: 430px; margin: 26px 0 0; }
.beta-copy p.beta-gate {
  display: inline-block; margin-top: 30px; padding: 8px 15px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  color: var(--blue-soft); background: rgba(43, 98, 240, .12);
  border: 1px solid rgba(126, 163, 255, .32); border-radius: 999px;
}
.beta-copy p.beta-note { font-size: 13px; }
.beta-note a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.beta-panel { padding-top: 40px; }
.beta-panel label { display: block; font-size: 12px; color: var(--dark-muted); margin-top: 22px; }
.beta-panel label:first-child { margin-top: 0; }
.beta-panel label span { opacity: .75; }
.beta-panel input[type="password"],
.beta-panel input[type="email"],
.beta-panel select,
.beta-panel textarea {
  width: 100%; margin-top: 9px; background: var(--dark-2); color: var(--dark-text);
  border: 1px solid var(--dark-line); border-radius: 4px;
  padding: 14px 15px; font-size: 15px; font-family: var(--sans);
  transition: border-color .2s, background .2s;
}
.beta-panel select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239ba3b4' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.beta-panel textarea { resize: vertical; min-height: 112px; line-height: 1.6; }
.beta-panel input::placeholder, .beta-panel textarea::placeholder { color: #6d7488; }
.beta-panel input:focus, .beta-panel select:focus, .beta-panel textarea:focus {
  border-color: var(--blue-soft); background: #171b25; outline: none;
}
.beta-submit {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 40px; margin-top: 24px; min-height: 54px; padding: 17px 22px;
  background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 3px;
  font-size: 14px; font-weight: 500; transition: background .2s, transform .2s;
}
.beta-submit:hover { background: var(--blue-deep); transform: translateY(-2px); }
.beta-submit:disabled { opacity: .55; transform: none; cursor: default; }
.beta-submit span { font-size: 19px; line-height: 1; }
#report-result h3 { font-size: 34px; letter-spacing: -.035em; margin: 0 0 12px; }
#report-result p { font-size: 14px; line-height: 1.8; color: var(--dark-muted); margin: 0 0 14px; }

/* ---------- faq ---------- */
.questions { padding: 100px 8vw 95px; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.questions h2 { font-size: 34px; letter-spacing: -.03em; align-self: start; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; min-height: 52px; cursor: pointer; font-size: 14px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; color: var(--muted); }
details[open] summary::after { content: '−'; }
details p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0 0 25px; max-width: 480px; }

/* ---------- footer ---------- */
footer {
  margin: 0 5.5vw; padding: 30px 0 36px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 11px; color: var(--muted);
}
footer .brand { color: var(--ink); }
footer > a:last-child { padding: 15px 0; }

/* ---------- privacy policy ----------
   A quiet reading page: same type and chrome as the rest of the site, one
   narrow column, no scripts. Linked from the footer. */
.privacy { padding: 190px 5.5vw 120px; }
.privacy-inner { max-width: 760px; margin: 0 auto; }
.privacy h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 20px; }
.privacy .privacy-meta { font-size: 12px; letter-spacing: .02em; color: var(--muted); margin: 0 0 26px; }
.privacy .privacy-lede {
  font-family: var(--display); font-size: 20px; line-height: 1.55;
  letter-spacing: -.02em; margin: 0 0 10px; max-width: 620px;
}
.privacy h2 { font-size: 24px; letter-spacing: -.03em; margin: 52px 0 16px; }
.privacy h3 { font-size: 15px; letter-spacing: -.01em; margin: 32px 0 10px; }
.privacy p, .privacy li { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 0 0 16px; }
.privacy ul { margin: 0 0 18px; padding-left: 20px; }
.privacy li { margin-bottom: 8px; }
.privacy strong { color: var(--ink); font-weight: 500; }
.privacy a { color: var(--ink); border-bottom: 1px solid var(--blue); padding-bottom: 1px; }
.privacy a:hover { color: var(--blue); }
.privacy .privacy-back { margin: 60px 0 0; font-size: 13px; }
@media (max-width: 760px) {
  .privacy { padding: 148px 7vw 80px; }
  .privacy h1 { font-size: clamp(38px, 10vw, 56px); }
  .privacy h2 { margin-top: 40px; }
}

/* ---------- motion gating (JS adds .has-motion) ---------- */
.has-motion .reveal { opacity: 0; transform: translateY(26px); }

/* ---------- responsive ---------- */
@media (min-width: 761px) and (max-height: 720px) {
  .hero-inner { padding-top: 134px; padding-bottom: 70px; }
  h1 { font-size: clamp(60px, 6.2vw, 87px); }
  .hero-copy .kicker { margin-bottom: 20px; }
  .hero-stage { min-height: 300px; }
  .hero-bottom { bottom: 20px; padding-top: 16px; }
}

@media (max-width: 1080px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { gap: 3vw; }
}

@media (max-width: 760px) {
  .nav { height: 74px; }
  .nav-links { gap: 22px; }
  .nav-links > a:not(.nav-join) { display: none; }
  .brand span { font-size: 24px; }
  .nav-join { font-size: 11px; gap: 18px; }

  .hero-inner { grid-template-columns: 1fr; padding: 138px 6vw 84px; }
  h1 { font-size: clamp(54px, 13vw, 80px); margin-bottom: 23px; }
  .hero-copy .kicker { margin-bottom: 22px; }
  .hero-copy .intro { font-size: 14px; margin-bottom: 22px; }
  .availability { font-size: 10px; }
  .hero-stage { height: 320px; min-height: 0; margin-top: 30px; }
  .hero-glow { width: 120vw; right: -30%; top: 32%; height: 55%; }
  .hero-bottom { left: 6vw; right: 6vw; bottom: 22px; padding-top: 17px; }
  .hero-bottom .hero-cue { display: none; }

  .ticker { font-size: 12px; }

  html { scroll-padding-top: 138px; }
  .beta-bar { padding: 0 6vw; font-size: 10px; }

  .thesis, .questions, .signup, .atlas, .beta { grid-template-columns: 1fr; padding: 76px 7vw; gap: 30px; }
  .thesis-body, .signup-panel { padding-top: 0; }
  .principles { grid-template-columns: 1fr; gap: 26px; margin-top: 56px; }

  .modules { padding: 10px 7vw 80px; }
  .modules-head { margin-bottom: 40px; }
  .module-grid { grid-template-columns: 1fr; }
  .module { min-height: 0; padding: 26px 24px 22px; }
  .module h3 { font-size: 26px; margin: 26px 0 10px; }
  .module-bar { padding-top: 20px; }

  .demo { padding: 76px 7vw 84px; }
  .experiment { grid-template-columns: 1fr; gap: 40px; margin-top: 26px; }
  .demo-visual { height: 300px; }

  .atlas { padding: 80px 7vw; }
  .bubble { max-width: 100%; }

  .screens { padding: 80px 7vw; }
  .phone-row { gap: 34px; margin-top: 44px; }
  .phone-frame { width: min(64vw, 240px); }
  .screens-hint { margin-top: 34px; }

  .beta { padding: 80px 7vw; }
  .beta h2 { font-size: 52px; }
  .beta-panel { padding-top: 0; }

  .signup h2 { font-size: 52px; }
  .questions h2 { font-size: 30px; }
  footer { flex-wrap: wrap; margin: 0 7vw; }
  footer > span { order: 3; width: 100%; padding-bottom: 8px; }
  .logo-fallback { width: 70%; }
}

/* small phones: keep the display type inside the screen instead of letting
   min-content widths push the layout past the viewport edge */
@media (max-width: 420px) {
  .nav { padding: 0 5vw; }
  .brand span { font-size: 21px; }
  .nav-links { gap: 14px; }
  .nav-join { font-size: 10px; white-space: nowrap; gap: 14px; }

  h1 { font-size: clamp(38px, 12vw, 56px); }
  h2 { font-size: clamp(30px, 11.5vw, 50px); }
  .signup h2, .beta h2 { font-size: clamp(30px, 11.5vw, 50px); }
  .questions h2 { font-size: clamp(26px, 8vw, 34px); }
  .large-copy { font-size: 24px; }

  .hero-inner { padding-left: 5vw; padding-right: 5vw; }
  .hero-bottom { left: 5vw; right: 5vw; }
  .thesis, .modules, .screens, .demo, .atlas, .signup, .beta, .questions {
    padding-left: 5vw; padding-right: 5vw;
  }
  .module h3 { font-size: 24px; }
  .phone-frame { width: min(72vw, 240px); }
  .email-row input { font-size: 19px; }
}

@media (max-width: 350px) {
  .nav-join { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .ticker-track { animation: none; }
  .has-motion .reveal { opacity: 1; transform: none; }
}
