/* Munin — homepage styles
 * Dark reference-site design language. Content slotted from content-data.json.
 * Palette + type + spacing derived from design-tokens.json + font-matches.json.
 */

:root {
  --bg: #000000;
  --bg-elev: #0A0A0A;
  --surface: #111111;
  --surface-2: #161616;
  --border: #1F1F1F;
  --border-strong: #2A2A2A;
  --text: #A1A1A1;
  --text-primary: #FFFFFF;
  --text-muted: #6B7280;
  --primary: #00A3FF;
  --primary-bright: #3DBDFF;
  --link: #3B9EFF;
  --accent-warm: #E6C28B;

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container-max: 1200px;
  --container-narrow: 760px;
  --section-pad: 180px;
  --section-pad-sm: 120px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 120ms var(--ease); }
a:hover { color: var(--text-primary); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
summary:focus-visible,
.nav__burger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
}
body.scrolled .nav,
.nav.is-open {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.55);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text);
}
.nav__links a { transition: color 120ms var(--ease); }
.nav__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.link-quiet { color: var(--text); }
.nav__burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  margin: 3px auto;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease), transform 150ms var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn--primary {
  background: var(--text-primary);
  color: var(--bg);
}
.btn--primary:hover {
  background: #e8e8e8;
  color: var(--bg);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  border-color: #4A4A4A;
  background: rgba(255,255,255,0.02);
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(120px, 15vw, 220px) 0 clamp(140px, 16vw, 240px);
  overflow: hidden;
  min-height: 80vh;
}
.hero__glow {
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 90%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 163, 255, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__art {
  position: relative;
  min-height: 360px;
}
.orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 380px;
  height: 380px;
  transform: rotate(-12deg);
  background:
    /* top facet */
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 45%),
    /* specular highlight */
    radial-gradient(ellipse 60% 35% at 30% 22%, rgba(0,163,255,0.28) 0%, transparent 50%),
    radial-gradient(ellipse 40% 25% at 28% 18%, rgba(255,255,255,0.22) 0%, transparent 60%),
    /* main body */
    linear-gradient(155deg, #44454c 0%, #222227 32%, #0d0d10 62%, #020203 100%);
  border-radius: 18% 44% 18% 44% / 38% 22% 38% 22%;
  box-shadow:
    inset -60px -60px 100px rgba(0, 0, 0, 0.92),
    inset 35px 25px 60px rgba(255, 255, 255, 0.14),
    inset 0 0 80px rgba(0, 163, 255, 0.1),
    0 60px 120px -30px rgba(0, 0, 0, 0.8),
    0 0 140px -10px rgba(0, 163, 255, 0.28);
  animation: orb-drift 14s var(--ease) infinite alternate;
}
.orb::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 14%;
  width: 38%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.28), transparent 65%);
  filter: blur(4px);
  pointer-events: none;
}
.orb::after {
  content: '';
  position: absolute;
  inset: -4%;
  border-radius: inherit;
  background: conic-gradient(from 180deg, transparent 0%, rgba(0, 163, 255, 0.16) 25%, transparent 55%);
  filter: blur(36px);
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
  animation: orb-halo 18s linear infinite;
}
@keyframes orb-drift {
  from { transform: translate3d(-10px, -6px, 0) rotate(-3deg); }
  to   { transform: translate3d(12px, 8px, 0) rotate(4deg); }
}
@keyframes orb-halo {
  to { transform: rotate(360deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  letter-spacing: 0.01em;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0,163,255,0.6);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 24px 0 20px;
}
.display em {
  font-style: italic;
  color: var(--accent-warm);
}
.display--sm {
  font-size: clamp(36px, 5.2vw, 64px);
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  max-width: 520px;
}

.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;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero__actions--center {
  justify-content: center;
  margin-top: 28px;
}
.hero__waitlist {
  margin-top: 30px;
  max-width: 560px;
}
.hero__waitlist-label {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beta-form {
  display: grid;
  gap: 12px;
}
.beta-form__label {
  display: block;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}
.beta-form__row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}
.beta-form__row--wide { flex-wrap: nowrap; }
.beta-form__input {
  min-width: 280px;
  flex: 1 1 320px;
  height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.78);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 150ms var(--ease), background 150ms var(--ease), box-shadow 150ms var(--ease);
}
.beta-form__input::placeholder { color: rgba(255, 255, 255, 0.42); }
.beta-form__input:hover { border-color: rgba(255, 255, 255, 0.22); }
.beta-form__input:focus {
  outline: none;
  border-color: rgba(0, 163, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.14);
  background: rgba(8, 10, 12, 0.96);
}
.beta-form__submit {
  min-width: 170px;
  justify-content: center;
}
.beta-form__submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.beta-form__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}
.beta-form__message {
  min-height: 1.4em;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.beta-form__message.is-success { color: #9ae6b4; }
.beta-form__message.is-error { color: #fca5a5; }
.beta-form--section {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 80% 90% at 90% 0%, rgba(0, 163, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.94), rgba(8, 8, 8, 0.98));
}
.beta-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.beta-notes span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Section heads ──────────────────────────────────── */
.section-head {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--text-primary);
  margin: 20px 0 18px;
}
.section-head--sans {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.08;
}
.section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  max-width: 640px;
}
.section-head-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head-row .section-head { margin-top: 14px; }
.section-head-row--reverse > :first-child {
  order: 2;
  justify-self: end;
  text-align: right;
}
.section-head-row--reverse > .section-sub {
  order: 1;
  justify-self: start;
  text-align: left;
}
.section-head-row--reverse .eyebrow {
  justify-content: flex-end;
}

/* ── Logo strip ─────────────────────────────────────── */
.logo-strip {
  padding: 72px 0 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.logo-strip__label {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.logo-strip__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-variant: small-caps;
}
.logo-strip__list li {
  opacity: 0.7;
}

/* ── Prompt / Code card ─────────────────────────────── */
.prompt { padding: var(--section-pad-sm) 0; }
.prompt .eyebrow { margin-bottom: 6px; }
.prompt__intro {
  max-width: 640px;
}
.prompt__intro .section-head {
  margin-top: 12px;
  margin-bottom: 14px;
}
.prompt__intro .section-sub {
  max-width: 560px;
}
.prompt__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 16px;
  align-items: start;
  margin-top: 28px;
}
.prompt__main .code-card {
  margin-top: 0;
}
.prompt__aside .diff-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 0;
}
.prompt__aside .card--diff {
  padding: 24px 22px;
}

.code-card {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0c0c0c, #080808);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.03) inset;
}
.code-card--compact { margin-top: 32px; }
.code-card__tabs {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #0a0a0a;
  font-family: var(--font-mono);
  font-size: 12px;
}
.code-card__tabs .tab {
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--text-muted);
}
.code-card__tabs .tab.is-active {
  background: #181818;
  color: var(--text-primary);
}
.code-card__body {
  margin: 0;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #c8c8c8;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.code-card__body::-webkit-scrollbar {
  height: 8px;
}
.code-card__body::-webkit-scrollbar-track {
  background: transparent;
}
.code-card__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.code-card__body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
.c-prompt { color: var(--primary); }
.c-cmd { color: var(--text-primary); }
.c-tag { color: #6b7a8c; }
.c-key { color: #8ab4d8; }

/* ── Pillars ────────────────────────────────────────── */
.pillars { padding: var(--section-pad) 0; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--bg-elev);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), background 180ms var(--ease);
}
.card--feature {
  padding: 36px;
}
.card--feature h3 {
  margin: 18px 0 14px;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: #0c0c0c;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 16px 0 12px;
  letter-spacing: -0.01em;
}
.card p { margin: 0 0 12px; color: var(--text); font-size: 15px; line-height: 1.6; }
.card__note { color: var(--text); font-size: 14px; font-style: italic; opacity: 0.85; }
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1f1f22, #141418);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px -14px rgba(0, 163, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}
.card__icon--art img {
  width: 24px;
  height: 24px;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(0, 163, 255, 0.4)) brightness(1.5);
}
.home-cards .pillar-grid {
  gap: 16px;
}
.home-cards .pillar-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
.section-split__content .pillar-grid:not(.pillar-grid--three) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-cards .diff-grid {
  gap: 16px;
  margin-top: 36px;
}
.home-cards .card,
.home-cards .card--feature {
  padding: 24px 22px;
  border-radius: 18px;
}
.home-cards .card--feature {
  padding: 24px 22px;
}
.home-cards .card h3,
.home-cards .card--feature h3,
.prompt__aside .card--diff h3 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.home-cards .card p,
.home-cards .card--feature p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
}
.home-cards .card__note {
  font-size: 13px;
  opacity: 0.78;
}
.home-cards .card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}
.home-cards .tl-body,
.home-cards .story-row p,
.home-cards .stat__ctx,
.home-cards .footnote {
  font-size: 14px;
  line-height: 1.55;
}
.home-cards .timeline-card {
  margin-top: 36px;
  border-radius: 18px;
}
.home-cards .timeline-card__head {
  padding: 14px 18px;
}
.home-cards .tl-list li {
  padding: 14px 18px;
  gap: 16px;
  grid-template-columns: 140px 1fr auto;
}
.home-cards .story-list {
  margin-top: 40px;
}
.home-cards .story-row__obs,
.home-cards .story-row__act {
  padding: 20px 0;
}
.home-cards .story-row__obs { padding-right: 24px; }
.home-cards .story-row__act { padding-left: 24px; }
.home-cards .stats {
  gap: 16px;
  margin: 40px 0 24px;
}
.home-cards .stat {
  padding: 24px 22px;
  border-radius: 18px;
}
.home-cards .stat__value {
  font-size: clamp(44px, 5vw, 62px);
  margin-bottom: 10px;
}
.timeline__lead,
.story__lead,
.proof__lead {
  margin-bottom: 32px;
}
.kernel-showcase .section-split__content,
.timeline .section-split__content,
.story .section-split__content,
.proof .section-split__content {
  min-width: 0;
}
.kernel-showcase .section-split__content {
  max-width: 100%;
}
.mockup-panel {
  margin-top: 0;
  border-radius: 18px;
}
.mockup-panel__tabs {
  padding: 8px 12px;
}
.mockup-panel__body {
  padding: 18px 20px !important;
}
.kernel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: start;
  padding: 14px 0;
}
.kernel-row__title {
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
}
.kernel-row__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11px;
  line-height: 1.5;
}
.timeline .section-split__intro {
  max-width: 380px;
}
.timeline .section-split__content {
  padding-top: 28px;
}
.timeline-card {
  width: 100%;
}
.tl-list li {
  grid-template-columns: 128px 1fr auto;
}
.story .section-split__content {
  padding-top: 18px;
}
.story .section-split {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr) !important;
}
.story .section-split__intro {
  max-width: 460px !important;
}
.story-list {
  margin-top: 0 !important;
}
.story-row {
  gap: 16px;
}
.story-row__obs,
.story-row__act {
  padding: 14px 0 !important;
}
.story-row p {
  font-size: 14px;
  line-height: 1.5;
}
.proof .section-split__intro {
  max-width: 360px;
}
.proof .section-split__content {
  padding-top: 18px;
}
.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.proof-terminal {
  margin-top: 18px;
}
.proof-terminal__body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding: 18px 20px;
  font-size: 12.5px;
  line-height: 1.6;
}
.install__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}
.install__lead {
  max-width: 520px;
}
.install__panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
  background: var(--bg-elev);
}
.install__panel .hero__actions {
  margin-top: 18px;
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}
.faq__lead {
  max-width: 420px;
}
.faq__panel {
  margin-top: 0;
}
.kind-ico {
  margin-right: 6px;
  vertical-align: middle;
  color: currentColor;
  opacity: 0.7;
}
.eyebrow__ico {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  filter: brightness(1.3);
}
.hero__glow::after {
  content: '';
  position: absolute;
  right: 6%;
  top: 12%;
  width: 28px;
  height: 28px;
  background: url('images/_reference/resend.com/inline-svg-089-phoxo9.svg') center / contain no-repeat;
  opacity: 0.3;
  pointer-events: none;
  color: #4a4a4a;
}

/* ── Timeline (live claims UI artefact) ─────────────── */
.timeline { padding: var(--section-pad) 0 var(--section-pad-sm); border-top: 1px solid var(--border); }
.timeline-card {
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0c0c0c, #080808);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.timeline-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0, 163, 255, 0.7);
}
.tl-title { color: var(--text-primary); font-weight: 500; }
.tl-count { margin-left: auto; font-size: 11px; opacity: 0.6; }
.tl-list { list-style: none; margin: 0; padding: 0; }
.tl-list li {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 150ms var(--ease);
}
.tl-list li:last-child { border-bottom: 0; }
.tl-list li:hover { background: rgba(255, 255, 255, 0.015); }
.tl-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.tl-body { color: var(--text-primary); font-size: 15px; line-height: 1.45; }
.tl-metrics { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.tl-m {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.tl-m b { color: var(--text); font-weight: 500; }
.tl-m--strong {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.25);
  color: var(--primary);
}
.tl-m--strong b { color: var(--primary); }
.tl-m--warm {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(230, 194, 139, 0.08);
  border: 1px solid rgba(230, 194, 139, 0.22);
  color: var(--accent-warm);
}
.tl-m--warm b { color: var(--accent-warm); }
.tl-m--mute {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.tl-m--mute b { color: var(--text-muted); }
.tl-stale { opacity: 0.55; }
.tl-stale .tl-body { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.15); }

@media (max-width: 780px) {
  .tl-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }
  .tl-metrics { justify-content: flex-start; }
  .timeline-card__head { padding: 14px 18px; }
}

/* ── Story ──────────────────────────────────────────── */
.story { padding: var(--section-pad) 0; border-top: 1px solid var(--border); }
.story-list {
  list-style: none;
  padding: 0;
  margin: 64px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.story-row__obs,
.story-row__act {
  padding: 28px 0;
  transition: opacity 180ms var(--ease);
}
.story-row__obs {
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.story-row__act {
  padding-left: 32px;
}
.story-row + .story-row {
  border-top: 1px solid var(--border);
}
.story-row__kind {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.story-row__act .story-row__kind { color: var(--primary); }
.story-row p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
.story-row p code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: #141414;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-primary);
}

/* ── Diff ───────────────────────────────────────────── */
.diff { padding: var(--section-pad-sm) 0 var(--section-pad); }
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.card--diff h3 {
  font-size: 22px;
  margin-top: 0;
}
.bullets { list-style: none; padding: 0; margin: 16px 0 0; }
.bullets li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.55;
}
.bullets li:last-child { border-bottom: 0; }
.bullets--muted li { color: var(--text-muted); }
.bullets--strong li { color: var(--text-primary); }
.card--accent { border-color: rgba(0,163,255,0.3); background: linear-gradient(180deg, rgba(0,163,255,0.05), var(--bg-elev)); }

/* ── Proof ──────────────────────────────────────────── */
.proof { padding: var(--section-pad) 0; border-top: 1px solid var(--border); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 56px 0 32px;
}
.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--bg-elev);
  text-align: left;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 80px);
  line-height: 0.95;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.stat__label {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.stat__ctx { color: var(--text); font-size: 14px; opacity: 0.7; }
.footnote {
  max-width: 640px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Per agent ──────────────────────────────────────── */
.per-agent { padding: var(--section-pad) 0 var(--section-pad-sm); }
.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.agent-card__name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.agent-card p { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0; }

/* ── Install ────────────────────────────────────────── */
.install { padding: var(--section-pad-sm) 0 var(--section-pad); border-top: 1px solid var(--border); }

/* ── FAQ ────────────────────────────────────────────── */
.faq { padding: var(--section-pad-sm) 0 var(--section-pad); border-top: 1px solid var(--border); }
.faq-list { margin-top: 48px; }
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-list summary {
  font-size: 18px;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 180ms var(--ease), color 180ms var(--ease);
}
.faq-list details[open] summary::after {
  content: '−';
  color: var(--primary);
}
.faq-list details p {
  margin: 14px 0 4px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* ── CTA ────────────────────────────────────────────── */
.cta { padding: var(--section-pad) 0; border-top: 1px solid var(--border); }
.cta__inner { text-align: center; }
.cta--big {
  position: relative;
  padding: clamp(140px, 16vw, 220px) 0 clamp(140px, 16vw, 220px);
  overflow: hidden;
}
.cta--big .display {
  font-size: clamp(56px, 8.5vw, 120px);
  margin: 20px 0 24px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.cta--big .eyebrow { margin-bottom: 8px; }
.cta__lede { max-width: 560px; margin: 0 auto 40px; font-size: 19px; color: var(--text); }
.cta__glow {
  position: absolute;
  inset: -30% -10% -10% -10%;
  background: radial-gradient(ellipse 50% 40% at 50% 60%, rgba(0, 163, 255, 0.15), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.cta--big .container { position: relative; z-index: 1; }

/* ── Footer ─────────────────────────────────────────── */
.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  align-items: start;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 8px;
}
.footer__tagline { color: var(--text); margin: 0 0 16px; max-width: 320px; }
.footer__meta { color: var(--text-muted); margin: 0; font-size: 13px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  color: var(--text-primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer__cols a {
  display: block;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 120ms var(--ease);
}
.footer__cols a:hover { color: var(--text-primary); }

/* ── Reveal on scroll ───────────────────────────────── */
/* Only hide reveals if JS class is present. Ensures content stays visible when JS fails or during full-page capture. */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; min-height: 280px; }
  .section-head-row { grid-template-columns: 1fr; gap: 20px; }
  .prompt__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-head-row--reverse > :first-child,
  .section-head-row--reverse > .section-sub {
    order: initial;
    justify-self: stretch;
    text-align: left;
  }
  .section-head-row--reverse .eyebrow { justify-content: flex-start; }
  .pillar-grid, .diff-grid, .stats, .agent-grid {
    grid-template-columns: 1fr;
  }
  .story-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta .link-quiet { display: none; }
}

@media (max-width: 960px) {
  :root { --section-pad: 100px; --section-pad-sm: 72px; }
  .logo-strip { padding: 56px 0 48px; }
  .logo-strip__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    text-align: center;
  }
  .logo-strip__list li {
    font-size: 12px;
  }
  .nav__cta { display: none; }
  .per-agent .agent-grid { grid-template-columns: 1fr; gap: 14px; }
  .code-card__body {
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
            mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
  }
  .docs-body .section-head { margin-top: 72px; }
  .pricing-faq .container { padding: 36px 28px; }
  .resource-grid .pillar-grid { gap: 20px; row-gap: 20px; }
  .resource-grid .card { padding: 28px; }
  .beta-form__row--wide { flex-wrap: wrap; }
  .beta-form__submit { width: 100%; }
}

@media (max-width: 560px) {
  :root { --section-pad: 88px; --section-pad-sm: 56px; }
  .container { padding: 0 18px; }
  .nav__inner { height: 58px; gap: 16px; }
  .nav__logo { font-size: 24px; }
  .btn { padding: 10px 16px; font-size: 13px; }
  .code-card__body { padding: 18px 20px; font-size: 12.5px; }
  .orb { width: 240px; height: 240px; }
  .hero__art { min-height: 240px; }
  .display {
    font-size: clamp(52px, 12vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.025em;
  }
  .hero { padding: 72px 0 96px; }
  .hero__grid { gap: 28px; }
  .stats { margin: 40px 0 24px; gap: 14px; }
  .stat { padding: 22px; }
  .stat__value { font-size: 52px; }
  .section-head { font-size: clamp(28px, 7vw, 36px); }
  .story-list { margin-top: 40px; gap: 12px; }
  .story-row__obs, .story-row__act { padding: 18px 20px; }
  .card { padding: 24px; }
  .card--feature { padding: 28px; }
  .pillar-grid, .diff-grid, .agent-grid { gap: 14px; }
  .docs-body .section-head { margin-top: 64px; }
  .hero__waitlist { margin-top: 24px; }
  .beta-form__input { min-width: 0; width: 100%; }
  .beta-form--section { padding: 22px; }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero__actions .btn--primary {
    width: 100%;
    justify-content: center;
  }
  .hero__actions .btn--ghost {
    background: transparent;
    border: 0;
    padding: 4px 0;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 4px;
    width: 100%;
    justify-content: center;
  }
  .hero__actions .btn--ghost:hover {
    background: transparent;
    border: 0;
    color: var(--text-primary);
  }
  .hero__actions--center {
    align-items: center;
  }
}

/* ── Subpages ───────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero h1 { margin: 20px 0 16px; }
.page-hero .lede { margin: 0 auto; max-width: 620px; }

.docs-body { padding: var(--section-pad) 0; }
.docs-body .section-head { font-size: clamp(24px, 3vw, 36px); margin-top: 112px; margin-bottom: 16px; }
.docs-body .section-head:first-of-type { margin-top: 0; }
.docs-body p { font-size: 16px; line-height: 1.6; color: var(--text); max-width: 640px; }
.docs-body .code-card { margin-top: 20px; margin-bottom: 8px; }
.doc-callout {
  margin-top: 20px;
  max-width: 680px;
  padding: 24px 24px 22px;
}
.doc-callout p {
  margin: 0;
  max-width: none;
}
.doc-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.resource-grid { padding: var(--section-pad) 0; }
.resource-grid .pillar-grid {
  gap: 28px;
  row-gap: 28px;
}
.resource-grid .card {
  padding: 32px;
}

.pricing { padding: var(--section-pad-sm) 0; }
.card--pricing {
  padding: 48px;
  text-align: center;
  background: linear-gradient(180deg, #0c0c0c, #080808);
  border: 1px solid var(--border-strong);
}
.card--pricing h3 {
  font-size: 28px;
  margin: 0 0 8px;
}
.card--pricing .bullets { text-align: left; margin: 32px auto 0; max-width: 380px; }
.pricing__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  color: var(--text-primary);
}
.pricing__currency {
  font-size: 44px;
  line-height: 1;
  opacity: 0.75;
  margin-top: 0.18em;
  align-self: flex-start;
}
.pricing__amount { font-size: 96px; line-height: 1; letter-spacing: -0.03em; align-self: flex-start; }
.pricing__unit {
  font-size: 16px;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-left: 8px;
  align-self: flex-end;
  padding-bottom: 0.4em;
}

.pricing-faq { padding: var(--section-pad-sm) 0 var(--section-pad); border-top: 1px solid var(--border); }
.pricing-faq .container {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0c0c0c, #080808);
  padding: 48px 56px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.pricing-faq .section-head { margin-top: 40px; margin-bottom: 12px; font-size: clamp(22px, 2.6vw, 28px); }
.pricing-faq .section-head:first-of-type { margin-top: 0; }
.pricing-faq p { margin: 0 0 20px; }
.pricing-faq p:last-child { margin-bottom: 0; }

/* ── Mobile nav open ─────────────────────────────────── */
.nav.is-open .nav__links {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav.is-open .nav__links a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-primary);
}
.nav.is-open .nav__links a:last-child { border-bottom: 0; }

/* === phase-c features evidence === */
.evidence-panel {
  margin: 56px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0c0c0c, #080808);
  box-shadow:
    0 40px 80px -48px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
}
.evidence-panel--narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.evidence-panel__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}
.evidence-panel__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.evidence-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.evidence-panel__grid {
  display: grid;
  gap: 0;
}
.evidence-panel__grid--2 {
  grid-template-columns: 1fr 1fr;
}
.evidence-panel__grid--2 > * + * {
  border-left: 1px solid var(--border);
}

/* Panel A — log */
.evidence-log,
.evidence-ruled,
.evidence-projects,
.evidence-friction {
  padding: 24px 28px;
}
.evidence-log__head,
.evidence-ruled__head,
.evidence-projects__head,
.evidence-friction__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.evidence-friction__head {
  justify-content: space-between;
}
.evidence-friction__scope {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: none;
}
.evidence-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0, 163, 255, 0.7);
}
.evidence-log__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text);
}
.evidence-log__list li {
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.evidence-log__list li:last-child { border-bottom: 0; }
.evidence-log__list code {
  font-family: var(--font-mono);
  background: #141414;
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 12px;
}
.evidence-log__ts {
  color: var(--text-muted);
  margin-right: 8px;
}
.evidence-log__mark {
  color: var(--primary);
}

/* Panel A — ruled */
.evidence-ruled__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.evidence-rule {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.015);
}
.evidence-rule__title {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
}
.evidence-rule__title code {
  font-family: var(--font-mono);
  background: #141414;
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 12.5px;
}
.evidence-rule__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.evidence-rule--faded { opacity: 0.55; }
.evidence-rule--faded .evidence-rule__title { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.2); }
.evidence-rule__forget {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 6px;
}

/* Shared chips */
.chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  white-space: nowrap;
}
.chip--fresh {
  color: var(--primary);
  border-color: rgba(0, 163, 255, 0.25);
  background: rgba(0, 163, 255, 0.08);
}
.chip--conf {
  color: var(--primary-bright);
  border-color: rgba(61, 189, 255, 0.22);
  background: rgba(61, 189, 255, 0.06);
}
.chip--stab {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.025);
}
.chip--warm {
  color: var(--accent-warm);
  border-color: rgba(230, 194, 139, 0.22);
  background: rgba(230, 194, 139, 0.08);
}
.chip--proof {
  color: var(--primary);
  border-color: rgba(0, 163, 255, 0.3);
  background: rgba(0, 163, 255, 0.1);
}
.chip--mute {
  color: var(--text-muted);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.015);
}

/* Panel B — projects */
.evidence-projects__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.evidence-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.evidence-project:last-child { border-bottom: 0; }
.evidence-project__name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.evidence-project--active .evidence-project__name { color: var(--text-primary); }
.evidence-project__chips {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Panel B — friction */
.evidence-friction__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.evidence-friction__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.015);
}
.evidence-friction__row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.evidence-friction__agent {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.evidence-friction__what {
  color: var(--text-primary);
  font-size: 14px;
  flex: 1 1 auto;
}
.evidence-friction__fix {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}
.evidence-friction__fix code {
  font-family: var(--font-mono);
  background: #141414;
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text);
  font-size: 11.5px;
}

/* Panel C — nudge packet */
.nudge-packet { padding: 28px 32px; }
.nudge-packet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.nudge-packet__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nudge-packet__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.nudge-packet__evidence {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.015);
  margin-bottom: 18px;
}
.nudge-packet__evidence-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.nudge-packet__evidence-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nudge-packet__evidence-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}
.nudge-packet__evidence-list li:last-child { border-bottom: 0; }
.nudge-packet__kind {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.nudge-packet__detail { color: var(--text-primary); }
.nudge-packet__stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 163, 255, 0.3);
  background: rgba(0, 163, 255, 0.08);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.nudge-packet__stamp-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #00121f;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 163, 255, 0.45);
}
.nudge-packet__stamp-text { color: var(--primary); }

@media (max-width: 720px) {
  .evidence-panel { margin: 40px 0; }
  .evidence-panel__head { padding: 22px 20px 16px; }
  .evidence-panel__grid--2 { grid-template-columns: 1fr; }
  .evidence-panel__grid--2 > * + * {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .evidence-log,
  .evidence-ruled,
  .evidence-projects,
  .evidence-friction,
  .nudge-packet { padding: 20px; }
  .nudge-packet__evidence-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .evidence-project {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .evidence-project__chips { justify-content: flex-start; }
}

/* === phase-c docs+pricing === */

/* Docs — numbered step badges */
.doc-step { position: relative; }
.doc-step .section-head { display: flex; align-items: baseline; gap: 16px; }
.doc-step__number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1;
  flex: 0 0 auto;
  align-self: center;
  transform: translateY(-0.15em);
}

/* Docs — "On this page" rail */
.docs-body__inner { position: relative; }
.docs-toc { display: none; }
@media (min-width: 960px) {
  .docs-toc {
    display: block;
    position: sticky;
    top: 96px;
    float: right;
    width: 220px;
    margin-right: -260px;
    margin-top: 8px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
.docs-toc__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.docs-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.docs-toc__list li { counter-increment: toc; }
.docs-toc__link {
  display: block;
  position: relative;
  padding: 4px 0 4px 26px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.docs-toc__link::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 4px;
  top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.55;
}
.docs-toc__link:hover { color: var(--text-primary); }
.docs-toc__link.is-active {
  color: var(--text-primary);
  border-left-color: var(--primary);
  padding-left: 24px;
}
.docs-toc__link.is-active::before { color: var(--primary); opacity: 1; }

/* Pricing — tier card + sample output grid */
.pricing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.pricing-hero-grid .card--pricing { margin: 0; max-width: none; }
.pricing-sample { display: flex; flex-direction: column; gap: 14px; }
.pricing-sample__card { margin: 0; }
.pricing-sample__caption {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
@media (min-width: 1000px) {
  .pricing-hero-grid {
    grid-template-columns: minmax(360px, 1fr) minmax(340px, 1fr);
    max-width: 1040px;
    gap: 40px;
  }
  .pricing-sample { position: sticky; top: 96px; }
}

/* Pricing — "What you get" feature matrix */
.pricing-matrix {
  margin: 64px auto 0;
  max-width: var(--container-narrow);
  padding: 40px 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0c0c0c, #080808);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.pricing-matrix__head { margin-bottom: 28px; }
.pricing-matrix__head h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.pricing-matrix__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.pricing-matrix__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 32px;
}
@media (min-width: 720px) {
  .pricing-matrix__grid { grid-template-columns: 1fr 1fr; }
}
.pricing-matrix__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.45;
}
.pricing-matrix__row:first-child,
.pricing-matrix__grid > .pricing-matrix__row:nth-child(2) { border-top: 0; }
@media (max-width: 719px) {
  .pricing-matrix__grid > .pricing-matrix__row:nth-child(2) { border-top: 1px solid var(--border); }
}
.pricing-matrix__check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  margin-top: 2px;
}

@media (max-width: 719px) {
  .pricing-matrix { padding: 28px 24px; }
}

/* === phase-c home mockups === */
.mockup-panel {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0d0d0d 0%, #070707 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}
.mockup-panel__tabs {
  display: flex;
  gap: 2px;
  padding: 10px 10px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.mockup-tab {
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  border-radius: 8px 8px 0 0;
  letter-spacing: 0.01em;
  cursor: default;
}
.mockup-tab.is-active {
  color: var(--text-primary);
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-bottom-color: #0a0a0a;
  position: relative;
  margin-bottom: -1px;
}
.mockup-panel__body { padding: 28px 32px; }

.kernel-row {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
}
.kernel-row:first-child { border-top: 0; padding-top: 4px; }
.kernel-row__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.kernel-row__scope {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-right: 8px;
}
.kernel-row__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.kernel-row__meta b { color: var(--text-primary); font-weight: 600; }
.kernel-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kernel-badge--rule { background: rgba(0, 163, 255, 0.12); color: var(--primary-bright); }
.kernel-badge--nudge { background: rgba(230, 194, 139, 0.13); color: var(--accent-warm); }
.kernel-badge--hook { background: rgba(255, 255, 255, 0.08); color: var(--text-primary); }

.ide-panel {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0d0d0d 0%, #070707 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr 260px;
}
.ide-panel > * {
  padding: 20px 22px;
  min-height: 280px;
}
.ide-filetree { border-right: 1px solid var(--border); background: rgba(0, 0, 0, 0.3); }
.ide-filetree__label,
.ide-editor__label,
.ide-rules__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.ide-filetree__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ide-filetree__list li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
}
.ide-filetree__list li.is-active {
  color: var(--text-primary);
  background: rgba(0, 163, 255, 0.08);
}
.ide-editor { border-right: 1px solid var(--border); }
.ide-editor pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre;
  overflow-x: auto;
}
.ide-editor .c-key { color: #C594C5; }
.ide-editor .c-str { color: #7DCEA0; }
.ide-editor .c-fn { color: #76B3FA; }
.ide-editor .c-com { color: #6B7280; font-style: italic; }
.ide-rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ide-rules__list li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.015);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.ide-rules__list li b {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 13px;
  margin-bottom: 4px;
}
@media (max-width: 820px) {
  .ide-panel { grid-template-columns: 1fr; }
  .ide-panel > * { border-right: 0; border-bottom: 1px solid var(--border); min-height: 0; }
  .ide-panel > *:last-child { border-bottom: 0; }
}

.proof-terminal {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #060606;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 163, 255, 0.08) inset;
  overflow: hidden;
}
.proof-terminal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.proof-terminal__title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(125, 206, 160, 0.12);
  color: #7DCEA0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.proof-terminal__body {
  padding: 22px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre;
  overflow-x: auto;
}
.proof-terminal__body .c-ok { color: #7DCEA0; }
.proof-terminal__body .c-dim { color: var(--text-muted); }

/* === motion-pass: hover + focus + counter === */

.card,
.card--feature,
.agent-card,
.evidence-panel,
.mockup-panel,
.proof-terminal,
.ide-panel {
  transition: transform 280ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
              border-color 280ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow 280ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.card:hover,
.agent-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}

.card--feature:hover {
  border-color: rgba(0, 163, 255, 0.28);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 163, 255, 0.12) inset;
}
.card--feature:hover .card__icon--art img { filter: drop-shadow(0 0 12px rgba(0, 163, 255, 0.55)) brightness(1.7); }

.pricing-matrix__row { transition: border-color 220ms ease, color 220ms ease; }
.pricing-matrix__row:hover { border-top-color: rgba(0, 163, 255, 0.28); color: var(--text-primary); }

.kernel-row { transition: background 220ms ease; }
.kernel-row:hover { background: rgba(255, 255, 255, 0.015); }

.ide-filetree__list li { transition: background 160ms ease, color 160ms ease; cursor: default; }
.ide-filetree__list li:hover { background: rgba(0, 163, 255, 0.06); color: var(--text-primary); }

.ide-rules__list li { transition: border-color 220ms ease, background 220ms ease; }
.ide-rules__list li:hover { border-color: rgba(0, 163, 255, 0.22); background: rgba(0, 163, 255, 0.03); }

.mockup-tab { transition: color 180ms ease, background 180ms ease; cursor: default; }
.mockup-tab:not(.is-active):hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.02); }

a { transition: color 180ms ease, opacity 180ms ease; }
.link-quiet:hover { color: var(--text-primary); }
.nav__links a { position: relative; transition: color 180ms ease; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--text-primary);
  transition: right 260ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { right: 0; }

.logo-strip__list li { transition: color 220ms ease, opacity 220ms ease; cursor: default; }
.logo-strip__list li:hover { color: var(--text-primary); opacity: 1; }

.btn { transition: transform 200ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1)), background 200ms ease, color 200ms ease, box-shadow 220ms ease; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(255, 255, 255, 0.3); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--text-primary); }

.footer__cols a { transition: color 180ms ease; }
.footer__cols a:hover { color: var(--text-primary); }

.faq-list details summary { transition: color 180ms ease; cursor: pointer; }
.faq-list details summary:hover { color: var(--text-primary); }
.faq-list details[open] summary { color: var(--text-primary); }

.docs-toc__link { transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.docs-toc__link:hover { color: var(--text-primary); }

.tl-list li { transition: background 220ms ease; }
.tl-list li:hover { background: rgba(255, 255, 255, 0.015); }

.evidence-project,
.evidence-friction__item,
.evidence-rule { transition: border-color 220ms ease, background 220ms ease; }
.evidence-project:hover { border-color: rgba(0, 163, 255, 0.22); }
.evidence-friction__item:hover { border-color: rgba(230, 194, 139, 0.24); }
.evidence-rule:hover:not(.evidence-rule--faded) { border-color: rgba(0, 163, 255, 0.22); background: rgba(0, 163, 255, 0.03); }

.story-row__obs,
.story-row__act { transition: border-color 220ms ease, color 220ms ease; }
.story-row:hover .story-row__obs { border-left-color: rgba(0, 163, 255, 0.4); }
.story-row:hover .story-row__act { border-left-color: rgba(230, 194, 139, 0.4); }

.stat { transition: transform 320ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1)); }
.stat:hover { transform: translateY(-3px); }

a:focus,
button:focus,
details summary:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus { outline: none; }

a:focus-visible,
button:focus-visible,
details summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }
.nav__links a:focus-visible,
.footer__cols a:focus-visible,
.link-quiet:focus-visible { outline-offset: 6px; }
.card:focus-within { border-color: rgba(0, 163, 255, 0.28); }

.stat__value { transition: color 200ms ease; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .card, .card--feature, .agent-card,
  .evidence-panel, .mockup-panel, .proof-terminal, .ide-panel,
  .pricing-matrix__row, .kernel-row, .ide-filetree__list li,
  .ide-rules__list li, .mockup-tab, a, .btn, .stat,
  .tl-list li, .evidence-project, .evidence-friction__item,
  .evidence-rule, .story-row__obs, .story-row__act,
  .nav__links a, .nav__links a::after, .logo-strip__list li,
  .faq-list details summary, .docs-toc__link, .footer__cols a,
  .stat__value { transition: none !important; }
  .card:hover, .card--feature:hover, .agent-card:hover,
  .btn--primary:hover, .stat:hover { transform: none !important; }
}

/* === hero video (full-bleed, pulled up behind nav) === */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: -68px;
  min-height: clamp(680px, 84vh, 920px);
  padding: calc(68px + clamp(52px, 8vw, 112px)) 0 clamp(64px, 8vw, 112px);
}
.hero__art {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  min-height: 0 !important;
  pointer-events: none;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.55);
}
.hero__video-grade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 22%, rgba(0, 0, 0, 0.5) 70%, #000 100%),
    radial-gradient(ellipse 85% 65% at 25% 50%, rgba(0, 0, 0, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(0, 163, 255, 0.05) 0%, transparent 60%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}
.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.hero .container { position: relative; z-index: 1; }
.hero__glow { z-index: 0; opacity: 0.4; }
@media (max-width: 1180px), (max-height: 900px) {
  .hero {
    min-height: auto;
    padding: calc(68px + clamp(40px, 7vw, 84px)) 0 clamp(48px, 7vw, 80px);
  }
  .hero__copy { max-width: 560px; }
}
@media (max-width: 960px) {
  .hero {
    margin-top: -68px;
    min-height: auto;
    padding: calc(68px + clamp(34px, 10vw, 72px)) 0 clamp(40px, 10vw, 64px);
  }
  .hero__art { order: 0 !important; min-height: 0 !important; }
  .hero__copy { order: 0 !important; }
  .hero__video-grade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.65) 70%, #000 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { animation: none; }
}

/* === v13 fidelity pass — medium/low issue sweep === */

/* Inline-SVG friendly icons (features + resources) */
.card__icon--art svg,
.card__icon--art img {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  color: var(--text-primary);
  transition: color 220ms var(--ease), transform 220ms var(--ease), filter 220ms var(--ease);
}
.card:hover .card__icon--art svg,
.card--feature:hover .card__icon--art svg { color: var(--primary); transform: translateY(-1px); }

/* $0 / forever — align currency to cap-height of numeral */
.pricing__price { align-items: flex-start; gap: 4px; }
.pricing__currency {
  font-size: 40px;
  line-height: 1;
  margin-top: 0.22em;
  opacity: 0.7;
  letter-spacing: -0.01em;
}
.pricing__amount { letter-spacing: -0.035em; }

/* Pricing — equal-height tier/match-stream row */
.pricing-hero-grid { align-items: stretch; }
.pricing-hero-grid > .card--pricing,
.pricing-hero-grid > .pricing-sample { height: 100%; }
.pricing-hero-grid .pricing-sample__card { flex: 1; display: flex; flex-direction: column; }
.pricing-hero-grid .pricing-sample__card .code-card__body { flex: 1; }
@media (min-width: 1000px) {
  .pricing-hero-grid .pricing-sample { position: static; }
}

/* Pricing matrix — 2-column on desktop for more structure */
@media (min-width: 820px) {
  .pricing-matrix__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
  }
}

/* Docs — raise rhythm between steps so each command gets its own beat */
.docs-body .doc-step { margin-top: 0; }
.docs-body .doc-step + .doc-step,
.docs-body .section-head + .doc-step { margin-top: 8px; }
.docs-body .doc-step .section-head { margin-top: 96px; }
.docs-body .doc-step:first-of-type .section-head { margin-top: 40px; }
@media (max-width: 960px) {
  .docs-body .doc-step .section-head { margin-top: 72px; }
}

/* Features — breathe cards and product-UI panels apart */
.features-grid .pillar-grid { gap: 28px; row-gap: 32px; }
.card--feature { padding: 32px 30px; }
.evidence-panel,
.product-ui-panel { margin-top: 64px; margin-bottom: 64px; }

/* Resources — more breathing room */
@media (min-width: 820px) {
  .resource-grid .pillar-grid { gap: 32px; row-gap: 36px; }
  .resource-grid .card { padding: 32px; }
}

/* Resource card metadata */
.card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.card__meta__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); display: inline-block; }

/* Logo strip — monogram wordmark treatment */
.logo-strip__list { gap: 36px; }
.logo-strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}
.logo-strip__monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.logo-strip__list li:hover .logo-strip__monogram {
  border-color: rgba(0, 163, 255, 0.35);
  color: var(--primary);
}
@media (max-width: 960px) {
  .logo-strip__list { gap: 20px 24px; }
  .logo-strip__monogram { width: 20px; height: 20px; font-size: 10px; }
}

/* Mobile hero — let H1 breathe into 2-3 lines instead of 4 */
@media (max-width: 640px) {
  .hero .display br { display: none; }
  .hero .display {
    font-size: clamp(42px, 10vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }
}

/* === v16 fidelity pass — lockups, pill, density === */

/* Hero live pill — replaces plain eyebrow for velocity signal */
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.005em;
  border: 1px solid rgba(0, 163, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 163, 255, 0.08), rgba(0, 163, 255, 0.02));
  text-decoration: none;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease), background 220ms var(--ease);
  box-shadow: 0 0 0 0 rgba(0, 163, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hero__pill:hover {
  border-color: rgba(0, 163, 255, 0.55);
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(0, 163, 255, 0.14), rgba(0, 163, 255, 0.04));
}
.hero__pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00a3ff;
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.18);
  animation: munin-pulse 2.4s ease-in-out infinite;
}
.hero__pill-arrow {
  font-family: var(--font-body);
  color: var(--text-muted);
  transition: transform 220ms var(--ease), color 220ms var(--ease);
}
.hero__pill:hover .hero__pill-arrow { color: var(--text-primary); transform: translateX(3px); }
@keyframes munin-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.18); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 163, 255, 0.04); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__pill-dot { animation: none; }
}

/* Agent compatibility lockups — replaces monogram treatment */
.compat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.compat-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}
.compat-item:hover { color: var(--text-primary); transform: translateY(-1px); }
.compat-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--text-primary);
  opacity: 0.8;
}
.compat-mark svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.compat-item:hover .compat-mark { opacity: 1; color: var(--primary); }
@media (max-width: 720px) {
  .compat-grid { gap: 16px 22px; }
  .compat-item { font-size: 11.5px; letter-spacing: 0.06em; }
  .compat-mark { width: 22px; height: 22px; }
  .compat-mark svg { width: 18px; height: 18px; }
}

/* Stat — session-count context line under caption */
.stat__ctx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat__ctx strong {
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0;
}

/* Footer — expand from 3 to 5 columns on desktop */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (min-width: 860px) {
  .footer__cols { grid-template-columns: repeat(5, 1fr); gap: 40px; }
}
.footer__cols h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 14px;
}
.footer__cols a,
.footer__cols span {
  display: block;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text);
}
.footer__cols a { transition: color 160ms var(--ease); }
.footer__cols a:hover { color: var(--text-primary); }

/* Nav — accommodate Changelog addition */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .nav__inner { gap: 24px; }
}

/* Changelog section (resources.html#changelog) */
.changelog { padding: var(--section-pad-sm) 0; }
.changelog-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.changelog-list li {
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  font-size: 14.5px;
  color: var(--text);
  transition: border-color 220ms var(--ease), background 220ms var(--ease), transform 220ms var(--ease);
}
.changelog-list li:hover {
  border-color: rgba(0, 163, 255, 0.3);
  background: rgba(0, 163, 255, 0.03);
  transform: translateX(2px);
}
.changelog-list li b {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-right: 10px;
  letter-spacing: -0.01em;
}

/* === v17: density lifts === */

/* Stagger timing for .reveal cascades */
.reveal[data-stagger="1"] { transition-delay: 60ms; }
.reveal[data-stagger="2"] { transition-delay: 120ms; }
.reveal[data-stagger="3"] { transition-delay: 180ms; }
.reveal[data-stagger="4"] { transition-delay: 240ms; }
.reveal[data-stagger="5"] { transition-delay: 300ms; }
.reveal[data-stagger="6"] { transition-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal[data-stagger] { transition-delay: 0ms !important; }
}

/* Pricing — founder pull quote at top of tier card */
.pricing-founder-quote {
  max-width: var(--container-narrow);
  margin: 0 auto 40px;
  padding: 24px 28px;
  border-left: 2px solid rgba(0, 163, 255, 0.55);
  background: linear-gradient(180deg, rgba(0, 163, 255, 0.04), rgba(255, 255, 255, 0.01));
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-align: left;
}
.pricing-founder-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Pricing — "What you DON'T get" row */
.pricing-exclusions {
  margin: 0 auto;
  max-width: var(--container-narrow);
  padding: 28px 40px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}
.pricing-exclusions__head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.pricing-exclusions__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 760px) {
  .pricing-exclusions__grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
.pricing-exclusions__grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
}
.pricing-exclusions__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex: 0 0 auto;
}

/* Features — team note block (non-testimonial pull quote) */
.team-note {
  margin: 72px auto;
  max-width: var(--container-narrow);
  padding: 40px 48px;
  border: 1px solid rgba(0, 163, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 163, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #0c0c0c, #060606);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}
.team-note__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: stretch;
  padding: 4px 0;
  border-right: 1px solid rgba(0, 163, 255, 0.2);
  padding-right: 22px;
}
.team-note__body {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.team-note__body p { margin: 0 0 18px; }
.team-note__body p:last-child { margin-bottom: 0; }
.team-note__sig {
  display: block;
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .team-note { grid-template-columns: 1fr; padding: 32px 28px; gap: 20px; }
  .team-note__eyebrow { writing-mode: horizontal-tb; transform: none; border-right: 0; border-bottom: 1px solid rgba(0, 163, 255, 0.2); padding: 0 0 10px; }
}

/* Resources — featured card (first guide promoted) */
.resource-callout {
  padding: 0 0 44px;
}
.resource-callout__card {
  text-align: center;
  border-color: rgba(0, 163, 255, 0.22);
  background:
    radial-gradient(ellipse 85% 90% at 50% -10%, rgba(0, 163, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #0b0b0d, #060607);
}
.resource-callout__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 163, 255, 0.35);
  background: rgba(0, 163, 255, 0.06);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.resource-callout__card .section-sub {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.resource-featured {
  margin: 0 auto 48px;
  max-width: var(--container-narrow);
  padding: 44px 48px;
  border: 1px solid rgba(0, 163, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(0, 163, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #0c0c0c, #060606);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 280ms var(--ease), transform 280ms var(--ease);
  color: inherit;
  text-decoration: none;
}
.resource-featured:hover { border-color: rgba(0, 163, 255, 0.45); transform: translateY(-2px); }
.resource-featured--static:hover {
  border-color: rgba(0, 163, 255, 0.22);
  transform: none;
}
.resource-featured__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(0, 163, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.06);
  margin-bottom: 18px;
}
.resource-featured h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text-primary);
}
.resource-featured__body { color: var(--text); line-height: 1.55; margin: 0 0 22px; }
.resource-featured__meta { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.resource-featured__more {
  margin: 0;
  color: rgba(0, 163, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
}
.resource-featured:hover .resource-featured__more { color: #ffffff; }
.resource-featured__status {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.resource-featured__visual {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: linear-gradient(180deg, #111114, #08080a);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #c8c8c8;
  line-height: 1.7;
}
.resource-featured__visual pre { margin: 0; white-space: pre; overflow: hidden; }
@media (max-width: 860px) {
  .resource-featured { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
}

/* === v20 QA sweep === */

/* Hero video — lighter grade so the raven silhouette actually reads */
.hero__video { filter: grayscale(1) contrast(1.02) brightness(0.78) !important; }
.hero__video-grade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 26%, rgba(0, 0, 0, 0.4) 70%, #000 100%),
    radial-gradient(ellipse 85% 65% at 25% 50%, rgba(0, 0, 0, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(0, 163, 255, 0.06) 0%, transparent 60%) !important;
}
@media (max-width: 960px) {
  .hero__video-grade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.38) 30%, rgba(0, 0, 0, 0.55) 70%, #000 100%) !important;
  }
}

/* Stats — small superscript tilde, dropped from the main glyph */
.stat__value::before {
  content: '~';
  font-family: var(--font-display);
  font-size: 0.42em;
  color: var(--text-muted);
  vertical-align: 0.5em;
  margin-right: 2px;
  letter-spacing: 0;
  font-weight: 400;
}
.stat__value.no-approx::before { content: ''; }

/* Features — thicker icon strokes for legibility at 24px */
.card__icon--art svg { stroke-width: 1.75 !important; width: 26px !important; height: 26px !important; }
.card__icon { width: 52px; height: 52px; }

/* Docs — anchor rail contrast + active accent, step pill contrast */
.docs-toc {
  background: rgba(12, 12, 12, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.docs-toc__label {
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 12px;
}
.docs-toc__link {
  font-size: 13.5px;
  color: var(--text);
  transition: color 180ms var(--ease), border-color 180ms var(--ease), padding-left 180ms var(--ease);
}
.docs-toc__link:hover { color: var(--text-primary); background: rgba(0, 163, 255, 0.04); border-radius: 4px; }
.docs-toc__link.is-active {
  color: var(--text-primary);
  border-left-color: var(--primary);
  background: rgba(0, 163, 255, 0.08);
  border-radius: 0 4px 4px 0;
}

.doc-step__number {
  background: rgba(0, 163, 255, 0.1) !important;
  border-color: rgba(0, 163, 255, 0.35) !important;
  color: var(--primary) !important;
  font-weight: 600;
  padding: 5px 12px !important;
}

/* Docs — stronger mobile code fade: wider gradient + bottom visible hint */
@media (max-width: 960px) {
  .code-card__body {
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%) !important;
            mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%) !important;
    padding-right: 0 !important;
  }
  .code-card { position: relative; }
  .code-card::after {
    content: '→';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(0, 163, 255, 0.08);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.8;
  }
}

/* Pricing — tier / terminal panel parity + heading promotion + button constraint */
.pricing-hero-grid .card--pricing { display: flex; flex-direction: column; }
.pricing-hero-grid .card--pricing .hero__actions { margin-top: auto !important; padding-top: 24px; }
.pricing-hero-grid .pricing-sample__card {
  height: 100%;
  min-height: 100%;
}
.pricing-hero-grid .pricing-sample__card .code-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pricing-hero-grid .pricing-sample__caption {
  margin-top: 14px;
  color: var(--text);
}

/* "What you DON'T get" label promoted */
.pricing-exclusions__head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 18px;
}
.pricing-exclusions__head::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--text-muted);
  margin-right: 12px;
  vertical-align: middle;
}

/* Pricing button — constrain tier card CTA */
.card--pricing .btn--primary { min-width: 200px; max-width: 240px; }

/* Pricing feature list checks (desktop parity with mobile) */
.bullets--strong li {
  position: relative;
  padding-left: 28px;
}
.bullets--strong li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.14);
  border: 1px solid rgba(0, 163, 255, 0.4);
  box-shadow: inset 0 0 0 3px #0b0b0b;
}
.bullets--strong li::after {
  content: '\2713';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  font-size: 9px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Resources — pump featured panel + close changelog seam */
.resource-featured { padding: 56px 56px !important; gap: 56px !important; }
.resource-featured h2 { font-size: clamp(32px, 4vw, 48px) !important; line-height: 1.08 !important; }
.resource-featured__tag { margin-bottom: 22px; }
.resource-featured__visual { padding: 28px 32px !important; }

.resource-grid { padding: var(--section-pad-sm) 0 !important; }
.changelog { padding-top: 0 !important; }

/* FAQ mobile breathing */
@media (max-width: 720px) {
  .pricing-faq .section-head { margin-top: 36px; font-size: 22px; }
  .pricing-faq .section-head:first-child { margin-top: 0; }
}

/* Compat band — stronger visibility so desktop reads as a trust band */
.logo-strip__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}
.compat-item { color: var(--text); opacity: 0.85; }
.compat-mark { opacity: 0.9; color: var(--text-primary); }

/* Mobile H1 — hard cap at 3 lines */
@media (max-width: 480px) {
  .hero .display {
    font-size: clamp(38px, 9.5vw, 48px) !important;
    line-height: 1.08 !important;
  }
}

/* === v17: Tab interactivity for code-card and mockup-panel === */
.code-card[data-tabs] .code-card__tabs .tab {
  transition: background 180ms var(--ease), color 180ms var(--ease);
  user-select: none;
}
.code-card[data-tabs] .code-card__tabs .tab:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}
.code-card[data-tabs] .code-card__body { display: none; animation: tab-fade 320ms var(--ease); }
.code-card[data-tabs] .code-card__body.is-active { display: block; }

.mockup-panel[data-tabs] .mockup-tab {
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
  user-select: none;
}
.mockup-panel[data-tabs] .mockup-tab:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}
.mockup-panel[data-tabs] .mockup-panel__body { display: none; animation: tab-fade 320ms var(--ease); }
.mockup-panel[data-tabs] .mockup-panel__body.is-active { display: block; }

@keyframes tab-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .code-card[data-tabs] .code-card__body,
  .mockup-panel[data-tabs] .mockup-panel__body { animation: none; }
}


/* v22 codex-round10 — footer trim, $ baseline, docs mobile wrap, compat weight */

/* Footer — trimmed from 5 → 3 real columns */
.footer__cols { grid-template-columns: repeat(3, 1fr) !important; gap: 32px !important; }
@media (min-width: 860px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr) !important; gap: 48px !important; }
}
@media (min-width: 1100px) {
  .footer__cols { grid-template-columns: minmax(160px, 220px) minmax(160px, 220px) minmax(140px, 200px) !important; gap: 56px !important; }
}

/* Compat band — thicker strokes + subtle chip so it reads as icon lockups, not plain text */
.compat-grid { gap: 18px 28px !important; padding: 36px 0 !important; }
.compat-item { gap: 12px !important; color: var(--text) !important; opacity: 1 !important; }
.compat-item .compat-item__name {
  font-size: 12.5px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.78) !important;
}
.compat-mark {
  width: 30px !important;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 7px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
.compat-mark svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.compat-item:hover .compat-mark {
  border-color: rgba(0, 163, 255, 0.55) !important;
  background: rgba(0, 163, 255, 0.08) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.compat-item:hover .compat-item__name { color: #fff !important; }

/* Pricing — $ glyph aligned to cap-height of the 0.
 * Amount is 96px. Currency scales to 0.46em ≈ 44px, top-aligned to the flex line
 * (which starts at the top of the 96px numeral), then nudged down so the $ cap-top
 * meets the 0 cap-top (both ~0.7em of their own font-size above baseline). */
.pricing__price { align-items: flex-start !important; gap: 6px !important; }
.pricing__currency {
  font-size: 0.46em !important;
  line-height: 1 !important;
  margin: 0 !important;
  margin-top: 0.12em !important;
  opacity: 0.65 !important;
  letter-spacing: -0.01em !important;
  font-weight: 500 !important;
  align-self: flex-start !important;
  position: static !important;
  top: auto !important;
  vertical-align: baseline !important;
}
.pricing__unit { align-self: flex-end !important; padding-bottom: 0.38em !important; }
.pricing__amount { font-feature-settings: "tnum" 1, "lnum" 1 !important; }

/* Docs mobile — soft-wrap code so commands never clip (codex: 4th time flagged).
 * The earlier mask-image approach hid clipped text; we need commands to stay visible.
 * Scope to docs pages only so marketing terminals on home keep their scroll vibe. */
@media (max-width: 760px) {
  .docs-body .code-card__body,
  .docs-body .code-card__body code {
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .docs-body .code-card__body {
    -webkit-mask-image: none !important;
            mask-image: none !important;
    padding-right: 18px !important;
    overflow-x: visible !important;
  }
  .docs-body .code-card::after { display: none !important; } /* kill the → affordance when wrap kicks in */
}

/* Resources — slightly roomier grid gaps on desktop per codex */
@media (min-width: 960px) {
  .resource-grid .pillar-grid { gap: 32px !important; row-gap: 36px !important; }
  .resource-grid .card { padding: 34px !important; }
}

/* Features — card padding breathing room on desktop per codex */
@media (min-width: 960px) {
  .feature-cards .card--feature,
  .features-page .card--feature { padding: 34px 32px !important; }
  .feature-cards .pillar-grid,
  .features-page .pillar-grid { row-gap: 30px !important; }
}

/* v22 codex-round11 — docs desktop anchor rail as a real grid column.
 * The earlier float + -260px margin trick sat the rail beside step 01 only and
 * disappeared in full-page snapshots. Grid puts the rail in its own column so
 * it renders alongside every step (and position:sticky travels with scroll). */
@media (min-width: 1024px) {
  .docs-body .container.container--narrow.docs-body__inner {
    max-width: 1060px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 220px !important;
    gap: 64px !important;
    align-items: start !important;
  }
  .docs-body .docs-body__inner > .docs-toc {
    position: sticky !important;
    top: 104px !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    align-self: start !important;
    grid-column: 2 !important;
    grid-row: 1 / -1 !important;
    height: fit-content !important;
  }
  .docs-body .docs-body__inner > .doc-step {
    grid-column: 1 !important;
    max-width: 680px !important;
  }
  .docs-body .docs-body__inner > .doc-step:first-of-type { grid-row: 1; }
  .docs-body .docs-body__inner > .doc-step .code-card { max-width: 680px !important; }
}


/* v22 blog — index + post layout */
.blog-index { padding: clamp(32px, 5vw, 72px) 0 120px; }
.blog-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .blog-list { gap: 24px; } }

.blog-card { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(14, 14, 14, 0.5); transition: border-color 200ms var(--ease), transform 200ms var(--ease), background 200ms var(--ease); }
.blog-card:hover { border-color: rgba(0, 163, 255, 0.45); background: rgba(14, 14, 14, 0.8); transform: translateY(-1px); }
.blog-card__link { display: block; padding: 28px 32px; color: inherit; text-decoration: none; }
.blog-card__meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.blog-card__tag { color: rgba(0, 163, 255, 0.78); }
.blog-card__read { margin-left: auto; color: rgba(255, 255, 255, 0.42); }
.blog-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.blog-card__excerpt { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.65); margin: 0 0 14px; max-width: 62ch; }
.blog-card__more { font-size: 13px; color: rgba(0, 163, 255, 0.85); font-weight: 500; }
.blog-card:hover .blog-card__more { color: #fff; }

.blog-post { padding: clamp(24px, 4vw, 56px) 0 clamp(48px, 6vw, 96px); }
.blog-post__crumbs { margin-bottom: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; }
.blog-post__crumbs a { color: var(--text-muted); text-decoration: none; }
.blog-post__crumbs a:hover { color: var(--text); }
.blog-post__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.blog-post__tag { color: rgba(0, 163, 255, 0.78); }

.card--preview:hover {
  border-color: var(--border);
  transform: none;
  background: var(--bg-elev);
}
.card--preview .card__note {
  font-style: normal;
  color: var(--text-muted);
  opacity: 1;
}
.blog-post__date { color: rgba(255, 255, 255, 0.55); }
.blog-post__read { color: rgba(255, 255, 255, 0.42); margin-left: auto; }

.blog-post__body { max-width: 100%; }
.blog-post__body h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 32px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.blog-post__body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.2;
  margin: 64px 0 18px;
  letter-spacing: -0.008em;
  color: var(--text);
}
.blog-post__body h2:first-of-type { margin-top: 48px; }
.blog-post__body h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.3;
  margin: 40px 0 14px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.94);
}
.blog-post__body p { font-size: 16px; line-height: 1.68; color: rgba(255, 255, 255, 0.82); margin: 0 0 18px; }
.blog-post__body strong { color: var(--text); font-weight: 600; }
.blog-post__body em { font-style: italic; color: rgba(255, 255, 255, 0.92); }
.blog-post__body ul, .blog-post__body ol { margin: 0 0 22px; padding-left: 22px; color: rgba(255, 255, 255, 0.82); }
.blog-post__body li { font-size: 16px; line-height: 1.65; margin-bottom: 8px; }
.blog-post__body li::marker { color: rgba(0, 163, 255, 0.55); }
.blog-post__body a { color: rgba(0, 163, 255, 0.88); text-decoration: underline; text-decoration-color: rgba(0, 163, 255, 0.3); text-underline-offset: 3px; }
.blog-post__body a:hover { color: #fff; text-decoration-color: #fff; }
.blog-post__body code { font-family: var(--font-mono); font-size: 0.88em; padding: 1px 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 4px; color: rgba(255, 255, 255, 0.94); }
.blog-post__body p > strong:first-child { display: inline; }
.blog-post__body > p:first-of-type strong { display: block; font-size: 17px; line-height: 1.55; padding: 18px 22px; background: rgba(0, 163, 255, 0.06); border-left: 2px solid rgba(0, 163, 255, 0.55); border-radius: 0 6px 6px 0; margin-bottom: 32px; color: rgba(255, 255, 255, 0.96); font-weight: 500; }

.blog-related { padding: 48px 0 72px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.blog-related__head { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 20px; }
.blog-related__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .blog-related__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.blog-related__card { display: block; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(14, 14, 14, 0.5); color: inherit; text-decoration: none; transition: border-color 180ms var(--ease), background 180ms var(--ease); }
.blog-related__card:hover { border-color: rgba(0, 163, 255, 0.45); background: rgba(14, 14, 14, 0.8); }
.blog-related__card .blog-related__tag { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(0, 163, 255, 0.78); margin-bottom: 10px; }
.blog-related__card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.blog-related__card p { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); margin: 0; }

/* Breathing room between intro copy and the mockup panel on kernel-showcase. */
.kernel-showcase > .container--narrow + .container { margin-top: 40px; }
@media (min-width: 960px) {
  .kernel-showcase > .container--narrow + .container { margin-top: 60px; }
}

/* --- Flow graph (the big picture) --- */
section.graph { padding: 80px 0; }
section.graph .section-head-row { margin-bottom: 40px; }
.flow-graph {
  margin: 0;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #070707 0%, #0B0B0B 100%);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.flow-graph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(230, 194, 139, 0.06), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74, 222, 128, 0.04), transparent 50%);
  pointer-events: none;
}
.flow-graph__svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  max-width: 100%;
}
.flow-graph__svg .fg-node rect { transition: stroke-opacity 0.3s ease, filter 0.3s ease; }
.flow-graph__svg .fg-node--kernel rect {
  animation: fg-kernel-pulse 3.2s ease-in-out infinite;
}
@keyframes fg-kernel-pulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(230, 194, 139, 0.2)); }
  50% { filter: drop-shadow(0 0 14px rgba(230, 194, 139, 0.35)); }
}
.flow-graph__svg .fg-edges path { stroke-linecap: round; }
.flow-graph__caption {
  margin-top: 20px;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
.flow-graph__caption strong { color: var(--text-primary); font-weight: 600; }
.flow-graph__caption code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--accent-warm);
  background: rgba(230, 194, 139, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}
@media (max-width: 720px) {
  section.graph { padding: 56px 0; }
  .flow-graph { padding: 16px; }
  .flow-graph__caption { font-size: 13px; padding: 14px 4px 0; }
}

/* --- Radial hub diagram (hero-adjacent) --- */
section.hub {
  padding: 56px 0 72px;
  position: relative;
}
.hub__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}
.hub__head .eyebrow { display: inline-block; }
.hub__title {
  margin: 12px 0 14px;
}
.hub__sub {
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 520px;
}
.hub-diagram {
  margin: 0 auto;
  max-width: 880px;
  position: relative;
}
.hub-diagram__svg {
  width: 100%;
  height: auto;
  display: block;
}
.hub-diagram__svg .hub-core circle:nth-of-type(2) {
  animation: hub-pulse 4s ease-in-out infinite;
  transform-origin: 380px 220px;
}
@keyframes hub-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(230, 194, 139, 0.2)); }
  50%      { filter: drop-shadow(0 0 18px rgba(230, 194, 139, 0.4)); }
}
.hub-diagram__caption {
  text-align: center;
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
.hub-diagram__more {
  margin-top: 10px;
  font-size: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  opacity: 0.7;
}
.hub-diagram__more a {
  color: var(--accent-warm);
  text-decoration: none;
  border-bottom: 1px dotted rgba(230, 194, 139, 0.4);
}
.hub-diagram__more a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--accent-warm);
}
@media (max-width: 720px) {
  section.hub { padding: 40px 0 56px; }
  .hub__sub { font-size: 15px; }
  .hub-diagram__caption { font-size: 13px; }
}

/* --- Hero tagline (promoted resume-claim line) --- */
.hero__tagline {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  color: var(--text-primary);
  margin: 14px 0 18px;
  letter-spacing: -0.01em;
}
.hero__tagline em {
  color: var(--text-muted);
  font-style: italic;
}

/* --- Hero proof strip (compact receipts row) --- */
.hero__proof {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  border-top: 1px solid rgba(230, 194, 139, 0.15);
  border-bottom: 1px solid rgba(230, 194, 139, 0.15);
  padding: 14px 0;
}
.hero__proof-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--text);
}
.hero__proof-item--primary {
  gap: 10px;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__proof-kicker {
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}
.hero__proof-value {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  color: var(--accent-warm);
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero__proof-sub {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.hero__proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.65);
}
.hero__proof-text {
  color: var(--text);
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .hero__proof { gap: 8px 14px; padding: 12px 0; }
  .hero__proof-item { font-size: 11px; }
  .hero__proof-item--primary { border-right: none; padding-right: 0; }
  .hero__proof-value { font-size: 1.15rem; }
}

/* --- Compact one-line Works-for strip (override section padding) --- */
section.logo-strip--compact {
  padding: 14px 0 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.logo-strip__inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo-strip--compact .logo-strip__label {
  margin: 0;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.compat-inline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
}
.compat-inline__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.compat-inline__item .compat-mark {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-warm);
}
.compat-inline__item .compat-mark svg {
  width: 14px;
  height: 14px;
}
.compat-inline__name {
  color: var(--text-primary);
  font-weight: 500;
}
.compat-inline__sep {
  color: var(--text-muted);
  opacity: 0.7;
}

/* --- Hero headline row (H1 + proof card side-by-side) --- */
.hero__headline {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 10px;
}
.hero__headline > .display {
  margin: 0;
}
.hero__proof-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  border: 1px solid rgba(230, 194, 139, 0.28);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  min-width: 160px;
  max-width: 210px;
  align-self: start;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.hero__proof-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(230, 194, 139, 0.10), transparent 60%);
  pointer-events: none;
}
.hero__proof-card .hero__proof-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero__proof-card .hero__proof-value {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent-warm);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hero__proof-card .hero__proof-sub {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.hero__proof-meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}
@media (max-width: 720px) {
  .hero__headline {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero__proof-card {
    max-width: 100%;
    align-self: stretch;
  }
  .hero__proof-card .hero__proof-value {
    font-size: 2rem;
  }
}

/* --- Override: tagline row (tagline left + proof card right), H1 returns to full width --- */
.hero__headline { display: block !important; grid-template-columns: none !important; gap: 0 !important; }
.hero__tagline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 22px;
  margin: 14px 0 18px;
}
.hero__tagline-row .hero__tagline {
  margin: 0;
  align-self: end;
}
.hero__tagline-row .hero__proof-card {
  margin-top: 0;
  align-self: end;
  min-width: 168px;
  max-width: 220px;
}
@media (max-width: 720px) {
  .hero__tagline-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero__tagline-row .hero__proof-card {
    max-width: 100%;
    align-self: stretch;
  }
}

/* --- Tight proof card, sits tidily next to the tagline --- */
.hero__tagline-row {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}
.hero__tagline-row .hero__proof-card {
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  min-width: 0;
  max-width: none;
  white-space: nowrap;
}
.hero__tagline-row .hero__proof-card .hero__proof-kicker {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
}
.hero__tagline-row .hero__proof-card .hero__proof-value {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1;
}
.hero__tagline-row .hero__proof-card .hero__proof-sub {
  margin: 0;
  font-size: 10px;
  opacity: 0.75;
}
.hero__tagline-row .hero__proof-card .hero__proof-meta {
  display: none;
}
@media (max-width: 720px) {
  .hero__tagline-row .hero__proof-card {
    flex-direction: row;
    white-space: normal;
  }
}

/* --- Final tuning: tagline fits on one line beside tight card --- */
.hero__tagline-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin: 10px 0 14px;
}
.hero__tagline-row .hero__tagline {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  white-space: nowrap;
  overflow: visible;
}
.hero__tagline-row .hero__proof-card {
  padding: 8px 12px;
  gap: 8px;
}
.hero__tagline-row .hero__proof-card .hero__proof-value {
  font-size: 1.25rem;
}
.hero__tagline-row .hero__proof-card .hero__proof-sub {
  font-size: 9.5px;
}
@media (max-width: 720px) {
  .hero__tagline-row .hero__tagline {
    white-space: normal;
    font-size: 1.25rem;
  }
}

/* --- Restore tagline to full display size; convert proof-card into a subtle chip --- */
.hero__tagline-row {
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  margin: 14px 0 18px;
}
.hero__tagline-row .hero__tagline {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  white-space: normal;
  margin: 0;
}
.hero__tagline-row .hero__proof-card {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid rgba(230, 194, 139, 0.3);
  border-radius: 999px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 8px;
  align-self: baseline;
  margin: 0;
  white-space: nowrap;
}
.hero__tagline-row .hero__proof-card::before { display: none; }
.hero__tagline-row .hero__proof-card .hero__proof-kicker {
  font-size: 9px;
  letter-spacing: 0.22em;
}
.hero__tagline-row .hero__proof-card .hero__proof-value {
  font-size: 1.05rem;
  color: var(--accent-warm);
}
.hero__tagline-row .hero__proof-card .hero__proof-sub {
  font-size: 10px;
  opacity: 0.8;
}
@media (max-width: 720px) {
  .hero__tagline-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero__tagline-row .hero__proof-card {
    align-self: start;
  }
}

/* --- Homepage final overrides: proof lives in the hero, full diagram lives on Features --- */
.hero__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  align-items: end;
  gap: 24px;
  margin: 0 0 20px;
  max-width: 860px;
}
.hero__intro-copy {
  min-width: 0;
}
.hero__intro-copy .display {
  margin: 0;
}
.hero__intro-copy .hero__tagline {
  margin: 16px 0 14px;
}
.hero__intro-copy .lede {
  margin: 0;
  max-width: 520px;
}
.hero__proof-card {
  display: grid;
  gap: 8px;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 260px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(230, 194, 139, 0.24);
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.56);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}
.hero__proof-card::before {
  display: none;
}
.hero__proof-card .hero__proof-kicker {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hero__proof-card .hero__proof-value {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(1.8rem, 2.3vw, 2.25rem);
  line-height: 0.95;
  color: var(--accent-warm);
}
.hero__proof-card .hero__proof-sub {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}
.hero__proof-meta {
  display: block;
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.04em;
}

section.home-bridge {
  padding: 52px 0 72px;
}
.home-bridge__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}
.home-bridge__copy {
  max-width: 520px;
}
.home-bridge__copy .section-head {
  margin: 12px 0 16px;
}
.home-bridge__copy .section-sub {
  margin: 0 0 24px;
}
.home-bridge__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bridge-point {
  padding: 24px 22px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.008)),
    rgba(10, 10, 10, 0.76);
}
.bridge-point__kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-warm);
}
.bridge-point h3 {
  margin: 0 0 12px;
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.bridge-point p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
.bridge-point code {
  font-size: 0.9em;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .home-bridge__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 820px) {
  .home-bridge__points {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hero__intro-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    margin-bottom: 18px;
  }
  .hero__proof-card {
    justify-self: start;
    max-width: 320px;
  }
  section.home-bridge {
    padding: 40px 0 56px;
  }
  .bridge-point h3 {
    font-size: 26px;
  }
}

/* --- Hero proof, final: plain text only --- */
.hero__copy {
  max-width: 980px !important;
}
.hero__intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  gap: 30px;
  max-width: 940px;
}
.hero__intro-copy .display {
  max-width: 700px;
}
.hero__proof-rail {
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 250px;
  padding: 0 0 18px;
  display: grid;
  gap: 6px;
}
.hero__proof-rail .hero__proof-kicker {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.56);
  text-transform: uppercase;
}
.hero__proof-rail .hero__proof-value {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(2rem, 2.45vw, 2.5rem);
  line-height: 0.88;
  color: var(--accent-warm);
  letter-spacing: -0.02em;
}
.hero__proof-rail .hero__proof-sub {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.82);
}
.hero__proof-rail .hero__proof-meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.44);
  letter-spacing: 0.03em;
}
@media (max-width: 640px) {
  .hero__copy {
    max-width: 100% !important;
  }
  .hero__intro-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: none;
  }
  .hero__intro-copy .display {
    max-width: none;
  }
  .hero__proof-rail {
    justify-self: start;
    max-width: 250px;
    padding: 4px 0 0;
  }
}

/* --- Final pass: compact non-code sections across the public site --- */
.section-head-row {
  margin-bottom: 36px;
}
.card,
.card--feature,
.card--preview,
.card--pricing,
.doc-callout {
  padding: 24px 22px !important;
  border-radius: 18px !important;
}
.card h3,
.card--feature h3,
.card--preview h3,
.card--pricing h3,
.card--diff h3 {
  font-size: 24px !important;
  line-height: 1.15 !important;
  margin: 0 0 10px !important;
}
.card p,
.card--feature p,
.card--preview p,
.card--pricing p {
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin: 0 0 8px !important;
}
.card__note {
  font-size: 13px !important;
  opacity: 0.78 !important;
}
.card__icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 11px !important;
}
.pillar-grid,
.diff-grid {
  gap: 16px !important;
}
.timeline-card {
  margin-top: 36px !important;
  border-radius: 18px !important;
}
.timeline-card__head {
  padding: 14px 18px !important;
}
.tl-list li {
  padding: 14px 18px !important;
  gap: 16px !important;
}
.story-list {
  margin-top: 40px !important;
}
.story-row__obs,
.story-row__act {
  padding: 20px 0 !important;
}
.story-row__obs { padding-right: 24px !important; }
.story-row__act { padding-left: 24px !important; }
.stats {
  gap: 16px !important;
  margin: 40px 0 24px !important;
}
.stat {
  padding: 24px 22px !important;
  border-radius: 18px !important;
}
.stat__value {
  font-size: clamp(44px, 5vw, 62px) !important;
  margin-bottom: 10px !important;
}
.resource-callout__card {
  text-align: left !important;
}
.resource-callout__card .section-sub {
  max-width: 58ch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.resource-callout__card .hero__actions--center {
  justify-content: flex-start !important;
}
.resource-featured {
  padding: 32px !important;
  gap: 28px !important;
}
.resource-featured h2 {
  font-size: clamp(26px, 3vw, 36px) !important;
}
.resource-featured__body {
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
}
.resource-featured__visual {
  padding: 20px 22px !important;
}
.pricing-hero-grid .card--pricing {
  padding: 28px 26px !important;
}
.card--pricing .bullets {
  margin: 24px auto 0 !important;
}
.pricing__currency {
  font-size: 34px !important;
}
.pricing__amount {
  font-size: 78px !important;
}
.pricing-faq .container {
  padding: 32px 36px !important;
}

/* --- Final split layout system for homepage content sections --- */
.section-split {
  display: grid !important;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
  gap: 18px !important;
  align-items: start !important;
}
.section-split__intro,
.section-split__content {
  min-width: 0 !important;
}
.section-split__intro {
  max-width: 520px;
  width: 100%;
}
.section-split__content {
  width: 100%;
}
.why-works .section-split {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.why-works .section-split__intro {
  max-width: 500px !important;
}
.why-works .diff-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
}
.section-split--reverse > .section-split__intro {
  order: 2;
  justify-self: end;
}
.section-split--reverse > .section-split__content {
  order: 1;
  justify-self: start;
}
.home-cards .section-split__intro .section-head,
.kernel-showcase .section-split__intro .section-head,
.install__lead .section-head,
.faq__lead .section-head {
  margin-top: 12px;
  margin-bottom: 14px;
}
.home-cards .section-split__intro .section-sub,
.kernel-showcase .section-split__intro .section-sub,
.install__lead .section-sub,
.faq__lead .section-sub {
  max-width: 520px;
}
.prompt__lead {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.prompt__intro {
  margin-bottom: 0;
  max-width: 440px;
}
.prompt__hero-code .code-card {
  margin-top: 0 !important;
}
.prompt .section-split__content {
  padding-top: 8px;
}
.prompt-compare {
  padding: var(--section-pad-sm) 0;
}
.prompt-compare .section-split {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.prompt-compare__intro {
  max-width: 440px !important;
}
.prompt-compare__content {
  padding-top: 10px;
}
.prompt-compare .diff-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 0 !important;
}
.prompt-compare .card--diff {
  height: 100%;
}
.timeline .section-split {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.timeline .section-split__intro {
  max-width: 500px !important;
}
.timeline .section-split__intro .section-head {
  max-width: 500px !important;
}
.timeline .section-split__content {
  padding-top: 0 !important;
}
.timeline-card {
  max-width: none !important;
}
.timeline .tl-list li {
  grid-template-columns: 108px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start;
}
.timeline .tl-body {
  overflow-wrap: break-word;
  word-break: normal;
  min-width: 0;
}
.timeline .tl-meta {
  line-height: 1.35;
}
.timeline .tl-metrics {
  gap: 10px;
  grid-column: 2;
  justify-content: flex-start;
  padding-top: 2px;
}
.proof .section-split {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
  gap: 24px !important;
}
.proof .section-split__intro {
  max-width: 460px !important;
}
.proof .section-split__content {
  padding-top: 0 !important;
}
.proof .stats {
  grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
}
.proof .stat__label,
.proof .stat__ctx {
  overflow-wrap: anywhere;
}
.proof-terminal__body {
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  padding: 18px 20px !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
}
.cross-agent-showcase .section-split {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr) !important;
}
.cross-agent-showcase .section-split__intro {
  max-width: 360px !important;
}
.cross-agent-showcase .section-split__content {
  padding-top: 16px;
}
.install .section-split {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.install .section-split__intro {
  max-width: 500px !important;
}
.install .section-split__content {
  padding-top: 12px;
}
.faq .section-split {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) !important;
}
.faq .section-split__intro {
  max-width: 300px !important;
}
.faq .section-split__content {
  padding-top: 12px;
}

@media (max-width: 960px) {
  .section-split__content .pillar-grid:not(.pillar-grid--three) {
    grid-template-columns: 1fr !important;
  }
  .section-split {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .section-split--reverse > .section-split__intro,
  .section-split--reverse > .section-split__content {
    order: initial;
  }
  .home-cards .pillar-grid--three,
  .install__grid,
  .faq__grid {
    grid-template-columns: 1fr !important;
  }
  .why-works .diff-grid,
  .prompt-compare .diff-grid {
    grid-template-columns: 1fr !important;
  }
  .stats {
    grid-template-columns: 1fr !important;
  }
  .tl-list li {
    grid-template-columns: 1fr !important;
  }
  .story-row {
    grid-template-columns: 1fr !important;
  }
}

/* --- Final consistency overrides: compact non-code sections site-wide --- */
.home-cards .timeline-card {
  margin-top: 32px !important;
  border-radius: 18px !important;
}
.home-cards .timeline-card__head {
  padding: 12px 16px !important;
}
.home-cards .tl-list li {
  padding: 12px 16px !important;
  gap: 14px !important;
  grid-template-columns: 136px 1fr auto !important;
}
.home-cards .story-list {
  margin-top: 32px !important;
}
.home-cards .story-row__obs,
.home-cards .story-row__act {
  padding: 16px 0 !important;
}
.home-cards .story-row__obs { padding-right: 20px !important; }
.home-cards .story-row__act { padding-left: 20px !important; }
.home-cards .stats {
  gap: 14px !important;
  margin: 32px 0 20px !important;
}
.home-cards .stat {
  padding: 22px 20px !important;
  border-radius: 18px !important;
}
.home-cards .stat__value {
  font-size: clamp(40px, 4.6vw, 56px) !important;
  margin-bottom: 8px !important;
}
.resource-callout__card {
  text-align: left !important;
  padding: 26px 24px !important;
}
.resource-callout__card .section-sub {
  max-width: 56ch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.resource-callout__card .hero__actions--center {
  justify-content: flex-start !important;
}
.resource-featured {
  padding: 32px !important;
  gap: 28px !important;
}
.resource-featured h2 {
  font-size: clamp(26px, 3vw, 36px) !important;
  line-height: 1.12 !important;
}
.resource-featured__body {
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
}
.resource-featured__visual {
  padding: 20px 22px !important;
}
.resource-grid .card {
  padding: 24px 22px !important;
}
.card--preview .card__note {
  font-size: 13px !important;
}
.pricing-hero-grid .card--pricing {
  padding: 28px 26px !important;
}
.card--pricing h3 {
  font-size: 24px !important;
}
.card--pricing .bullets {
  margin: 24px auto 0 !important;
}
.pricing__currency {
  font-size: 34px !important;
}
.pricing__amount {
  font-size: 78px !important;
}
.pricing-faq .container {
  padding: 32px 36px !important;
}
