/* palette: bg=#FFFFFF fg=#17163A accent=#4A47D1 */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F2F2FB;        /* pale cool lavender for alternating sections */
  --fg: #17163A;            /* deep indigo-navy near-black */
  --fg-soft: #2E2C55;
  --muted: #6B6A8C;         /* secondary text */
  --accent: #4A47D1;        /* brand indigo — hero / bands / CTA on light */
  --accent-deep: #3936B0;   /* darker indigo for hover */
  --accent-soft: #6E6BE6;   /* lighter indigo for gradients */
  --spring: #57D79C;        /* mint accent — CTA on indigo, em words */
  --spring-deep: #3FC488;
  --ink: #14132E;           /* deepest indigo band */
  --on-dark: #EDEDFB;       /* text on indigo bands */
  --on-dark-soft: #B6B5DF;
  --border: rgba(23, 22, 58, 0.12);
  --border-dark: rgba(255, 255, 255, 0.16);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; }
p { margin: 0; }

/* ── Layout ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }
.section--ink {
  background: var(--ink);
  color: var(--on-dark);
  background-image:
    radial-gradient(120% 120% at 85% -10%, rgba(87,215,156,0.16), transparent 55%),
    radial-gradient(90% 90% at 5% 110%, rgba(110,107,230,0.30), transparent 60%);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section--ink .eyebrow { color: var(--spring); }

.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.section-head p {
  margin-top: 22px;
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 60ch;
}
.section--ink .section-head p { color: var(--on-dark-soft); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--spring { background: var(--spring); color: var(--ink); }
.btn--spring:hover { background: var(--spring-deep); }
.btn--ink { background: var(--accent); color: #fff; }
.btn--ink:hover { background: var(--accent-deep); }
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--fg);
  background: transparent;
}
.section--ink .btn--ghost { border-color: var(--border-dark); color: var(--on-dark); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.section--ink .btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--on-dark); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.arrow-link span { transition: transform 0.3s var(--ease); }
.arrow-link:hover { gap: 12px; }
.section--ink .arrow-link { color: var(--spring); }

/* ── Header ───────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.brand__dot { color: var(--spring); }
.header a { color: rgba(255,255,255,0.92); }

.nav { display: none; align-items: center; gap: 36px; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  transition: opacity 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--spring);
  transition: width 0.35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header__cta { display: none; }

.header[data-scrolled="true"] {
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 10px 34px -18px rgba(23,22,58,0.4);
}
.header[data-scrolled="true"] a,
.header[data-scrolled="true"] .brand { color: var(--fg); }
.header[data-scrolled="true"] .brand__dot { color: var(--accent); }
.header[data-scrolled="true"] .menu-toggle span { background: var(--fg); }

@media (min-width: 940px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 9px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  background-image: radial-gradient(90% 90% at 80% 0%, rgba(110,107,230,0.35), transparent 60%);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 28px 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 10px 0;
  color: var(--on-dark);
  border-bottom: 1px solid var(--border-dark);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: -78px;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  background-image:
    radial-gradient(120% 100% at 90% 20%, rgba(87,215,156,0.20), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(20,19,46,0.55), transparent 60%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--spring);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.hero__eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.hero h1 {
  font-size: clamp(3.1rem, 9vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--spring); }
.hero__sub {
  margin-top: 30px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__note {
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.62);
}

/* Hero swirl graphic */
.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__art svg { width: min(100%, 460px); height: auto; overflow: visible; }
.swirl { transform-origin: center; animation: swirlSpin 42s linear infinite; }
@keyframes swirlSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .swirl { animation: none; } }
.hero__pill {
  position: absolute;
  bottom: 8%;
  left: 4%;
  background: rgba(20,19,46,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--on-dark);
  max-width: 210px;
}
.hero__pill b { color: var(--spring); font-weight: 700; }

/* ── Trust / logos strip ──────────────────────────── */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 44px;
  padding: 28px 0;
}
.trust__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.trust__item {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--fg-soft);
  opacity: 0.72;
}

/* ── Feature / service cards grid ─────────────────── */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px -18px rgba(23,22,58,0.22);
  border-color: transparent;
}
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 22px;
}
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-alt);
  color: var(--accent);
  margin-bottom: 22px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.card p { color: var(--muted); font-size: 1rem; line-height: 1.68; }
.card .arrow-link { margin-top: 22px; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.card li {
  font-size: 0.95rem;
  color: var(--fg-soft);
  padding: 9px 0 9px 24px;
  position: relative;
  border-top: 1px solid var(--border);
}
.card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--spring);
}

/* ── Split showcase ───────────────────────────────── */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--flip .split__media { order: -1; }
}
.split__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: var(--bg-alt);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.split p { margin-top: 20px; color: var(--muted); line-height: 1.72; }
.split .arrow-link { margin-top: 26px; }

.tick-list { list-style: none; margin: 26px 0 0; padding: 0; }
.tick-list li {
  position: relative;
  padding: 14px 0 14px 38px;
  border-top: 1px solid var(--border);
  font-size: 1.02rem;
  color: var(--fg-soft);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--spring);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ── Manifesto ────────────────────────────────────── */
.manifesto { text-align: center; }
.manifesto__inner { max-width: 940px; margin: 0 auto; }
.manifesto .eyebrow { color: var(--spring); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}
.manifesto__quote em { font-style: normal; color: var(--spring); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.6;
  color: var(--spring);
  opacity: 0.5;
  margin-bottom: 8px;
  display: block;
}
.manifesto__cite {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

/* ── Stats band ───────────────────────────────────── */
.stats { display: grid; gap: 40px 24px; }
@media (min-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--on-dark);
}
.stat__value em { font-style: normal; color: var(--spring); }
.stat__label { margin-top: 14px; color: var(--on-dark-soft); font-size: 0.98rem; line-height: 1.55; }

/* ── Process / steps ──────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step {
  display: grid;
  gap: 8px 40px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 820px) { .step { grid-template-columns: 120px 1fr 1.2fr; } }
.step:last-child { border-bottom: 1px solid var(--border); }
.step__num {
  counter-increment: step;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; }
.step p { color: var(--muted); line-height: 1.7; }

/* ── Testimonials ─────────────────────────────────── */
.quotes { display: grid; gap: 24px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.quote__mark { font-family: var(--serif); font-size: 3rem; line-height: 0.5; color: var(--spring); margin-bottom: 18px; }
.quote p { font-size: 1.06rem; line-height: 1.62; color: var(--fg-soft); }
.quote__who { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}
.quote__name { font-weight: 600; font-size: 0.95rem; }
.quote__role { font-size: 0.85rem; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────── */
.faq { max-width: 860px; }
.faq details {
  border-top: 1px solid var(--border);
  padding: 6px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 32px;
  width: 16px; height: 16px;
  background:
    linear-gradient(var(--accent),var(--accent)) center/16px 1.6px no-repeat,
    linear-gradient(var(--accent),var(--accent)) center/1.6px 16px no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 44px 28px 0; color: var(--muted); line-height: 1.72; max-width: 66ch; }

/* ── CTA band ─────────────────────────────────────── */
.cta { text-align: center; }
.cta__inner { max-width: 820px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--on-dark);
}
.cta h2 em { font-style: normal; color: var(--spring); }
.cta p { margin: 24px auto 0; max-width: 54ch; color: var(--on-dark-soft); font-size: 1.14rem; }
.cta__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ── Contact form ─────────────────────────────────── */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.info-block { margin-bottom: 34px; }
.info-block h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 10px;
}
.info-block p { font-size: 1.08rem; color: var(--fg-soft); line-height: 1.6; }
.info-block a:hover { color: var(--accent); }

.form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(74,71,209,0.12);
}
.form__row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.form .btn { justify-content: center; }

/* ── Footer ───────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(64px, 8vw, 100px) 0 40px;
  background-image: radial-gradient(80% 120% at 100% 0%, rgba(110,107,230,0.22), transparent 55%);
}
.footer__top {
  display: grid;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark);
}
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.03em; color: #fff; }
.footer__brand .brand__dot { color: var(--spring); }
.footer__tag { margin-top: 18px; color: var(--on-dark-soft); max-width: 34ch; line-height: 1.6; font-size: 0.98rem; }
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  font-weight: 500;
  margin: 0 0 18px;
}
.footer__col a, .footer__col p { display: block; color: var(--on-dark); font-size: 0.96rem; padding: 7px 0; opacity: 0.82; transition: opacity 0.3s var(--ease); }
.footer__col a:hover { opacity: 1; color: var(--spring); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}
.footer__bottom a:hover { color: var(--spring); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ── Page hero (inner pages) ──────────────────────── */
.page-hero {
  background: var(--accent);
  color: #fff;
  margin-top: -78px;
  padding: 160px 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
  background-image:
    radial-gradient(110% 120% at 92% 10%, rgba(87,215,156,0.18), transparent 55%),
    radial-gradient(90% 120% at 0% 110%, rgba(20,19,46,0.5), transparent 60%);
}
.page-hero .eyebrow { color: var(--spring); }
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--spring); }
.page-hero p { margin-top: 26px; max-width: 56ch; font-size: 1.18rem; color: rgba(255,255,255,0.86); line-height: 1.6; }

/* ── Legal pages ──────────────────────────────────── */
.legal { max-width: 800px; }
.legal h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 52px 0 16px;
  line-height: 1.15;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.2rem; margin: 30px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--fg-soft); line-height: 1.78; font-size: 1.02rem; }
.legal p { margin-bottom: 16px; }
.legal ul { padding-left: 22px; margin: 0 0 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 40px; }

/* ── Thank you ────────────────────────────────────── */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.04; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { margin: 24px auto 36px; color: var(--muted); font-size: 1.15rem; max-width: 46ch; }

/* ── Reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Cookie popup ─────────────────────────────────── */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(20,19,46,0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 34px 36px;
  max-width: 480px;
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(20,19,46,0.5);
}
@media (min-width: 600px) { .cookie-popup { align-items: flex-end; justify-content: flex-start; } }
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cookie-popup__card h3 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 0.95rem; color: var(--muted); line-height: 1.62; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 12px 26px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.cookie-popup__actions button:hover { transform: translateY(-2px); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Utilities ────────────────────────────────────── */
.lede { font-size: 1.28rem; line-height: 1.6; color: var(--fg-soft); max-width: 60ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-l { margin-top: 48px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
