/* Outpilot — marketing site
   One dark base theme across every page (review, 18 Nov 2026). Palette and faces
   follow the platform's "Cybernetic Precision" direction, with the logo's teal as
   the brand accent. The cyan glow marks primary actions and featured cards only,
   applied the same way everywhere (--glow). Fonts are self-hosted (SIL OFL). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* surfaces */
  --bg: #060d13;
  --bg-2: #08131c;          /* alternate band */
  --surface: #0b1925;       /* cards */
  --surface-2: #10233a;     /* raised, hover */
  --line: rgba(160, 200, 230, 0.12);
  --line-2: rgba(160, 200, 230, 0.22);

  /* text */
  --fg: #e8f0f6;
  --fg-2: #b9c7d3;
  --fg-3: #8d9fb0;
  --white: #ffffff;

  /* brand and state */
  --brand: #3ca8a4;         /* logo teal */
  --signal: #00f2d4;        /* platform primary */
  --sky: #00b4d8;
  --amber: #ffb703;
  --warn: #ff9c9c;

  /* the one glow, for primary buttons and featured cards */
  --glow: 0 0 0 1px rgba(0, 242, 212, 0.2), 0 24px 64px -28px rgba(0, 242, 212, 0.5);
  --glow-strong: 0 0 0 1px rgba(0, 242, 212, 0.36), 0 28px 72px -24px rgba(0, 242, 212, 0.62);
  --shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.8);

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ── base ─────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--white);
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
p, li, dd { text-wrap: pretty; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  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: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--signal);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.15em; height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 24px; height: 24px; }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lead {
  font-size: clamp(17px, 0.6vw + 14px, 19px);
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 62ch;
}

/* ── buttons and links ────────────────────────────────────── */
.btn {
  --h: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15.5px/1.1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { --h: 42px; padding: 0 17px; font-size: 14.5px; }

.btn--primary {
  background: var(--signal);
  color: var(--bg);
  box-shadow: var(--glow);
}
.btn--primary:hover { background: #4dfbe3; box-shadow: var(--glow-strong); }

.btn--ghost {
  border-color: var(--line-2);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(160, 200, 230, 0.36); }

.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--signal);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── cards: one style, glow only on featured ones ─────────── */
.card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 41, 61, 0.6), rgba(9, 21, 32, 0.6));
  transition: border-color 0.25s, box-shadow 0.25s;
}
.card--glow {
  border-color: rgba(0, 242, 212, 0.28);
  box-shadow: var(--glow), var(--shadow);
}

/* ── header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}
.site-header.is-scrolled {
  background: rgba(6, 13, 19, 0.84);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--fg-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current="page"] { color: var(--white); background: rgba(0, 242, 212, 0.1); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 16px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s var(--ease);
  }
  .nav-links { flex-direction: column; gap: 2px; }
  .nav-links a { padding: 13px 12px; font-size: 17px; border-radius: 12px; }
  .site-nav .btn { --h: 50px; font-size: 15.5px; }
  /* dim the page under the open menu; a tap on it closes the menu (site.js) */
  .site-header.nav-open::after {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: -1;
    background: rgba(6, 13, 19, 0.72);
  }
}

/* ── hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(55% 55% at 78% 28%, rgba(0, 242, 212, 0.13), transparent 62%),
    radial-gradient(45% 45% at 6% 0%, rgba(0, 180, 216, 0.12), transparent 70%),
    var(--bg);
  padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(160, 200, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 200, 230, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 25%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 60% 25%, #000 25%, transparent 75%);
  pointer-events: none;
}
.hero--home { padding-bottom: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 4.6vw + 6px, 66px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.04;
}
.hero--page h1 { font-size: clamp(36px, 3.6vw + 10px, 56px); }
.hero-lead {
  margin-top: 24px;
  font-size: clamp(17.5px, 0.7vw + 14px, 20px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-partners {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--fg-3);
  max-width: 52ch;
}
.hero-partners strong { color: var(--fg); font-weight: 600; }

/* ── the illustrative prospect brief ──────────────────────── */
.brief {
  position: relative;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  padding: 24px;
  border-radius: 22px;
  font-size: 15.5px;
  line-height: 1.45;
}
.brief.card--glow { box-shadow: var(--glow), 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.brief-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag--fit { color: var(--signal); background: rgba(0, 242, 212, 0.1); border: 1px solid rgba(0, 242, 212, 0.3); }
.tag--wait { color: var(--amber); background: rgba(255, 183, 3, 0.1); border: 1px solid rgba(255, 183, 3, 0.3); }

.brief-co { display: flex; align-items: center; gap: 14px; }
.brief-logo {
  display: grid; place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  color: var(--white);
  font: 800 19px/1 var(--font-display);
}
.brief-logo--warm { background: linear-gradient(135deg, #f0b35c, #c86b2e); }
.brief-logo--cool { background: linear-gradient(135deg, #7c8cf8, #4256c9); }
.brief-name { color: var(--white); font: 700 18px/1.3 var(--font-display); }
.brief-meta { color: var(--fg-2); font-size: 14px; }

.brief-label { color: var(--fg-2); margin: 20px 0 10px; font-size: 12px; }
.brief-checks { display: grid; gap: 8px; }
.brief-checks li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--white);
  line-height: 1.4;
}
.brief-checks .tick { color: var(--signal); }
.src {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5fd6f0;
  font-size: 12.5px;
  font-weight: 600;
}
.src .icon { width: 13px; height: 13px; }

.brief-person { display: flex; align-items: center; gap: 12px; }
.brief-role { color: var(--white); font-weight: 600; }
.brief-ok { display: flex; align-items: center; gap: 6px; color: var(--signal); font-size: 14px; }
.brief-ok .icon { width: 14px; height: 14px; }

.brief-draft {
  padding: 14px 16px;
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: rgba(60, 168, 164, 0.12);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
.brief-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.brief-approve {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--bg);
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: var(--glow);
}
.brief figcaption, .example-note {
  margin-top: 14px;
  color: var(--fg-3);
  font-size: 12.5px;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .js .brief .seq {
    opacity: 0;
    transform: translateY(6px);
    animation: seq-in 0.55s var(--ease) forwards;
    animation-delay: calc(var(--i) * 110ms + 350ms);
  }
}
@keyframes seq-in { to { opacity: 1; transform: none; } }

/* ── client logo carousel ─────────────────────────────────── */
.clients {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 32px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line);
}
.clients-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.clients-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-3);
  font: 500 12px/1.4 var(--font-body);
  cursor: pointer;
}
.marquee-toggle:hover { color: var(--fg); border-color: rgba(160, 200, 230, 0.36); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track,
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.client {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 10px;
  text-align: center;
}
/* every client sits on the same white tile: logos keep their own colours, and the
   strip still reads as one set on the dark page */
.client-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 84px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--white);
}
.client-tile img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.client-tile img:not([width]) { width: auto; height: auto; max-width: 136px; max-height: 62px; }
.client-name {
  font: 600 13.5px/1.3 var(--font-display);
  color: var(--fg-2);
  white-space: nowrap;
}
/* no logo yet: the name stands in for it on the tile */
.client-wordmark {
  font: 700 16px/1.2 var(--font-display);
  color: #0b1620;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 22px; animation: none; }
  .marquee-track > [aria-hidden="true"] { display: none; }  /* the duplicate set only, not hidden labels inside a tile */
  .marquee-toggle { display: none; }
}

/* ── sections ─────────────────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--band {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }
.section h2 { font-size: clamp(32px, 2.6vw + 18px, 48px); font-weight: 800; }
.section-head .lead { margin-top: 18px; }
.section-more { margin-top: clamp(32px, 4vw, 48px); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split .lead { margin-top: 20px; }

.points { display: grid; gap: 22px; margin-top: 34px; }
.points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.point-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0, 242, 212, 0.08);
  border: 1px solid rgba(0, 242, 212, 0.22);
  color: var(--signal);
}
.point-icon .icon { width: 20px; height: 20px; }
.points h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 4px; }
.points p { color: var(--fg-2); font-size: 16px; }

.hero--page .section-head { margin-bottom: 0; }

.side-card { padding: clamp(24px, 3vw, 34px); }
.side-card .mono { color: var(--fg-3); margin-bottom: 14px; }
.side-card > p { color: var(--fg); }
.side-card-links { display: grid; gap: 10px; margin-top: 20px; }

/* generic outreach vs Outpilot */
.compare { display: grid; gap: 16px; }
.mail { padding: 20px 22px; font-size: 15px; line-height: 1.6; }
.mail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.mail-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.mail--outpilot .mail-tag { color: var(--signal); }
.mail-subject { color: var(--white); font-weight: 600; margin-bottom: 8px; }
.mail-body p + p { margin-top: 8px; }
.mail--generic { background: rgba(255, 255, 255, 0.025); border-style: dashed; }
.mail--generic .mail-subject,
.mail--generic .mail-body { color: var(--fg-3); }
.mail--outpilot .mail-body { color: var(--fg); }
.ph {
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(255, 156, 156, 0.12);
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: 0.86em;
}
.mail-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mail-flags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.mail--generic .mail-flags li { color: var(--warn); background: rgba(255, 156, 156, 0.08); border: 1px solid rgba(255, 156, 156, 0.22); }
.mail--outpilot .mail-flags li { color: var(--signal); background: rgba(0, 242, 212, 0.08); border: 1px solid rgba(0, 242, 212, 0.24); }
.mail-flags .icon { width: 13px; height: 13px; }

/* five steps: compact rail (home) */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--sky));
  opacity: 0.5;
}
.step { position: relative; }
.step-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: var(--bg-2);
  color: var(--signal);
  font: 600 14px/1 var(--font-mono);
  box-shadow: 0 0 0 6px var(--bg-2);
}
.step:last-child .step-node { background: var(--signal); border-color: var(--signal); color: var(--bg); box-shadow: 0 0 0 6px var(--bg-2), var(--glow); }
.step-phase { color: var(--signal); margin-bottom: 6px; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p:last-child { color: var(--fg-2); font-size: 15.5px; }

/* five steps: detailed (How it works page) */
.steps-detail { display: grid; gap: 18px; counter-reset: step; }
.step-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
}
.step-card .step-node { margin: 0; box-shadow: none; background: var(--surface); }
.step-card:last-child .step-node { background: var(--signal); color: var(--bg); box-shadow: var(--glow); }
.step-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--fg-2); }
.step-controls { display: grid; gap: 10px; align-content: start; }
.step-controls .mono { display: block; color: var(--fg-3); font-size: 12px; margin-bottom: 2px; }
.step-controls li { display: grid; grid-template-columns: auto 1fr; gap: 10px; color: var(--fg); font-size: 15.5px; }
.step-controls .icon { color: var(--signal); margin-top: 4px; width: 16px; height: 16px; }

/* who it's for + results */
.who-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.who-grid .lead { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--fg);
  font-size: 14px;
}
.result { padding: clamp(26px, 3vw, 36px); }
.result-tag { color: var(--fg-3); margin-bottom: 14px; }
.result-figure {
  font: 800 clamp(40px, 3vw + 22px, 60px)/1 var(--font-display);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--signal), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.result-label { margin-top: 10px; color: var(--fg); font-size: 17px; }
.result-quote { display: grid; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.result-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-3); line-height: 1.4; }
.result-quote strong { color: var(--white); font-weight: 600; }

/* quotes */
.quote-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 4vw, 44px);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 28px;
}
.quote-tag {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 242, 212, 0.3);
  background: rgba(0, 242, 212, 0.08);
  color: var(--signal);
  font-size: 12.5px;
  font-weight: 600;
}
.quote-body p { color: var(--fg); font-size: 16.5px; line-height: 1.65; }
.quote-body p + p { margin-top: 10px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14px; color: var(--fg-3); line-height: 1.4; }
.quote figcaption strong { color: var(--white); font-weight: 600; }
.quote-source { color: var(--signal); text-decoration: none; font-weight: 600; }
.quote-source:hover { text-decoration: underline; }
.quote--feature { padding: clamp(28px, 4vw, 48px); }
.quote--feature .quote-body p {
  color: var(--white);
  font: 600 clamp(22px, 1.4vw + 14px, 30px)/1.38 var(--font-display);
  letter-spacing: -0.015em;
}
.quote--feature .quote-mark {
  display: block;
  height: 0.55em;
  font: 800 100px/1 var(--font-display);
  color: var(--signal);
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--sky));
  color: var(--white);
  font: 700 14px/1 var(--font-display);
  letter-spacing: 0.02em;
  object-fit: cover;
}
.avatar--sm { width: 38px; height: 38px; font-size: 12.5px; }

/* the company's logo in place of initials (Partners page testimonials) */
.org-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 52px;
  height: 46px;
  padding: 6px 9px;
  border-radius: 10px;
  background: var(--white);
}
.org-logo img { display: block; }
/* a logo drawn for dark backgrounds */
.org-logo--dark { background: #0b1620; box-shadow: inset 0 0 0 1px var(--line-2); }

/* testimonials wall (Partners page) */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.testimonial-col { display: grid; gap: 20px; }

/* official partnerships */
.partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.partner { padding: clamp(24px, 3vw, 32px); }
/* partner logo: a square tile; the crest sits on white with room around it, Tomorrow.City's teal square fills it */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  margin-bottom: 22px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line-2);
}
.partner-logo img { width: 72px; height: 72px; }
.partner-logo--fill img { width: 100%; height: 100%; object-fit: cover; }
.partner-tag { color: var(--signal); margin-bottom: 10px; }
.partner h3 { font-size: 23px; font-weight: 700; margin-bottom: 10px; }
.partner p { color: var(--fg-2); margin-bottom: 16px; }

/* about */
.mission-stack { display: grid; gap: 16px; }
.mission { padding: 26px 28px; }
.mission .mono { color: var(--signal); margin-bottom: 10px; }
.mission p:last-child { color: var(--white); font: 600 20px/1.45 var(--font-display); letter-spacing: -0.01em; }
.manifesto { margin-top: 26px; padding-left: 18px; border-left: 2px solid var(--brand); }
.manifesto p { color: var(--fg); font: 600 19px/1.5 var(--font-display); }
.manifesto p + p { margin-top: 6px; color: var(--signal); }

.portrait {
  display: block;
  flex: none;
  width: 120px; height: 120px;
  border-radius: 22px;
  object-fit: cover;
  background: var(--surface-2); /* shows through the Fosters' cut-out */
}
.portrait--lg { width: 184px; height: 184px; border-radius: 30px; box-shadow: 0 0 0 1px var(--line-2); }
.founder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3vw, 40px);
}
.founder-tag { color: var(--signal); margin-bottom: 6px; }
.founder h3 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.founder p:not(.founder-tag) { color: var(--fg-2); max-width: 68ch; margin-bottom: 16px; }
.board-title { color: var(--fg-3); margin: 44px 0 16px; }
.advisors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.advisor { padding: 26px; }
.advisor .portrait { margin-bottom: 24px; }
.advisor h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.advisor p { color: var(--fg-2); font-size: 15px; }
.board-note { margin-top: 28px; color: var(--fg-2); max-width: 68ch; }

/* faq */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .lead { margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  color: var(--white);
  font: 600 18px/1.35 var(--font-display);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon {
  width: 20px; height: 20px;
  color: var(--signal);
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--signal); }
.answer { padding: 0 44px 24px 4px; color: var(--fg-2); }
.answer p + p { margin-top: 10px; }
.answer a { color: var(--signal); font-weight: 600; }

/* ── call to action + form (every page ends here) ─────────── */
.cta {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(0, 180, 216, 0.12), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(0, 242, 212, 0.08), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.cta h2 { font-size: clamp(32px, 2.6vw + 18px, 48px); }
.cta-copy .lead { margin-top: 20px; }
.receive { margin-top: 30px; padding: 22px 24px; }
.receive .mono { color: var(--fg-3); margin-bottom: 14px; }
.receive ul { display: grid; gap: 12px; }
.receive li { display: grid; grid-template-columns: auto 1fr; gap: 12px; color: var(--fg); }
.receive li .icon { color: var(--signal); margin-top: 4px; }
.receive-next { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 15px; }

.form-card { padding: clamp(24px, 3vw, 36px); border-radius: 22px; }
.form-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--fg); }
.optional { font-weight: 400; color: var(--fg-3); }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--white);
  font: 400 16px/1.4 var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 4px rgba(0, 242, 212, 0.16);
}
.field-hint { font-size: 13.5px; color: var(--fg-3); }
.field-error { display: none; font-size: 13.5px; color: var(--warn); font-weight: 500; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--warn); }
.field.is-invalid .field-error { display: block; }
.field.is-invalid .field-hint { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 13.5px; color: var(--fg-3); }
.form-note a { color: var(--signal); }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--warn); }
.form-status[data-state="info"] { color: var(--signal); }

.form-success { text-align: center; padding: 20px 4px; }
.form-success:focus { outline: none; }
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(0, 242, 212, 0.1);
  color: var(--signal);
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--fg-2); }
.form-success .btn { margin-top: 22px; }

/* ── footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  color: var(--fg-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 40px;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { margin-bottom: 8px; max-width: 38ch; }
.footer-brand a { color: var(--white); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-b2b a { color: var(--signal); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-nav .mono { color: var(--fg-3); margin-bottom: 12px; }
.footer-nav li + li { margin-top: 8px; }
.footer-nav a { color: var(--fg); text-decoration: none; }
.footer-nav a:hover { color: var(--signal); }
.footer-base {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--fg-3);
}

/* ── 404 ──────────────────────────────────────────────────── */
.not-found { text-align: center; }
.not-found-code { color: var(--signal); margin-bottom: 12px; }
.not-found .lead { margin: 18px auto 32px; }
.not-found .hero-actions { justify-content: center; }

/* privacy policy (legal text) */
.legal-section { padding-top: clamp(8px, 2vw, 24px); }
.legal { max-width: 74ch; color: var(--fg-2); font-size: 16px; line-height: 1.7; }
.legal h2 {
  font-size: clamp(21px, 0.8vw + 16px, 26px);
  font-weight: 700;
  margin: 52px 0 16px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 30px 0 10px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 8px; padding-left: 4px; }
.legal li::marker { color: var(--signal); }
.legal strong { color: var(--fg); font-weight: 600; }
.legal a { color: var(--signal); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { text-decoration-thickness: 2px; }
.legal-contact { list-style: none !important; padding-left: 0 !important; }
.legal-contact li { padding-left: 0; }

/* ── reveal on scroll ─────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .step-card { grid-template-columns: 56px minmax(0, 1fr); }
  .step-controls { grid-column: 2; }
}

@media (max-width: 959px) {
  .hero-grid,
  .split,
  .who-grid,
  .faq-grid,
  .cta-grid,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brief { justify-self: start; }
  .faq-aside { position: static; }
  .advisors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 18px;
    padding-bottom: 30px;
  }
  .step::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand), var(--sky));
    opacity: 0.45;
  }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .step-node { grid-row: 1 / span 3; margin-bottom: 0; }
  .step-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step-controls { grid-column: auto; }
  .quote-pair,
  .testimonials,
  .partners,
  .advisors,
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .field-row { gap: 0; }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .portrait--lg { width: 136px; height: 136px; border-radius: 26px; }
  .advisor .portrait { width: 100px; height: 100px; border-radius: 20px; } /* stays below Rich's 136 */
  .client { padding: 0 7px; }
  .client-tile { width: 140px; height: 74px; padding: 10px 12px; }
}

@media (max-width: 480px) {
  .brand img, .footer-brand img { height: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brief { padding: 18px; font-size: 15px; }
  .brief-checks li { grid-template-columns: auto 1fr; }
  .brief-checks .src { grid-column: 2; justify-self: start; margin-top: -2px; }
  .answer { padding-right: 4px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* a wide logo leaves the name too little room beside it on a phone: put the name underneath */
  .quote figcaption:has(.org-logo) { flex-wrap: wrap; }
}
