/* LiveAVTR — calm enterprise dark theme */
:root {
  --bg: #0a0a0b;
  --bg-elev: #0f0f11;
  --fg: #f5f5f3;
  --fg-dim: #a8a8a4;
  --fg-muted: #6b6b68;
  --rule: #1e1e20;
  --rule-strong: #2a2a2d;
  --accent: #ffffff;

  --f-display: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* density scale (tweakable) */
  --space: 1;
  --type: 1;

  --pad-section: calc(120px * var(--space));
  --gutter: clamp(24px, 4vw, 56px);
  --max: 1360px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
body {
  font-family: var(--f-display);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  font-size: calc(16px * var(--type));
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mono { font-family: var(--f-mono); font-feature-settings: "ss01"; letter-spacing: 0; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.num {
  font-family: var(--f-mono);
  color: var(--fg-muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.is-stuck { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; letter-spacing: -0.02em; font-weight: 500; font-size: 15px; }
.brand-mark {
  width: 18px; height: 18px;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--fg-dim); transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  font-size: 13px; padding: 9px 16px; border: 1px solid var(--rule-strong);
  border-radius: 999px; color: var(--fg); transition: background .15s, border-color .15s;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* SECTION */
section { padding: var(--pad-section) 0; position: relative; }
section + section { border-top: 1px solid var(--rule); }

.section-head {
  display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter);
  margin-bottom: calc(72px * var(--space));
}
.section-head .eyebrow { padding-top: 6px; }
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05; letter-spacing: -0.028em; font-weight: 450;
  max-width: 22ch;
  text-wrap: balance;
}
.section-head .lede {
  margin-top: 20px; color: var(--fg-dim); max-width: 52ch; font-size: 17px;
  text-wrap: pretty;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
}

/* HERO */
.hero {
  padding-top: calc(140px * var(--space));
  padding-bottom: calc(120px * var(--space));
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.hero-eyebrow .dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 999px;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
  50% { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
}

h1.hero-title {
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: 0.98; letter-spacing: -0.04em; font-weight: 400;
  max-width: 15ch;
  text-wrap: balance;
}
h1.hero-title em {
  font-style: normal;
  color: var(--fg-muted);
}
.hero-sub {
  margin-top: 36px; font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-dim);
  max-width: 58ch; text-wrap: pretty;
}
.hero-ctas { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-size: 14px; letter-spacing: -0.005em;
  border: 1px solid var(--rule-strong); color: var(--fg);
  transition: all .18s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--fg); background: rgba(255,255,255,.03); }
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary:hover { background: color-mix(in oklab, var(--fg) 88%, var(--bg)); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* HERO PANEL (abstract signal) */
.signal {
  margin-top: calc(96px * var(--space));
  border-top: 1px solid var(--rule);
  padding-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.signal .cell {
  padding: 24px 28px 0 0;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}
.signal .cell:first-child { border-left: 0; padding-left: 0; }
.signal .k { color: var(--fg-muted); font-size: 11px; font-family: var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.signal .v { margin-top: 16px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; font-weight: 400; }
.signal .d { margin-top: 8px; color: var(--fg-dim); font-size: 13px; }
@media (max-width: 820px) {
  .signal { grid-template-columns: repeat(2, 1fr); }
  .signal .cell { padding: 20px; border-left: 1px solid var(--rule); }
  .signal .cell:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* Trusted row */
.trusted {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding: 32px 0; color: var(--fg-muted);
}
.trusted .label { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; }
.trusted .logos { display: flex; gap: 40px; flex-wrap: wrap; opacity: 0.85; }
.trusted .logo { font-size: 16px; letter-spacing: -0.01em; color: var(--fg-dim); font-weight: 500; }

/* Feature rows */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 40px;
  padding: calc(56px * var(--space)) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.row:last-child { border-bottom: 1px solid var(--rule); }
.row .num { padding-top: 8px; }
.row h3 {
  font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.025em; font-weight: 450;
  max-width: 20ch;
  text-wrap: balance;
}
.row p { color: var(--fg-dim); max-width: 52ch; font-size: 16px; text-wrap: pretty; }
.row .more {
  margin-top: 18px; display: inline-flex; gap: 8px; align-items: center;
  color: var(--fg); font-size: 13px;
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 4px;
  transition: border-color .2s;
}
.row .more:hover { border-color: var(--fg); }
@media (max-width: 820px) {
  .row { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
}

/* Product cards (2-up) */
.products {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.product {
  background: var(--bg);
  padding: calc(56px * var(--space)) calc(48px * var(--space));
  display: flex; flex-direction: column;
  min-height: 520px;
  position: relative;
  transition: background .3s;
}
.product:hover { background: var(--bg-elev); }
.product .tag { display: inline-flex; gap: 8px; align-items: center; color: var(--fg-muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 28px; }
.product h3 {
  font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.03em; font-weight: 400;
  margin-bottom: 16px;
}
.product .desc { color: var(--fg-dim); font-size: 17px; max-width: 44ch; text-wrap: pretty; }
.product .canvas {
  margin-top: auto; padding-top: 40px;
}
.product .foot { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; }
.product .link { font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 820px) {
  .products { grid-template-columns: 1fr; }
  .product { padding: 48px 28px; min-height: auto; }
}

/* Use cases */
.cases { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.case {
  grid-column: span 6;
  padding: calc(56px * var(--space)) calc(40px * var(--space)) calc(48px * var(--space)) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.case + .case { padding-left: calc(40px * var(--space)); border-left: 1px solid var(--rule); }
.case .num { display: block; margin-bottom: 32px; }
.case h4 {
  font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.025em; font-weight: 450;
  margin-bottom: 16px; text-wrap: balance;
}
.case p { color: var(--fg-dim); font-size: 15px; max-width: 48ch; margin-bottom: 28px; text-wrap: pretty; }
.case ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.case li {
  display: flex; gap: 12px; font-size: 14px; color: var(--fg-dim);
  padding: 10px 0; border-top: 1px solid var(--rule);
}
.case li::before { content: ""; display: block; width: 6px; height: 1px; background: var(--fg-muted); margin-top: 10px; flex: 0 0 6px; }
@media (max-width: 820px) {
  .case { grid-column: span 12; padding: 40px 0 32px; }
  .case + .case { padding-left: 0; border-left: 0; }
}

/* Security grid */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec-cell { background: var(--bg); padding: calc(44px * var(--space)) calc(32px * var(--space)); min-height: 260px; display: flex; flex-direction: column; }
.sec-cell .h { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 12px; font-weight: 500; }
.sec-cell .p { color: var(--fg-dim); font-size: 14px; max-width: 40ch; }
.sec-cell .t { margin-top: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--fg-muted); text-transform: uppercase; }
@media (max-width: 820px) { .sec-grid { grid-template-columns: 1fr; } }

/* Big quote / statement block */
.statement {
  padding: calc(140px * var(--space)) 0;
  text-align: left;
}
.statement .text {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.1; letter-spacing: -0.03em; font-weight: 400;
  max-width: 22ch; text-wrap: balance;
}
.statement .text span { color: var(--fg-muted); }
.statement .attr { margin-top: 56px; color: var(--fg-muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }

/* CTA band */
.cta-band {
  padding: calc(96px * var(--space)) 0;
  border-top: 1px solid var(--rule);
}
.cta-band .row2 {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end;
}
.cta-band h2 {
  font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.035em; line-height: 1.02; font-weight: 400;
  max-width: 18ch; text-wrap: balance;
}
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 820px) { .cta-band .row2 { grid-template-columns: 1fr; gap: 32px; } }

/* Footer */
footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--rule);
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 80px;
}
.foot-grid .col h5 { font-family: var(--f-mono); text-transform: uppercase; font-size: 11px; letter-spacing: 0.14em; color: var(--fg-muted); margin-bottom: 20px; font-weight: 400; }
.foot-grid .col a, .foot-grid .col span { display: block; color: var(--fg-dim); font-size: 14px; padding: 6px 0; }
.foot-grid .col a:hover { color: var(--fg); }
.foot-brand p { color: var(--fg-dim); font-size: 14px; max-width: 36ch; margin-top: 20px; text-wrap: pretty; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--rule);
  color: var(--fg-muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Tweaks panel */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  width: 280px; background: #111114; border: 1px solid var(--rule-strong);
  border-radius: 14px; padding: 16px; color: var(--fg);
  font-size: 12px; display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.tweaks.show { display: block; }
.tweaks h6 { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 10px; color: var(--fg-muted); margin-bottom: 12px; font-weight: 400; }
.tweaks .row-t { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--rule); gap: 12px; }
.tweaks .row-t:first-of-type { border-top: 0; }
.tweaks .row-t label { color: var(--fg-dim); flex: 1; }
.tweaks input[type=range] { flex: 1.2; accent-color: var(--accent); }
.tweaks input[type=color] { width: 28px; height: 22px; border: 1px solid var(--rule-strong); background: transparent; padding: 0; border-radius: 4px; }
.tweaks .swatches { display: flex; gap: 6px; }
.tweaks .sw { width: 20px; height: 20px; border-radius: 999px; border: 1px solid var(--rule-strong); cursor: pointer; }
.tweaks .sw.active { outline: 2px solid var(--fg); outline-offset: 2px; }
.tweaks .toggle { display: inline-flex; gap: 4px; }
.tweaks .toggle button { padding: 4px 8px; border: 1px solid var(--rule); color: var(--fg-dim); border-radius: 6px; font-size: 11px; }
.tweaks .toggle button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tweaks .modules { display: flex; flex-direction: column; gap: 6px; }
.tweaks .modules label { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--fg-dim); }
.tweaks .modules input { accent-color: var(--accent); }

/* Striped placeholder */
.placeholder {
  width: 100%; aspect-ratio: 16 / 10; position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.025) 14px 15px),
    linear-gradient(180deg, #0e0e10, #0a0a0b);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
  overflow: hidden;
}
.placeholder .tl, .placeholder .br { position: absolute; font-size: 10px; color: var(--fg-muted); padding: 10px 12px; }
.placeholder .tl { top: 0; left: 0; }
.placeholder .br { bottom: 0; right: 0; }

/* Avatar signal (hero visualization) */
.avatar-sig {
  margin-top: calc(80px * var(--space));
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.avatar-sig > div { background: var(--bg); padding: 28px; }
.sig-pane h6 { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 400; }
.sig-pane h6 .live { display: inline-flex; gap: 6px; align-items: center; color: var(--fg-dim); }
.sig-pane h6 .live::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); animation: pulse 2.2s infinite; }

.avatar-stage {
  aspect-ratio: 4 / 5; background:
    radial-gradient(120% 80% at 50% 20%, rgba(255,255,255,.05), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 1px, rgba(255,255,255,.015) 1px 2px),
    #0b0b0d;
  border: 1px solid var(--rule); position: relative; overflow: hidden;
}
.avatar-stage .face {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 40%, #1d1d20, #0e0e10 80%);
  border: 1px solid var(--rule-strong);
}
.avatar-stage .scan {
  position: absolute; left: 0; right: 0; height: 1px; top: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  animation: scan 5s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { top: 30%; opacity: .6; } 50% { top: 70%; opacity: 1; } }
.avatar-stage .hud { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10px; color: var(--fg-muted); letter-spacing: 0.1em; }

/* Waveform */
.wave { height: 80px; display: flex; gap: 3px; align-items: center; }
.wave i { display: block; flex: 1; background: var(--fg-muted); border-radius: 2px; animation: w 1.4s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: .1s; }
.wave i:nth-child(3n) { animation-delay: .2s; }
.wave i:nth-child(4n) { animation-delay: .3s; }
.wave i:nth-child(5n) { animation-delay: .4s; }
@keyframes w { 0%, 100% { height: 12%; } 50% { height: var(--h, 60%); } }

.transcript { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.transcript li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; color: var(--fg-dim); }
.transcript .who { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-muted); padding-top: 2px; }
.transcript .txt { color: var(--fg); }
.transcript li.act .txt { color: var(--fg-dim); font-style: italic; }
.transcript li.act .who { color: var(--accent); }

/* Channel strip */
.channels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.channels .ch {
  padding: 28px; border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 10px; min-height: 140px;
}
.channels .ch:first-child { border-left: 0; }
.channels .ch .icn { width: 22px; height: 22px; color: var(--fg-dim); }
.channels .ch .n { font-size: 16px; letter-spacing: -0.01em; font-weight: 500; margin-top: auto; }
.channels .ch .d { color: var(--fg-muted); font-size: 12px; font-family: var(--f-mono); letter-spacing: 0.05em; }
@media (max-width: 820px) {
  .channels { grid-template-columns: repeat(2, 1fr); }
  .channels .ch:nth-child(odd) { border-left: 0; }
  .channels .ch:nth-child(3), .channels .ch:nth-child(4) { border-top: 1px solid var(--rule); }
}

/* Page-specific hero for product pages */
.page-hero {
  padding-top: calc(80px * var(--space));
  padding-bottom: calc(80px * var(--space));
  border-bottom: 1px solid var(--rule);
}
.page-hero .sup { display: flex; gap: 14px; align-items: center; margin-bottom: 36px; color: var(--fg-muted); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 400; max-width: 14ch; text-wrap: balance; }
.page-hero .sub { margin-top: 32px; font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-dim); max-width: 56ch; text-wrap: pretty; }

/* Small utilities */
.hr { height: 1px; background: var(--rule); width: 100%; }
.badge {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 10px; border: 1px solid var(--rule-strong);
  border-radius: 999px; font-family: var(--f-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-dim);
}
.badge .d { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-muted); }
.badge.live .d { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* Harness hero block */
.harness {
  margin-top: calc(80px * var(--space));
  border: 1px solid var(--rule);
  background: var(--bg-elev);
}
.harness-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--rule);
}
.harness-grid {
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1px;
  background: var(--rule);
}
.harness-grid .h-col { background: var(--bg-elev); padding: 24px; min-height: 320px; display: flex; flex-direction: column; gap: 16px; }
.h-eyebrow { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.h-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.h-list li { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 13px; }
.h-list li:first-child { border-top: 0; }
.h-list .ttl { color: var(--fg); text-wrap: balance; }
.h-list .meta { color: var(--fg-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.h-list .mk { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); animation: pulse 2.2s ease-in-out infinite; justify-self: start; }
.h-list .mk.ok { background: var(--fg-muted); box-shadow: none; animation: none; }
.h-list .dot2 { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-muted); justify-self: start; }
.codeblock { border: 1px solid var(--rule); background: #0b0b0d; }
.code-hd, .code-ft { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 10px; color: var(--fg-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.code-hd { border-bottom: 1px solid var(--rule); }
.code-ft { border-top: 1px solid var(--rule); color: var(--fg-dim); }
pre.code { padding: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--fg-dim); line-height: 1.55; overflow-x: auto; margin: 0; white-space: pre; }
.c-k { color: var(--fg); }
.c-fn { color: var(--fg); }
.c-c { color: var(--fg-muted); }
.c-n { color: var(--fg); }
@media (max-width: 820px) {
  .harness-grid { grid-template-columns: 1fr; }
}

/* capstack for product cards */
.capstack { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.capstack li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: center; font-size: 14px; color: var(--fg-dim); }
.capstack li .k { font-size: 10px; letter-spacing: 0.14em; color: var(--fg-muted); }
.capstack li .t { color: var(--fg); }

/* Core page: timeline */
.timeline { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.tl-row { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.tl-time { color: var(--fg-muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 6px; }
.tl-h { font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; font-weight: 450; margin-bottom: 10px; }
.tl-body p { color: var(--fg-dim); font-size: 15px; max-width: 58ch; text-wrap: pretty; }
@media (max-width: 820px) {
  .tl-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}

/* Core page: connect grid */
.connect-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.cg-cell {
  background: var(--bg); padding: 28px 20px; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim);
  min-height: 90px; display: flex; align-items: center; justify-content: center;
  text-align: center;
}
@media (max-width: 820px) { .connect-grid { grid-template-columns: repeat(2, 1fr); } }
