/* Adelite — site.css
   Brand: Gyst Variable (headlines, weight 370, Title Case) · Freight Sans Bold (subheads, UI) · Freight Sans Light (body)
   Colors: text only white or #161616; backgrounds white or #161616; purple #b554e8 and orange #ff902c as accents. No gradients. */

/* ---------- Fonts (self-hosted, licensed) ---------- */
@font-face {
  font-family: "Gyst Variable";
  src: url("../fonts/gyst-variable/GystVariable-Roman.woff2") format("woff2"),
       url("../fonts/gyst-variable/GystVariable-Roman.woff") format("woff");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Freight Sans";
  src: url("../fonts/freight-sans/FreightSans-Light.woff2") format("woff2"),
       url("../fonts/freight-sans/FreightSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Freight Sans";
  src: url("../fonts/freight-sans/FreightSans-Bold.woff2") format("woff2"),
       url("../fonts/freight-sans/FreightSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #161616;
  --paper: #ffffff;
  --purple: #b554e8;
  --orange: #ff902c;
  --ink-70: rgba(22, 22, 22, 0.72);
  --paper-70: rgba(255, 255, 255, 0.74);
  --line: rgba(22, 22, 22, 0.14);
  --line-strong: rgba(22, 22, 22, 0.3);
  --line-dark: rgba(255, 255, 255, 0.18);
  --wash: rgba(22, 22, 22, 0.04);
  --wash-dark: rgba(255, 255, 255, 0.06);

  --font-display: "Gyst Variable", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: "Freight Sans", "Gill Sans", "Gill Sans MT", "Helvetica Neue", Arial, sans-serif;
  --display-weight: 370;

  --text: 1.125rem;
  --lead: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  --h1: clamp(2.75rem, 1.4rem + 4.6vw, 5.75rem);
  --h2: clamp(2rem, 1.25rem + 2.5vw, 3.5rem);
  --h3: 1.375rem;
  --small: 0.9375rem;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --section-tight: clamp(3rem, 6vw, 5.5rem);
  --nav-h: 56px;
  --radius: 16px;
  --overlap: clamp(72px, 14vw, 190px);

  color-scheme: light;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--purple); color: var(--ink); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, .h1, h2, .h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-variation-settings: "wght" var(--display-weight);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--h1); line-height: 1.02; }
h2, .h2 { font-size: var(--h2); line-height: 1.08; }
h3, .h3 { font-family: var(--font-sans); font-weight: 700; font-size: var(--h3); line-height: 1.3; }
h4, .h4 { font-family: var(--font-sans); font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.lead { font-size: var(--lead); line-height: 1.45; }
.small { font-size: var(--small); }
.muted { color: var(--ink-70); }
.on-ink .muted, .section--ink .muted { color: var(--paper-70); }
p + p { margin-top: 1em; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }

/* Eyebrow: Freight Sans Bold, Title Case, with a small brand-colored square */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--small);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 0.55em;
  height: 0.55em;
  background: var(--purple);
}
.section--ink .eyebrow::before, .on-ink .eyebrow::before { background: var(--orange); }
.center .eyebrow { justify-content: center; }

/* Links */
.link {
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
.link:hover { text-decoration-color: currentColor; }
.prose a, .footer a, .faq a, .inline-link {
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}
.prose a:hover, .inline-link:hover { text-decoration-color: currentColor; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.6rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  background: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--purple); color: var(--ink); border-color: var(--purple); }
.btn--primary:hover { box-shadow: 0 10px 24px -12px rgba(181, 84, 232, 0.9); }
.btn--secondary { border-color: var(--line-strong); color: var(--ink); }
.btn--secondary:hover { background: var(--wash); border-color: var(--ink); }
.section--ink .btn--secondary, .on-ink .btn--secondary { color: var(--paper); border-color: rgba(255, 255, 255, 0.45); }
.section--ink .btn--secondary:hover, .on-ink .btn--secondary:hover { background: var(--wash-dark); border-color: var(--paper); }
.btn--small { min-height: 38px; padding: 0 1.1rem; font-size: 0.9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.center .actions { justify-content: center; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--prose { max-width: 760px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink ::selection { background: var(--orange); color: var(--ink); }
.section--rule { border-top: 1px solid var(--line); }
.section--ink.section--rule { border-top-color: var(--line-dark); }
.center { text-align: center; }
.center .measure, .center .measure-narrow, .center .lead { margin-inline: auto; }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }
.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.grid-3 { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 1000;
  padding: 0.6rem 1rem; background: var(--purple); color: var(--ink);
  font-family: var(--font-sans); font-weight: 700; border-radius: 999px; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  color: var(--paper);
  height: var(--nav-h);
}
.nav {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__brand { display: inline-flex; align-items: center; height: var(--nav-h); }
.nav__brand img { height: 22px; width: auto; }
.nav__toggle {
  display: none;
  min-height: 40px; padding: 0 0.9rem; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4); background: none; color: var(--paper);
  font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; cursor: pointer;
}
.nav__menu { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  height: var(--nav-h); padding: 0 0.8rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem;
  color: var(--paper); text-decoration: none; background: none; border: 0; cursor: pointer;
  opacity: 0.92;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { opacity: 1; }
.nav__link .chev { width: 10px; height: 10px; transition: transform 0.15s ease; }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: var(--nav-h); left: -0.5rem;
  min-width: 300px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--line-dark); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.9rem;
  display: none;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.nav__panel--wide { min-width: 640px; }
.nav__panel[data-open="true"] { display: block; }
.nav__panel ul { list-style: none; display: grid; gap: 0.15rem; }
.nav__panel--wide ul { grid-template-columns: 1fr 1fr; }
.nav__panel a {
  display: block; padding: 0.7rem 0.8rem; border-radius: 10px; text-decoration: none;
}
.nav__panel a:hover, .nav__panel a:focus-visible { background: var(--wash-dark); }
.nav__panel-title { display: block; font-family: var(--font-sans); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.nav__panel-desc { display: block; font-size: 0.9375rem; color: var(--paper-70); line-height: 1.35; margin-top: 0.1rem; }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav__actions .btn--small { color: var(--ink); }

@media (max-width: 979px) {
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__menu {
    display: none;
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--ink); color: var(--paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 1rem var(--gutter) 2rem; overflow-y: auto; gap: 0;
  }
  .nav__menu[data-open="true"] { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-dark); }
  .nav__link { width: 100%; justify-content: space-between; height: 56px; padding: 0; font-size: 1.125rem; }
  .nav__panel { position: static; min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 0.75rem; }
  .nav__panel ul { grid-template-columns: 1fr; }
  .nav__panel a { padding: 0.55rem 0.25rem; }
  .nav__actions { flex-direction: column; align-items: stretch; margin-top: 1.25rem; gap: 0.75rem; }
  .nav__actions .nav__link { justify-content: center; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 999px; height: 48px; }
  .nav__actions .btn { width: 100%; }
}
body[data-menu-open="true"] { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3.5rem, 8vw, 7rem); }
.hero__inner { max-width: 880px; margin-inline: auto; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { max-width: 42rem; margin-bottom: 1.75rem; }
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero__screen { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero--overlap { padding-bottom: 0; }
.hero--overlap .hero__screen { position: relative; z-index: 2; margin-bottom: calc(-1 * var(--overlap)); }
.hero--overlap + .section, .hero--overlap + .statement, .hero--overlap + .feature, .hero--overlap + .chapters { padding-top: calc(var(--section) + var(--overlap)) !important; }
.hero--plain { padding-bottom: var(--section-tight); }

/* ---------- Product screens ---------- */
.screen {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 40px 80px -36px rgba(22, 22, 22, 0.4);
}
.section--ink .screen, .on-ink .screen { border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.8); }
.screen img { width: 100%; height: auto; }
figure.screen { margin: 0; }
.screen--panel { box-shadow: 0 24px 60px -30px rgba(22, 22, 22, 0.35); }

/* ---------- Feature sections ---------- */
.feature { padding-block: var(--section); }
.feature + .feature { padding-top: 0; }
.feature__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__text .eyebrow { margin-bottom: 1rem; }
.feature__text h2 { margin-bottom: 1rem; }
.feature__text .link { display: inline-block; margin-top: 1.25rem; }
@media (min-width: 900px) {
  .feature__grid { grid-template-columns: 5fr 7fr; }
  .feature--flip .feature__grid { grid-template-columns: 7fr 5fr; }
  .feature--flip .feature__text { order: 2; }
}
.statement { padding-block: var(--section); }
/* Consecutive statements on the same background share one gap; a background change keeps full padding on both sides. */
.statement:not(.section--ink) + .statement:not(.section--ink) { padding-top: 0; }
.statement.section--ink + .statement.section--ink { padding-top: 0; }
.statement .eyebrow { margin-bottom: 1.5rem; }
.statement h2 { margin-bottom: 1rem; }
.statement .link { display: inline-block; margin-top: 1.25rem; }
.statement__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) {
  .statement__grid { grid-template-columns: 5fr 7fr; }
  .statement__grid h2 { margin-bottom: 0; }
  /* first line of the lead sits on the heading's cap line */
  .statement__grid .lead-wrap { padding-top: 0.55em; }
}
/* Feature grids that follow a statement on the same (white) background */
.statement:not(.section--ink) + .feature { padding-top: 0; }
.feature + .statement:not(.section--ink) { padding-top: 0; }

/* Definition strip (ink) */
.definition .lead { max-width: 46rem; }
.definition__note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); max-width: 46rem; color: var(--paper-70); }
.center .definition__note { margin-inline: auto; }

/* ---------- Chapters + rail (Home) ---------- */
.chapter-rail {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.chapter-rail ul { list-style: none; display: flex; justify-content: center; gap: clamp(1rem, 4vw, 3rem); max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.chapter-rail a {
  display: inline-flex; align-items: center; height: 52px;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem;
  text-decoration: none; color: var(--ink-70);
  border-bottom: 2px solid transparent;
}
.chapter-rail a:hover { color: var(--ink); }
.chapter-rail a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--purple); }
.chapter { padding-block: var(--section); }
.chapter + .chapter { padding-top: 0; }

/* ---------- Grid links (audience selector, modules) ---------- */
.grid-links { list-style: none; display: grid; border-top: 1px solid var(--line-dark); }
.grid-links li { border-bottom: 1px solid var(--line-dark); }
.grid-links a { display: block; padding: 1.75rem 0; text-decoration: none; }
.grid-links h3 { margin-bottom: 0.4rem; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: text-decoration-color 0.15s ease; }
.grid-links a:hover h3, .grid-links a:focus-visible h3 { text-decoration-color: var(--orange); }
.grid-links p { color: var(--paper-70); max-width: 36rem; }
@media (min-width: 760px) {
  .grid-links { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
}
.grid-links--light { border-top-color: var(--line); }
.grid-links--light li { border-bottom-color: var(--line); }
.grid-links--light p { color: var(--ink-70); }
.grid-links--light a:hover h3, .grid-links--light a:focus-visible h3 { text-decoration-color: var(--purple); }
.grid-links--single { grid-template-columns: 1fr; }
.grid-links--single a { display: grid; gap: 0.35rem 2rem; align-items: baseline; }
@media (min-width: 760px) { .grid-links--single a { grid-template-columns: 1fr 2fr; } .grid-links--single h3 { margin-bottom: 0; } }

/* ---------- Audience rows on Home ---------- */
.audiences .eyebrow, .audiences h2 { max-width: 40rem; }
.audiences h2 { margin-bottom: 2.5rem; }

/* ---------- Pricing teaser ---------- */
.teaser { display: grid; gap: 2.5rem; }
.teaser__plan { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.teaser__plan h3 { margin-bottom: 0.6rem; }
@media (min-width: 760px) { .teaser { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); } }

/* ---------- Closing block ---------- */
.closing h2 { margin-bottom: 1rem; }
.closing .lead { max-width: 36rem; margin-inline: auto; margin-bottom: 1.75rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 6vw, 5rem) 2rem; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand img { height: 26px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 30rem; }
.footer__brand .small { color: var(--paper-70); margin-top: 1rem; }
.footer h2 { font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0; margin-bottom: 0.9rem; }
.footer ul { list-style: none; display: grid; gap: 0.45rem; }
.footer a { text-decoration: none; font-size: 0.9375rem; color: var(--paper-70); }
.footer a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--purple); }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.9375rem; color: var(--paper-70); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__bottom a { color: inherit; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
@media (max-width: 759px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Lists ---------- */
.list { list-style: none; display: grid; gap: 0.6rem; }
.list li { position: relative; padding-left: 1.4rem; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5em; height: 0.5em; background: var(--purple); }
.list--outline li::before { background: transparent; border: 1.5px solid currentColor; }
.section--ink .list li::before { background: var(--orange); }
.section--ink .list--outline li::before { background: transparent; }
.list--check li::before { top: 0.55em; }
.numbered { list-style: none; counter-reset: n; display: grid; gap: 1.5rem; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: baseline; }
.numbered li::before { content: counter(n); font-family: var(--font-display); font-weight: var(--display-weight); font-variation-settings: "wght" var(--display-weight); font-size: 1.75rem; line-height: 1; }
.numbered strong { display: block; font-family: var(--font-sans); font-weight: 700; margin-bottom: 0.2rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.table th, .table td { text-align: left; padding: 0.95rem 1rem 0.95rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; }
.table thead th { border-bottom: 2px solid var(--ink); }
.table td:first-child { font-family: var(--font-sans); font-weight: 700; }
.table--compare td:not(:first-child), .table--compare th:not(:first-child) { width: 30%; }
.section--ink .table th, .section--ink .table td { border-bottom-color: var(--line-dark); }
.section--ink .table thead th { border-bottom-color: var(--paper); }
.table caption { text-align: left; font-family: var(--font-sans); font-weight: 700; padding-bottom: 0.75rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1.5rem; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.plan--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__flag { display: inline-block; align-self: flex-start; background: var(--orange); color: var(--ink); font-family: var(--font-sans); font-weight: 700; font-size: 0.875rem; padding: 0.35rem 0.7rem; border-radius: 6px; }
.plan__name { font-family: var(--font-display); font-weight: var(--display-weight); font-variation-settings: "wght" var(--display-weight); font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.01em; }
.plan__price { font-family: var(--font-sans); font-weight: 700; font-size: 1.125rem; line-height: 1.4; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.plan--ink .plan__price { border-top-color: var(--line-dark); }
.plan .list { margin-top: 0.25rem; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan--ink .btn--secondary { color: var(--paper); border-color: rgba(255, 255, 255, 0.45); }
.plan--ink .list li::before { background: var(--orange); }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; gap: 2rem; } }

/* ---------- FAQ (details) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0; font-family: var(--font-sans); font-weight: 700; font-size: 1.125rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details > div { padding: 0 0 1.4rem; max-width: 62ch; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; letter-spacing: 0; margin-bottom: 0.5rem; }

/* ---------- Prose (legal pages, long copy) ---------- */
.prose { max-width: 68ch; }
.prose h1 { margin-bottom: 0.75rem; }
.prose .updated { color: var(--ink-70); margin-bottom: 2.5rem; }
.prose h2 { font-family: var(--font-sans); font-weight: 700; font-size: 1.375rem; letter-spacing: 0; line-height: 1.3; margin: 2.5rem 0 0.75rem; }
.prose h3 { margin: 1.75rem 0 0.5rem; font-size: 1.125rem; }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0.75rem 0; display: grid; gap: 0.4rem; }
.prose li::marker { color: var(--purple); }
.prose .note { background: var(--wash); border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin: 1.5rem 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; }
.field label .req { font-weight: 300; color: var(--ink-70); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line-strong); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--purple); outline-offset: 1px; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--ink); border-width: 2px; }
.field__error { font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; display: none; }
.field.is-invalid .field__error { display: block; }
.field__error::before { content: "Error: "; }
.form__footer { display: grid; gap: 1rem; }
.form__note { font-size: 0.9375rem; color: var(--ink-70); }
.form__status { display: none; padding: 1rem 1.25rem; border-left: 3px solid var(--purple); background: var(--wash); font-family: var(--font-sans); font-weight: 700; }
.form__status[data-show="true"] { display: block; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Calendly click-to-load */
.scheduler { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; }
.scheduler h2 { margin-bottom: 0.5rem; }
.scheduler p { max-width: 42ch; margin-bottom: 1.25rem; }
.scheduler__frame { min-height: 680px; margin-top: 1rem; display: none; }
.scheduler__frame[data-loaded="true"] { display: block; }
.scheduler .actions { align-items: center; }

/* Contact layout */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: clamp(2.5rem, 6vw, 5rem); } }
.aside { display: grid; gap: 2.25rem; }
.aside h2 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; letter-spacing: 0; margin-bottom: 0.75rem; }
.callout { border-left: 3px solid var(--orange); padding-left: 1.1rem; color: var(--ink-70); }

/* Three surfaces */
.surfaces { display: grid; gap: 2rem; }
.surface { border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }
.surface h3 { margin-bottom: 0.5rem; }
.surface p { color: var(--paper-70); }
@media (min-width: 760px) { .surfaces { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* Live and roadmap */
.live-next { display: grid; gap: 2.5rem; }
.live-next h3 { margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .live-next { grid-template-columns: 3fr 2fr; gap: clamp(2.5rem, 6vw, 5rem); } }

/* About */
.founder { display: grid; gap: 2rem; align-items: center; }
.founder img { border-radius: var(--radius); width: 100%; max-width: 440px; }
@media (min-width: 860px) { .founder { grid-template-columns: 5fr 7fr; } .founder__photo { order: 2; justify-self: end; } }

/* Eight factors as a list */
.factors { list-style: none; display: grid; gap: 0.75rem 2rem; font-family: var(--font-sans); font-weight: 700; }
.factors li { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .factors { grid-template-columns: 1fr 1fr; } }

/* 404 */
.notfound { padding-block: clamp(5rem, 14vw, 10rem); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .footer, .chapter-rail, .closing, .skip-link { display: none; }
  body { color: #000; }
}

/* Heading-to-lead rhythm inside sections */
:where(.section, .statement, .hero) h2 + .lead, :where(.section) h2 + p { margin-top: 1rem; }
.closing h2 { margin-bottom: 0; }
.center .lead.measure { max-width: 56ch; }

/* ---------- Spacing utilities (no inline styles: CSP) ---------- */
.mt-sm { margin-top: 1.5rem; }
.mt-md { margin-top: 2.5rem; }
.mt-lg { margin-top: 3.5rem; }
.mb-md { margin-bottom: 2.5rem; }
.mb-sm { margin-bottom: 1.25rem; }
