/* ============================================================================
   werk — landing page
   Light editorial / premium. Off-white paper, deep ink, one cobalt accent.
   ----------------------------------------------------------------------------
   TOC
   01. Design tokens
   02. Reset & base
   03. Typography
   04. Layout primitives
   05. Header & navigation
   06. Buttons
   07. Hero
   08. Bands & section heads
   09. Problem statement
   10. Pillars
   11. Outcomes
   12. Roles
   13. Security assurances
   14. Download
   15. Footer
   16. Reveal-on-scroll
   17. Responsive
   18. Motion preferences
   ========================================================================== */

/* 01. Design tokens ------------------------------------------------------- */
:root {
  /* Palette — warm paper + deep ink + one cobalt accent */
  --paper: #fbfaf8;
  --paper-2: #f3f1ea;
  --paper-3: #ece9e0;
  --ink: #14161a;
  --ink-2: #3a3f48;
  --mute: #6b717b;
  --mute-2: #8a909a;
  --line: rgba(20, 22, 26, 0.1);
  --line-strong: rgba(20, 22, 26, 0.18);

  --accent: #1f4fe5;
  --accent-ink: #1235b8;
  --accent-soft: rgba(31, 79, 229, 0.09);
  --on-accent: #ffffff;

  /* Typography */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-hero: clamp(2.75rem, 1.4rem + 5.4vw, 5.5rem);
  --text-h2: clamp(2rem, 1.45rem + 2.5vw, 3.25rem);
  --text-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --text-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-xs: 0.8125rem;

  /* Spacing & shape */
  --container: 72rem;
  --container-narrow: 46rem;
  --gutter: clamp(1.25rem, 0.8rem + 1.8vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.04), 0 2px 8px rgba(20, 22, 26, 0.04);
  --shadow-md: 0 6px 24px rgba(20, 22, 26, 0.08);
  --shadow-accent: 0 10px 30px rgba(31, 79, 229, 0.28);
}

/* 02. Reset & base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-text);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

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

.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-link {
  position: absolute;
  left: 1rem;
  top: -120%;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus {
  top: 1rem;
}

/* 03. Typography ---------------------------------------------------------- */
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

em {
  font-style: italic;
}

/* 04. Layout primitives --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: var(--container-narrow);
}

/* Small all-caps label that opens every section */
.section-index {
  font-family: var(--font-text);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.25rem;
}
.section-index--inverse {
  color: var(--paper-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow--accent {
  color: var(--ink-2);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* 05. Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.0625rem;
}
.wordmark__mark {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 6px;
  object-fit: contain;
}
.wordmark--light {
  color: var(--paper);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.5rem + 1.6vw, 2.25rem);
}
.site-nav a {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding-block: 0.25rem;
  transition: color var(--dur-fast) var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  position: relative;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.75px;
  background: var(--ink);
  position: absolute;
  left: 50%;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle__bars {
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  transform: translateX(-50%);
}
.nav-toggle__bars::before {
  top: -6px;
}
.nav-toggle__bars::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateX(-50%) translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 0.75rem var(--gutter) 1.25rem;
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: var(--container);
  margin-inline: auto;
}
.mobile-nav a {
  display: block;
  padding: 0.85rem 0.25rem;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child {
  border-bottom: none;
  margin-top: 0.5rem;
}
.mobile-nav .btn {
  text-align: center;
}

/* 06. Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn__arrow {
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--accent-ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}

.btn--sm {
  padding: 0.6rem 1rem;
}
.btn--block {
  width: 100%;
}

/* 07. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 1rem + 6vw, 6rem);
  padding-bottom: clamp(4rem, 2rem + 6vw, 8rem);
  overflow: hidden;
}
/* faint grid texture for editorial atmosphere */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  -webkit-mask-image: radial-gradient(120% 90% at 18% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 90% at 18% 0%, #000 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 1.5rem 0 1.5rem;
  color: var(--ink);
}
.hero__title em {
  font-weight: 400;
  color: var(--accent);
}
.hero__lead {
  font-size: var(--text-lead);
  color: var(--ink-2);
  max-width: 34rem;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}
.hero__trust {
  margin-top: 2rem;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.map {
  width: 100%;
  max-width: 30rem;
  height: auto;
}
.map__edges path {
  stroke: var(--ink);
  stroke-opacity: 0.28;
}
.map__nodes circle {
  fill: var(--ink);
  fill-opacity: 0.78;
}
.map__node--accent {
  fill: var(--accent) !important;
  fill-opacity: 1 !important;
}

/* 08. Bands & section heads ----------------------------------------------- */
.band {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.band--paper-2 {
  background: var(--paper-2);
}
.band--cta {
  background: var(--paper-3);
}

.section-head {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.section-title--center {
  margin-inline: auto;
  text-align: center;
}

/* 09. Problem statement --------------------------------------------------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 1.75rem;
}
.statement__tail {
  display: block;
  color: var(--accent);
  font-style: italic;
}
.statement__support {
  font-size: var(--text-lead);
  color: var(--ink-2);
  line-height: 1.6;
}

/* 10. Pillars ------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 0;
}
.pillar {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: clamp(1rem, 0.5rem + 2vw, 3rem);
  align-items: baseline;
  padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  border-top: 1px solid var(--line);
}
.pillar:last-child {
  border-bottom: 1px solid var(--line);
}
.pillar__no {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 400;
  color: var(--mute-2);
  letter-spacing: 0;
}
.pillar__title {
  font-size: var(--text-h3);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.pillar__text {
  color: var(--ink-2);
  max-width: 38rem;
}

/* 11. Outcomes ------------------------------------------------------------ */
.outcomes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem) clamp(2rem, 1rem + 3vw, 4rem);
}
.outcome__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.5rem;
}
.outcome__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.outcome__text {
  padding-left: 1.5rem;
  color: var(--ink-2);
  max-width: 28rem;
}

/* 11b. AI section (loop) -------------------------------------------------- */
.section-lead {
  font-size: var(--text-lead);
  color: var(--ink-2);
  max-width: 44rem;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2.25rem);
}
.loop__step {
  padding-block: 0.25rem;
}
.loop__step + .loop__step {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 0.5rem + 2vw, 2.25rem);
}
.loop__no {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.loop__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.loop__text {
  color: var(--ink-2);
  font-size: var(--text-small);
  line-height: 1.6;
}
.agents-note {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  max-width: 52rem;
  font-family: var(--font-display);
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}

@media (max-width: 960px) {
  .loop {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
}
@media (max-width: 560px) {
  .loop {
    grid-template-columns: 1fr;
  }
  .loop__step + .loop__step {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 1.5rem;
  }
}

/* 12. Roles --------------------------------------------------------------- */
.roles {
  text-align: center;
}
.roles__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 2.5rem;
  max-width: 52rem;
  margin-inline: auto;
}
.roles__list li {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink);
  padding: 0.5rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

/* 13. Security assurances ------------------------------------------------- */
.assurances {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 1rem + 2vw, 3rem);
}
.assurance {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 1rem;
  align-items: start;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.assurance__mark {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  position: relative;
}
.assurance__mark::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 1.75px 1.75px 0;
  transform: rotate(43deg);
}
.assurance__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.assurance__text {
  color: var(--ink-2);
  max-width: 26rem;
}

/* 14. Download ------------------------------------------------------------ */
.download {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.download__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-block: 1.25rem 1.25rem;
}
.download__text {
  font-size: var(--text-lead);
  color: var(--ink-2);
  max-width: 30rem;
}
.download__alt {
  margin-top: 1.75rem;
  font-size: var(--text-small);
  color: var(--mute);
}
.download__link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color var(--dur-fast) var(--ease);
}
.download__link:hover {
  border-bottom-color: var(--accent);
}

.download__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}
.dl-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.dl-card.is-preferred {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-sm);
}
.dl-card__os {
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.dl-card__label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dl-card__meta {
  font-size: var(--text-xs);
  color: var(--mute);
}
.dl-card__cta {
  margin-top: 0.85rem;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--accent);
}
.dl-card__hint {
  display: inline-block;
  margin-top: 0.85rem;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}
.download__note {
  grid-column: 1 / -1;
  margin-top: clamp(1.5rem, 1rem + 1vw, 2rem);
  font-size: var(--text-small);
  color: var(--mute);
  max-width: 48rem;
}
.download__note .download__link {
  font-weight: 600;
}
@media (max-width: 960px) {
  .download {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .download__cards {
    grid-template-columns: 1fr;
  }
}

/* 14b. Proof strip -------------------------------------------------------- */
.proof {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.proof__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem);
  padding-block: clamp(2rem, 1.25rem + 2.5vw, 3.25rem);
}
.proof__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 0.5rem + 1vw, 1.5rem);
}
.proof__item:first-child {
  border-left: none;
  padding-left: 0;
}
.proof__stat {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.proof__label {
  font-size: var(--text-small);
  line-height: 1.45;
  color: var(--mute);
  max-width: 16rem;
}
@media (max-width: 760px) {
  .proof__inner {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.75rem;
  }
  .proof__item:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}
@media (max-width: 420px) {
  .proof__inner {
    grid-template-columns: 1fr;
  }
  .proof__item {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
  }
  .proof__item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* 14c. FAQ ---------------------------------------------------------------- */
.faq__list {
  display: grid;
  gap: 0;
  max-width: 52rem;
}
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: clamp(1.1rem, 0.8rem + 1vw, 1.5rem) 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-text);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::after {
  content: "\2212"; /* minus sign */
}
.faq__item summary:hover {
  color: var(--accent-ink);
}
.faq__item p {
  padding: 0 0.25rem clamp(1.1rem, 0.8rem + 1vw, 1.5rem);
  color: var(--ink-2);
  max-width: 44rem;
  line-height: 1.65;
}

/* 15. Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper-3);
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__tag {
  margin-top: 0.85rem;
  max-width: 22rem;
  color: var(--mute-2);
  font-size: var(--text-small);
}
.site-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.site-footer__colhead {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 0.25rem;
}
.site-footer__col a {
  color: var(--paper-3);
  font-size: var(--text-small);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease);
}
.site-footer__col a:hover {
  color: var(--paper);
}
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 1.75rem;
  font-size: var(--text-xs);
  color: var(--mute-2);
}

/* 16. Reveal-on-scroll ---------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* 17. Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    margin-bottom: -2rem;
  }
  .map {
    max-width: 16rem;
    opacity: 0.9;
  }
  .download {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }
  .site-header__actions .btn--primary {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .outcomes,
  .assurances {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__title {
    line-height: 1.05;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .pillar {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.75rem;
  }
  .site-footer__inner {
    flex-direction: column;
  }
}

/* 18. Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* 19. Legal pages ----------------------------------------------------------
   Static terms / privacy / notices pages. Editorial layout: a narrow
   measure, a callout for the trademark notice, quiet tables. Reuses the
   site tokens so the legal pages read as part of the same publication. */
.legal {
  padding: calc(var(--section-y) * 0.6) 0 var(--section-y);
}

.legal__head {
  max-width: var(--container-narrow);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.legal__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.legal__meta {
  color: var(--mute);
  font-size: var(--text-small);
}

.legal__meta a,
.legal__body a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__callout {
  margin-top: 1.5rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: var(--text-small);
  line-height: 1.6;
}

.legal__body {
  max-width: var(--container-narrow);
  color: var(--ink-2);
}

.legal__body h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.75rem 0 0.75rem;
  letter-spacing: -0.005em;
}

.legal__body h2:first-of-type {
  margin-top: 0.5rem;
}

.legal__body p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal__body code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: var(--paper-3);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

.legal__list {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.legal__list li {
  line-height: 1.65;
}

.legal__table-wrap {
  overflow-x: auto;
  margin: 0.5rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
}

.legal__table th,
.legal__table td {
  text-align: left;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal__table thead th {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-3);
}

.legal__table tbody tr:last-child td {
  border-bottom: none;
}

.legal__table td:first-child {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82em;
  color: var(--ink);
  word-break: break-all;
}

/* Footer legal disclaimer — quiet fine print under the base row. */
.site-footer__disclaimer {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 0.5rem;
}

.site-footer__disclaimer p {
  color: var(--mute-2);
  font-size: var(--text-xs);
  line-height: 1.6;
  max-width: 62ch;
  margin: 0;
}

.site-footer__disclaimer a {
  color: var(--mute);
  text-decoration: underline;
  text-underline-offset: 2px;
}
