/* askesis. landing — clean white, black ink, one grey. No external resources. */

:root {
  --paper: #ffffff;
  --wash: #f4f5f6;
  --ink: #0a0a0a;
  --ink-2: #2b2b2e;
  --muted: #6b6b70;
  --faint: #a3a3a8;
  --line: #e9e9eb;
  --radius: 28px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Charter", "Georgia", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  font-size: clamp(3rem, min(7.4vw, 11.5svh), 6.6rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.display-sm { font-size: clamp(2.6rem, 6vw, 5rem); }

.title {
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.subtitle {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34em;
  text-wrap: pretty;
}
.lede em { font-style: normal; color: var(--ink-2); }

.fineprint { font-size: 14px; color: var(--muted); margin-top: 22px; letter-spacing: .01em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* Live state: a quiet link to the App Store. */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap;
  text-decoration: none;
}
.status-nav { height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s; }
.status-nav:hover, a.status-lg:hover { border-color: var(--ink); }
.status-lg { font-size: 15px; height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; }
.fineprint a.status:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Official Download on the App Store badge. Artwork is unaltered; one file per language. */
.store-badge { display: inline-flex; line-height: 0; text-decoration: none; border-radius: 10px; }
.store-badge img { height: 54px; width: auto; }
.store-badge-lg img { height: 64px; }
html:not([lang="de"]) .badge-de, html[lang="de"] .badge-en { display: none; }
.closing .store-badge { margin-bottom: 22px; }

/* Launch-list switch: <html data-signup="off|on"> in index.html. */
[data-signup="off"] .signup-only, [data-signup="on"] .signup-off { display: none !important; }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--ink); opacity: 0; animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  font-family: var(--display); font-weight: 850; font-size: 22px; letter-spacing: -.04em;
  text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; min-height: 44px;
}
.wordmark-sm { font-size: 18px; }
.nav-links { display: flex; gap: 12px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--wash); }
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 600 12px/1 var(--sans); letter-spacing: .06em; color: var(--muted);
  height: 38px; min-width: 44px; padding: 0 12px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- Hero ---------- */

.hero { padding: clamp(32px, 7svh, 96px) 0 clamp(72px, 10vw, 140px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.hero-copy .eyebrow { margin-bottom: clamp(16px, 3svh, 26px); }
.hero-copy .display { margin-bottom: clamp(20px, 3.5svh, 30px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: clamp(24px, 4.5svh, 40px); }

.hero-visual { position: relative; display: flex; justify-content: center; }

/* ---------- Phone frame ---------- */

.phone {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 9px;
  border-radius: 54px;
  background: #0b0b0c;
  box-shadow:
    inset 0 0 0 1.5px #3a3a3e,
    0 1px 0 rgba(0,0,0,.04),
    0 50px 100px -30px rgba(10, 10, 10, .28),
    0 30px 60px -40px rgba(10, 10, 10, .35);
}
.phone img { width: 100%; height: auto; border-radius: 45px; background: #f0f1f3; }
.phone-hero { max-width: min(330px, 40svh); }
.phone-sm { max-width: 270px; border-radius: 44px; padding: 8px; }
.phone-sm img { border-radius: 36px; }

/* ---------- Hold-to-complete demo ---------- */

.hold-card {
  position: absolute; left: max(-40px, -6%); bottom: 26%;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px 16px 16px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 60px -24px rgba(10, 10, 10, .28);
  max-width: 330px;
}
.hold {
  position: relative; flex: none;
  width: 72px; height: 72px; border: 0; padding: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  touch-action: none; -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease);
}
.hold:active { transform: scale(.96); }
.hold svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hold-track { fill: none; stroke: var(--line); stroke-width: 6; }
.hold-fill {
  fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transform: rotate(-90deg); transform-origin: 50% 50%;
  transition: stroke-dashoffset .25s ease-out;
}
.hold.holding .hold-fill { stroke-dashoffset: 0; transition: stroke-dashoffset .6s linear; }
.hold::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  background: var(--ink); transform: scale(0); transition: transform .4s var(--ease);
}
.hold.done::before { transform: scale(1); }
.hold.done .hold-fill { stroke-dashoffset: 0; }
.hold-glyph { position: absolute; inset: 0; margin: auto; width: 28px !important; height: 28px !important; transition: opacity .25s, transform .35s var(--ease); }
.hold .check { color: var(--paper); opacity: 0; transform: scale(.6); }
.hold.done .check { opacity: 1; transform: scale(1); }
.hold.done .book { opacity: 0; transform: scale(.6); }

.hold-text { min-width: 11.5rem; }
.hold-title { font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.hold-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.hold-hint { font-size: 13px; color: var(--muted); margin-top: 6px; white-space: nowrap; }
.hold-streak { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; display: inline-block; }
.hold-streak.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: translateY(-4px) scale(1.12); } }

/* ---------- Quote band ---------- */

.quote-band { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.big-quote { margin: 0 auto; max-width: 980px; text-align: center; }
.big-quote p {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.18; letter-spacing: -.015em; text-wrap: balance;
}
.big-quote footer { margin-top: 28px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }

/* ---------- Sections ---------- */

.section { padding: clamp(96px, 13vw, 176px) 0; }
.section-wash { background: var(--wash); }
.section-head { max-width: 800px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .title { margin-bottom: 24px; }

/* Laws */
.laws {
  list-style: none; margin: 0 0 clamp(96px, 12vw, 160px); padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.law { padding: 36px 32px 8px 0; }
.law + .law { padding-left: 32px; border-left: 1px solid var(--line); }
.law-num { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.law h3 { font-size: 26px; font-weight: 750; letter-spacing: -.025em; margin: 18px 0 12px; }
.law p { color: var(--muted); }

/* Split */
.split {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 120px); align-items: center;
}
.split .phone { justify-self: center; }
.split-copy .eyebrow { margin-bottom: 18px; }
.split-copy .subtitle { margin-bottom: 20px; }
.split-copy > p { color: var(--muted); max-width: 32em; }

.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.small-quote { margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); max-width: 32em; }
.small-quote p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; }
.small-quote footer { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Teachers ---------- */

.teachers {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px;
  margin-bottom: 20px;
}
.teacher {
  appearance: none; border: 1px solid transparent; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 18px 6px 16px; border-radius: 22px; font: inherit; color: inherit;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.teacher:hover { background: rgba(255,255,255,.6); }
.teacher[aria-selected="true"] { background: var(--paper); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(10,10,10,.25); }
.coin {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: 850; font-size: 22px; letter-spacing: -.03em;
  box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px rgba(255,255,255,.18);
  transition: transform .35s var(--ease);
}
.teacher:hover .coin, .teacher[aria-selected="true"] .coin { transform: translateY(-2px); }
.teacher-label { text-align: center; line-height: 1.25; }
.teacher-label strong { display: block; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.teacher-label span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }

.stoa-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px);
  align-items: end; margin-bottom: clamp(40px, 6vw, 72px);
}
.stoa-head .section-head { margin-bottom: 0; }
.stoa-phones { display: flex; gap: 18px; align-items: flex-start; }
.stoa-phones .phone { width: 220px; }

.teacher-panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 36px;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
}
.teacher-meta { margin-bottom: 14px; }
.teacher-name { margin-bottom: 18px; }
.teacher-idea { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; letter-spacing: -.01em; margin-bottom: 36px; text-wrap: balance; }
.teacher-practices-label { margin-bottom: 12px; }
.teacher-practices { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.teacher-practices li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.teacher-practices li span { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.teacher-panel-copy > * { transition: opacity .3s; }
.teacher-panel.swapping .teacher-panel-copy > * { opacity: 0; }

.teacher-idea { margin-bottom: 0; }
.teacher-panel-list > * { transition: opacity .3s; }
.teacher-panel.swapping .teacher-panel-list > * { opacity: 0; }
.phone-offset { margin-top: 56px; }

.source-note { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 52em; }

/* ---------- App spec sheet ---------- */

.specs { margin: 0; border-top: 1px solid var(--ink); }
.spec {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 24px; align-items: baseline;
  padding: 30px 0 32px; border-bottom: 1px solid var(--line);
}
.spec::before { content: attr(data-num); font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.spec dt { font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.2; }
.spec dd { margin: 0; color: var(--muted); max-width: 36em; }

/* ---------- Screens strip ---------- */

.screens { padding: 0 0 clamp(64px, 9vw, 120px); }
.screens-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.strip-nav { display: flex; gap: 10px; }
.strip-btn {
  appearance: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  display: grid; place-items: center; transition: border-color .2s, opacity .2s;
}
.strip-btn:hover { border-color: var(--ink); }
.strip-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.strip-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.strip {
  display: flex; gap: clamp(20px, 3vw, 40px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 40px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 72px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.shot { flex: none; margin: 0; width: clamp(220px, 22vw, 270px); scroll-snap-align: start; }
.phone-strip {
  border-radius: 46px; padding: 8px;
  box-shadow: inset 0 0 0 1.5px #3a3a3e, 0 30px 50px -28px rgba(10, 10, 10, .32);
}
.phone-strip img { border-radius: 38px; }
.shot figcaption { margin-top: 20px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Closing ---------- */

.closing { padding: clamp(96px, 13vw, 176px) 0; border-top: 1px solid var(--line); text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -20px rgba(10,10,10,.25); margin-bottom: 36px; }
.greek { font-family: var(--serif); font-size: 22px; color: var(--muted); margin-bottom: 18px; letter-spacing: .02em; }
.closing .display { margin-bottom: 26px; }
.closing .lede { margin: 0 auto 40px; }

/* ---------- Launch list ---------- */

.notify-card {
  width: 100%; max-width: 560px; margin-top: 8px; text-align: left;
  background: var(--paper); border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 30px 60px -40px rgba(10, 10, 10, .25);
}
.notify-intro { margin-bottom: 12px; }
.notify-title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 20px; }
.notify-row { display: flex; gap: 10px; }
.notify input[type="email"] {
  flex: 1; min-width: 0; height: 54px; padding: 0 22px;
  font: 500 16px/1 var(--sans); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color .2s;
}
.notify input[type="email"]::placeholder { color: var(--muted); opacity: .75; }
.notify input[type="email"]:hover { border-color: #c9cace; }
.notify input[type="email"]:focus { outline: none; border-color: var(--ink); }
.notify input[type="email"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.notify input[aria-invalid="true"] { border-color: var(--ink); border-width: 2px; }
.notify .btn { flex: none; border: 0; cursor: pointer; font-family: var(--sans); }
.notify .btn:disabled { opacity: .55; cursor: progress; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; cursor: pointer;
  width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9cace; background: var(--paper);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.consent input:hover { border-color: var(--ink); }
.consent input:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  border-color: var(--ink);
}
.consent input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.notify-status { min-height: 1.4em; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.notify-status[data-kind="error"] { color: var(--ink); }
.notify-status[data-kind="error"]::before {
  content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px;
  border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; vertical-align: -3px;
}
.notify-fine { margin-top: 6px; font-size: 13px; color: var(--muted); }
.notify-fine a, .footer a { color: inherit; text-underline-offset: 3px; }
.notify-fine a:hover, .footer a:hover { color: var(--ink); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notify-done { text-align: center; padding: 12px 0 6px; outline: none; }
.notify-done[hidden] { display: none; }
.notify-check {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 50%; background: var(--ink); animation: pop .5s var(--ease) both;
}
.notify-check svg { width: 28px; height: 28px; fill: none; stroke: var(--paper); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.notify-done p { color: var(--muted); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); }
.footer-inner p:nth-child(2) { flex: 1; text-align: center; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero: a CSS-only entrance, visible even if scripts never run. */
.hero .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .7s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: 60ms; }
.hero .reveal:nth-child(3) { animation-delay: 120ms; }
.hero .reveal:nth-child(4) { animation-delay: 180ms; }
.hero .reveal:nth-child(5) { animation-delay: 240ms; }
.hero-visual .reveal { animation-delay: 200ms; }
.hero-visual .hold-card { animation-delay: 420ms; }
/* ---------- App video ---------- */

.video-sec { padding-bottom: clamp(72px, 10vw, 136px); }
.vid-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px 72px; }
.chapters { flex: 1 1 360px; max-width: 520px; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chapters button {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px;
  width: 100%; padding: 16px 20px; border-radius: 20px; cursor: pointer; text-align: left;
  border: 1.5px solid var(--line); background: var(--paper); color: inherit; font: inherit;
  transition: border-color .2s, background .2s;
}
.chapters button:hover { border-color: var(--faint); }
.chapters button.on { border-color: var(--ink); background: var(--wash); }
.chapters .ct { min-width: 36px; font-size: 13px; font-weight: 650; color: var(--faint); font-variant-numeric: tabular-nums; }
.chapters button.on .ct { color: var(--ink); }
.chapters b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.chapters small { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.chapters .cbar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.vid-phone { position: relative; flex: none; margin: 0 auto; }
.phone-video { width: 320px; }
.phone-video video { display: block; width: 100%; height: auto; aspect-ratio: 590 / 1282; border-radius: 45px; background: #f0f1f3; }
.vid-toggle {
  position: absolute; right: -16px; bottom: 56px; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(10, 10, 10, .35);
}
.vid-toggle:hover { border-color: var(--ink); }
.vid-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.vid-toggle .i-play, .vid-toggle.paused .i-pause { display: none; }
.vid-toggle.paused .i-play, .vid-toggle .i-pause { display: block; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes rise-centered { from { opacity: 0; transform: translate(-50%, 16px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero .reveal, .js .hero .reveal { animation: none; }
  .hold-fill, .hold::before, .hold-glyph, .coin { transition: none !important; }
  .dot::after { animation: none; }
  .notify-check { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .teachers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .teacher-panel { grid-template-columns: 1fr; }
  .stoa-head { grid-template-columns: 1fr; }
  .stoa-phones { justify-content: center; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-visual { margin-top: 12px; }
  .hold-card { left: 50%; transform: translateX(-50%); bottom: -28px; width: calc(100% - 24px); }
  .hero .hero-visual .hold-card.reveal, .js .hero .hero-visual .hold-card.reveal { transform: translateX(-50%); animation-name: rise-centered; }
  .laws { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 16px; }
  .spec dd { grid-column: 2; }
  .law { padding: 32px 0 28px; border-bottom: 1px solid var(--line); }
  .law + .law { padding-left: 0; border-left: 0; }
  .split .phone { order: -1; max-width: 300px; }
  .vid-phone { order: -1; }
  .phone-video { width: 280px; border-radius: 48px; padding: 8px; }
  .phone-video video { border-radius: 40px; }
  .vid-toggle { right: -8px; }
  .chapters { max-width: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-copy .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .status-nav { display: none; }
  .notify-row { flex-direction: column; }
  .notify .btn { width: 100%; justify-content: center; }
  .teachers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .coin { width: 54px; height: 54px; font-size: 19px; }
  .teacher { padding: 14px 2px 12px; }
  .teacher-label strong { font-size: 12.5px; }
  .stoa-phones .phone { width: 46%; }
  .phone-offset { margin-top: 36px; }
  .btn { height: 52px; padding: 0 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Document pages (privacy, unsubscribe) ---------- */

.doc { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(64px, 10vw, 120px); }
.doc article + article { margin-top: clamp(72px, 10vw, 120px); padding-top: clamp(48px, 7vw, 72px); border-top: 1px solid var(--line); }
.doc .eyebrow { margin-bottom: 16px; }
.doc .title { margin-bottom: 20px; }
.doc .lede { margin-bottom: 40px; }
.doc h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { margin: 10px 0 14px; padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc-back { margin-top: 48px; font-size: 15px; }
.doc-lang { display: flex; }
.doc-center { text-align: center; }
.doc-center .lede { margin-left: auto; margin-right: auto; }
.unsub { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 8px; }
.unsub .btn { border: 0; cursor: pointer; font-family: var(--sans); }
.unsub .btn:disabled { opacity: .55; cursor: progress; }
.unsub-msg { max-width: 34em; font-weight: 600; color: var(--muted); }
.unsub[data-state="done"] .unsub-msg, .unsub[data-state="error"] .unsub-msg { color: var(--ink); }
@media (max-width: 900px) { .doc-lang { display: flex; } }
