/* ============================================================================
   werk — landing page
   Hallmark · modern-minimal · Split Studio · EMS Fluid Intelligence
   Space Grotesk + Geist · graphite / warm white / electric blue · N1b / Ft2
   Pre-emit critique: P5 H5 E4 S5 R5 V4.
   ----------------------------------------------------------------------------
   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 {
  /* Shared EMS palette; light content is the default context. */
  --paper: #f2f3ef;
  --paper-2: #e7e9e4;
  --paper-3: #e7e9e4;
  --ink: #1b2028;
  --ink-2: #5a626c;
  --mute: #5a626c;
  --mute-2: #5a626c;
  --line: #c9cfca;
  --line-strong: #a4ada6;
  --dark-paper: #0e1219;
  --dark-paper-2: #181e28;
  --dark-paper-3: #232c3b;
  --dark-ink: #f3f2ef;
  --dark-ink-2: #b7bfcb;
  --dark-mute: #929eaf;
  --dark-line: #303a49;
  --accent-light: #7a9bff;
  --accent-hover: #3a68ff;
  --focus: #2046c9;
  --focus-on-dark: #a2b9ff;

  --accent: #2858f5;
  --accent-ink: #2046c9;
  --accent-soft: #dce4ff;
  --on-accent: #fffefd;

  /* Typography */
  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-text: "Geist", Arial, sans-serif;

  --text-hero: clamp(2.7rem, 4.6vw, 4.6rem);
  --text-h2: clamp(2rem, 4vw, 3.6rem);
  --text-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --text-lead: 1rem;
  --text-body: 1rem;
  --text-small: .875rem;
  --text-xs: .75rem;

  /* Spacing & shape */
  --container: calc(1376px + 2 * var(--gutter));
  --container-narrow: 46rem;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --section-y: clamp(4rem, 6vw, 6rem);
  --radius: 12px;
  --radius-sm: 4px;
  --radius-pill: 999px;

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

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-accent: none;
}

/* 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: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.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;
  margin-inline: auto;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: 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 {
  width: 100%;
  max-width: 62rem;
  margin-top: clamp(3rem, 1.5rem + 5vw, 5.5rem);
}
/* App-window frame around a real product shot */
.shot-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 30px 80px -32px rgba(20, 22, 26, 0.35), 0 2px 8px rgba(20, 22, 26, 0.05);
}
.shot-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.shot-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.shot-frame__dot--accent {
  background: var(--accent);
}
.shot-frame__title {
  margin-left: auto;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: var(--mute);
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.shot {
  margin: 0;
}
.shot__caption {
  margin-top: 1.1rem;
  font-size: var(--text-small);
  color: var(--ink-2);
  max-width: 42rem;
  line-height: 1.55;
}
.shot__caption strong {
  color: var(--ink);
}

/* 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;
}

/* 10b. Live product shots (captured against a real system — see
   scripts/capture-landing-shots.mjs) ------------------------------------- */
.shots {
  display: grid;
  gap: clamp(3rem, 1.5rem + 4vw, 4.5rem);
  margin-top: clamp(3.5rem, 2rem + 5vw, 6rem);
}
.shots__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.shots .shot__caption {
  margin-inline: auto;
}
@media (max-width: 900px) {
  .shots__pair {
    grid-template-columns: 1fr;
  }
}

/* 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) {
  .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;
}

/* 20. EMS brand family ---------------------------------------------------- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
html, body { overflow-x: clip; }
html { scroll-padding-top: 7rem; }
h1, h2, h3 { min-width: 0; overflow-wrap: anywhere; font-style: normal; text-wrap: wrap; letter-spacing: -.045em; }
:focus-visible { outline-color: var(--focus); outline-offset: 5px; }
a, button, summary { touch-action: manipulation; }
.btn, .site-nav a, .mobile-nav a, .site-footer__col a, .brand-parent { white-space: nowrap; }

.site-header, .hero, .proof, #ai, .band--cta, .site-footer {
  --paper: var(--dark-paper);
  --paper-2: var(--dark-paper-2);
  --paper-3: var(--dark-paper-3);
  --ink: var(--dark-ink);
  --ink-2: var(--dark-ink-2);
  --mute: var(--dark-mute);
  --mute-2: var(--dark-mute);
  --line: var(--dark-line);
  --line-strong: var(--dark-line);
  --accent-ink: var(--accent-light);
  --accent-soft: var(--dark-paper-3);
  --focus: var(--focus-on-dark);
  background: var(--paper);
  color: var(--ink);
  color-scheme: dark;
}
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 96%, transparent); }
.site-header.is-scrolled { background: var(--paper); box-shadow: none; }
.site-header__inner { min-height: 88px; gap: 1.5rem; }
.brand-family { display: grid; gap: .25rem; }
.wordmark { width: fit-content; font-family: var(--font-display); font-weight: 700; line-height: 1; color: var(--ink); }
.wordmark__text { font-size: 2.6rem; letter-spacing: -.09em; }
.brand-dot { color: var(--accent); }
.brand-parent { display: flex; align-items: center; min-height: 24px; width: fit-content; color: var(--mute); font-size: .65rem; }
.brand-parent:hover { color: var(--ink); text-decoration: underline; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; font-weight: 400; }
.site-nav a::after { display: none; }
.site-header__actions .btn--primary { min-height: 44px; background: transparent; color: var(--ink); border-color: var(--line); }
.site-header__actions .btn--primary:hover { background: var(--paper-2); }
.nav-toggle { width: 52px; height: 44px; border-radius: var(--radius-pill); }
.mobile-nav { position: absolute; top: 100%; inset-inline: var(--gutter); padding: 1rem 1.5rem; max-height: calc(100svh - 100px); overflow-y: auto; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: var(--paper-2); }
.mobile-nav a { min-height: 44px; border: 0; font-size: .875rem; font-weight: 400; }
.mobile-nav .btn { margin-top: .75rem; justify-content: space-between; padding-inline: 1.2rem; }

.btn { justify-content: space-between; min-height: 54px; padding: .85rem 1.2rem; gap: 2rem; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 500; letter-spacing: 0; will-change: auto; box-shadow: none; transition: background-color 220ms var(--ease), border-color 220ms var(--ease); }
.btn:hover { transform: none; box-shadow: none; }
.btn:active { transform: translateY(1px); }
.btn--primary:hover { background: var(--accent-hover); }
.btn:hover .btn__arrow { transform: none; }
.btn--ghost { border: 0; padding-inline: 0; background: transparent; gap: 1rem; }
.btn--ghost::after { content: '\2192'; font-size: 1.2rem; }
.btn--ghost:hover { background: transparent; text-decoration: underline; }
.btn--sm { min-height: 44px; }

.hero { padding-block: 3rem 2rem; overflow: visible; }
.hero::before { display: none; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 1.5rem; text-align: left; }
.hero__content { min-width: 0; }
.eyebrow { font-size: .65rem; letter-spacing: .08em; font-weight: 400; }
.eyebrow__dot { width: auto; height: auto; border-radius: 0; background: transparent; box-shadow: none; }
.eyebrow__dot::before { content: '+'; color: var(--accent-ink); font-size: 1.25rem; font-weight: 300; }
.hero__title { margin-block: 1.5rem; font-size: clamp(1.9rem, 8.5vw, 3.8rem); line-height: 1.08; letter-spacing: -.06em; }
.hero__title span { color: var(--ink); }
.hero__lead { margin-inline: 0; max-width: 50ch; line-height: 1.8; }
.hero__actions { justify-content: flex-start; gap: 1rem 2rem; margin-top: 2rem; }
.hero__trust { max-width: 54ch; margin-top: 2rem; font-size: .7rem; letter-spacing: 0; line-height: 1.8; text-transform: none; }
.hero__visual { max-width: none; margin: 0; min-width: 0; }
.intelligence-visual img { width: 100%; height: auto; }
.intelligence-visual figcaption { padding-block: .75rem; color: var(--mute); font-size: .7rem; text-align: center; }
.proof { border: 0; }
.proof__inner { gap: 0 2rem; padding-block: 1rem 3rem; }
.proof__item, .proof__item:first-child, .proof__item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; gap: .75rem; }
.proof__stat { font-size: 1.5rem; }
.proof__label { font-size: .8rem; line-height: 1.7; }

.band { border-top: 0; }
.section-index { font-size: .75rem; font-weight: 400; text-transform: none; letter-spacing: .02em; margin-bottom: 1.5rem; }
.section-index--inverse { color: var(--accent-ink); }
.section-head { max-width: 60rem; }
.section-title { max-width: 26ch; line-height: 1.12; letter-spacing: -.055em; }
.statement { max-width: 26ch; font-size: var(--text-h2); line-height: 1.12; letter-spacing: -.055em; }
.statement__tail { color: var(--ink); font-style: normal; }
.statement__support { margin-inline: 0; padding-inline: 0; max-width: 58ch; }
.pillars { gap: 0 4rem; }
.pillar { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-block: 2rem 2.5rem; }
.pillar:last-child { border-bottom: 0; }
.pillar__no { font-family: var(--font-text); font-size: .75rem; color: var(--accent-ink); }
.pillar__title { margin-bottom: 1rem; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.pillar__text { max-width: 49ch; font-size: .95rem; line-height: 1.8; }
.shots { grid-template-columns: minmax(0, 1fr); gap: 3rem; margin-top: 3rem; }
.shot-frame { border-radius: var(--radius); box-shadow: none; }
.shot__caption { max-width: 60ch; margin-top: 1rem; font-size: .8rem; line-height: 1.8; }
.shots .shot__caption { margin-inline: 0; }
.shots__pair { display: contents; }
.outcomes, .assurances, .loop, .download, .download__cards { grid-template-columns: minmax(0, 1fr); }
.outcome { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.outcome__title { padding-left: 0; font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem; }
.outcome__title::before { display: none; }
.outcome__text { padding-left: 0; max-width: 49ch; font-size: .95rem; line-height: 1.8; }
.loop { gap: 2rem; }
.loop__step, .loop__step + .loop__step { border-left: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.loop__no { font-family: var(--font-text); font-size: .75rem; line-height: 1.5; color: var(--accent-ink); margin-bottom: 1.5rem; }
.loop__title { font-size: 1.6rem; font-weight: 500; margin-bottom: 1rem; }
.loop__text { line-height: 1.8; }
.agents-note { font-family: var(--font-text); font-weight: 400; font-size: .875rem; max-width: 72ch; line-height: 1.8; color: var(--ink-2); }
.roles, .section-title--center { text-align: left; }
.section-title--center { margin-inline: 0; }
.roles__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; margin: 2.5rem 0 0; max-width: none; }
.roles__list li { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 1rem 0; font-weight: 400; }
.assurance { grid-template-columns: 20px minmax(0, 1fr); padding-block: 1.5rem 1rem; }
.assurance__mark { background: transparent; }
.assurance__title { font-size: 1.3rem; font-weight: 500; margin-bottom: .75rem; }
.assurance__text { font-size: .95rem; line-height: 1.8; }
.faq__list { max-width: none; }
.faq__item summary { min-height: 88px; font-size: clamp(1.05rem, 1.8vw, 1.6rem); padding-block: 1.5rem; }
.faq__item[open] summary { color: var(--accent-ink); }
.faq__item p { max-width: 72ch; font-size: .95rem; line-height: 1.8; }
.download { gap: 3rem; align-items: start; }
.download__title { margin-top: 0; letter-spacing: -.055em; }
.download__text { font-size: 1rem; line-height: 1.8; }
.download__link { color: var(--accent-ink); }
.download__cards { gap: 1.5rem; }
.dl-card, .dl-card:hover { border-radius: var(--radius); background: var(--paper-2); box-shadow: none; transform: none; }
.dl-card { min-width: 0; padding: 1.5rem; transition: border-color var(--dur-fast) var(--ease); }
.dl-card:hover, .dl-card.is-preferred { border-color: var(--accent-light); box-shadow: none; }
.dl-card__label { color: var(--ink); }
.dl-card__cta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; white-space: nowrap; font-size: .8rem; color: var(--accent-ink); }
.dl-card__hint { color: var(--accent-ink); background: transparent; border: 1px solid var(--line); font-size: .65rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.download__note { margin-top: 0; font-size: .8rem; line-height: 1.8; }
.site-footer { padding-top: 3rem; border-top: 1px solid var(--line); }
.site-footer .wordmark--light { color: var(--ink); }
.site-footer__brand .brand-parent { margin-top: .5rem; }
.site-footer__inner { gap: 2.5rem; border-bottom-color: var(--line); }
.site-footer__tag { max-width: 40ch; font-size: .85rem; line-height: 1.8; color: var(--ink-2); }
.site-footer__cols { gap: 1.5rem 2.5rem; }
.site-footer__col { gap: .25rem; }
.site-footer__colhead { color: var(--mute); font-size: .7rem; letter-spacing: .02em; text-transform: none; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 36px; font-size: .8rem; font-weight: 400; color: var(--ink-2); }
.site-footer__col a:hover { color: var(--ink); }
.site-footer__base { font-size: .7rem; }
.site-footer__disclaimer { border-top-color: var(--line); padding-bottom: 2rem; }
.site-footer__disclaimer p { max-width: 100%; font-size: .7rem; line-height: 1.9; }
.site-footer__disclaimer a { color: var(--ink-2); }
[data-reveal], [data-reveal].is-in { opacity: 1; transform: none; transition: none; will-change: auto; }
.skip-link { position: fixed; top: 1rem; transform: translateY(-180%); transition: none; border-radius: 0; }
.skip-link:focus { transform: none; }
.legal__title { letter-spacing: -.045em; }
.legal__callout { border-left-width: 1px; }
.legal-page .site-nav { display: block; }
.legal-page .site-header__inner { flex-wrap: wrap; padding-block: 1rem; gap: .75rem 2rem; }
.legal-page .site-nav__list { flex-wrap: wrap; gap: .5rem 1.5rem; }
.legal-page .site-nav a { white-space: normal; }

@media (min-width: 40rem) {
  .hero__visual { width: 75%; justify-self: center; }
  .pillars, .shots, .outcomes, .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots > .shot:first-child { grid-column: 1 / -1; }
  .roles__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .hero { padding-block: 4rem 3rem; }
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; }
  .hero__title { font-size: var(--text-hero); }
  .hero__visual { width: 100%; }
  .hero__trust { margin-top: 3rem; }
  .proof__inner { padding-bottom: 3rem; }
  .loop, .roles__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .download { grid-template-columns: minmax(0, 1fr); }
  .download__cards { max-width: 50rem; }
  .download__pitch { max-width: 64ch; }
}
@media (min-width: 75rem) {
  .hero { padding-top: 6rem; }
  .download { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .download__cards { width: 100%; }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 0 1 auto; }
  .hero__actions { gap: .75rem 1.5rem; }
  .pillar { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
}
