/* Just Blake Media site styles. One file, every page.

   Palette is the cobalt system recorded in the vault's Key Decisions
   (Sep 2026): navy, cobalt, lime, Archivo. Applied with the two-colour
   discipline, gapped type scale, pill buttons, ringed cards, short
   sections and header behaviour read out of the wynwithus.com reference
   (work/active/JBM Website Reference - wynwithus 2026-09-04.md). On dark
   grounds the accent is lime, on light grounds it is cobalt, so each
   section carries exactly one accent. */

:root {
  --navy: #0b1528;
  --navy-2: #142234;
  --navy-3: #1c2e48;
  --dark: #070d18;
  --cobalt: #1554e8;
  --cobalt-deep: #0f3ea8;
  --cobalt-tint: #e8eefd;
  --lime: #c9f24a;
  --bg: #f5f7fb;
  --white: #ffffff;
  --ink: #0b1528;
  --ink-2: #58657a;
  --border: #dde3ec;
  --border-strong: #c9d2e0;
  --ring: 0 0 0 1px rgba(11, 21, 40, 0.1);
  --ring-white: 0 0 0 1px rgba(255, 255, 255, 0.12);
  --shadow-header: 0 8px 32px -12px rgba(0, 0, 0, 0.6);
  --r: 8px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 32px;
  --content: 1400px;
  --measure: 1120px;
  --header-h: 65px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --focus: 3px solid var(--cobalt);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible, .on-dark summary:focus-visible,
.site-header a:focus-visible, .site-header button:focus-visible,
.site-footer a:focus-visible { outline-color: var(--lime); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100;
  min-height: 44px; padding: 0.75rem 1rem; transform: translateY(-160%);
  background: var(--lime); color: var(--navy); font-weight: 700; text-decoration: none; border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(100% - 40px, var(--content)); margin-inline: auto; }
.shell-narrow { width: min(100% - 40px, var(--measure)); margin-inline: auto; }

/* ---------- type ---------- */

h1, .display {
  font-variation-settings: "wdth" 80, "wght" 650;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.display-xl { font-size: 60px; }
.display-lg { font-size: 48px; }
.display-md { font-size: 20px; line-height: 1.4; }
.accent { color: var(--cobalt); }
.on-dark .accent, .on-navy .accent { color: var(--lime); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--cobalt);
  font-size: 11px; font-weight: 650; letter-spacing: 0.3em; line-height: 1.5; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; opacity: 0.7; }
.on-dark .eyebrow, .on-navy .eyebrow { color: var(--lime); }

.lede { max-width: 62ch; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.on-dark .lede, .on-navy .lede { color: rgba(255, 255, 255, 0.78); }
.prose { max-width: 64ch; color: var(--ink-2); font-size: 16px; line-height: 24px; }
.prose p + p { margin-top: 0.9rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.on-dark .prose { color: rgba(255, 255, 255, 0.78); }
.on-dark .prose strong { color: var(--white); }

.on-dark { background: var(--navy-2); color: var(--white); }
.on-navy { background: var(--navy); color: var(--white); }
.on-white { background: var(--white); }
.on-bg, .on-cloud, .on-mint { background: var(--bg); }

.section { padding-block: 64px; }
.section-lg { padding-block: 80px; }
.section-sm { padding-block: 40px; }
.section-intro { max-width: 60rem; margin-bottom: 40px; }
.section-intro.is-centered { margin-inline: auto; text-align: center; }
.section-intro.is-centered .eyebrow { justify-content: center; }
.section-intro.is-centered .lede { margin-inline: auto; }
.section-intro .lede { margin-top: 1rem; }
.section-intro .btn-row { margin-top: 1.5rem; }
.is-centered .btn-row { justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ---------- buttons: pills, rings, no blurred shadows ---------- */

.btn, .nav-cta, .audit-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  height: 48px; padding: 0 32px;
  border: 0; border-radius: 9999px;
  background: var(--cobalt); color: var(--white);
  box-shadow: var(--ring);
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; line-height: 1; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--navy); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 14px; height: 14px; flex: 0 0 auto; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.on-dark .btn, .on-navy .btn, .hero .btn, .page-hero .btn { background: var(--white); color: var(--navy); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.on-dark .btn:hover, .on-navy .btn:hover, .hero .btn:hover, .page-hero .btn:hover { background: var(--lime); color: var(--navy); }
.btn-ghost, .on-dark .btn-ghost, .on-navy .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost { background: transparent; color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn-ghost:hover, .on-dark .btn-ghost:hover, .on-navy .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }
.on-white .btn-ghost, .on-bg .btn-ghost, .on-cloud .btn-ghost, .cta-band .btn-ghost { color: var(--navy); box-shadow: 0 0 0 1px rgba(11, 21, 40, 0.22); }
.on-white .btn-ghost:hover, .on-bg .btn-ghost:hover, .on-cloud .btn-ghost:hover, .cta-band .btn-ghost:hover { background: var(--bg); color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.btn-sm { height: 40px; padding: 0 24px; font-size: 12px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px;
  color: var(--cobalt); font-size: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.text-link::after { content: "\2192"; font-size: 1rem; transition: transform 0.2s var(--ease); }
.text-link:hover { gap: 0.8rem; }
.on-dark .text-link, .on-navy .text-link { color: var(--lime); }

.badge {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; text-align: center;
  padding: 6px 14px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px rgba(201, 242, 74, 0.35);
  color: var(--white); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.badge b { color: var(--lime); font-weight: 700; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ---------- header: sticky, blurred gradient, hides down and reveals up ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(11, 21, 40, 0.98), rgba(20, 34, 52, 0.92));
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  box-shadow: var(--shadow-header);
  color: var(--white);
  transition: transform 0.3s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(calc(-1 * var(--header-h))); }
.nav-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; height: var(--header-h); }
.wordmark {
  display: inline-flex; align-items: center; gap: 0.6rem; height: 44px;
  color: var(--white); font-size: 13px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.wordmark::before { content: ""; width: 1.25rem; height: 2px; background: var(--lime); }
.nav-list { display: flex; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  height: 36px; padding: 8px 12px; border: 0; border-radius: 8px;
  background: transparent; color: rgba(255, 255, 255, 0.85);
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"], .has-menu.is-current > .nav-link {
  color: var(--white); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.nav-link[aria-current="page"]::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); margin-left: 0.2rem; }
.nav-disclosure svg { width: 10px; height: 10px; opacity: 0.7; transition: transform 0.2s var(--ease); }
.nav-disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu-panel {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 50;
  display: none; width: 449px; padding: 20px 20px 24px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border); border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.menu-panel.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; animation: panel-in 0.15s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.menu-col h3 { margin: 0 0 8px; color: var(--ink-2); font-size: 11px; font-weight: 650; letter-spacing: 0.15em; text-transform: uppercase; }
.menu-col a { display: block; padding: 6px 0; color: var(--ink); font-size: 14px; text-decoration: none; }
.menu-col a:hover, .menu-col a:focus-visible { color: var(--cobalt); }
.menu-col a[aria-current="page"] { color: var(--cobalt); font-weight: 600; }
.nav-cta { height: 40px; padding: 0 20px; background: var(--white); color: var(--navy); font-size: 12px; box-shadow: none; }
.nav-cta:hover { background: var(--lime); color: var(--navy); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--white); cursor: pointer;
}
.menu-toggle-bars { position: relative; display: block; width: 20px; height: 2px; background: currentColor; transition: background-color 0.2s; }
.menu-toggle-bars::before, .menu-toggle-bars::after { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; content: ""; transition: transform 0.2s var(--ease); }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 39; display: none; background: rgba(7, 13, 24, 0.6); }
.drawer-backdrop.is-open { display: block; }
.drawer-close, .nav-cta-mobile { display: none; }

/* ---------- home hero: gradient, glow pools, arc ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  padding: 72px 0 140px;
  background:
    radial-gradient(circle at 20% 20%, rgba(21, 84, 232, 0.45), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(201, 242, 74, 0.16), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  text-align: center;
}
.hero-arc { position: absolute; right: 0; bottom: -1px; left: 0; z-index: 0; width: 100%; height: auto; }
.hero-inner { position: relative; z-index: 1; max-width: 900px; display: grid; justify-items: center; gap: 24px; }
.hero h1 { font-size: 60px; max-width: 18ch; }
.hero h1 .accent { display: block; color: var(--lime); }
.hero .lede { max-width: 60ch; margin: 0 auto; color: rgba(255, 255, 255, 0.8); text-align: center; }
.hero .btn-row { justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: title-blur-in 1s ease-out forwards; }
  .hero .badge, .hero .lede, .hero .btn-row { animation: rise-in 0.7s var(--ease-out) both; }
  .hero .lede { animation-delay: 0.15s; }
  .hero .btn-row { animation-delay: 0.3s; }
}
/* Starts at 0.6 opacity, not 0, so the headline still paints as the LCP element. */
@keyframes title-blur-in { from { opacity: 0.6; filter: blur(6px); transform: translateY(10px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- stat card floating over the hero edge ---------- */

.stat-band { position: relative; z-index: 2; padding: 0 0 48px; background: var(--white); }
.stat-card {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100% - 40px, 1150px); margin: -64px auto 0;
  padding: 24px 16px; border-radius: var(--r);
  background: var(--white); box-shadow: var(--ring), 0 24px 48px -32px rgba(11, 21, 40, 0.35);
}
.stat-card > div { display: grid; gap: 8px; padding: 8px 16px; text-align: center; }
.stat-card > div + div { border-left: 1px solid var(--border); }
.stat-card dt { order: 2; color: var(--ink-2); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase; }
.stat-card dd { order: 1; margin: 0; color: var(--navy); font-size: 40px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1; }
.stat-card .num { font: inherit; }
.stat-note { max-width: 70ch; margin: 20px auto 0; padding-inline: 20px; text-align: center; color: var(--ink-2); font-size: 14px; line-height: 20px; }

/* ---------- marquee strip ---------- */

.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marquee-x 60s linear infinite; }
.marquee-track ul { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee-track li { display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; color: var(--ink-2); font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; white-space: nowrap; }
.marquee-track li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.marquee-track li b { color: var(--ink); font-weight: 600; }
@keyframes marquee-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- carousel: centred card, blurred neighbours ---------- */

.carousel { position: relative; }
.carousel-viewport { position: relative; height: 620px; overflow: hidden; }
.carousel-viewport.is-wide { height: 440px; }
.carousel-track { position: relative; height: 100%; }
.carousel-item {
  position: absolute; top: 50%; left: 50%;
  width: 450px; height: 563px;
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0; filter: blur(4px); pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), filter 0.5s var(--ease);
}
.is-wide .carousel-item { width: 640px; height: 400px; }
.carousel-item.is-prev { transform: translate(calc(-50% - 460px), -50%) scale(0.82); opacity: 0.45; filter: blur(3px); }
.carousel-item.is-next { transform: translate(calc(-50% + 460px), -50%) scale(0.82); opacity: 0.45; filter: blur(3px); }
.is-wide .carousel-item.is-prev { transform: translate(calc(-50% - 620px), -50%) scale(0.82); }
.is-wide .carousel-item.is-next { transform: translate(calc(-50% + 620px), -50%) scale(0.82); }
.carousel-item.is-active { transform: translate(-50%, -50%) scale(1); opacity: 1; filter: none; pointer-events: auto; z-index: 2; }
.tile {
  position: relative; display: flex; align-items: flex-end; width: 100%; height: 100%; overflow: hidden;
  border-radius: var(--r-xl); background: #000; color: var(--white); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(201, 242, 74, 0.18);
}
.is-wide .tile { border-radius: var(--r); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.7s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 21, 40, 0) 35%, rgba(11, 21, 40, 0.92) 100%); }
.tile-body { position: relative; z-index: 1; display: grid; gap: 8px; width: 100%; padding: 24px 80px 24px 24px; }
.tile-tag { color: var(--lime); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.tile h3 { font-size: 20px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; text-transform: uppercase; }
.tile p { color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 20px; max-width: 46ch; }
.tile-arrow {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--lime); color: var(--navy); transition: transform 0.3s var(--ease);
}
.tile:hover .tile-arrow { transform: translateX(3px); }
.tile-arrow svg { width: 18px; height: 18px; }
.tile.is-pending { background: var(--navy-3); align-items: center; }
.tile.is-pending::after { background: none; }
.tile.is-pending .tile-body { padding: 24px; text-align: center; justify-items: center; }
.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.carousel-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: transparent; color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); cursor: pointer;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.carousel-btn:hover { background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }
.carousel-btn svg { width: 16px; height: 16px; }
.carousel-more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- spotlight ---------- */

.spotlight { background: linear-gradient(180deg, var(--navy-2), var(--navy-3)); text-align: center; }
.spotlight .lede { margin: 16px auto 0; }
.spotlight .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- trust: story block + stat tiles ---------- */

.trust-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: stretch; }
.story-visual { margin: 0; padding: 32px; border-radius: var(--r); background: var(--navy-2); color: var(--white); box-shadow: var(--ring); }
.lanes { width: 100%; height: auto; overflow: visible; }
.lanes text { font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; fill: rgba(255, 255, 255, 0.72); }
.lanes .lane-label-strong { font-size: 22px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; letter-spacing: 0; fill: var(--white); }
.lanes .lane { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; }
.lanes .lane.lane-ai { stroke: var(--lime); }
.lanes .spine { fill: none; stroke: var(--white); stroke-width: 3; }
.lanes .node { fill: var(--navy-2); stroke: var(--white); stroke-width: 2; }
.lanes .node.node-accent { fill: var(--lime); stroke: var(--lime); }
.story-visual figcaption { margin-top: 20px; color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 24px; max-width: 60ch; }
.story-visual figcaption strong { color: var(--white); font-weight: 600; }
.stat-tiles { display: grid; gap: 12px; margin: 0; }
.stat-tile { display: grid; gap: 6px; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); }
.stat-tile dd { margin: 0; order: 1; color: var(--cobalt); font-size: 36px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
.stat-tile dt { order: 2; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.ticks { display: grid; grid-template-columns: repeat(52, minmax(0, 1fr)); gap: 3px; margin-top: 20px; }
.ticks i { display: block; height: 18px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.ticks i.lit { background: var(--lime); }

/* ---------- process card with the difference aside ---------- */

.process-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding: 40px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); box-shadow: 0 24px 48px -36px rgba(11, 21, 40, 0.3);
}
.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--cobalt); color: var(--cobalt); font-size: 14px; font-weight: 600; letter-spacing: 0.05em;
}
.step h3 { font-size: 20px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; letter-spacing: -0.01em; line-height: 28px; text-transform: uppercase; }
.step p { margin-top: 6px; max-width: 48ch; color: var(--ink-2); font-size: 14px; line-height: 22px; }
.price-row { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
.price-row li { display: flex; justify-content: space-between; gap: 1rem; padding: 8px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--ink-2); }
.price-row li strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.difference {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--r-2xl);
  background: var(--navy-2); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.05);
}
.difference::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(201, 242, 74, 0.25); box-shadow: inset 0 0 0 40px rgba(201, 242, 74, 0.04), inset 0 0 0 80px rgba(201, 242, 74, 0.03); pointer-events: none; }
.difference h3 { font-size: 24px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; text-transform: uppercase; line-height: 1.1; }
.difference h3 .accent { color: var(--lime); }
.difference ul { display: grid; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.difference li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, 0.86); font-size: 14px; line-height: 20px; }
.difference li::before { content: "\2713"; flex: 0 0 auto; color: var(--lime); font-weight: 700; }
.difference .btn { position: relative; z-index: 1; background: var(--white); color: var(--navy); }
.difference .btn:hover { background: var(--lime); }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 64px 0 72px;
  background: radial-gradient(circle at 15% 10%, rgba(21, 84, 232, 0.35), transparent 50%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white); text-align: center;
}
.page-hero-grid { display: block; }
.page-hero-copy { max-width: 880px; margin-inline: auto; display: grid; justify-items: center; gap: 16px; }
.page-hero h1 { font-size: 60px; max-width: 20ch; }
.page-hero .eyebrow { color: var(--lime); margin: 0; }
.page-hero .lede { color: rgba(255, 255, 255, 0.8); text-align: center; margin: 0 auto; }
.page-hero .btn-row { justify-content: center; margin-top: 8px; }
.page-hero-aside {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center;
  max-width: 560px; margin: 24px auto 0; padding: 14px 20px; border-radius: var(--r);
  background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 20px; text-align: left;
}
.page-hero-aside strong { color: var(--lime); font-size: 28px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
.page-hero-aside .text-link { grid-column: 2; min-height: 0; margin-top: 2px; font-size: 12px; color: var(--lime); }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 8px; padding: 0; color: rgba(255, 255, 255, 0.55); font-size: 12px; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: 0.5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current="page"] { color: var(--white); }

/* ---------- cards ---------- */

.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cards > li { min-width: 0; }
.cards-2 > li { grid-column: span 6; }
.cards-3 > li { grid-column: span 4; }
.card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; height: 100%;
  padding: 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); color: var(--ink); text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
a.card:hover, a.card:focus-visible { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 20px 40px -28px rgba(11, 21, 40, 0.4); }
.on-dark .card, .on-navy .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); color: var(--white); }
.card-tag { margin: 0; color: var(--cobalt); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.on-dark .card-tag { color: var(--lime); }
.card h3, .card h4 { font-size: 20px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; letter-spacing: -0.01em; line-height: 28px; text-transform: uppercase; }
.card p { color: var(--ink-2); font-size: 14px; line-height: 22px; }
.on-dark .card p { color: rgba(255, 255, 255, 0.74); }
.card .card-figure { color: var(--cobalt); font-size: 36px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
.on-dark .card .card-figure { color: var(--lime); }
.card .card-figure small { display: block; margin-top: 6px; color: var(--ink-2); font-size: 13px; font-variation-settings: normal; font-weight: 400; line-height: 18px; }
.card.is-pending { border-style: dashed; background: transparent; }
.card.is-pending h3, .card.is-pending .card-figure { color: var(--ink-2); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cobalt-tint); color: var(--cobalt); }
.card-icon svg { width: 20px; height: 20px; }
.on-dark .card-icon { background: rgba(201, 242, 74, 0.12); color: var(--lime); }
.rail-wrap { min-width: 0; }

/* ---------- features ---------- */

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); }
.on-dark .feature { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.feature h3 { margin-bottom: 6px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; line-height: 20px; text-transform: uppercase; }
.feature p { color: var(--ink-2); font-size: 14px; line-height: 22px; }
.on-dark .feature p { color: rgba(255, 255, 255, 0.74); }

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split-copy { min-width: 0; }
.split-visual { position: relative; margin: 0; }
.split-visual img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--ring); }
.split.is-flipped .split-copy { order: 2; }
.friction { max-width: 30ch; margin: 20px 0 0; color: var(--ink); font-size: 20px; font-weight: 500; line-height: 28px; }
.on-dark .friction { color: var(--white); }
.label-h { margin: 0 0 8px; color: var(--cobalt); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase; }
.on-dark .label-h { color: var(--lime); }
.detail { margin-top: 20px; }
.outcome { position: relative; margin-top: 20px; padding: 20px 24px; border-radius: var(--r); background: var(--cobalt-tint); }
.on-dark .outcome { background: rgba(255, 255, 255, 0.06); }
.outcome p { color: var(--ink); font-weight: 500; line-height: 24px; }
.on-dark .outcome p { color: var(--white); }
.on-dark .outcome .label-h { color: var(--lime); }
.routing { margin: 20px 0 0; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.on-dark .routing { color: rgba(255, 255, 255, 0.72); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.platforms li { padding: 6px 14px; border-radius: 9999px; background: var(--white); box-shadow: var(--ring); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.platforms li.is-core { background: var(--navy); color: var(--white); box-shadow: none; }
.on-dark .platforms li { background: rgba(255, 255, 255, 0.06); color: var(--white); box-shadow: var(--ring-white); }

/* ---------- comparison table (the pricing-table treatment) ---------- */

.compare { min-width: 0; }
.compare-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); background: var(--white); }
.compare-table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; vertical-align: top; line-height: 20px; border-top: 1px solid var(--border); }
.compare-table thead th { border-top: 0; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.compare-table thead th small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.6); font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.compare-table thead th.col-me { color: var(--lime); }
.compare-table tbody th { width: 18%; color: var(--ink); font-size: 11px; font-weight: 650; letter-spacing: 0.15em; text-transform: uppercase; }
.compare-table td { color: var(--ink-2); }
.compare-table td.is-yes { color: var(--ink); font-weight: 500; }
.compare-table td.col-me { background: var(--bg); }

/* ---------- tabs ---------- */

.tabs { min-width: 0; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.tab { height: 40px; padding: 0 24px; border: 0; border-radius: 9999px; background: transparent; color: var(--ink-2); box-shadow: var(--ring); font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.tab:hover { color: var(--ink); background: var(--white); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); box-shadow: none; }
.tabpanel[hidden] { display: none; }
.tabpanel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 32px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); }
.panel-facts { display: grid; gap: 12px; margin: 0; align-content: start; }
.panel-facts div { padding: 12px 16px; border-radius: var(--r); background: var(--bg); }
.panel-facts dt { color: var(--cobalt); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.panel-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 20px; }

/* ---------- ladder, fixes ---------- */

.ladder-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 32px; }
.ladder-head p { max-width: 52ch; color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 24px; }
.rungs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: rung -1; }
.rung { position: relative; counter-increment: rung; padding: 24px; border-radius: var(--r); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.rung::before { display: block; margin-bottom: 12px; color: var(--lime); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; content: "Rung " counter(rung); text-transform: uppercase; }
.rung.is-today { border-color: rgba(201, 242, 74, 0.5); }
.rung.is-today::after { position: absolute; top: -12px; right: 16px; padding: 4px 12px; border-radius: 9999px; background: var(--lime); color: var(--navy); font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; content: "Most teams stop here"; text-transform: uppercase; }
.rung h3 { font-size: 20px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; line-height: 28px; text-transform: uppercase; }
.rung p { margin-top: 8px; color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 22px; }
.fixes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fix { display: grid; gap: 10px; padding: 24px; border-radius: var(--r); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.fix .fix-heard { color: var(--white); font-size: 18px; font-weight: 500; line-height: 26px; }
.fix .fix-heard::before { content: "\201C"; }
.fix .fix-heard::after { content: "\201D"; }
.fix .fix-label { color: var(--lime); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.fix p:last-child { color: rgba(255, 255, 255, 0.74); font-size: 14px; line-height: 22px; }

/* ---------- timeline, tiers ---------- */

.timeline { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); }
.timeline .when { color: var(--cobalt); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; padding-top: 4px; }
.timeline h3 { margin-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; line-height: 20px; text-transform: uppercase; }
.timeline p { color: var(--ink-2); font-size: 14px; line-height: 22px; max-width: 64ch; }
.tiers { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.tier { grid-column: span 4; display: grid; gap: 14px; align-content: start; min-width: 0; padding: 32px 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); }
.tier.is-lead { background: var(--navy-2); color: var(--white); border-color: rgba(255, 255, 255, 0.1); }
.tier .tag { color: var(--cobalt); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.tier.is-lead .tag { color: var(--lime); }
.tier .price { font-size: 48px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
.tier .price small { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; font-variation-settings: normal; font-weight: 400; }
.tier.is-lead .price small { color: rgba(255, 255, 255, 0.66); }
.tier h3 { font-size: 20px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; line-height: 28px; text-transform: uppercase; }
.tier p { color: var(--ink-2); font-size: 14px; line-height: 22px; }
.tier.is-lead p { color: rgba(255, 255, 255, 0.74); }
.tier ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.tier.is-lead ul { color: rgba(255, 255, 255, 0.86); }
.tier li { display: flex; gap: 10px; align-items: flex-start; }
.tier li::before { content: "\2713"; flex: 0 0 auto; color: var(--cobalt); font-weight: 700; }
.tier.is-lead li::before { color: var(--lime); }
.tier .btn { margin-top: 8px; justify-self: start; }
.tier.is-lead .btn { background: var(--white); color: var(--navy); }
.tier.is-lead .btn:hover { background: var(--lime); }

/* ---------- FAQ as ringed cards ---------- */

.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: var(--white); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(11, 21, 40, 0.04); }
.faq summary { position: relative; padding: 20px 56px 20px 24px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; line-height: 20px; text-transform: uppercase; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 24px; right: 24px; width: 10px; height: 10px; border-right: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); content: ""; transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--cobalt); }
.faq .answer { padding: 0 24px 20px; color: var(--ink-2); font-size: 14px; line-height: 22px; max-width: 70ch; }
.faq .answer p + p { margin-top: 8px; }
.on-dark .faq details { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); color: var(--white); }
.on-dark .faq .answer { color: rgba(255, 255, 255, 0.74); }
.on-dark .faq summary::after { border-color: var(--lime); }
.learn-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.learn-grid > :first-child { min-width: 0; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--r-2xl); background: var(--navy-2); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.05); }
.aside-card .eyebrow { color: var(--lime); }
.aside-card h2, .aside-card h3 { font-size: 24px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; line-height: 1.1; text-transform: uppercase; }
.aside-card p { margin-top: 12px; color: rgba(255, 255, 255, 0.76); font-size: 14px; line-height: 22px; }
.aside-card dl { display: grid; gap: 10px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; }
.aside-card dl div { display: grid; grid-template-columns: 5rem 1fr; gap: 12px; }
.aside-card dt { color: var(--lime); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; line-height: 20px; text-transform: uppercase; }
.aside-card dd { margin: 0; color: rgba(255, 255, 255, 0.86); line-height: 20px; }
.aside-card .text-link { margin-top: 16px; color: var(--lime); }

/* ---------- CTA band ---------- */

.cta-band { padding: 64px 0; background: var(--white); border-top: 1px solid var(--border); text-align: center; }
.cta-band h2 { font-size: 48px; max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin: 16px auto 0; color: var(--ink-2); font-size: 18px; line-height: 28px; }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }

/* ---------- form ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.form-copy h2 { margin-bottom: 16px; }
.audit-form { display: grid; gap: 16px; padding: 32px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.field { display: grid; gap: 6px; }
.field label { color: rgba(255, 255, 255, 0.9); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.field label .optional { margin-left: 8px; color: rgba(255, 255, 255, 0.5); font-weight: 500; letter-spacing: 0.05em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06); color: var(--white);
  font-family: inherit; font-size: 16px; line-height: 1.4; appearance: none;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.4); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 1px; background: rgba(255, 255, 255, 0.1); }
.field select option { background: var(--navy); color: var(--white); }
.field-select { position: relative; }
.field-select::after { position: absolute; right: 18px; bottom: 20px; width: 8px; height: 8px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); content: ""; pointer-events: none; transform: rotate(45deg); }
.field-error { display: none; color: var(--lime); font-size: 13px; font-weight: 500; line-height: 18px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--lime); }
.field.has-error .field-error { display: block; }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.audit-submit { width: 100%; background: var(--white); color: var(--navy); box-shadow: none; }
.audit-submit:hover { background: var(--lime); color: var(--navy); }
.audit-submit[aria-disabled="true"] { cursor: progress; opacity: 0.72; }
.audit-note { color: rgba(255, 255, 255, 0.6); font-size: 13px; line-height: 18px; }
.audit-note a { color: var(--lime); }
.audit-status { padding: 14px 16px; border-radius: var(--r); background: rgba(201, 242, 74, 0.12); border: 1px solid rgba(201, 242, 74, 0.4); color: var(--white); font-size: 14px; line-height: 20px; }
.audit-status[hidden] { display: none; }
.audit-status.is-error { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.audit-status strong { display: block; margin-bottom: 4px; font-weight: 600; }

/* contact ways */
.contact-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.way { display: grid; gap: 8px; height: 100%; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); }
.way strong { font-size: 18px; font-weight: 600; line-height: 26px; overflow-wrap: anywhere; }
.way p { color: var(--ink-2); font-size: 14px; line-height: 20px; }
.way a { color: var(--cobalt); text-decoration: none; }
.way a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.about-side { display: grid; gap: 16px; }
.fact-list { display: grid; gap: 0; margin: 0; padding: 4px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); }
.fact-list div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.fact-list div:first-child { border-top: 0; }
.fact-list dt { color: var(--cobalt); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; line-height: 20px; text-transform: uppercase; }
.fact-list dd { margin: 0; font-size: 14px; line-height: 20px; }
.no-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.no-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 16px; line-height: 24px; }
.no-list li::before { content: "\2715"; flex: 0 0 auto; color: var(--cobalt); font-weight: 700; }
.portrait-frame {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center;
  border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy), var(--navy-3)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6); text-align: center; padding: 1rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.8;
}

/* ---------- ai instructions ---------- */

.facts { max-width: 72ch; }
.facts h2 { margin: 32px 0 12px; font-size: 20px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; line-height: 28px; text-transform: uppercase; }
.facts ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); line-height: 24px; }
.facts li + li { margin-top: 6px; }
.facts p { color: var(--ink-2); line-height: 24px; }
.facts-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); background: var(--white); }
.facts table { width: 100%; border-collapse: collapse; font-size: 14px; }
.facts th, .facts td { padding: 12px 16px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 20px; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.facts th { width: 30%; color: var(--cobalt); font-size: 11px; font-weight: 650; letter-spacing: 0.15em; text-transform: uppercase; }

/* ---------- footer ---------- */

.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 56px 0 40px; font-size: 14px; line-height: 20px; }
.footer-brand p { max-width: 36ch; margin: 16px 0 20px; }
.footer-brand .btn-row { gap: 8px; }
.footer-brand .btn { height: 40px; padding: 0 20px; font-size: 12px; }
.footer-brand .btn-primary { background: var(--lime); color: var(--navy); box-shadow: none; }
.footer-brand .btn-primary:hover { background: var(--white); color: var(--navy); }
.footer-brand .btn-ghost { color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }
.footer-brand .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }
.footer-col h2 { margin: 0 0 12px; color: var(--white); font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-flex; align-items: center; min-height: 32px; color: rgba(255, 255, 255, 0.72); text-decoration: none; overflow-wrap: anywhere; transition: color 0.2s var(--ease); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--lime); }
.footer-legal { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; padding: 20px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); font-size: 12px; line-height: 18px; }
.footer-privacy { max-width: 80ch; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .carousel-item.is-prev { transform: translate(calc(-50% - 380px), -50%) scale(0.78); }
  .carousel-item.is-next { transform: translate(calc(-50% + 380px), -50%) scale(0.78); }
  .is-wide .carousel-item.is-prev, .is-wide .carousel-item.is-next { opacity: 0; }
}

@media (max-width: 900px) {
  .display-xl, .hero h1, .page-hero h1 { font-size: 40px; }
  .display-lg, .cta-band h2 { font-size: 32px; }
  .section { padding-block: 48px; }
  .section-lg { padding-block: 56px; }
  .stat-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 0; }
  .stat-card > div + div { border-left: 0; }
  .stat-card > div:nth-child(even) { border-left: 1px solid var(--border); }
  .trust-grid, .process-card, .split, .split.is-flipped, .learn-grid, .form-grid, .about-grid, .tabpanel, .ladder-head { grid-template-columns: 1fr; }
  .split.is-flipped .split-copy { order: 0; }
  .aside-card { position: static; }
  .rungs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fixes, .features, .contact-ways { grid-template-columns: 1fr; }
  .cards-3 > li, .cards-2 > li { grid-column: span 6; }
  .tiers .tier { grid-column: span 12; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .carousel-viewport { height: 520px; }
  .carousel-item { width: min(450px, 82vw); height: 480px; }
  .carousel-viewport.is-wide { height: 360px; }
  .is-wide .carousel-item { width: 88vw; height: 320px; }
  .carousel-item.is-prev, .carousel-item.is-next { opacity: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
  /* backdrop-filter would make the header the containing block for the fixed drawer */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--navy); }
  .site-header.is-hidden { transform: none; }
  .display-xl, .hero h1, .page-hero h1 { font-size: 30px; line-height: 1.05; }
  .display-lg, .cta-band h2 { font-size: 30px; }
  .lede { font-size: 16px; line-height: 26px; }
  .hero { min-height: 0; padding: 48px 0 96px; }
  .nav-grid { grid-template-columns: auto 1fr auto; gap: 8px; }
  .menu-toggle { display: inline-flex; grid-column: 3; }
  .nav-cta { display: none; }
  .primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: 88vw; max-width: 380px; padding: 20px 20px 24px;
    background: var(--navy); color: var(--white); overflow-y: auto;
    display: none; flex-direction: column;
  }
  .nav-grid.is-open .primary-nav { display: flex; animation: drawer-in 0.3s var(--ease-out); }
  @keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; padding-top: 52px; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-link { width: 100%; justify-content: space-between; height: 52px; padding: 0 4px; border-radius: 0; font-size: 14px; font-variation-settings: "wdth" 80, "wght" 650; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
  .nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { background: transparent; box-shadow: none; }
  .nav-link[aria-current="page"] { color: var(--lime); }
  .has-menu .menu-panel { position: static; display: none; width: auto; margin: 0 0 12px; padding: 0 0 4px 12px; background: transparent; border: 0; box-shadow: none; grid-template-columns: 1fr; gap: 0; color: var(--white); }
  .has-menu .menu-panel.is-open { display: grid; animation: none; }
  .menu-col h3 { color: rgba(255, 255, 255, 0.5); margin-top: 8px; }
  .menu-col a { color: rgba(255, 255, 255, 0.86); padding: 8px 0; }
  .menu-col a:hover, .menu-col a[aria-current="page"] { color: var(--lime); }
  .nav-cta-mobile { display: block; margin-top: auto; padding-top: 20px; border-bottom: 0 !important; }
  .nav-cta-mobile .btn { width: 100%; background: var(--white); color: var(--navy); }
  .drawer-close { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--white); font-size: 28px; line-height: 1; cursor: pointer; }
  .stat-card { margin-top: -48px; padding: 16px 8px; }
  .stat-card dd { font-size: 30px; }
  .stat-card dt { font-size: 10px; letter-spacing: 0.15em; }
  .rungs { grid-template-columns: 1fr; }
  .rung.is-today::after { right: 12px; }
  .cards-3 > li, .cards-2 > li { grid-column: 1 / -1; }
  .process-card, .difference, .aside-card, .audit-form, .tabpanel, .story-visual { padding: 24px 20px; }
  .btn { padding: 12px 24px; height: auto; min-height: 48px; white-space: normal; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 24px; }
  .page-hero { padding: 40px 0 48px; }
  .page-hero-aside { grid-template-columns: 1fr; }
  .tile-body { padding-right: 24px; }
}

/* Reduced motion: remove travel and loops, keep meaning. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .carousel-item, .tile img, .btn, .card, .nav-link, .text-link { transition: none; }
  .marquee-track { animation: none; }
  .menu-panel.is-open { animation: none; }
  .nav-grid.is-open .primary-nav { animation: none; }
  a.card:hover, .tile:hover img, .btn:hover svg { transform: none; }
}
