/* ============================================================
   Convertova homepage
   System: deep navy ink on warm paper, one sharp accent.
   Type: Newsreader (editorial serif display) / Hanken Grotesk
   (body sans) / IBM Plex Mono (labels + metrics).
   ============================================================ */

:root {
  --ink: #0E1A2B;
  --ink-2: #41506A;
  --ink-3: #74829A;
  --paper: #F5F4EF;
  --paper-2: #EEEDE6;
  --surface: #FFFFFF;
  --navy: #0C1726;
  --navy-2: #13243B;

  --line: rgba(14, 26, 43, 0.12);
  --line-2: rgba(14, 26, 43, 0.22);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --accent: #12835C;            /* overridden by Tweaks */
  --accent-ink: #FFFFFF;        /* text color that sits on accent */
  --accent-soft: color-mix(in oklab, var(--accent) 14%, var(--paper));
  --accent-on-dark: color-mix(in oklab, var(--accent) 58%, #ffffff);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --display: var(--serif);       /* swapped by [data-font] */

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --section-y: clamp(76px, 9vw, 132px);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.05), 0 2px 8px rgba(14, 26, 43, 0.04);
  --shadow-md: 0 2px 4px rgba(14, 26, 43, 0.05), 0 14px 40px rgba(14, 26, 43, 0.08);
  --shadow-lg: 0 30px 70px rgba(14, 26, 43, 0.14);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-font="sans"] { --display: var(--sans); }

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (max-width: 640px) { body { font-size: 16px; } }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; }
[data-font="sans"] h1, [data-font="sans"] h2, [data-font="sans"] h3 { font-weight: 600; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

/* shared display headline scale */
.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
[data-font="sans"] .display { font-weight: 650; letter-spacing: -0.028em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}

.lede {
  color: var(--ink-2);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  max-width: 46ch;
  text-wrap: pretty;
}

.section-head { max-width: 60ch; }
.section-head .display {
  font-size: clamp(30px, 4vw, 48px);
  margin-top: 18px;
}
.section-y { padding-block: var(--section-y); }

/* hairline divider */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================================
   Buttons + the two-choice CTA pair
   ============================================================ */
.cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 720px;
}
@media (max-width: 720px) { .cta-pair { grid-template-columns: 1fr; } }

.choice {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 60px 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  position: relative;
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background 0.22s var(--ease), border-color 0.22s var(--ease);
  isolation: isolate;
}
.choice .c-label {
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
[data-font="sans"] .choice .c-label { font-weight: 600; }
.choice .c-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0.72;
}
.choice .c-arrow {
  position: absolute;
  top: 50%; right: 16px;
  margin-top: -19px;
  width: 38px; height: 38px;
  padding: 9px;
  box-sizing: border-box;
  border: 1px solid;
  border-radius: 50%;
  opacity: 1;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.choice:hover { transform: translateY(-3px); }
.choice:hover .c-arrow { transform: translateX(3px); }

.choice.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.choice.primary .c-sub { color: var(--accent); opacity: 1; }
.choice.primary:hover { box-shadow: var(--shadow-lg); }
.choice.primary .c-arrow { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.28); }
.choice.primary:hover .c-arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.choice.ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.choice.ghost:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
.choice.ghost .c-arrow { color: var(--ink-3); border-color: var(--line-2); }
.choice.ghost:hover .c-arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* small inline buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn-fill { background: var(--ink); color: #fff; }
.btn-fill:hover { transform: translateY(-2px); background: var(--navy-2); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(0.96); }

.owner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  width: fit-content;
  padding-bottom: 2px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.owner-link:hover { color: var(--ink); border-color: var(--accent); }
.owner-link .a { color: var(--accent); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand .mark {
  width: 13px; height: 13px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}
.brand .brand-logo { height: 30px; width: auto; flex: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.16s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-owner {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
  transition: color 0.16s;
}
.nav-owner:hover { color: var(--ink); }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-owner { display: none; }
}

/* ============================================================
   Hero (three switchable directions)
   ============================================================ */
.hero { position: relative; overflow: clip; }
.hero-v { display: none; }
[data-hero="editorial"] .hero-v.editorial { display: block; }
[data-hero="choice"]    .hero-v.choice    { display: block; }
[data-hero="layered"]   .hero-v.layered   { display: block; }

/* ---- Direction 1: Editorial statement ---- */
.editorial .e-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 69px);
  padding-block: clamp(24px, 3vh, 52px);
}
@media (max-width: 940px) { .editorial .e-grid { grid-template-columns: 1fr; gap: 44px; } }
.editorial h1 {
  font-size: clamp(34px, 4.4vw, 62px);
  margin: 14px 0 18px;
}
.editorial h1 em {
  font-style: italic;
  color: var(--accent);
}
[data-font="sans"] .editorial h1 em { font-style: normal; }
.editorial .lede { margin-bottom: 22px; font-size: clamp(16px, 1.4vw, 19px); }
.editorial .cta-pair { margin-bottom: 16px; }

.e-aside {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.e-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.e-aside .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
}
.e-rank {
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 76px);
  line-height: 0.95;
  margin: 16px 0 4px;
}
.e-rank .pct { color: var(--accent-on-dark); }
.e-aside .e-cap { color: rgba(255,255,255,0.62); font-size: 14px; max-width: 26ch; }
.e-stats {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-on-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.e-stat b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  color: #fff;
}
.e-stat span {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.6);
}

/* ---- Direction 2: The choice (centered) ---- */
.choice-hero {
  text-align: center;
  min-height: calc(100svh - 69px);
  padding-block: clamp(24px, 3vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.choice-hero h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  margin: 18px auto 18px;
  max-width: 16ch;
}
.choice-hero h1 em { font-style: italic; color: var(--accent); }
[data-font="sans"] .choice-hero h1 em { font-style: normal; }
.choice-hero .lede { margin: 0 auto 18px; text-align: center; max-width: 56ch; }
.choice-hero .pick-label {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 26px 0 18px;
}
.choice-hero .cta-pair { margin-inline: auto; }
.choice-hero .choice {
  padding: 30px 28px;
  min-height: 168px;
  justify-content: flex-end;
}
.choice-hero .choice .c-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: auto;
}
.choice-hero .choice .c-label { font-size: clamp(19px, 1.9vw, 23px); }
.choice-hero .owner-link { margin: 26px auto 0; }

/* ---- Direction 3: Layered with navy panel ---- */
.layered .l-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  min-height: calc(100svh - 69px);
  padding-block: clamp(24px, 3vh, 48px);
}
@media (max-width: 940px) { .layered .l-grid { grid-template-columns: 1fr; } }
.layered h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  margin: 18px 0 22px;
}
.layered h1 em { font-style: italic; color: var(--accent); }
[data-font="sans"] .layered h1 em { font-style: normal; }
.layered .lede { margin-bottom: 32px; }
.l-left { align-self: center; }

.l-panel {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 30px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.l-panel .p-head {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex; justify-content: space-between; align-items: center;
}
.l-panel .p-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-on-dark); }
.l-flow { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.l-node {
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.l-node .n-ix {
  font-family: var(--mono); font-size: 12px;
  color: var(--accent-on-dark); width: 26px; flex: none;
}
.l-node .n-body .n-t { font-weight: 600; font-size: 15px; }
.l-node .n-body .n-d { font-size: 13px; color: rgba(255,255,255,0.55); }
.l-node.active { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 12%, transparent); }
.l-connect { height: 14px; width: 1px; background: var(--line-on-dark); margin-left: 26px; }
.l-foot {
  margin-top: 20px;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 16px;
  display: flex; align-items: baseline; gap: 12px;
}
.l-foot .big { font-family: var(--display); font-size: 34px; line-height: 1; }
.l-foot .big .pct { color: var(--accent-on-dark); }
.l-foot .cap { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ============================================================
   Hero editorial right column (box + buttons stacked)
   ============================================================ */
.e-right { display: flex; flex-direction: column; gap: 14px; }
.e-right .cta-pair { display: flex; flex-direction: column; max-width: none; gap: 12px; }
.e-right .choice { padding: 15px 58px 15px 20px; }
.e-right .choice .c-label { line-height: 1.22; }

/* ============================================================
   Logos carousel (auto-scrolling marquee)
   ============================================================ */
.logos {
  background: #EEEEE6;
  border-block: 1px solid var(--line);
  padding-block: 15px;
  overflow: hidden;
}
.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}
.marquee-track img {
  height: 66px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  flex: none;
  margin-right: clamp(44px, 6vw, 88px);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) { .marquee-track img { height: 54px; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   Who we help
   ============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
  margin-top: 52px;
}
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } }

.who-card {
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px);
  position: relative;
  overflow: hidden;
}
.who-card .kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.who-card h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.06;
  margin: 14px 0 14px;
  letter-spacing: -0.015em;
}
.who-card p.body { font-size: 16.5px; max-width: 42ch; }

.who-card.employee {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.who-card.employee .kicker { color: var(--accent-on-dark); }
.who-card.employee p.body { color: rgba(255,255,255,0.74); }
.who-card.employee::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 34%, transparent), transparent 68%);
  pointer-events: none;
}
.bullets {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.bullets li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  line-height: 1.45;
}
.bullets li .tick {
  margin-top: 3px;
  width: 18px; height: 18px;
  flex: none;
  color: var(--accent-on-dark);
}
.who-card.employee .bullets li { color: rgba(255,255,255,0.86); }

.who-card.owner {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.who-card.owner .kicker { color: var(--ink-3); }
.who-card.owner p.body { color: var(--ink-2); }
.who-card.owner .owner-foot {
  margin-top: auto;
  padding-top: 26px;
}
.who-card.owner .mini-stat {
  display: flex; gap: 22px; margin: 24px 0 0;
  font-family: var(--mono); font-size: 13px; color: var(--ink-3);
}
.who-card.owner .mini-stat b {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  color: var(--ink);
  font-weight: 500;
}

/* ============================================================
   Outcomes / metrics
   ============================================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 820px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .metrics { grid-template-columns: 1fr; } }
.metric {
  background: var(--surface);
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric .num {
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.metric .num .u { color: var(--accent); }
.metric .cap { color: var(--ink-2); font-size: 14.5px; line-height: 1.4; max-width: 24ch; }
.metric .note {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 14px;
}

/* ============================================================
   Services / packages
   ============================================================ */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  align-items: start;
}
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.pkg {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pkg.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.pkg .pk-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pkg.featured .pk-tag { color: var(--accent-on-dark); }
.pkg .pk-name {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 16px 0 6px;
}
.pkg .pk-for { font-size: 14px; color: var(--ink-3); }
.pkg.featured .pk-for { color: rgba(255,255,255,0.6); }
.pkg .pk-line { height: 1px; background: var(--line); margin: 20px 0; }
.pkg.featured .pk-line { background: var(--line-on-dark); }
.pkg .pk-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; }
.pkg .pk-feats li {
  display: grid; grid-template-columns: 18px 1fr; gap: 11px;
  font-size: 14.5px; line-height: 1.4;
}
.pkg .pk-feats li .tick { margin-top: 2px; color: var(--accent); width: 15px; height: 15px; flex: none; }
.pkg.featured .pk-feats li .tick { color: var(--accent-on-dark); }
.pkg.featured .pk-feats li { color: rgba(255,255,255,0.85); }
.pkg .pk-cta { margin-top: 26px; }
.pkg .pk-cta .btn { width: 100%; justify-content: center; }
.pkg.featured .pk-cta .btn-line { border-color: var(--line-on-dark); color: #fff; }
.pkg.featured .pk-cta .btn-line:hover { border-color: #fff; }

/* ============================================================
   Testimonials
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.quote .q-mark {
  font-family: var(--display);
  font-size: 56px;
  line-height: 0.6;
  color: var(--accent);
  height: 28px;
}
.quote blockquote {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--ink);
}
[data-font="sans"] .quote blockquote { letter-spacing: -0.01em; }
.quote .who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 13px;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  flex: none;
}
.quote .who .n { display: block; font-weight: 600; font-size: 15px; }
.quote .who .r { display: block; margin-top: 1px; font-size: 13px; color: var(--ink-3); }

/* ============================================================
   Final CTA (dark band)
   ============================================================ */
.final {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  left: 50%; top: -40%;
  width: 70vw; height: 70vw;
  max-width: 760px; max-height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 22%, transparent), transparent 62%);
  pointer-events: none;
}
.final .wrap { position: relative; text-align: center; }
.final .eyebrow { color: rgba(255,255,255,0.6); }
.final .eyebrow::before { background: var(--accent); }
.final h2 {
  font-size: clamp(34px, 5vw, 64px);
  margin: 22px auto 22px;
  max-width: 18ch;
}
.final h2 em { font-style: italic; color: var(--accent-on-dark); }
[data-font="sans"] .final h2 em { font-style: normal; }
.final p.sub { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 52ch; margin: 0 auto 36px; }
.final .cta-pair { margin: 0 auto; }
.final .choice.primary,
.final .choice.ghost {
  background: rgba(255,255,255,0.05);
  border-color: var(--line-on-dark);
  color: #fff;
  box-shadow: none;
}
.final .choice.primary:hover,
.final .choice.ghost:hover { border-color: #fff; background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.final .choice.primary .c-arrow,
.final .choice.ghost .c-arrow { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.28); }
.final .choice.primary:hover .c-arrow,
.final .choice.ghost:hover .c-arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.final .owner-link { margin: 26px auto 0; color: rgba(255,255,255,0.66); }
.final .owner-link .a { color: var(--accent-on-dark); }
.final .owner-link:hover { color: #fff; }

.signup {
  margin: 34px auto 0;
  display: flex;
  gap: 10px;
  max-width: 460px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
}
.signup input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
}
.signup input::placeholder { color: rgba(255,255,255,0.45); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy-2);
  color: rgba(255,255,255,0.7);
  padding-block: 56px 36px;
}
.footer .f-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { .footer .f-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .f-blurb { font-size: 14.5px; max-width: 32ch; line-height: 1.5; }
.footer .f-tagline {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent-on-dark);
  letter-spacing: 0.02em;
}
.footer .f-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer .f-col a {
  display: block;
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  padding: 6px 0;
  transition: color 0.16s;
}
.footer .f-col a:hover { color: #fff; }
.footer .f-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Testimonials carousel nav (arrows show on mobile only)
   ============================================================ */
.quotes-wrap { position: relative; }
.owner-link-m { display: none; }
.q-nav {
  display: none;
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.q-nav svg { width: 20px; height: 20px; }
.q-nav:hover { border-color: var(--ink); }
.q-nav:active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.q-nav.prev { left: -6px; }
.q-nav.next { right: -6px; }

/* ============================================================
   Mobile refinements (do not affect desktop)
   ============================================================ */
@media (max-width: 720px) {
  /* Hero: CTA buttons sit ABOVE the Top 1% box, tighter gap */
  .e-right { flex-direction: column; }
  .e-right .cta-pair { order: 1; }
  .e-right .owner-link-m { order: 2; display: inline-flex; }
  .e-right .e-aside { order: 3; }
  .e-left .owner-link { display: none; }
  .editorial .e-grid { gap: 6px; min-height: 0; align-content: start; align-items: stretch; }

  /* Testimonials become a swipeable one-at-a-time carousel */
  .quotes {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 34px;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin-inline: 4px;
  }
  /* arrows below the card so they never cover the quote text */
  .quotes-wrap { padding-bottom: 60px; }
  .q-nav { display: flex; top: auto; bottom: 0; transform: none; }
  .q-nav.prev { left: 50%; right: auto; margin-left: -44px; }
  .q-nav.next { right: 50%; left: auto; margin-right: -44px; }

  /* Outcomes: drop the eyebrow and center the heading on mobile */
  #outcomes .section-head { text-align: center; }
  #outcomes .section-head .eyebrow { display: none; }
}

@media (max-width: 520px) {
  /* Metrics: clean centered list with hairline dividers, no card boxes */
  .metrics {
    display: block;
    grid-template-columns: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    margin-top: 26px;
  }
  .metric {
    background: transparent;
    text-align: center;
    align-items: center;
    padding: 26px 6px;
    border-bottom: 1px solid var(--line);
  }
  .metric:last-child { border-bottom: 0; }
  .metric .num { font-size: 46px; }
  .metric .cap { max-width: 30ch; margin-inline: auto; }
  .metric .note { padding-top: 10px; }
}
