/* Hypervisor-Zero homepage — editorial research design system. */
:root {
  color-scheme: light;
  --hz-page: #f5f6f1;
  --hz-page-glow: #ecefe6;
  --hz-surface: #ffffff;
  --hz-surface-2: #f0f2eb;
  --hz-surface-3: #e6eadd;
  --hz-ink: #11150f;
  --hz-ink-soft: #30382d;
  --hz-muted: #596354;
  --hz-muted-2: #747d70;
  --hz-border: #dce2d6;
  --hz-border-strong: #c3cdbd;
  --hz-primary: #151a12;
  --hz-primary-hover: #303a28;
  --hz-primary-soft: #e9f3d9;
  --hz-primary-line: #b7f34a;
  --hz-teal: #607e31;
  --hz-teal-soft: #edf5df;
  --hz-green: #386c42;
  --hz-green-soft: #e8f3e8;
  --hz-warning: #8b641c;
  --hz-warning-soft: #fbf3de;
  --hz-accent: #b7f34a;
  --hz-accent-ink: #151a12;
  --hz-shadow-sm: 0 3px 12px rgb(20 28 15 / 5%);
  --hz-shadow-md: 0 24px 72px rgb(20 28 15 / 10%);
  --hz-shadow-focus: 0 0 0 3px rgb(183 243 74 / 45%);
  --page: var(--hz-page);
  --page-glow: var(--hz-page-glow);
  --surface: var(--hz-surface);
  --surface-2: var(--hz-surface-2);
  --surface-3: var(--hz-surface-3);
  --ink: var(--hz-ink);
  --ink-soft: var(--hz-ink-soft);
  --muted: var(--hz-muted);
  --muted-2: var(--hz-muted-2);
  --border: var(--hz-border);
  --border-strong: var(--hz-border-strong);
  --primary: var(--hz-primary);
  --primary-hover: var(--hz-primary-hover);
  --primary-soft: var(--hz-primary-soft);
  --primary-line: var(--hz-primary-line);
  --teal: var(--hz-teal);
  --teal-soft: var(--hz-teal-soft);
  --green: var(--hz-green);
  --green-soft: var(--hz-green-soft);
  --amber: var(--hz-warning);
  --amber-soft: var(--hz-warning-soft);
  --shadow-sm: var(--hz-shadow-sm);
  --shadow-md: var(--hz-shadow-md);
  --shadow-focus: var(--hz-shadow-focus);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 17px;
  --radius-xl: 20px;
  --content: 1240px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --hz-page: #090c08;
  --hz-page-glow: #0d120b;
  --hz-surface: #111710;
  --hz-surface-2: #172016;
  --hz-surface-3: #202b1d;
  --hz-ink: #f1f5ec;
  --hz-ink-soft: #d7e0cf;
  --hz-muted: #aab6a1;
  --hz-muted-2: #87947d;
  --hz-border: #293526;
  --hz-border-strong: #3c4b36;
  --hz-primary: #b7f34a;
  --hz-primary-hover: #c8ff68;
  --hz-primary-soft: #202d16;
  --hz-primary-line: #597b2b;
  --hz-teal: #b7f34a;
  --hz-teal-soft: #202d16;
  --hz-green: #a7d88b;
  --hz-green-soft: #1a2b1a;
  --hz-warning: #e8c778;
  --hz-warning-soft: #302816;
  --hz-accent: #b7f34a;
  --hz-accent-ink: #10150c;
  --hz-shadow-sm: 0 3px 14px rgb(0 0 0 / 22%);
  --hz-shadow-md: 0 24px 72px rgb(0 0 0 / 38%);
  --hz-shadow-focus: 0 0 0 3px rgb(183 243 74 / 28%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--hz-page); }
body {
  margin: 0;
  background: var(--hz-page);
  color: var(--hz-ink);
  font: 16px/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button { color: inherit; font: inherit; }
svg { display: block; }
img, svg { max-width: 100%; }
p { margin: 0; color: var(--hz-muted); }
h1, h2, h3, h4 { margin: 0; color: var(--hz-ink); line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(3.7rem, 6.5vw, 6.4rem); font-weight: 760; line-height: .99; letter-spacing: -.075em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.7rem); font-weight: 730; line-height: 1.04; letter-spacing: -.06em; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.035em; }
code, .mono { font-family: var(--mono); }
code { border: 1px solid var(--hz-border); border-radius: 5px; background: var(--hz-surface-2); padding: .1em .35em; font-size: .88em; }
::selection { background: var(--hz-accent); color: var(--hz-accent-ink); }
:focus-visible { outline: 3px solid var(--hz-accent); outline-offset: 4px; box-shadow: none; }
.container { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 100; top: 10px; left: 12px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--hz-ink); color: var(--hz-page);
  transform: translateY(-160%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--hz-border) 82%, transparent);
  background: color-mix(in srgb, var(--hz-page) 91%, transparent);
  backdrop-filter: blur(18px);
}
.nav-shell { position: relative; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; text-decoration: none; border-radius: 10px; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--hz-accent); color: var(--hz-accent-ink); }
.brand-name { display: block; font-size: .91rem; line-height: 1.15; font-weight: 820; letter-spacing: .075em; }
.brand-category { display: block; padding-top: 4px; color: var(--hz-muted); font-size: .7rem; line-height: 1.25; letter-spacing: .045em; }
.navigation { display: flex; align-items: center; gap: 4px; }
.nav-controls { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 13px; border-radius: 9px; color: var(--hz-muted); font-size: .82rem; font-weight: 620; text-decoration: none; transition: background .16s ease, color .16s ease; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--hz-ink); background: var(--hz-surface-2); }
.nav-link.nav-primary { border: 1px solid var(--hz-accent); background: var(--hz-accent); color: var(--hz-accent-ink); font-weight: 760; }
.nav-link.nav-primary:hover { background: #c8ff68; color: #11150f; }
.menu-toggle {
  width: 42px; height: 42px; flex: 0 0 auto; display: none; place-items: center;
  padding: 0; border: 1px solid var(--hz-border); border-radius: 10px;
  background: var(--hz-surface); cursor: pointer;
}
.menu-toggle:hover { background: var(--hz-surface-2); border-color: var(--hz-border-strong); }
.menu-toggle:active { transform: scale(.97); }
.hz-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px; padding: 0 12px; border: 1px solid var(--hz-border);
  border-radius: 9px; background: var(--hz-surface); color: var(--hz-ink);
  font: 650 12px/1.2 var(--sans); white-space: nowrap; cursor: pointer;
}
.hz-theme-toggle:hover { background: var(--hz-surface-2); border-color: var(--hz-border-strong); }
.top-rule { height: 2px; background: linear-gradient(90deg, transparent, var(--hz-accent) 22%, var(--hz-accent) 78%, transparent); }

/* Hero */
.hero-editorial { position: relative; isolation: isolate; padding: clamp(78px, 10vw, 142px) 0 84px; overflow: clip; }
.hero-editorial::before {
  position: absolute; z-index: -1; content: ""; width: 760px; height: 760px;
  right: -430px; top: -380px; border-radius: 50%; border: 1px solid var(--hz-border);
  box-shadow: 0 0 0 55px color-mix(in srgb, var(--hz-accent) 9%, transparent),
              0 0 0 110px color-mix(in srgb, var(--hz-accent) 5%, transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); align-items: center; gap: clamp(38px, 5.4vw, 84px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--hz-teal); font-size: .7rem; font-weight: 800; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 4px; background: var(--hz-accent); }
.hero-editorial .eyebrow { margin-bottom: 27px; }
.hero-editorial h1 { max-width: 790px; }
.hero-editorial h1 .emphasis {
  display: block; color: var(--hz-ink);
  text-decoration: underline; text-decoration-color: var(--hz-accent);
  text-decoration-thickness: .105em; text-underline-offset: .12em;
}
.hero-copy { max-width: 630px; padding-top: 26px; color: var(--hz-muted); font-size: clamp(1.02rem, 1.22vw, 1.16rem); line-height: 1.84; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; padding-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 19px; border: 1px solid transparent;
  border-radius: 10px; text-decoration: none; font-size: .86rem; line-height: 1.25;
  font-weight: 700; transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.button:active { transform: translateY(1px); }
.button svg { width: 16px; height: 16px; flex: 0 0 auto; }
.button-primary { border-color: var(--hz-accent); background: var(--hz-accent); color: var(--hz-accent-ink); box-shadow: 0 8px 24px rgb(112 151 46 / 14%); }
.button-primary:hover { border-color: #c8ff68; background: #c8ff68; color: #11150f; }
.button-secondary { border-color: var(--hz-border-strong); background: var(--hz-surface); color: var(--hz-ink); }
.button-secondary:hover { border-color: var(--hz-accent); background: var(--hz-surface-2); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 19px; padding-top: 30px; color: var(--hz-muted); font-size: .74rem; }
.meta-item { display: inline-flex; align-items: center; gap: 8px; }
.meta-marker { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 2px; background: var(--hz-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hz-accent) 18%, transparent); }

/* Diagram and equation */
.diagram-panel {
  position: relative; padding: clamp(18px, 2vw, 26px); overflow: hidden;
  border: 1px solid var(--hz-border-strong); border-radius: 18px;
  background: linear-gradient(145deg, var(--hz-surface), color-mix(in srgb, var(--hz-surface-2) 78%, var(--hz-page)));
  box-shadow: var(--hz-shadow-md);
}
.diagram-panel::before { position: absolute; content: ""; width: 220px; height: 220px; right: -110px; top: -110px; border: 1px solid var(--hz-border); border-radius: 50%; opacity: .5; pointer-events: none; }
.diagram-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 17px; border-bottom: 1px solid var(--hz-border); }
.diagram-title { color: var(--hz-ink); font-size: .9rem; font-weight: 760; }
.prototype-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--hz-accent) 55%, var(--hz-border)); border-radius: 999px; background: color-mix(in srgb, var(--hz-accent) 16%, var(--hz-surface)); color: var(--hz-ink-soft); font-size: .66rem; font-weight: 700; white-space: nowrap; }
.prototype-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hz-accent-ink); }
.diagram-art { display: block; width: 100%; margin: 22px auto 15px; overflow: visible; }
.diagram-art .node { fill: var(--hz-surface); stroke: var(--hz-border-strong); stroke-width: 1.3; }
.diagram-art .node-control { fill: var(--hz-primary-soft); stroke: var(--hz-primary-line); }
.diagram-art .node-verifier { fill: var(--hz-teal-soft); stroke: color-mix(in srgb, var(--hz-teal) 58%, var(--hz-border)); }
.diagram-art .line { fill: none; stroke: var(--hz-border-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.diagram-art .line-primary { stroke: var(--hz-primary); }
.diagram-art .line-teal { stroke: var(--hz-teal); }
.diagram-art .node-title { fill: var(--hz-ink); font: 650 13px var(--sans); }
.diagram-art .node-title-compact { font-size: 11.5px; }
.diagram-art .node-sub { fill: var(--hz-muted); font: 11px var(--sans); }
.diagram-art .node-kicker { fill: var(--hz-muted-2); font: 700 9px var(--mono); letter-spacing: 1px; }
.diagram-art .step { fill: var(--hz-accent-ink); }
.diagram-art .step-num { fill: var(--hz-accent); font: 700 10px var(--mono); }
.diagram-art .tiny-state { fill: var(--hz-teal); font: 700 9px var(--mono); }
.diagram-key { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 16px; border-top: 1px solid var(--hz-border); }
.key-item { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--hz-muted); font-size: .68rem; line-height: 1.35; }
.key-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 3px; background: var(--hz-accent); }
.key-dot.teal { background: var(--hz-teal); }
.key-dot.amber { background: var(--hz-warning); }
.equation-card { margin-top: 21px; padding: 19px 20px 17px; border: 1px solid var(--hz-border); border-radius: 13px; background: var(--hz-surface); }
.equation-kicker { color: var(--hz-teal); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.equation-card h2 { margin-top: 8px; font-size: 1rem; line-height: 1.35; letter-spacing: -.02em; }
.control-equation { display: block; max-width: 100%; margin: 16px auto; padding: 8px; overflow-x: auto; color: var(--hz-ink); font-size: clamp(1.05rem, 1.7vw, 1.5rem); }
.equation-card p { font-size: .73rem; line-height: 1.65; }
.equation-card p strong { color: var(--hz-ink); }
.equation-note { display: block; margin-top: 10px; color: var(--hz-muted-2); font-size: .65rem; line-height: 1.5; }

/* Research principle */
.principle-strip { border-top: 1px solid var(--hz-border); border-bottom: 1px solid var(--hz-border); background: var(--hz-surface); }
.principle-inner { display: flex; align-items: center; gap: 20px; min-height: 82px; }
.principle-symbol { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: var(--hz-accent-ink); background: var(--hz-accent); }
.principle-symbol svg { width: 17px; height: 17px; }
.principle-copy { flex: 1; color: var(--hz-muted); font-size: .86rem; }
.principle-copy strong { color: var(--hz-ink); font-weight: 800; }
.principle-link { display: inline-flex; align-items: center; gap: 7px; color: var(--hz-teal); text-decoration: none; font-size: .82rem; font-weight: 760; white-space: nowrap; }
.principle-link svg { width: 15px; height: 15px; }
.principle-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Shared section headings */
.section { padding: clamp(76px, 9vw, 124px) 0; }
.section-alt { background: var(--hz-page-glow); border-top: 1px solid var(--hz-border); border-bottom: 1px solid var(--hz-border); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-head-copy { max-width: 780px; }
.section-head .eyebrow { margin-bottom: 15px; }
.section-intro { max-width: 760px; margin-top: 16px; color: var(--hz-muted); font-size: 1rem; line-height: 1.82; }
.section-index { color: var(--hz-muted-2); font: 700 .68rem var(--mono); letter-spacing: .09em; white-space: nowrap; padding-bottom: 7px; }

/* Evidence status and artefacts */
.evidence-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: 22px; align-items: stretch; }
.evidence-feature { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--hz-border); border-radius: 17px; background: var(--hz-surface); box-shadow: var(--hz-shadow-sm); }
.evidence-title-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.evidence-title-row h3 { margin-top: 15px; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.evidence-feature > p { max-width: 720px; margin-top: 17px; line-height: 1.82; }
.evidence-index { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--hz-accent); color: var(--hz-accent-ink); font: 800 .68rem/1 var(--mono); letter-spacing: .04em; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--hz-accent) 62%, var(--hz-border)); border-radius: 999px; background: color-mix(in srgb, var(--hz-accent) 18%, var(--hz-surface)); color: var(--hz-ink); font-size: .64rem; line-height: 1.3; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--hz-accent-ink); }
.artifact-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 29px; }
.artifact-link { position: relative; display: flex; min-height: 156px; flex-direction: column; gap: 7px; padding: 15px; border: 1px solid var(--hz-border); border-radius: 12px; background: var(--hz-page); text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.artifact-link:hover { transform: translateY(-3px); border-color: var(--hz-accent); background: var(--hz-surface); }
.artifact-type { color: var(--hz-teal); font: 800 .6rem/1.4 var(--mono); letter-spacing: .12em; }
.artifact-link strong { padding-top: 4px; color: var(--hz-ink); font-size: .91rem; line-height: 1.25; }
.artifact-link > span:nth-last-child(2) { max-width: 180px; color: var(--hz-muted); font-size: .7rem; line-height: 1.55; }
.artifact-arrow { position: absolute; right: 13px; bottom: 12px; color: var(--hz-teal); font-size: 1rem; }
.evidence-list { display: flex; flex-direction: column; gap: 0; padding: 7px 23px; border: 1px solid var(--hz-border); border-radius: 17px; background: var(--hz-surface); }
.evidence-row { display: grid; grid-template-columns: minmax(82px, auto) minmax(0, 1fr); align-items: start; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--hz-border); }
.evidence-row:last-child { border-bottom: 0; }
.evidence-row h4 { margin-top: 1px; font-size: .91rem; }
.evidence-row p { margin-top: 5px; color: var(--hz-muted); font-size: .77rem; line-height: 1.7; }
.evidence-state { display: inline-flex; justify-content: center; padding: 5px 7px; border: 1px solid var(--hz-border); border-radius: 6px; background: var(--hz-surface-2); color: var(--hz-muted); font: 800 .54rem/1.3 var(--mono); letter-spacing: .04em; white-space: nowrap; }
.state-present { border-color: color-mix(in srgb, var(--hz-green) 30%, var(--hz-border)); background: var(--hz-green-soft); color: var(--hz-green); }
.state-candidate { border-color: color-mix(in srgb, var(--hz-warning) 30%, var(--hz-border)); background: var(--hz-warning-soft); color: var(--hz-warning); }
.state-documented { border-color: color-mix(in srgb, var(--hz-teal) 30%, var(--hz-border)); background: var(--hz-teal-soft); color: var(--hz-teal); }
.state-limited { color: var(--hz-muted); }

/* Three-part measurement record */
.measurement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.measure-card { display: flex; min-width: 0; min-height: 310px; flex-direction: column; padding: 28px 26px 23px; border: 1px solid var(--hz-border); border-radius: 16px; background: var(--hz-surface); box-shadow: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.measure-card:hover { transform: translateY(-4px); border-color: var(--hz-accent); box-shadow: var(--hz-shadow-md); }
.measure-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 23px; }
.measure-number { color: var(--hz-teal); font: 800 .66rem/1.4 var(--mono); letter-spacing: .13em; }
.measure-icon { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--hz-border); border-radius: 12px; background: var(--hz-surface-2); color: var(--hz-ink); }
.measure-icon svg { width: 22px; height: 22px; }
.measure-card:nth-child(2) .measure-icon svg { color: var(--hz-teal); }
.measure-card:nth-child(3) .measure-icon svg { color: var(--hz-green); }
.measure-card h3 { max-width: 270px; font-size: 1.23rem; line-height: 1.22; }
.measure-card p { margin-top: 13px; color: var(--hz-muted); font-size: .85rem; line-height: 1.8; }
.measure-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--hz-border); color: var(--hz-muted-2); font: 700 .64rem var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.measure-footer::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--hz-accent); }
.measurement-note { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 18px; padding: 16px 19px; border: 1px solid var(--hz-border); border-left: 3px solid var(--hz-accent); border-radius: 10px; background: var(--hz-surface); color: var(--hz-muted); font-size: .8rem; line-height: 1.7; }
.measurement-note strong { color: var(--hz-ink); }

/* Evaluation method */
.workflow-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; gap: clamp(34px, 6vw, 86px); }
.workflow-copy { position: sticky; top: 124px; }
.workflow-copy h2 { max-width: 530px; }
.workflow-copy > p { max-width: 490px; margin-top: 20px; line-height: 1.85; }
.workflow-copy .workflow-detail { color: var(--hz-muted-2); font-size: .87rem; }
.workflow-links { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 29px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--hz-teal); font-size: .84rem; font-weight: 760; text-decoration: none; }
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.workflow-stack { padding: 17px; border: 1px solid var(--hz-border); border-radius: 17px; background: var(--hz-surface); box-shadow: var(--hz-shadow-sm); }
.workflow-step { display: grid; grid-template-columns: 47px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--hz-border); border-radius: 12px; background: var(--hz-page); }
.workflow-step-num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--hz-accent); color: var(--hz-accent-ink); font: 800 .7rem var(--mono); }
.workflow-step h3 { font-size: 1rem; }
.workflow-step p { max-width: 490px; margin-top: 7px; color: var(--hz-muted); font-size: .81rem; line-height: 1.7; }
.workflow-tag { align-self: start; padding: 5px 8px; border: 1px solid var(--hz-border); border-radius: 5px; background: var(--hz-surface); color: var(--hz-muted); font: 700 .58rem var(--mono); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.workflow-tag.live { border-color: var(--hz-accent); background: var(--hz-accent); color: var(--hz-accent-ink); }
.workflow-connector { height: 20px; display: flex; justify-content: center; align-items: center; color: var(--hz-muted-2); }
.workflow-connector svg { width: 17px; height: 17px; }
.workflow-footnote { margin: 14px 3px 3px; padding: 13px 14px; border-left: 2px solid var(--hz-accent); color: var(--hz-muted-2); font-size: .72rem; line-height: 1.7; }

/* Limits and closing action */
.limits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.limit-card { display: flex; min-height: 270px; flex-direction: column; gap: 25px; padding: 25px; border: 1px solid var(--hz-border); border-radius: 15px; background: var(--hz-surface); }
.limit-index { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--hz-surface-2); color: var(--hz-teal); font: 800 .67rem var(--mono); }
.limit-card h3 { font-size: 1.05rem; }
.limit-card p { margin-top: 11px; color: var(--hz-muted); font-size: .81rem; line-height: 1.78; }
.closing { padding: 28px 0 92px; }
.closing-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; padding: clamp(30px, 5vw, 55px); border: 1px solid var(--hz-border-strong); border-radius: 18px; background: var(--hz-ink); color: var(--hz-page); box-shadow: var(--hz-shadow-md); }
.closing-panel::after { position: absolute; content: ""; width: 430px; height: 430px; right: -220px; top: -270px; border: 1px solid color-mix(in srgb, var(--hz-accent) 62%, transparent); border-radius: 50%; box-shadow: 0 0 0 45px color-mix(in srgb, var(--hz-accent) 8%, transparent), 0 0 0 90px color-mix(in srgb, var(--hz-accent) 5%, transparent); pointer-events: none; }
.closing-panel h2 { max-width: 650px; color: var(--hz-page); font-size: clamp(2rem, 4vw, 3.5rem); }
.closing-panel p { max-width: 640px; margin-top: 14px; color: color-mix(in srgb, var(--hz-page) 70%, transparent); }
.closing-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.closing-panel .button-secondary { border-color: color-mix(in srgb, var(--hz-page) 25%, transparent); background: transparent; color: var(--hz-page); }
.closing-panel .button-secondary:hover { border-color: var(--hz-accent); background: color-mix(in srgb, var(--hz-page) 8%, transparent); }

/* Footer */
.site-footer { border-top: 1px solid var(--hz-border); background: var(--hz-page); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(150px, .65fr) minmax(180px, .75fr); gap: 46px; padding: 48px 0; }
.footer-about > p { max-width: 390px; margin-top: 19px; font-size: .79rem; line-height: 1.75; }
.footer-heading { margin-bottom: 14px; font-size: .82rem; font-weight: 760; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--hz-muted); font-size: .8rem; text-decoration: none; transition: color .16s ease; }
.footer-links a:hover { color: var(--hz-ink); text-decoration: underline; text-decoration-color: var(--hz-accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0 22px; border-top: 1px solid var(--hz-border); color: var(--hz-muted-2); font-size: .7rem; }
.footer-bottom p { color: inherit; font-size: inherit; }
.footer-principle { display: inline-flex; align-items: center; gap: 8px; }
.footer-principle svg { width: 14px; height: 14px; color: var(--hz-teal); }

/* Tablet and mobile layout */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); gap: 34px; }
  h1 { font-size: clamp(3.25rem, 6vw, 5rem); }
  .evidence-layout { grid-template-columns: 1fr; }
  .evidence-list { display: flex; }
  .evidence-row { grid-template-columns: 112px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero-copy-block { max-width: 780px; }
  .diagram-panel { max-width: 720px; margin-inline: auto; }
  .workflow-layout { grid-template-columns: 1fr; gap: 30px; }
  .workflow-copy { position: static; }
  .workflow-copy > p { max-width: 760px; }
  .limits-grid { grid-template-columns: 1fr; }
  .limit-card { min-height: unset; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 15px; }
  .limit-card > div { min-width: 0; }
}
@media (max-width: 820px) {
  .container { width: min(var(--content), calc(100% - 40px)); }
  .nav-shell { min-height: 72px; gap: 12px; }
  .menu-toggle { display: inline-grid; }
  .navigation { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 5px; padding: 12px 18px 18px; border: 1px solid var(--hz-border); border-top: 0; border-radius: 0 0 13px 13px; background: var(--hz-surface); box-shadow: var(--hz-shadow-md); }
  .navigation[data-open="true"] { display: flex; }
  .navigation .nav-link { min-height: 46px; justify-content: flex-start; padding-inline: 12px; font-size: .92rem; }
  .navigation .nav-link.nav-primary { justify-content: center; margin-top: 4px; }
  .principle-inner { align-items: start; padding-block: 20px; }
  .principle-link { margin-left: auto; }
  .measurement-grid { grid-template-columns: 1fr; gap: 12px; }
  .measure-card { min-height: unset; }
  .measure-footer { margin-top: 16px; }
  .closing-panel { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 34px); }
  h1 { font-size: clamp(2.8rem, 12.7vw, 4rem); letter-spacing: -.068em; }
  h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .nav-shell { min-height: 68px; }
  .brand-mark { width: 37px; height: 37px; border-radius: 11px; }
  .brand-name { font-size: .83rem; }
  .brand-category { font-size: .66rem; }
  .hz-theme-toggle { min-height: 36px; padding-inline: 9px; font-size: 11px; }
  .hero-editorial { padding: 48px 0; }
  .hero-grid { gap: 33px; }
  .hero-editorial .eyebrow { margin-bottom: 19px; font-size: .64rem; letter-spacing: .1em; }
  .hero-copy { padding-top: 20px; font-size: .96rem; line-height: 1.75; }
  .hero-actions { align-items: stretch; flex-direction: column; padding-top: 24px; gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .hero-meta { gap: 9px 15px; padding-top: 22px; font-size: .7rem; }
  .diagram-panel { padding: 15px 13px; border-radius: 15px; }
  .diagram-title { font-size: .75rem; }
  .prototype-chip { font-size: .59rem; padding: 4px 7px; }
  .diagram-key { grid-template-columns: 1fr; gap: 8px; }
  .equation-card { padding: 16px 14px; }
  .control-equation { font-size: 1.05rem; margin-block: 12px; }
  .principle-inner { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px 12px; padding-block: 18px; }
  .principle-copy { font-size: .8rem; }
  .principle-link { grid-column: 2; margin-left: 0; font-size: .78rem; }
  .section { padding: 62px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 27px; }
  .section-index { padding-bottom: 0; }
  .section-intro { font-size: .9rem; }
  .evidence-feature { padding: 22px 17px; }
  .artifact-links { grid-template-columns: 1fr; }
  .artifact-link { min-height: 112px; }
  .evidence-list { padding-inline: 16px; }
  .evidence-row { grid-template-columns: 1fr; gap: 8px; padding: 17px 0; }
  .evidence-state { justify-self: start; }
  .measure-card { padding: 22px 19px; }
  .measurement-note { padding: 13px 14px; font-size: .76rem; }
  .workflow-stack { padding: 10px; }
  .workflow-step { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 15px 12px; }
  .workflow-step-num { width: 35px; height: 35px; }
  .workflow-tag { grid-column: 2; justify-self: start; }
  .workflow-step p { font-size: .77rem; }
  .limit-card { grid-template-columns: 34px minmax(0, 1fr); padding: 18px 15px; }
  .closing { padding: 16px 0 64px; }
  .closing-panel { padding: 26px 20px; border-radius: 15px; }
  .closing-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .closing-actions .button { width: 100%; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; padding: 34px 0; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 9px; }
}
@media (max-width: 350px) {
  .container { width: calc(100% - 26px); }
  h1 { font-size: 2.55rem; }
  .brand { gap: 8px; }
  .brand-name { font-size: .77rem; }
  .brand-category { font-size: .62rem; }
  .menu-toggle { width: 38px; height: 38px; }
  .diagram-panel { padding: 12px 10px; }
  .diagram-key { grid-template-columns: 1fr; }
  .evidence-title-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Research record and interactive preview — shared Hypervisor-Zero visual system. */
.research-page { min-height: 100vh; background: var(--hz-page); color: var(--hz-ink); }
.research-hero { position: relative; overflow: hidden; padding: clamp(66px, 8vw, 104px) 0 54px; }
.research-hero::after { position: absolute; z-index: 0; top: -220px; right: -190px; width: 540px; height: 540px; content: ""; border: 1px solid var(--hz-border); border-radius: 50%; box-shadow: 0 0 0 46px color-mix(in srgb, var(--hz-accent) 7%, transparent), 0 0 0 92px color-mix(in srgb, var(--hz-accent) 4%, transparent); pointer-events: none; }
.research-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.research-hero h1 { max-width: 850px; font-size: clamp(2.8rem, 6.2vw, 5.25rem); }
.research-hero-copy { max-width: 760px; margin-top: 22px; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.85; }
.research-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.research-meta span { display: inline-flex; align-items: center; min-height: 31px; padding: 6px 10px; border: 1px solid var(--hz-border); border-radius: 7px; background: var(--hz-surface); color: var(--hz-muted); font: 650 .68rem/1.3 var(--mono); }
.research-section { padding: clamp(48px, 7vw, 86px) 0; border-top: 1px solid var(--hz-border); }
.research-section.section-alt { background: var(--hz-page-glow); }
.research-section-head { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 30px; }
.research-section-head > div { max-width: 790px; }
.research-section-head .eyebrow { margin-bottom: 13px; }
.research-section-head h2 { font-size: clamp(1.8rem, 3.8vw, 3.1rem); }
.research-section-head p { max-width: 760px; margin-top: 14px; line-height: 1.8; }
.research-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.research-card { min-width: 0; padding: 21px; border: 1px solid var(--hz-border); border-radius: 13px; background: var(--hz-surface); box-shadow: var(--hz-shadow-sm); }
.research-card h3 { margin-top: 12px; font-size: 1rem; line-height: 1.35; }
.research-card p { margin-top: 9px; font-size: .81rem; line-height: 1.72; }
.research-card .status-pill { margin-bottom: 2px; }
.research-card-number { color: var(--hz-muted-2); font: 700 .65rem var(--mono); letter-spacing: .12em; }
.research-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.research-feature { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--hz-border); border-radius: 15px; background: var(--hz-surface); }
.research-feature h3 { font-size: 1.22rem; }
.research-feature p { margin-top: 12px; line-height: 1.8; }
.research-feature ul { display: grid; gap: 9px; margin: 17px 0 0; padding-left: 19px; color: var(--hz-muted); font-size: .84rem; line-height: 1.7; }
.research-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.research-artifact { display: flex; flex-direction: column; min-height: 154px; padding: 19px; border: 1px solid var(--hz-border); border-radius: 12px; background: var(--hz-surface); color: inherit; text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.research-artifact:hover { transform: translateY(-2px); border-color: var(--hz-accent); box-shadow: var(--hz-shadow-sm); }
.research-artifact .artifact-type { color: var(--hz-teal); font: 800 .62rem/1.4 var(--mono); letter-spacing: .12em; }
.research-artifact strong { margin-top: 10px; font-size: .98rem; line-height: 1.35; }
.research-artifact span:last-child { margin-top: 7px; color: var(--hz-muted); font-size: .77rem; line-height: 1.6; }
.research-math { margin-top: 15px; padding: 22px; overflow-x: auto; border: 1px solid var(--hz-border); border-radius: 13px; background: var(--hz-surface); }
.research-math h3 { margin-bottom: 12px; }
.research-math math { display: block; min-width: max-content; margin: 12px auto; color: var(--hz-ink); font-size: 1.28rem; }
.research-math p { max-width: 820px; margin: 10px auto 0; font-size: .79rem; line-height: 1.75; }
.research-callout { margin-top: 18px; padding: 17px 19px; border-left: 3px solid var(--hz-accent); border-radius: 0 10px 10px 0; background: var(--hz-surface); color: var(--hz-muted); font-size: .85rem; line-height: 1.75; }
.research-callout strong { color: var(--hz-ink); }
.research-footer { padding: 26px 0 34px; border-top: 1px solid var(--hz-border); }
.research-footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.research-footer p { max-width: 650px; font-size: .75rem; line-height: 1.7; }
.research-footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: .76rem; font-weight: 700; }

/* Public demo */

@media (max-width: 1000px) {
  .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .research-section-head { align-items: start; flex-direction: column; gap: 10px; }
  .research-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .research-hero { padding-top: 54px; }
.research-grid, .research-link-grid { grid-template-columns: 1fr; }
  .research-footer-inner { flex-direction: column; }
}

