/* ============================================================
   ThinkGradient — XRA edition
   Standalone stylesheet for index-xra.html, in the palette and type of the XRA framework
   ============================================================ */

:root {
  --bg: #f3f1ec;
  --bg-alt: #f3f1ec;
  --surface: #fbfaf7;
  --surface-2: #f6f4ef;
  --line: #d9d5cc;
  --line-2: #bdb8ad;
  --text: #121212;
  --text-dim: #3b3934;
  --text-faint: #6b6862;

  --accent: #d7261e;
  --accent-ink: #a81e17;
  --accent-soft: #fbe4e2;
  --ok: #1f7a4d;
  --ok-soft: #e1f1e8;
  --warn: #a86a00;
  --warn-soft: #f8ecd4;
  --bad: #d7261e;
  --code-bg: #121212;

  --gradient: linear-gradient(#121212, #121212);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

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

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font);
  background: radial-gradient(900px 520px at 0% 0%, rgba(18, 18, 18, 0.049), transparent 68%),
    radial-gradient(760px 480px at 100% 8%, rgba(18, 18, 18, 0.07), transparent 68%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); text-wrap: balance; }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.015em; }

a { color: inherit; }
ul, ol { list-style: none; }

::selection {
  background: rgba(18, 18, 18, 0.112);
  color: var(--text);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-200%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow { max-width: 820px; }

.grad,
.tone {
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 241, 236, 0.8);
  border-bottom: 1px solid rgba(18, 18, 18, 0.05);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: none;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--gradient);
  box-shadow: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  background: rgba(251, 250, 247, 0.45);
  filter: blur(3px);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.nav-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--text-faint);
  white-space: nowrap;
}
.nav-tabbed .nav-trust {
  padding-left: 0;
  border-left: 0;
}
.view-tabs {
  display: flex;
  gap: 2px;
  margin-right: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.04);
}
.view-tab {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.view-tab:hover { color: var(--text); }
.view-tab[aria-current="page"] {
  background: #fbfaf7;
  color: var(--text);
  box-shadow: none;
}
.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a86a00;
  box-shadow: 0 0 0 3px rgba(168, 106, 0, 0.2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-tabbed .nav-links { margin-left: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: background-color 0.35s ease;
}
.brand-text,
.nav-trust { transition: color 0.35s ease, border-color 0.35s ease; }


/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: none;
}
.btn-outline {
  background: rgba(251, 250, 247, 0.75);
  border-color: var(--line-2);
  color: var(--text);
  box-shadow: none;
}
.btn-outline:hover {
  background: #fbfaf7;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text-dim);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
  text-decoration: none;
}
.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.text-link:hover::after { transform: translateX(3px); }

/* ---------- shared section furniture ---------- */
.band {
  position: relative;
  padding: 112px 0;
}
.band.alt {
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.28), transparent 24%),
    var(--bg-alt);
  border-top: 1px solid rgba(18, 18, 18, 0.035);
  border-bottom: 1px solid rgba(18, 18, 18, 0.035);
}
.eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.band h2 { text-align: center; }
.band-lead {
  max-width: 690px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 1.04rem;
}
.tag {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(215, 38, 30, 0.15);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.038);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-ink);
}

/* ---------- dark chapters ----------
   These re-scope the colour tokens, so components inside them switch palette
   without their own overrides. Only hard-coded light surfaces need a rule. */
.band-dark,
.path-team,
.not,
.convert,
.ov-dark {
  --text: #fbfaf7;
  --text-dim: #d4d0c7;
  --text-faint: #a29d93;
  --line: rgba(251, 250, 247, 0.14);
  --line-2: rgba(251, 250, 247, 0.26);
  --surface: rgba(251, 250, 247, 0.05);
  --surface-2: rgba(251, 250, 247, 0.04);
  --accent: #f0574d;
  --accent-ink: #f6a29b;
  --accent-soft: rgba(215, 38, 30, 0.5);
  --ok: #5fc794;
  --warn: #e3a646;
  --bad: #f0574d;
  --gradient: linear-gradient(#d7261e, #d7261e);
  color: var(--text);
  color-scheme: dark;
}
.band-dark {
  background: radial-gradient(900px 560px at 10% 0%, rgba(18, 18, 18, 0.168), transparent 62%),
    radial-gradient(760px 520px at 94% 16%, rgba(18, 18, 18, 0.18), transparent 64%),
    linear-gradient(180deg, #121212, #121212);
}
/* No overflow: hidden here; it would break the sticky architecture map */
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(251, 250, 247, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(251, 250, 247, 0.035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(1100px 720px at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(1100px 720px at 50% 0%, #000, transparent 78%);
  pointer-events: none;
}
.band-dark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(251, 250, 247, 0.525), rgba(251, 250, 247, 0.75), transparent);
  pointer-events: none;
}
.band-dark > .wrap {
  position: relative;
  z-index: 1;
}

:is(.band-dark, .path-team, .convert, .footer, .ov-dark) ::selection {
  background: rgba(251, 250, 247, 0.224);
  color: #fff;
}
:is(.band-dark, .path-team, .convert) .btn-outline {
  background: rgba(251, 250, 247, 0.06);
  border-color: rgba(251, 250, 247, 0.2);
  color: var(--text);
  box-shadow: none;
}
:is(.band-dark, .path-team, .convert) .btn-outline:hover {
  background: rgba(251, 250, 247, 0.11);
  border-color: var(--accent);
  color: #fff;
}
:is(.band-dark, .path-team, .convert) .tag {
  border-color: rgba(240, 87, 77, 0.24);
  background: rgba(251, 250, 247, 0.056);
}

/* ---------- hero ---------- */
.hero,
.page-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(rgba(251, 250, 247, 0.4), rgba(251, 250, 247, 0.62)),
    radial-gradient(760px circle at 20% 24%, rgba(18, 18, 18, 0.112), transparent 67%),
    radial-gradient(700px circle at 82% 28%, rgba(18, 18, 18, 0.13), transparent 65%);
  border-bottom: 1px solid var(--line);
}
.hero { padding: 104px 0 112px; }
.page-hero { padding: 92px 0 76px; }
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(18, 18, 18, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 18, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: -24% 0 auto;
  height: 760px;
  opacity: 0.7;
  background: radial-gradient(520px circle at 32% 42%, rgba(18, 18, 18, 0.14), transparent 64%),
    radial-gradient(520px circle at 68% 42%, rgba(18, 18, 18, 0.14), transparent 64%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-kicker {
  display: inline-block;
  margin-bottom: 30px;
  padding: 8px 18px;
  border: 1px solid rgba(215, 38, 30, 0.18);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.72);
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a81e17;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero h1,
.page-hero h1 {
  max-width: 1100px;
  margin: 0 auto;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
.hero-sub {
  max-width: 700px;
  margin: 28px auto 0;
  font-size: 1.12rem;
  color: var(--text-dim);
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.75);
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-chips li::before,
.panel-list li::before,
.portfolio-list li::before,
.inc::before,
.outcomes li::before,
.convert-list li::before,
.fit-list li::before,
.premise-keep li::before,
.ov-col-prod li::before,
.ov-includes li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--check) center / 11px no-repeat, var(--gradient);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hero-fine {
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--text-faint);
}
.hero-fine a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.hero-fine a:hover { text-decoration: underline; }

/* ---------- trust strip + pathway entries ---------- */
.trust {
  position: relative;
  z-index: 2;
  margin-top: -52px;
  padding-bottom: 104px;
}
.trust-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  padding: 22px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251, 250, 247, 0.92);
  box-shadow: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.trust-stats {
  display: flex;
  gap: 34px;
  padding-right: 30px;
  border-right: 1px solid var(--line);
}
.trust-stats li { display: grid; gap: 4px; }
.trust-stats strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.trust-stats span {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.trust-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.45;
  text-decoration: none;
}
.trust-lead img {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fbfaf7, 0 0 0 4px rgba(18, 18, 18, 0.245);
}
.trust-lead strong {
  color: var(--text);
  transition: color 0.2s ease;
}
.trust-lead:hover strong { color: var(--accent); }
.trust-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.entry-eyebrow {
  margin: 64px 0 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.entry {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 28px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.entry::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.07), rgba(18, 18, 18, 0.06));
  pointer-events: none;
}
.entry:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 38, 30, 0.22);
  box-shadow: none;
}
.entry-for {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.entry strong {
  max-width: 32ch;
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text);
}
.entry-go {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-faint);
}
.entry-go::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.entry > * {
  position: relative;
  z-index: 1;
}
.entry-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px;
}
.entry-points li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
}
.entry:hover .entry-go::after { transform: translateX(3px); }

/* ---------- architecture explorer ---------- */
.arch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
  margin-top: 56px;
}
.arch-map {
  position: sticky;
  top: 96px;
}
.arch-canvas {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(rgba(18, 18, 18, 0.1) 1px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(160deg, #fbfaf7, #f3f1ec);
  box-shadow: none;
}
.arch-layers { display: grid; }
.arch-link {
  position: relative;
  justify-self: center;
  width: 2px;
  height: 22px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.315), rgba(18, 18, 18, 0.45));
}
.arch-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
  animation: flow 2.4s ease-in-out infinite;
}
.arch-link:nth-of-type(2)::after { animation-delay: 0.4s; }
.arch-link:nth-of-type(3)::after { animation-delay: 0.8s; }
@keyframes flow {
  0% { top: -3px; opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { top: calc(100% - 3px); opacity: 0; }
}
.arch-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #fbfaf7;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.arch-node:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 38, 30, 0.35);
  box-shadow: none;
}
.arch-node[aria-selected="true"] {
  border-color: transparent;
  background: linear-gradient(#fbfaf7, #fbfaf7) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 0 0 4px rgba(18, 18, 18, 0.063);
}
.arch-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(18, 18, 18, 0.056);
  color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}
.arch-icon svg { width: 18px; height: 18px; }
.arch-node[aria-selected="true"] .arch-icon {
  background: var(--gradient);
  color: #fff;
}
.arch-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.arch-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.arch-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--text-faint);
}
.arch-rail {
  display: grid;
  grid-template-rows: auto repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-left: 16px;
  border-left: 2px dashed rgba(215, 38, 30, 0.24);
}
.arch-rail-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.arch-rail .arch-node {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
.arch-hint {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.arch-panels { min-width: 0; }
.arch-panel {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
}
.arch-panel[hidden] { display: none; }
.arch-panel:not([hidden]) { animation: panel-in 0.35s ease both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.panel-kicker {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.panel-head h3 { font-size: 1.45rem; }
.panel-missions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mission-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid rgba(215, 38, 30, 0.18);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.049);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mission-chip:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.panel-lead {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.96rem;
}
.panel-label {
  margin: 20px 0 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.panel-list {
  display: grid;
  gap: 8px;
}
.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.panel-list li::before {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background-size: 10px, auto;
}
.code {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 14px;
  background: var(--code-bg);
  box-shadow: inset 0 0 0 1px rgba(251, 250, 247, 0.06);
  color: #d9d5cc;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.65;
  tab-size: 2;
}
.code .c { color: #8a857b; }
.code .k,
.code .a { color: #f6a29b; }
.code .s { color: #fbfaf7; }
.code .n { color: #f3d9a4; }
.code .t { color: #d4d0c7; }
.dash {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.dash li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, #fbfaf7, var(--surface-2));
}
.dash-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-faint);
}
.dash-value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.dash-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ok);
}
.dash-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.panel-out {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.panel-out span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.arch-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.stack li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.8);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* explorer on the dark band */
.band-dark .arch-canvas {
  background: radial-gradient(rgba(251, 250, 247, 0.075) 1px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(160deg, rgba(251, 250, 247, 0.06), rgba(251, 250, 247, 0.015));
}
.band-dark .arch-link { background: linear-gradient(180deg, rgba(251, 250, 247, 0.42), rgba(251, 250, 247, 0.6)); }
.band-dark .arch-link::after { box-shadow: none; }
.band-dark .arch-node {
  background: #121212;
  box-shadow: none;
}
.band-dark .arch-node:hover { border-color: rgba(240, 87, 77, 0.45); }
.band-dark .arch-node[aria-selected="true"] {
  background: linear-gradient(#1b1a19, #1b1a19) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 0 0 4px rgba(251, 250, 247, 0.07);
}
.band-dark .arch-icon { background: rgba(251, 250, 247, 0.084); }
.band-dark .arch-rail { border-color: rgba(240, 87, 77, 0.28); }
.band-dark .arch-panel { background: linear-gradient(160deg, #1b1a19, #121212); }
.band-dark .code {
  background: #121212;
  box-shadow: inset 0 0 0 1px rgba(251, 250, 247, 0.08);
}
.band-dark .dash li { background: rgba(251, 250, 247, 0.04); }
.band-dark .stack li { background: rgba(251, 250, 247, 0.05); }
:is(.band-dark, .path-team, .convert, .ov-dark) .mission-chip {
  border-color: rgba(240, 87, 77, 0.3);
  background: rgba(251, 250, 247, 0.07);
}
:is(.band-dark, .path-team, .convert, .ov-dark) .mission-chip:hover {
  border-color: #d7261e;
  background: #d7261e;
  color: #fff;
}

/* ---------- deliverables bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.shot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.shot:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 38, 30, 0.2);
  box-shadow: none;
}
.shot-repo { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.shot-eval,
.shot-pipeline { grid-column: 6 / span 7; }
.shot-obs { grid-column: 1 / span 7; }
.shot-score { grid-column: 8 / span 5; }
.shot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.shot-head h3 { font-size: 1.14rem; }
.shot-head p {
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.sample-tag {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.08);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.window {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf7;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  white-space: nowrap;
}
.window-bar i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e4e0d8;
}
.window-bar span {
  margin-left: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
}
.window-dark {
  border-color: #2a2926;
  background: var(--code-bg);
}
.window-dark .window-bar {
  border-color: #2a2926;
  background: #1b1a19;
  color: #a29d93;
}
.window-dark .window-bar i { background: #3a3935; }
.tree {
  flex: 1;
  margin: 0;
  padding: 18px 18px 20px;
  overflow-x: auto;
  color: #a29d93;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.9;
  white-space: pre;
}
.tree .d { color: #f6a29b; }
.tree .f { color: #e4e0d8; }
.tree .c { color: #8a857b; }
.repo-foot {
  padding: 12px 18px;
  border-top: 1px solid #2a2926;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #a29d93;
}
.repo-foot span { color: #fbfaf7; }
.table-scroll { overflow-x: auto; }
.eval-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.eval-table th,
.eval-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
.eval-table thead th {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.eval-table tbody th { font-weight: 500; }
.eval-table td {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
}
.eval-table td:nth-child(3) {
  color: var(--text);
  font-weight: 500;
}
.eval-table tbody tr:last-child th,
.eval-table tbody tr:last-child td { border-bottom: 0; }
.pass {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.09);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--ok);
}
.pass::before { content: "✓"; }
.shot-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
}
.pill-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ok);
  color: #fff;
  font-weight: 500;
}
.pill-ok::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--check) center / contain no-repeat;
}
.pipe {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding-top: 4px;
}
.pipe::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: var(--line-2);
  opacity: 0.45;
}
.pipe li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  text-align: center;
}
.pipe li::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--check) center / 13px no-repeat, var(--ok);
  box-shadow: 0 0 0 4px var(--surface-2);
}
.pipe strong {
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
}
.pipe span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.obs-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.obs-tiles li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf7;
}
.obs-tiles span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-faint);
}
.obs-tiles strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.obs-chart {
  position: relative;
  height: 150px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(rgba(18, 18, 18, 0.05) 1px, transparent 1px) 0 0 / 100% 25%,
    #fbfaf7;
}
.obs-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.obs-line {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.obs-threshold {
  stroke: var(--bad);
  stroke-width: 1;
  stroke-dasharray: 5 5;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}
.obs-gate {
  position: absolute;
  top: calc(25.3% - 18px);
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--bad);
}
.obs-incident {
  position: absolute;
  left: 63.33%;
  top: 14.67%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--bad);
  box-shadow: 0 0 0 4px rgba(215, 38, 30, 0.16);
}
.obs-incident span {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  padding: 3px 8px;
  border-radius: 6px;
  background: #fbfaf7;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text);
  white-space: nowrap;
}
.obs-timeline {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.obs-timeline li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--bad);
  border-radius: 10px;
  background: #fbfaf7;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
}
.obs-timeline li:nth-child(2) { border-left-color: var(--warn); }
.obs-timeline li.is-ok { border-left-color: var(--ok); }
.obs-timeline time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
}
.obs-timeline strong {
  margin-right: 6px;
  font-weight: 600;
  color: var(--text);
}
.score-list {
  display: grid;
  gap: 6px;
}
.score-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaf7;
}
.score-letter {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}
.score-text {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}
.score-text strong {
  font-size: 0.8rem;
  font-weight: 600;
}
.score-text span {
  font-size: 0.7rem;
  color: var(--text-faint);
}
.score-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ok);
}
.score-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.portfolio-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 500;
}
.portfolio-note {
  max-width: 700px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--text-dim);
}
.portfolio-note strong { color: var(--text); }
.sample-note {
  margin-top: 10px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ---------- scenarios + readiness check ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}
.scenario {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.88);
  box-shadow: none;
}
.scenario::before {
  content: "“";
  position: absolute;
  top: -18px;
  right: 16px;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(215, 38, 30, 0.08);
}
.scenario p {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.01em;
}
.scenario figcaption {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 14px;
}
.scenario-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.scenario-fix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.scenario-fix > span {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scenario-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.check {
  margin-top: 40px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(600px circle at 100% 0%, rgba(18, 18, 18, 0.07), transparent 60%),
    radial-gradient(600px circle at 0% 0%, rgba(18, 18, 18, 0.056), transparent 60%),
    #fbfaf7;
  box-shadow: none;
}
.check-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.check-kicker {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.check-head h3 { font-size: 1.55rem; }
.check-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}
.check-count {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
}
.check-track {
  position: relative;
  flex: 1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.08);
}
.check-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--gradient);
  transition: width 0.35s ease;
}
.q-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.q {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251, 250, 247, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.q.is-answered {
  border-color: rgba(215, 38, 30, 0.24);
  box-shadow: none;
}
.q legend {
  float: left;
  width: 100%;
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}
.q-no {
  flex: none;
  padding-top: 0.15em;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--accent);
}
.q-options {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
}
.q-option { position: relative; }
.q-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.q-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fbfaf7;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.q-option input:hover + span {
  border-color: rgba(215, 38, 30, 0.45);
  color: var(--text);
}
.q-option input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.q-option input:checked + span {
  gap: 7px;
  border-width: 1.5px;
  box-shadow: none;
}
.q-option input:checked + span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.q-option input[value="yes"]:checked + span {
  border-color: rgba(31, 122, 77, 0.55);
  background: #e1f1e8;
  color: var(--ok);
}
.q-option input[value="partial"]:checked + span {
  border-color: rgba(168, 106, 0, 0.5);
  background: #f8ecd4;
  color: var(--warn);
}
.q-option input[value="no"]:checked + span {
  border-color: rgba(215, 38, 30, 0.5);
  background: #fbe4e2;
  color: var(--bad);
}
.check-result {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.check-pending {
  padding: 18px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  text-align: center;
  font-size: 0.93rem;
  color: var(--text-dim);
}
.check-pending[hidden] { display: none; }
.result-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.score-ring {
  --pct: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(var(--text) calc(var(--pct) * 1%), rgba(18, 18, 18, 0.1) 0);
}
.score-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fbfaf7;
}
.score-ring > div {
  position: relative;
  display: grid;
  justify-items: center;
}
.score-ring strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}
.score-ring span {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
}
.result-band {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.result-text {
  max-width: 62ch;
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.result-label {
  margin: 26px 0 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.gap-list {
  display: grid;
  gap: 10px;
}
.gap {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf7;
}
.gap-state {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.is-gap .gap-state { background: rgba(215, 38, 30, 0.09); color: var(--bad); }
.is-partial .gap-state { background: rgba(168, 106, 0, 0.1); color: var(--warn); }
.is-clear .gap-state { background: rgba(31, 122, 77, 0.09); color: var(--ok); }
.gap-body strong {
  display: block;
  font-size: 0.95rem;
}
.gap-body span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-dim);
}
.gap-missions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.roadmap-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 26px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(215, 38, 30, 0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.056), rgba(18, 18, 18, 0.06));
}
.roadmap-copy h4 { font-size: 1.12rem; }
.roadmap-copy p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.roadmap-fields {
  display: flex;
  gap: 10px;
}
.roadmap-fields input {
  min-width: 240px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fbfaf7;
  color: var(--text);
  font: inherit;
  font-size: 0.93rem;
}
.roadmap-fields input:focus,
.capture-form input:focus,
.capture-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 18, 18, 0.084);
}
.roadmap-msg {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ok);
}
.roadmap-msg:empty { margin-top: -16px; }
.roadmap-msg.is-error { color: var(--bad); }
.result-reset {
  margin-top: 18px;
  text-align: center;
}

/* ---------- premise: what expires, what holds ---------- */
.premise {
  background: radial-gradient(1000px 560px at 50% -6%, rgba(18, 18, 18, 0.21), transparent 64%),
    radial-gradient(720px 520px at 100% 100%, rgba(18, 18, 18, 0.16), transparent 66%),
    radial-gradient(620px 460px at 0% 78%, rgba(18, 18, 18, 0.12), transparent 66%),
    linear-gradient(180deg, #121212, #121212);
}
.timeline {
  --label-w: 236px;
  --gap: 28px;
  margin-top: 60px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(251, 250, 247, 0.055), rgba(251, 250, 247, 0.015));
  box-shadow: none;
}
.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.025);
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.timeline-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
}
.timeline-body { padding: 0 28px; }
.timeline-years {
  position: relative;
  height: 44px;
  margin-left: calc(var(--label-w) + var(--gap));
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
}
.timeline-years span {
  position: absolute;
  bottom: 11px;
  left: calc(var(--at) * 1%);
  padding-left: 7px;
  line-height: 1;
}
.timeline-years .is-now {
  bottom: 7px;
  padding: 4px 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.12);
  color: var(--text);
}
.timeline-years,
.layer-lanes {
  background-image: repeating-linear-gradient(90deg, rgba(251, 250, 247, 0.08) 0 1px, transparent 1px 25%);
}
.timeline-years::after,
.layer-lanes::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 94%;
  border-left: 1px dashed rgba(251, 250, 247, 0.35);
  pointer-events: none;
}
.timeline-years::after {
  top: auto;
  height: 7px;
}
.layer {
  display: grid;
  grid-template-columns: var(--label-w) minmax(0, 1fr);
  column-gap: var(--gap);
  border-top: 1px solid var(--line);
}
.layer-label { padding: 26px 0; }
.layer-label h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}
.layer-life {
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--text-faint);
}
.layer-map {
  margin-top: 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-dim);
}
.layer-map span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.cadence {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cadence::before {
  content: "";
  flex: none;
  width: 28px;
  height: 9px;
  background: repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 4px);
}
.cadence-mid::before {
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 9px);
}
.cadence-hold::before {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.layer-tools .cadence { color: #f6a29b; }
.layer-patterns .cadence { color: #d4d0c7; }
.layer-core .cadence { color: var(--text); }
.layer-lanes {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px 0;
}
.lane {
  position: relative;
  height: 28px;
}
.bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--from) * 1%);
  width: calc((var(--to) - var(--from)) * 1%);
  overflow: hidden;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 28px;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
}
s.bar {
  background: rgba(251, 250, 247, 0.065);
  color: rgba(251, 250, 247, 0.58);
  text-decoration: line-through;
  text-decoration-color: rgba(251, 250, 247, 0.45);
}
.bar.is-now {
  font-weight: 600;
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent);
  mask-image: linear-gradient(90deg, #000 80%, transparent);
}
.layer-tools .bar.is-now {
  background: linear-gradient(90deg, #b01f18, #d7261e);
  color: #fff;
}
.layer-patterns .bar {
  border: 1px solid rgba(251, 250, 247, 0.26);
  background: rgba(251, 250, 247, 0.1);
  color: #fbfaf7;
  line-height: 26px;
}
.layer-patterns .bar.is-now {
  border-color: transparent;
  background: linear-gradient(90deg, #d4d0c7, #fbfaf7);
  color: #121212;
}
.layer-core .layer-lanes { padding: 30px 0; }
.layer-core .lane { height: auto; }
.layer-core .lane::before {
  content: "";
  position: absolute;
  inset: 8px 3% 0;
  border-radius: 999px;
  background: var(--gradient);
  filter: blur(22px);
  opacity: 0.5;
}
.layer-core .bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 36px 9px 16px;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(90deg, #b01f18, #b01f18 55%, #7d140f);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}
.step { display: contents; }
.lane-arrow { display: none; }
.timeline.visible .bar {
  animation: bar-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--from) * 12ms + 150ms);
}
.timeline.visible .layer-core .bar {
  animation-name: bar-arrow;
  animation-duration: 1.5s;
}
@keyframes bar-grow {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes bar-arrow {
  from { clip-path: polygon(0 0, 0 0, 0 50%, 0 100%, 0 100%); }
  to { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); }
}
.premise-close {
  max-width: 780px;
  margin: 52px auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.premise-keep {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.premise-keep li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.045);
  font-size: 0.86rem;
  color: var(--text-dim);
}
.premise-keep li::before {
  width: 18px;
  height: 18px;
  background-size: 10px, auto;
}

/* ---------- journey ---------- */
.journey-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.journey-facts li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.85);
  box-shadow: none;
  font-size: 0.86rem;
  color: var(--text-dim);
}
.journey-facts strong {
  margin-right: 5px;
  font-family: var(--font-display);
  color: var(--text);
}
.milestones {
  position: relative;
  margin-top: 60px;
}
.milestones::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 120px;
  width: 2px;
  background: var(--line-2);
  opacity: 0.6;
  box-shadow: none;
}
.milestone {
  position: relative;
  padding: 0 0 48px 54px;
}
.milestone-marker {
  position: absolute;
  left: 3px;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--text);
  border-radius: 50%;
  background: #fbfaf7;
  box-shadow: 0 0 0 5px rgba(18, 18, 18, 0.12);
}
.milestone-flag {
  left: 0;
  width: 24px;
  height: 24px;
  border: 0;
  background: var(--gradient);
  box-shadow: 0 0 0 6px rgba(18, 18, 18, 0.112);
}
.milestone-label {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.milestone-head h3 { font-size: 1.55rem; }
.milestone-head > p:last-child {
  margin-top: 6px;
  color: var(--text-dim);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.mission {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.92);
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mission:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 38, 30, 0.24);
  box-shadow: none;
}
.mission:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 18, 18, 0.098);
}
.mission-no {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border: 1px solid rgba(215, 38, 30, 0.2);
  border-radius: 50%;
  background: #fbfaf7;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.mission-no-end {
  border-color: transparent;
  background: var(--gradient);
  box-shadow: none;
  color: #fff;
}
.mission h4 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}
.mission p {
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.mission .mission-out {
  align-self: flex-start;
  margin: auto 0 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.075);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.5;
  color: var(--text-faint);
}
.mission-start {
  justify-content: center;
  border-style: dashed;
  border-color: rgba(215, 38, 30, 0.28);
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.042), rgba(18, 18, 18, 0.04));
  box-shadow: none;
}
.mission-start .text-link { margin-top: auto; }
.milestone-caveat {
  max-width: 780px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(18, 18, 18, 0.2);
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.05);
  font-size: 0.9rem;
  color: var(--text-dim);
}
.milestone-caveat strong { color: var(--text); }
.milestone-finish { padding-bottom: 8px; }
.journey-more {
  margin-top: 36px;
  text-align: center;
}

/* ---------- experience ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.pillar {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.049), rgba(18, 18, 18, 0.025) 52%, transparent),
    #fbfaf7;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pillar:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 38, 30, 0.2);
  box-shadow: none;
}
.pillar-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--gradient);
  box-shadow: none;
  color: #fff;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.pillar p {
  font-size: 0.92rem;
  color: var(--text-dim);
}
.rhythm {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 16px;
  margin-top: 16px;
}
.rhythm-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
}
.rhythm-label {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.rhythm-weekly {
  display: grid;
  gap: 14px;
}
.rhythm-weekly li {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 2px solid rgba(215, 38, 30, 0.28);
}
.rhythm-weekly strong,
.rhythm-line strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.rhythm-weekly span,
.rhythm-line li > span:last-child {
  font-size: 0.88rem;
  color: var(--text-dim);
}
.rhythm-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rhythm-line::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-2);
  opacity: 0.35;
}
.rhythm-line li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding-top: 30px;
}
.rhythm-line li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: #fbfaf7;
}
.rhythm-when {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.075);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sub-head {
  margin-top: 64px;
  text-align: center;
  font-size: 1.45rem;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.inc {
  position: relative;
  padding: 22px 22px 22px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.9);
  box-shadow: none;
}
.inc::before {
  position: absolute;
  top: 23px;
  left: 22px;
}
.inc h4 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.inc p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---------- fit: who it's for, what it isn't ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 24px;
  margin-top: 56px;
}
.fit-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fit-head {
  margin: 0 0 14px 4px;
  font-size: 1.2rem;
}
.fit-list {
  flex: 1;
  display: grid;
  align-content: start;
  padding: 8px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
}
.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.fit-list li + li { border-top: 1px solid var(--line); }
.fit-list li::before { margin-top: 1px; }
.not-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.not {
  padding: 24px;
  border: 1px solid rgba(251, 250, 247, 0.06);
  border-radius: var(--radius);
  background: radial-gradient(280px 190px at 100% 0%, rgba(18, 18, 18, 0.21), transparent 70%),
    linear-gradient(160deg, #1b1a19, #121212);
  box-shadow: none;
}
.not:nth-child(even) {
  background: radial-gradient(280px 190px at 100% 0%, rgba(18, 18, 18, 0.28), transparent 70%),
    linear-gradient(160deg, #1b1a19, #121212);
}
.not h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  line-height: 1.25;
}
.not h4::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0574d' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.7 5.7l12.6 12.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.not p {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dim);
}

/* ---------- paths + pricing ---------- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 60px;
}
.path {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
}
.path-team {
  border-color: rgba(240, 87, 77, 0.26);
  background: radial-gradient(520px circle at 88% 0%, rgba(18, 18, 18, 0.24), transparent 62%),
    radial-gradient(480px circle at 0% 100%, rgba(18, 18, 18, 0.182), transparent 64%),
    linear-gradient(160deg, #1b1a19, #121212);
  box-shadow: none;
}
.path-flag {
  position: absolute;
  top: -13px;
  left: 34px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.path-for {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.path h3 {
  max-width: 24ch;
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.18;
}
.path-price {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.path-price span {
  display: block;
  margin-top: 4px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-faint);
}
.outcomes {
  display: grid;
  gap: 14px;
  margin: 26px 0 26px;
}
.outcomes li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.outcomes li::before {
  grid-row: span 2;
  margin-top: 1px;
}
.outcomes strong {
  font-size: 0.98rem;
  color: var(--text);
}
.path-cost {
  margin-top: auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 0.86rem;
  color: var(--text-dim);
}
.path-cost-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 4px;
  color: var(--text);
}
.path-cost-total span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.path-cost-total strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.path .btn { margin-top: 20px; }
.path-fine {
  margin-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.path-fine a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.path-fine a:hover { text-decoration: underline; }
.path-was {
  margin-top: 8px;
  font-size: 0.84rem;
  color: var(--text-dim);
}
.path-cost p:not(.path-cost-total) + p { margin-top: 8px; }
.path-terms {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.path-terms strong {
  font-weight: 600;
  color: var(--text);
}

/* ---------- employer sponsorship ---------- */
.sponsor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 56px;
  margin-top: 56px;
}
.sponsor-steps {
  align-self: center;
  display: grid;
  gap: 28px;
  counter-reset: sponsor;
}
.sponsor-steps li {
  position: relative;
  padding-left: 60px;
  counter-increment: sponsor;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.sponsor-steps li::before {
  content: counter(sponsor);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fbfaf7;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--accent);
}
.sponsor-steps strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--text);
}
.sponsor-email { margin: 0; }
.sponsor-window {
  border-radius: 14px;
  background: #fbfaf7;
  box-shadow: none;
}
.sponsor-email-body {
  gap: 12px;
  padding: 22px 26px 26px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dim);
}
.sponsor-subject {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--text);
}
.sponsor-subject span {
  font-weight: 500;
  color: var(--text-faint);
}
.sponsor-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  list-style: disc;
}
.sponsor-list li { padding-left: 2px; }
.sponsor-list li::marker { color: var(--accent); }
.sponsor-list strong {
  font-weight: 600;
  color: var(--text);
}
.sponsor-fill {
  padding: 0 2px;
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.063);
  color: var(--accent);
  overflow-wrap: anywhere;
}
.sponsor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.no-js .sponsor-actions { display: none; }
.sponsor-status {
  min-height: 1.5em;
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* ---------- proof + instructor ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.proof-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
}
.proof-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.proof-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.proof-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.proof-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.proof-status.is-live { color: var(--ok); }
.proof-status.is-soon { color: var(--warn); }
.proof-card h3 { font-size: 1.3rem; }
.proof-card p {
  font-size: 0.93rem;
  color: var(--text-dim);
}
.proof-card .text-link {
  margin-top: auto;
  padding-top: 6px;
}
.instructor {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: stretch;
  margin-top: 40px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(540px circle at 0% 0%, rgba(18, 18, 18, 0.063), transparent 66%),
    linear-gradient(145deg, #fbfaf7, #f6f4ef);
  box-shadow: none;
}
.instructor-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: none;
}
.instructor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.instructor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.instructor-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(251, 250, 247, 0.24);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.78);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7261e;
  box-shadow: 0 0 0 3px rgba(251, 250, 247, 0.25);
}
.instructor-eyebrow {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.instructor-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
}
.instructor-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b6862;
  transition: color 0.2s ease, transform 0.2s ease;
}
.instructor-linkedin:hover {
  color: #121212;
  transform: translateY(-1px);
}
.instructor-title {
  margin: 4px 0 20px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-dim);
}
.instructor-bio {
  margin-bottom: 16px;
  font-size: 0.97rem;
  color: var(--text-dim);
}
.instructor-bio strong { color: var(--text); }
.instructor-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.instructor-metrics .metric {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.8);
  box-shadow: none;
  text-align: center;
}
.instructor-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.instructor-metrics span {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-dim);
}
.talks { margin-top: 22px; }
.talks-label {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.talks ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.talks li {
  padding: 7px 13px;
  border: 1px solid rgba(215, 38, 30, 0.16);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.035);
  font-size: 0.82rem;
  color: var(--accent-ink);
}
.instructor-disclaimer {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.instructor-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* proof on the dark band */
.band-dark .proof-card {
  background: linear-gradient(160deg, rgba(251, 250, 247, 0.06), rgba(251, 250, 247, 0.02));
  box-shadow: none;
}
.band-dark .instructor {
  background: radial-gradient(540px circle at 0% 0%, rgba(18, 18, 18, 0.14), transparent 66%),
    linear-gradient(145deg, #1b1a19, #121212);
}
.band-dark .instructor-photo { box-shadow: none; }
.band-dark .instructor-linkedin { color: #a29d93; }
.band-dark .instructor-linkedin:hover { color: #fbfaf7; }
.band-dark .instructor-metrics .metric {
  background: rgba(251, 250, 247, 0.04);
  box-shadow: none;
}
.band-dark .talks li {
  border-color: rgba(240, 87, 77, 0.24);
  background: rgba(251, 250, 247, 0.056);
}

/* ---------- logistics ---------- */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
}
.glance {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
  box-shadow: none;
}
.glance dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.glance dd {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.glance dd strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  gap: 10px;
  margin-top: 48px;
}
.faq details {
  padding: 4px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.9);
  box-shadow: none;
}
.faq details[open] { border-color: rgba(215, 38, 30, 0.2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  padding: 0 0 20px;
  font-size: 0.97rem;
  color: var(--text-dim);
}
.faq details p a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.faq details p a:hover { text-decoration: underline; }

/* ---------- conversion ---------- */
.convert {
  position: relative;
  overflow: hidden;
  padding: 112px 0 104px;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(251, 250, 247, 0.525), rgba(251, 250, 247, 0.75), transparent) 50% 0 / min(760px, 80%) 1px no-repeat,
    radial-gradient(760px circle at 12% 18%, rgba(18, 18, 18, 0.21), transparent 64%),
    radial-gradient(680px circle at 88% 30%, rgba(18, 18, 18, 0.2), transparent 64%),
    linear-gradient(180deg, #121212, #121212);
}
.convert::before,
.convert::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(240, 87, 77, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.convert::before { left: -120px; bottom: -180px; }
.convert::after { right: -130px; top: -190px; }
.convert > .wrap {
  position: relative;
  z-index: 1;
}
.convert-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.convert-copy .eyebrow,
.convert-copy h2 { text-align: left; }
.convert-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); }
.convert-copy > h2 + p {
  margin-top: 22px;
  font-size: 1.02rem;
  color: var(--text-dim);
}
.convert-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.convert-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.convert-copy > .convert-preview {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.convert-preview a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.convert-preview a:hover { text-decoration: underline; }
/* the form stays a light card on the dark section */
.capture-form {
  --text: #121212;
  --text-dim: #3b3934;
  --text-faint: #6b6862;
  --line: rgba(18, 18, 18, 0.09);
  --line-2: rgba(18, 18, 18, 0.17);
  --accent: #d7261e;
  --accent-ink: #a81e17;
  --accent-soft: #fbe4e2;
  --gradient: linear-gradient(#121212, #121212);
  --ok: #1f7a4d;
  --bad: #d7261e;
  display: grid;
  gap: 16px;
  padding: 32px 30px;
  border: 1px solid rgba(251, 250, 247, 0.5);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.038), rgba(18, 18, 18, 0.025)),
    #fbfaf7;
  box-shadow: 0 0 0 6px rgba(251, 250, 247, 0.04);
  color: var(--text);
  color-scheme: light;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}
.capture-form input,
.capture-form select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fbfaf7;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.capture-form input::placeholder,
.roadmap-fields input::placeholder { color: var(--text-faint); }
.field-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.cta-msg {
  min-height: 20px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ok);
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 72px;
}
.promise {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(251, 250, 247, 0.06), rgba(251, 250, 247, 0.02));
  text-align: center;
}
.promise h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.promise p {
  font-size: 0.93rem;
  color: var(--text-dim);
}
.convert-compact {
  padding: 96px 0;
  text-align: center;
}
.convert-compact h2 {
  max-width: 900px;
  margin: 0 auto;
}
.convert-lead {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--text-dim);
}

/* ---------- overview: the landing view ---------- */
.ov-hero {
  padding: 88px 0 124px;
  text-align: left;
}
.ov-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 56px;
}
.ov-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.6vw, 3.7rem);
}
.ov-hero h1:focus { outline: none; }
.ov-hero .hero-sub {
  max-width: 590px;
  margin: 24px 0 0;
}
.ov-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 32px;
}
.ov-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 600px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.78);
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ov-facts li {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 13px 15px;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--text-dim);
}
.ov-facts li + li { border-left: 1px solid var(--line); }
.ov-facts strong {
  font-family: var(--font-display);
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ov-fine { line-height: 1.7; }
.ov-fine .status-dot {
  display: inline-block;
  margin-right: 9px;
  vertical-align: 0.06em;
}
.ov-fine a { white-space: nowrap; }

.ov-visual {
  position: relative;
  margin: 0;
}
.ov-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4% 8%;
  border-radius: 14px;
  background: var(--gradient);
  filter: blur(64px);
  opacity: 0.24;
  pointer-events: none;
}
.ov-window {
  position: relative;
  border-radius: 14px;
  background: var(--surface-2);
  box-shadow: none;
}
.ov-window .window-body { padding: 20px; }
.ov-release-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.ov-release-kicker {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ov-release-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ov-release-head .pill-ok {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.66rem;
}
.ov-stages {
  position: relative;
  display: grid;
  gap: 8px;
}
.ov-stages::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 25px;
  width: 2px;
  background: var(--line-2);
  opacity: 0.4;
}
.ov-stages li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfaf7;
}
.ov-stages li::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--check) center / 12px no-repeat, var(--ok);
}
.ov-stages li.is-live::before {
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(18, 18, 18, 0.098);
  animation: live-pulse 2.4s ease-in-out infinite;
}
@keyframes live-pulse {
  50% { box-shadow: 0 0 0 7px rgba(18, 18, 18, 0.042); }
}
.ov-stage-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.ov-stage-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.ov-stage-text span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--text-faint);
}
.ov-stage-mission {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.049);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  white-space: nowrap;
  color: var(--accent-ink);
}
.ov-float {
  position: absolute;
  top: -18px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf7;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.ov-float::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--check) center / 11px no-repeat, var(--gradient);
}
.ov-visual-note {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.trust.ov-trust { padding-bottom: 0; }

.ov-compare {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  margin-top: 52px;
}
.ov-col {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
  border-radius: var(--radius-lg);
}
.ov-col-demo {
  border: 1px dashed var(--line-2);
  background: rgba(251, 250, 247, 0.55);
}
.ov-col-prod {
  border: 1px solid rgba(240, 87, 77, 0.26);
  background: radial-gradient(520px circle at 92% 0%, rgba(18, 18, 18, 0.22), transparent 62%),
    radial-gradient(480px circle at 0% 100%, rgba(18, 18, 18, 0.182), transparent 64%),
    linear-gradient(160deg, #1b1a19, #121212);
  box-shadow: none;
}
.ov-col-label {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ov-col-prod .ov-col-label { color: var(--accent); }
.ov-col-list {
  display: grid;
  gap: 14px;
}
.ov-col-demo li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.ov-col-demo li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
}
.ov-col-prod .ov-col-list { gap: 0; }
.ov-col-prod li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.45;
}
.ov-col-prod li:first-child { padding-top: 0; }
.ov-col-foot {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.ov-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 30px;
  text-align: center;
  color: var(--text-dim);
}

.ov-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 60px;
}
.ov-steps::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--line-2);
  opacity: 0.45;
}
.ov-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ov-step-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border: 1px solid rgba(215, 38, 30, 0.24);
  border-radius: 50%;
  background: #fbfaf7;
  box-shadow: 0 0 0 6px var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--accent);
}
.ov-step-finish .ov-step-no {
  border-color: transparent;
  background: var(--check) center / 16px no-repeat, var(--gradient);
  box-shadow: 0 0 0 6px var(--bg-alt);
}
.ov-step-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ov-step h3 {
  margin-top: 8px;
  font-size: 1.15rem;
}
.ov-step h3 + p {
  max-width: 26ch;
  margin-top: 8px;
  font-size: 0.89rem;
  color: var(--text-dim);
}
.ov-portfolio {
  max-width: 700px;
  margin: 0 auto;
}
.ov-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  margin-top: 36px;
}

.ov-includes {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 24px 0 6px;
}
.ov-includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--text-dim);
}
.ov-includes li::before { margin-top: 1px; }

.ov-deeper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}
.ov-link {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ov-link:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 38, 30, 0.24);
  box-shadow: none;
}
.ov-link strong {
  padding-right: 24px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
/* Out of flow at the end of the text, inside the padding, so it can never wrap onto a line of its own */
.ov-link strong::after {
  content: "→";
  position: absolute;
  margin-left: 8px;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.ov-link:hover strong::after { transform: translateX(3px); }
.ov-link > span {
  font-size: 0.9rem;
  color: var(--text-dim);
}
.ov-link-feature {
  grid-row: span 2;
  align-content: end;
  gap: 12px;
  padding: 30px 28px 28px;
  border-color: rgba(240, 87, 77, 0.26);
  background: radial-gradient(420px circle at 100% 0%, rgba(18, 18, 18, 0.26), transparent 62%),
    radial-gradient(420px circle at 0% 100%, rgba(18, 18, 18, 0.21), transparent 64%),
    linear-gradient(160deg, #1b1a19, #121212);
  box-shadow: none;
}
.ov-link-feature:hover { border-color: rgba(240, 87, 77, 0.5); }
.ov-link-feature strong {
  padding-right: 0;
  font-size: 1.6rem;
  line-height: 1.15;
}
.ov-link-feature strong::after { display: none; }
.ov-link-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.ov-link > .ov-link-go {
  justify-self: start;
  margin-top: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.ov-link-go::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.ov-link:hover .ov-link-go::after { transform: translateX(3px); }

/* ---------- curriculum page ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 48px auto 0;
}
.stat {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.028), transparent 70%),
    #fbfaf7;
  box-shadow: none;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--text);
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--text-faint);
}
.curriculum-wrap { max-width: 920px; }
.c-milestone + .c-milestone { margin-top: 64px; }
.c-milestone-head { margin-bottom: 18px; }
.band .c-milestone-head h2 {
  text-align: left;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.c-milestone-head > p:last-child {
  margin-top: 8px;
  color: var(--text-dim);
}
.curriculum {
  display: grid;
  gap: 10px;
}
.curriculum details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.92);
  box-shadow: none;
}
.curriculum details[open] {
  border-color: rgba(215, 38, 30, 0.22);
  box-shadow: none;
}
.curriculum summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.curriculum summary:hover { background: rgba(18, 18, 18, 0.017); }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
}
.curriculum details[open] summary::after { content: "–"; }
.curriculum details[open] summary { border-bottom: 1px solid var(--line); }
.c-no {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
}
.c-title {
  display: grid;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.c-topic {
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-faint);
}
.c-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  white-space: nowrap;
  color: var(--text-faint);
}
.c-body { padding: 18px 24px 24px; }
.c-summary { color: var(--text-dim); }
.curriculum ol {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-left: 22px;
  list-style: decimal;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.curriculum ol li::marker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-faint);
}
.c-out {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.075);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
}
.curriculum-wrap > .milestone-caveat {
  max-width: none;
  margin-top: 48px;
}
.role-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.role,
.method {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfaf7;
  box-shadow: none;
}
.role-tag {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.role h3,
.method h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.role p,
.method p {
  font-size: 0.92rem;
  color: var(--text-dim);
}
.g-letter {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--gradient);
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #121212;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-top: 62px;
  padding-bottom: 46px;
}
.footer-brand { max-width: 360px; }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-faint);
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 54px;
}
.footer-cols h4 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer-cols a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-dim);
  text-decoration: none;
}
.footer-cols a:hover { color: var(--accent); }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  padding-bottom: 34px;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--line-2);
}

/* ---------- reveal ----------
   Text is visible by default. The .visible class only plays an entrance
   animation, so content can never get stuck hidden if JS misses an element. */
.reveal.visible { animation: reveal-in 0.7s ease both; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(20px); }
}

/* ---------- without JavaScript every panel is shown ---------- */
.no-js .arch-panel[hidden] { display: block; }
.no-js .arch-panel + .arch-panel { margin-top: 16px; }
.no-js .arch-map { position: static; }
.no-js .arch-hint,
.no-js [data-result-pending] { display: none; }

/* ---------- responsive ---------- */
@media (min-width: 1041px) {
  /* stack the panels in one cell so switching never shifts the page */
  .js .arch-panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .js .arch-panel {
    grid-area: 1 / 1;
    align-self: start;
  }
  .js .arch-panel[hidden] {
    display: block;
    visibility: hidden;
  }
}

@media (max-width: 1180px) {
  .nav-trust { display: none; }
  /* the view tabs need the room, so section links move into the menu sooner */
  .nav-tabbed .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 14px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(243, 241, 236, 0.98);
    box-shadow: none;
  }
  .nav-tabbed.open .nav-links { display: flex; }
  .nav-tabbed.nav-on-dark .nav-links {
    border-bottom-color: rgba(251, 250, 247, 0.08);
    background: rgba(18, 18, 18, 0.98);
    box-shadow: none;
  }
  .nav-tabbed .nav-links a { padding: 10px 0; font-size: 1rem; }
  .nav-tabbed .nav-toggle { display: flex; }
  .timeline {
    --label-w: 214px;
    --gap: 24px;
  }
}

@media (max-width: 1040px) {
  .ov-hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .ov-hero-copy { text-align: center; }
  .ov-hero h1,
  .ov-hero .hero-sub,
  .ov-hero .hero-actions,
  .ov-facts,
  .ov-visual {
    margin-left: auto;
    margin-right: auto;
  }
  .ov-hero .hero-actions,
  .ov-visual {
    width: 100%;
    max-width: 620px;
  }
  .ov-hero .hero-actions { justify-content: center; }
  .ov-compare { grid-template-columns: 1fr; }
  .sponsor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
  .arch { grid-template-columns: 1fr; }
  .arch-map { position: static; }
  .bento > .shot {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .pillar-grid,
  .glance-grid,
  .role-grid,
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instructor {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .instructor-photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .trust-bar { grid-template-columns: 1fr; gap: 18px; }
  .trust-stats {
    justify-content: space-between;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .fit-grid { grid-template-columns: 1fr; }

  /* the timeline becomes wrapped chip sequences: no axis, no fixed widths */
  .timeline-head { padding: 16px 22px; }
  .timeline-body { padding: 0 22px; }
  .timeline-years { display: none; }
  .layer { grid-template-columns: minmax(0, 1fr); }
  .layer-label { padding: 22px 0 14px; }
  .layer-lanes {
    gap: 10px;
    padding: 0 0 22px;
    background: none;
  }
  .layer-lanes::after { display: none; }
  .lane {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    height: auto;
  }
  .bar {
    position: static;
    width: auto;
    padding: 5px 10px;
    line-height: 1.35;
    white-space: normal;
  }
  .layer-patterns .bar { line-height: 1.35; }
  .bar.is-now {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .lane-arrow {
    display: block;
    font-size: 0.78rem;
    color: var(--text-faint);
  }
  .layer-core .layer-lanes { padding: 0 0 24px; }
  .layer-core .bar {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    clip-path: none;
  }
  .timeline.visible .bar,
  .timeline.visible .layer-core .bar { animation: none; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-left: 0;
    padding: 14px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(243, 241, 236, 0.98);
    box-shadow: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav.nav-on-dark .nav-links {
    border-bottom-color: rgba(251, 250, 247, 0.08);
    background: rgba(18, 18, 18, 0.98);
    box-shadow: none;
  }
  .nav-links a { padding: 10px 0; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .brand { margin-right: auto; }
  .nav-tabbed .brand { margin-right: 0; }
  .band { padding: 80px 0; }
  .ov-hero { padding: 72px 0 104px; }
  .ov-steps {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .ov-steps::before {
    top: 20px;
    bottom: 20px;
    left: 19px;
    right: auto;
    width: 2px;
    height: auto;
    background: var(--line-2);
  }
  .ov-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    text-align: left;
  }
  .ov-step-no {
    grid-row: span 3;
    margin-bottom: 0;
  }
  .ov-step h3 { margin-top: 4px; }
  .ov-step h3 + p {
    max-width: none;
    margin-top: 6px;
  }
  .ov-deeper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-link-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .hero { padding: 76px 0 96px; }
  .page-hero { padding: 72px 0 60px; }
  .convert { padding: 84px 0; }
  .scenario-grid,
  .proof-grid,
  .promise-grid,
  .included-grid,
  .mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-grid,
  .rhythm,
  .convert-grid { grid-template-columns: 1fr; }
  .convert-grid { gap: 36px; }
  .q-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-form { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .hero-kicker {
    padding: 7px 14px;
    font-size: 0.66rem;
    letter-spacing: 0.07em;
  }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions .btn,
  .btn-lg { width: 100%; }
  .trust { margin-top: -44px; padding-bottom: 80px; }
  .trust-bar { padding: 20px; }
  .trust-stats { gap: 14px; }
  .trust-stats strong { font-size: 1.5rem; }
  .trust-stats span { white-space: normal; font-size: 0.74rem; }
  .entry-grid,
  .scenario-grid,
  .proof-grid,
  .promise-grid,
  .included-grid,
  .mission-grid,
  .pillar-grid,
  .glance-grid,
  .role-grid,
  .method-grid { grid-template-columns: 1fr; }
  .entry { padding: 24px; }
  .entry strong { font-size: 1.18rem; }

  .arch-canvas {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .arch-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 2px dashed rgba(215, 38, 30, 0.24);
  }
  .arch-rail-label { grid-column: 1 / -1; }
  .arch-rail .arch-node {
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    text-align: center;
  }
  .arch-rail .arch-name { font-size: 0.86rem; }
  .arch-rail .arch-sub { font-size: 0.6rem; }
  .arch-node { padding: 12px 14px; }
  .arch-panel { padding: 22px 18px; }
  .panel-head h3 { font-size: 1.28rem; }

  .shot { padding: 18px; }
  .shot-head { flex-direction: column-reverse; }
  .obs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obs-incident span,
  .tree .c,
  .eval-table th:nth-child(4),
  .eval-table td:nth-child(4) { display: none; }
  .eval-table td:nth-child(3)::after {
    content: " ✓";
    color: var(--ok);
  }
  .eval-table th,
  .eval-table td { padding: 8px 7px; }
  .eval-table tbody th { white-space: normal; }
  .pipe { grid-template-columns: 1fr; gap: 10px; }
  .pipe::before {
    top: 14px;
    bottom: 14px;
    left: 12px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .pipe li {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    gap: 12px;
    text-align: left;
  }
  .pipe li::before { margin-bottom: 0; }

  .check { padding: 20px 16px; }
  .check-progress { min-width: 0; width: 100%; }
  .q { padding: 16px 14px; }
  .q-option span { min-height: 44px; font-size: 0.82rem; }
  .result-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .gap { grid-template-columns: auto minmax(0, 1fr); }
  .gap-missions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .roadmap-form { padding: 18px; }
  .roadmap-fields { flex-direction: column; }
  .roadmap-fields input { min-width: 0; width: 100%; }

  .milestones::before { left: 9px; }
  .milestone { padding-left: 38px; }
  .milestone-marker { left: 1px; }
  .milestone-flag { left: -2px; }
  .milestone-head h3 { font-size: 1.35rem; }

  .rhythm-line { grid-template-columns: 1fr; gap: 16px; }
  .rhythm-line::before {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .rhythm-line li { padding: 0 0 0 30px; }

  .path { padding: 32px 22px 24px; }
  .path-flag { left: 22px; }
  .path-price { font-size: 2rem; }

  .instructor { padding: 22px; }
  .instructor-name { font-size: 1.7rem; }
  .instructor-metrics { grid-template-columns: 1fr; }
  .instructor-metrics .metric {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 8px;
    text-align: left;
  }
  .instructor-metrics span { margin-top: 0; }

  .fit-list { padding: 4px 20px; }
  .not-grid { grid-template-columns: 1fr; }
  .not { padding: 22px 20px; }
  .timeline { margin-top: 44px; }
  .timeline-head { padding: 16px 18px; }
  .timeline-body { padding: 0 18px; }
  .premise-keep li {
    border-radius: 14px;
    text-align: left;
  }

  .capture-form { padding: 24px 20px; }
  .curriculum summary { gap: 12px; padding: 18px; }
  .c-body { padding: 16px 18px 20px; }
  .footer-cols { gap: 32px; }

  .ov-hero { padding: 56px 0 96px; }
  .ov-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-facts li:nth-child(3) { border-left: 0; }
  .ov-facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ov-window .window-body { padding: 14px; }
  .ov-release-title { font-size: 1.08rem; }
  .ov-stages::before { left: 21px; }
  .ov-stages li {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 10px;
  }
  .ov-stages li::before {
    width: 22px;
    height: 22px;
    background-size: 11px, auto;
  }
  .ov-stage-mission,
  .ov-float { display: none; }
  .ov-visual-note {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .ov-col { padding: 22px 20px; }
  .ov-col-prod li {
    grid-template-columns: 20px minmax(0, 1fr);
    row-gap: 8px;
  }
  .ov-col-prod li .mission-chip {
    grid-column: 2;
    justify-self: start;
  }
  .ov-deeper-grid { grid-template-columns: 1fr; }
  .ov-link-feature { padding: 24px 22px; }
  .sponsor-grid { margin-top: 40px; }
  .sponsor-steps li { padding-left: 56px; }
  .sponsor-email-body {
    padding: 18px 18px 22px;
    font-size: 0.88rem;
  }
  .sponsor-actions .btn { width: 100%; }
  .ov-link-feature strong { font-size: 1.35rem; }
}

@media (max-width: 600px) {
  /* the view tabs get their own full-width row under the brand */
  html { scroll-padding-top: 132px; }
  .nav-tabbed .nav-inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-bottom: 10px;
  }
  .view-tabs {
    order: 3;
    flex: 1 0 100%;
    margin-right: 0;
  }
  .view-tab { flex: 1; }
  .nav-tabbed .nav-toggle { margin-left: auto; }
}

/* ---------- overview and programme details: one view at a time ---------- */
.js[data-view="overview"] .view-programme,
.js[data-view="programme"] .view-overview,
.js[data-view="programme"] .nav-tabbed .nav-trust,
.js[data-view="overview"] .nav-tabbed .nav-links,
.js[data-view="overview"] .nav-tabbed .nav-toggle { display: none; }
.view [tabindex="-1"]:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal.visible,
  .arch-panel:not([hidden]),
  .timeline.visible .bar,
  .timeline.visible .layer-core .bar { animation: none; }
  .arch-link::after { display: none; }
}

/* ============================================================
   XRA layer
   The components of the XRA technical framework: warm paper, black ink,
   one red accent, mono labels, numbered section heads and flat cards
   ============================================================ */

body { background: var(--bg); }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -0.01em; }
h1 { line-height: 1.02; letter-spacing: -0.03em; }
h2 { line-height: 1.1; letter-spacing: -0.02em; }
::selection { background: var(--accent-soft); color: var(--text); }
:focus-visible { outline-color: var(--text); }
input[type="radio"],
input[type="checkbox"],
input[type="range"] { accent-color: var(--text); }

/* ---------- top bar ---------- */
.nav {
  background: rgba(243, 241, 236, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-inner { min-height: 56px; padding: 0 28px; gap: 18px; }
.brand-text {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-text .grad { background: none; color: var(--accent); }
.view-tabs { gap: 2px; padding: 0; border: 0; background: none; }
.view-tab,
.nav-links a {
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.view-tab:hover,
.nav-links a:hover { color: var(--text); }
.view-tab[aria-current="page"] { background: var(--text); color: var(--surface); box-shadow: none; }
.nav-links,
.nav-tabbed .nav-links { gap: 2px; }
.nav-tabbed .nav-trust {
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.status-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); box-shadow: none; }

/* ---------- buttons ---------- */
.btn {
  padding: 11px 18px;
  border: 1px solid var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-sm { padding: 7px 12px; font-size: 11.5px; }
.btn-lg { padding: 14px 22px; font-size: 12.5px; }
.btn-primary { border-color: #121212; background: #121212; color: #fbfaf7; box-shadow: none; }
.btn-primary:hover { border-color: #d7261e; background: #d7261e; color: #fff; box-shadow: none; transform: none; }
.btn-outline,
.btn-ghost { border-color: #121212; background: transparent; color: #121212; box-shadow: none; }
.btn-outline:hover,
.btn-ghost:hover { border-color: #121212; background: #121212; color: #fbfaf7; transform: none; }
:is(.band-dark, .path-team, .convert, .ov-dark) .btn-primary { border-color: #fbfaf7; background: #fbfaf7; color: #121212; }
:is(.band-dark, .path-team, .convert, .ov-dark) .btn-primary:hover { border-color: #d7261e; background: #d7261e; color: #fff; }
:is(.band-dark, .path-team, .convert, .ov-dark) .btn-outline { border-color: rgba(251, 250, 247, 0.55); background: transparent; color: #fbfaf7; }
:is(.band-dark, .path-team, .convert, .ov-dark) .btn-outline:hover { border-color: #fbfaf7; background: #fbfaf7; color: #121212; }
.capture-form .btn-primary { border-color: #121212; background: #121212; color: #fbfaf7; }
.capture-form .btn-primary:hover { border-color: #d7261e; background: #d7261e; color: #fff; }
.text-link { color: var(--text); }
.text-link::after { color: var(--accent); }

/* ---------- sections ---------- */
.band { padding: 64px 0; border-bottom: 1px solid var(--line); }
.band.alt { background: var(--bg); border-top: 0; border-bottom: 1px solid var(--line); }
.band-dark,
.premise { background: #121212; border-bottom: 0; }
.band-dark::before,
.band-dark::after { display: none; }
.eyebrow { text-align: left; font-size: 12px; letter-spacing: 0.06em; color: var(--accent); }
.sec-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  text-align: left;
}
.sec-num {
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.band .sec-head h2 { text-align: left; font-size: clamp(26px, 3vw, 36px); }
.sec-head .band-lead { max-width: 760px; margin: 14px 0 0; text-align: left; font-size: 17px; color: var(--text-dim); }

/* ---------- hero ---------- */
.hero,
.page-hero { background: var(--bg); text-align: left; }
.hero::before,
.page-hero::before { display: none; }
.hero { padding: 56px 0 48px; }
.ov-hero { padding: 56px 0 64px; }
.hero-kicker {
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}
.hero h1 { margin: 0; max-width: none; font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.03em; }
.hero-sub,
.ov-hero .hero-sub { max-width: 640px; margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: var(--text); }
.hero-chips { justify-content: flex-start; gap: 8px; margin-top: 22px; }
.hero-chips li {
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-chips li::before { display: none; }
.hero-chips li:first-child { border-color: var(--accent); color: var(--accent); }
.hero-actions { justify-content: flex-start; margin-top: 28px; }
.hero-fine { font-size: 13px; }
.hero-fine a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.ascii {
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 9px;
  color: #9c978d;
  text-align: right;
  white-space: pre;
  -webkit-user-select: none;
  user-select: none;
}
.ascii b { color: var(--accent); font-weight: 400; }
.ov-visual::before { display: none; }
.ov-visual .ascii-behind { position: absolute; top: -86px; right: -104px; z-index: 0; }
.ov-window,
.ov-visual-note { z-index: 1; }
.ov-float { z-index: 2; }
.ov-window { border: 1px solid var(--line); background: var(--surface); }
.ov-stages li::before { border-radius: 4px; }
.ov-stages li.is-live::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(215, 38, 30, 0.14);
  animation-name: xra-pulse;
}
@keyframes xra-pulse {
  50% { box-shadow: 0 0 0 7px rgba(215, 38, 30, 0.06); }
}
.ov-float::before { border-radius: 4px; }

/* ---------- chips ---------- */
.mission-chip,
.ov-stage-mission {
  padding: 3px 8px;
  border: 1px solid rgba(215, 38, 30, 0.45);
  background: transparent;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.mission-chip:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
:is(.band-dark, .path-team, .convert, .ov-dark) .mission-chip { border-color: rgba(240, 87, 77, 0.5); background: transparent; color: #f6a29b; }
:is(.band-dark, .path-team, .convert, .ov-dark) .mission-chip:hover { border-color: #d7261e; background: #d7261e; color: #fff; }

/* ---------- step markers ---------- */
.ov-step-no { border: 1.5px solid var(--text); background: var(--bg); color: var(--text); }
.ov-step-finish .ov-step-no { border-color: var(--text); }

/* ---------- facts ---------- */
.ov-facts {
  gap: 10px;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.ov-facts li,
.ov-facts li + li { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 13px; color: var(--text-faint); }
.ov-facts strong { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }

/* ---------- square markers, as in the XRA lists ---------- */
.panel-list li::before,
.portfolio-list li::before,
.inc::before,
.outcomes li::before,
.convert-list li::before,
.fit-list li::before,
.premise-keep li::before,
.ov-col-prod li::before,
.ov-includes li::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--text);
}
.ov-col-prod li::before { background: var(--accent); }
.ov-col-demo li::before { width: 14px; height: 14px; border: 1.5px dashed var(--line-2); }
.inc::before { top: 27px; }

/* ---------- flat ink panels ---------- */
.ov-col-prod,
.ov-link-feature,
.path-team,
.not,
.not:nth-child(even) { border-color: #121212; background: #121212; }
.band-dark .arch-canvas,
.band-dark .instructor { background: #1b1a19; }
.convert { padding: 72px 0; background: #121212; }
.convert::before,
.convert::after,
.entry::after,
.layer-core .lane::before { display: none; }
.check { background: var(--surface); }
.layer-tools .bar.is-now,
.layer-core .bar { background: #d7261e; }
.layer-patterns .bar.is-now { background: #fbfaf7; }

/* ---------- questions, as XRA details rows ---------- */
#faq .wrap.narrow { max-width: var(--maxw); }
.faq { gap: 0; max-width: 860px; margin: 40px 0 0 174px; }
.faq details,
.faq details[open] { padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 14px 0; font-family: var(--font); font-size: 16px; }
.faq summary::after { font-family: var(--font-mono); font-size: 16px; color: var(--text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; font-size: 15px; }

/* ---------- cards ---------- */
.ov-link:hover { transform: translateY(-2px); border-color: var(--text); box-shadow: none; }
.ov-link-feature:hover { border-color: #121212; }
.ov-link strong::after { color: var(--accent); }
.ov-link > .ov-link-go {
  border: 1px solid #fbfaf7;
  background: #fbfaf7;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #121212;
}
.ov-link-feature:hover .ov-link-go { border-color: #d7261e; background: #d7261e; color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--text-faint); }

/* ---------- smaller screens: one column, no ASCII field, as in the XRA framework ---------- */
@media (max-width: 1040px) {
  .ov-hero-copy { text-align: left; }
  .ov-hero h1,
  .ov-hero .hero-sub,
  .ov-hero .hero-actions,
  .ov-facts,
  .ov-visual { margin-left: 0; margin-right: 0; }
  .ov-hero .hero-actions { justify-content: flex-start; }
}
@media (max-width: 980px) {
  .sec-head { grid-template-columns: 1fr; gap: 6px; }
  .sec-num { padding-top: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .ascii { display: none; }
  .faq { margin-left: 0; }
}
@media (max-width: 680px) {
  .hero-sub,
  .ov-hero .hero-sub { font-size: 17px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  /* The mobile .wrap padding shorthand otherwise zeroes the footer's vertical padding */
  .footer-inner { padding-top: 48px; padding-bottom: 36px; }
  .footer-bottom { padding-top: 22px; padding-bottom: 34px; }
  .footer-bottom::before { left: 18px; right: 18px; }
}
