:root {
  --bg: #080a0e;
  --panel: #0d1016;
  --panel-deep: #0a0c11;
  --text: #e6e6e6;
  --muted: #939599;
  --dim: #5f636b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --gold: #f5b301;
  --gold-dim: #a37700;
  --green: #9bd89a;
  --red: #ff5c5c;
  --max: 1200px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-position: center top;
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

code,
.eyebrow,
.wordmark,
.site-nav,
.header-status,
.button,
.terminal-window,
.chart-topline,
.bar-value,
.bar-label,
.bar-cost,
.note-kicker,
.private-tag,
.media-tag,
.step-icon,
.finding-card code,
.learning-card,
.command-row,
.command-note,
.preview-label {
  font-family: var(--mono);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(245, 179, 1, 0.65);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(8, 10, 14, 0.82);
  backdrop-filter: blur(16px);
}

.wordmark {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wordmark-mark,
.wordmark-slash,
.eyebrow-mark,
.meta-mark {
  color: var(--gold);
}

.wordmark-slash {
  margin-left: 6px;
  color: var(--gold-dim);
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 38px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(155, 216, 154, 0.75);
}

.section-shell {
  width: min(calc(100% - 64px), var(--max));
  max-width: 100%;
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

.hero {
  min-height: 100vh;
  padding-top: 164px;
  padding-bottom: 64px;
}

.hero-intro {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.eyebrow-mark {
  margin-right: 9px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 9vw, 5.5rem);
  line-height: 0.99;
  overflow-wrap: anywhere;
}

h1 span {
  color: var(--gold);
}

.hero-subhead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--gold-dim);
}

.button-primary {
  border-color: var(--gold);
  color: var(--bg);
  background: var(--gold);
}

.button-primary:hover {
  border-color: #ffca29;
  background: #ffca29;
}

.button-quiet {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button-quiet:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

.terminal-window {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 66px;
  border: 1px solid var(--line-strong);
  background: var(--panel-deep);
  box-shadow: 0 26px 100px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(245, 179, 1, 0.02);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #10131a;
}

.traffic-lights {
  display: flex;
  gap: 6px;
  width: 70px;
}

.traffic-lights span {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.traffic-lights span:first-child {
  background: #ff5f57;
}

.traffic-lights span:nth-child(2) {
  background: #febc2e;
}

.traffic-lights span:last-child {
  background: #28c840;
}

.terminal-title {
  flex: 1;
  color: var(--dim);
  font-size: 11px;
  text-align: center;
}

.replay-button {
  width: 70px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
  transition: color 180ms ease;
}

.replay-button:hover {
  color: var(--gold);
}

.terminal-screen {
  min-width: 0;
  max-height: 620px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 28px 30px 32px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.85;
  scrollbar-color: var(--gold-dim) transparent;
}

.terminal-log-region {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-color: var(--gold-dim) transparent;
}

.terminal-command-line,
.terminal-stream {
  min-width: 650px;
}

.terminal-command-line {
  white-space: nowrap;
}

.terminal-prompt {
  color: var(--gold);
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 5px;
  vertical-align: -2px;
  background: var(--gold);
  animation: blink 1s steps(2, jump-none) infinite;
}

@keyframes blink {
  50% {
    opacity: .2;
  }
}

.terminal-stream {
  margin-top: 15px;
}

.terminal-line {
  color: #babdc2;
  white-space: nowrap;
}

.terminal-bullet {
  display: inline-block;
  width: 24px;
  color: var(--gold-dim);
}

.terminal-line .ok,
.ok {
  color: var(--green);
}

.terminal-seq-line {
  opacity: 1;
  transform: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.terminal-seq-line.is-visible {
  opacity: 1;
  transform: none;
}

.js-ready.gsap-ready .terminal-seq-line:not(.is-visible) {
  opacity: 0;
  transform: translateY(4px);
}

.terminal-results {
  margin-top: 20px;
}

.terminal-results.terminal-hidden {
  display: block;
}

.js-ready.gsap-ready .terminal-results.terminal-hidden {
  display: none;
}

.terminal-interactive {
  display: none;
  min-width: 650px;
  margin-top: 24px;
}

.js-ready .terminal-interactive.is-active {
  display: block;
}

.terminal-interactive-hint {
  margin-bottom: 8px;
  color: var(--gold-dim);
  font-size: 10px;
  white-space: nowrap;
}

.terminal-interactive-hint.is-dismissed {
  display: none;
}

.terminal-interactive-output {
  margin-bottom: 3px;
}

.terminal-interactive-line,
.terminal-interactive-command {
  color: #babdc2;
  white-space: pre-wrap;
}

.terminal-interactive-command {
  color: var(--text);
}

.terminal-live-line {
  min-height: 22px;
  white-space: nowrap;
}

.terminal-live-cursor {
  margin-left: 5px;
}

/* fixed, and reparented to <body> in site.js: keeps the hidden capture input out of .terminal-screen's scroll box and away from transformed ancestors, so typing cannot scroll the page */
.terminal-input {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.terminal-command-chips {
  display: none;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.js-ready .terminal-command-chips {
  display: flex;
}

.terminal-command-chips button {
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(13, 16, 22, 0.74);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
  text-align: left;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.terminal-command-chips button:hover,
.terminal-command-chips button:focus-visible {
  border-color: var(--gold-dim);
  color: var(--gold);
  background: rgba(245, 179, 1, 0.06);
}

.terminal-result-heading {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.terminal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.terminal-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 11px;
}

.terminal-table th,
.terminal-table td {
  padding: 5px 10px 5px 0;
  text-align: left;
  white-space: nowrap;
}

.terminal-table th {
  color: var(--dim);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-table td {
  color: #c3c6ca;
}

.terminal-table tr + tr {
  border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.terminal-table .baseline-row td {
  color: var(--muted);
}

.terminal-recommendation {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
  padding: 13px 15px;
  border-left: 3px solid var(--gold);
  color: var(--bg);
  background: var(--gold);
  font-size: 11px;
  line-height: 1.5;
  white-space: normal;
}

.recommendation-label {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 17px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta-mark {
  margin-right: 6px;
}

.section-block {
  padding-top: 148px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

.section-heading > p,
.heading-aside {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: 70px;
  max-width: none;
  align-items: end;
}

.split-heading h2 {
  max-width: 750px;
}

.split-heading .heading-aside {
  max-width: 400px;
  margin-bottom: 19px;
  font-size: 14px;
}

.panel {
  border: 1px solid var(--line);
  background: rgba(13, 16, 22, 0.74);
}

.curve-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
}

.curve-chart {
  min-width: 0;
  padding: 23px 25px 20px;
}

.chart-topline,
.preview-label {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-grid {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  height: 325px;
  margin-top: 26px;
}

.chart-y-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 37px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

.bars {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  min-width: 0;
  border-bottom: 1px solid var(--line-strong);
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 100% 25%;
}

.bar-group {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  min-width: 70px;
  max-width: 150px;
  height: 100%;
}

.bar-track {
  display: flex;
  align-items: end;
  width: min(56px, 55%);
  height: calc(100% - 55px);
}

.bar-fill {
  width: 100%;
  height: var(--bar-height);
  border: 1px solid var(--gold);
  border-bottom: 0;
  background: linear-gradient(to top, rgba(245, 179, 1, 0.24), rgba(245, 179, 1, 0.8));
  transition: height 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-group.is-recommended .bar-fill {
  background: linear-gradient(to top, rgba(245, 179, 1, 0.34), var(--gold));
  box-shadow: 0 0 24px rgba(245, 179, 1, 0.15);
}

.bar-group.is-github .bar-fill {
  border-color: var(--dim);
  background: linear-gradient(to top, rgba(147, 149, 153, 0.18), rgba(147, 149, 153, 0.56));
}

.bar-value,
.bar-label,
.bar-cost {
  position: absolute;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.bar-value {
  bottom: calc(100% - 53px);
  color: var(--text);
}

.bar-label {
  bottom: -22px;
  color: var(--text);
}

.bar-cost {
  bottom: -40px;
  color: var(--gold-dim);
}

.is-github .bar-cost {
  color: var(--muted);
}

.bar-badge {
  position: absolute;
  bottom: calc(100% + 5px);
  padding: 2px 5px;
  color: var(--bg);
  background: var(--gold);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.curve-chart figcaption {
  display: flex;
  gap: 12px;
  margin-top: 62px;
  color: var(--muted);
  font-size: 12px;
}

.caption-index {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
}

.curve-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: 28px;
  border-left: 2px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
}

.note-kicker {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.big-stat {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 75px;
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
}

.big-stat span:last-child {
  font-size: 27px;
  letter-spacing: 0;
}

.curve-note .stat-label {
  margin-bottom: 18px;
  color: rgba(8, 10, 14, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.curve-note p {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.curve-note .note-small {
  font-size: 12px;
  font-weight: 500;
}

.note-rule {
  width: 100%;
  height: 1px;
  margin: 23px 0 17px;
  background: rgba(8, 10, 14, 0.22);
}

.crosstalk-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 17px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
  font-size: 14px;
}

.callout-mark {
  color: var(--gold);
  font-family: var(--mono);
}

.crosstalk-callout strong {
  color: var(--text);
  font-weight: 600;
}

.crosstalk-callout p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.comparison-card {
  min-height: 290px;
  padding: 26px 27px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.comparison-card-accent {
  background: rgba(245, 179, 1, 0.045);
}

.card-number,
.step-index {
  margin-bottom: 54px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
}

.card-label {
  margin-bottom: 16px;
  color: var(--gold-dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-card h3 {
  max-width: 260px;
  margin-bottom: 15px;
  font-size: 23px;
  line-height: 1.12;
}

.comparison-card > p:last-child {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.agent-intro {
  max-width: 900px;
  margin: -13px 0 35px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.agent-intro code {
  color: var(--gold);
  font-size: 0.92em;
}

.agent-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.agent-step {
  position: relative;
  min-height: 220px;
  padding: 23px 25px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}

.agent-step::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 1px;
  content: "";
  background: var(--gold-dim);
}

.agent-step-accent {
  background: rgba(245, 179, 1, 0.045);
}

.agent-step .step-index {
  margin-bottom: 20px;
}

.agent-step h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.18;
}

.agent-step p {
  max-width: 310px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.agent-step-evidence {
  display: block;
  max-width: 310px;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.agent-pr {
  max-width: none;
  margin-top: 18px;
  margin-right: auto;
  margin-left: auto;
  padding: 21px 23px 22px;
  border: 1px solid rgba(139, 148, 158, 0.35);
  background: #161b22;
  color: #c9d1d9;
}

.agent-pr-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.agent-pr-open {
  padding: 3px 7px;
  border: 1px solid rgba(63, 185, 80, 0.55);
  border-radius: 999px;
  color: #7ee787;
}

.agent-pr h3 {
  margin-bottom: 7px;
  color: #f0f6fc;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.agent-pr-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.agent-pr-diff {
  max-width: 100%;
  margin: 0;
  padding: 16px 17px;
  overflow-x: auto;
  border: 1px solid rgba(139, 148, 158, 0.2);
  background: #0d1117;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  white-space: pre;
}

.diff-context {
  color: var(--muted);
}

.diff-added {
  color: #7ee787;
}

.diff-removed {
  color: #ff7b72;
}

.agent-pr-rationale {
  max-width: 760px;
  margin: 15px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pipeline-step {
  position: relative;
  min-height: 246px;
  padding: 23px 25px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}

.pipeline-step::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 1px;
  content: "";
  background: var(--gold-dim);
}

.pipeline-step .step-index {
  margin-bottom: 20px;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 23px;
  margin-bottom: 17px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 10px;
  text-transform: lowercase;
}

.pipeline-step h3 {
  margin-bottom: 9px;
  font-size: 18px;
  line-height: 1.18;
}

.pipeline-step p {
  max-width: 280px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.pipeline-step code,
.comparison-card code,
.section-heading code,
.lab-card code,
.command-note code {
  color: var(--gold);
  font-size: 0.92em;
}

.findings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.finding-card {
  min-height: 124px;
  padding: 19px 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.finding-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.finding-card code {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.finding-card p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.severity {
  padding: 2px 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.severity-low {
  color: var(--muted);
  border: 1px solid var(--line-strong);
}

.severity-info {
  color: var(--gold-dim);
  border: 1px solid rgba(163, 119, 0, 0.55);
}

.severity-medium {
  color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.45);
}

.severity-high {
  color: var(--red);
  border: 1px solid rgba(255, 92, 92, 0.42);
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.learning-card {
  min-height: 148px;
  padding: 20px 21px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.learning-card .terminal-prompt {
  display: block;
  margin-bottom: 13px;
  color: var(--gold-dim);
  font-size: 12px;
}

.learning-card code {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 11px;
}

.learning-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lab-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--panel-deep);
}

.media-frame video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.media-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(to top, rgba(8, 10, 14, 0.65), transparent 60%);
}

.media-tag {
  position: absolute;
  bottom: 10px;
  left: 12px;
  z-index: 1;
  color: var(--text);
  font-size: 10px;
}

.lab-card-body {
  padding: 19px 20px 22px;
}

.lab-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 19px;
}

.lab-card-top code {
  font-size: 13px;
}

.lab-card-top > a {
  display: block;
  color: var(--gold);
}

.lab-card-top > a:hover {
  color: var(--text);
}

.lab-card-title {
  max-width: 250px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.private-tag {
  flex-shrink: 0;
  color: var(--gold-dim);
  font-size: 9px;
  line-height: 1.3;
  text-align: right;
}

.open-tag {
  color: var(--green);
}

.next-tag {
  color: var(--gold);
}

.lab-card-body p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.lab-card-body p:last-child {
  margin-bottom: 0;
  color: var(--dim);
}

.built-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.built-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 19px 20px 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.built-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 19px;
}

.built-card h3 {
  max-width: 250px;
  margin: 0;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.built-card h3 a {
  color: var(--gold);
}

.built-card h3 a:hover {
  color: var(--text);
}

.built-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.built-card > code {
  margin-top: auto;
  color: var(--gold);
  font-size: 11px;
  line-height: 1.45;
}

.no-media-art {
  display: flex;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  background: repeating-linear-gradient(0deg, transparent 0, transparent 7px, rgba(245, 179, 1, 0.05) 8px), radial-gradient(circle at center, rgba(245, 179, 1, 0.13), transparent 58%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.no-media-art span:last-child {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.install-section {
  padding-bottom: 144px;
}

.install-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.install-layout .section-heading {
  margin-bottom: 32px;
}

.command-list {
  display: grid;
  gap: 8px;
}

.command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 48px;
  padding: 8px 10px 8px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.command-row code {
  overflow-x: auto;
  color: var(--text);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  scrollbar-width: none;
}

.command-row code::-webkit-scrollbar {
  display: none;
}

.command-row-run {
  border-color: rgba(245, 179, 1, 0.38);
  background: rgba(245, 179, 1, 0.045);
}

.copy-button {
  flex-shrink: 0;
  padding: 5px 7px;
  border: 1px solid var(--line-strong);
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.copy-button:hover,
.copy-button.is-copied {
  border-color: var(--gold);
  color: var(--gold);
}

.command-note {
  margin: -1px 0 3px 15px;
  color: var(--dim);
  font-size: 10px;
}

.install-preview {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 21px 23px 22px;
}

.install-preview img {
  display: block;
  width: 100%;
  margin-top: 15px;
  border: 1px solid var(--line);
}

.install-preview figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--muted);
}

.nav-github {
  display: none;
}

.bar-group:nth-child(1) {
  --bar-height: 95.857%;
}

.bar-group:nth-child(2) {
  --bar-height: 69.286%;
}

.bar-group:nth-child(3) {
  --bar-height: 65%;
}

.bar-group:nth-child(4) {
  --bar-height: 55.714%;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 16px;
    margin-right: 20px;
  }

  .curve-layout,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .curve-note {
    min-height: auto;
  }

  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .install-preview {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 55px;
    padding: 0 18px;
  }

  .site-nav {
    display: flex;
    gap: 0;
    margin-right: 0;
  }

  .site-nav a:not(.nav-github) {
    display: none;
  }

  .nav-github {
    display: block;
    color: var(--text);
  }

  .header-status {
    display: none;
  }

  .section-shell {
    width: 100%;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 5.5rem);
  }

  .terminal-window {
    margin-top: 48px;
  }

  .terminal-screen {
    padding: 23px 20px 27px;
  }

  .section-block {
    padding-top: 100px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .split-heading .heading-aside {
    margin-bottom: 7px;
  }

  .comparison-grid,
  .agent-flow,
  .pipeline,
  .findings-grid,
  .learning-grid,
  .lab-grid,
  .built-grid {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 33px;
  }

  .install-section {
    padding-bottom: 92px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .terminal-command-chips {
    gap: 8px;
  }

  .terminal-command-chips button {
    flex: 1 1 calc(50% - 8px);
    min-height: 38px;
    border-color: rgba(245, 179, 1, 0.3);
    background: rgba(245, 179, 1, 0.045);
  }
}

@media (max-width: 420px) {
  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1;
    justify-content: center;
  }

  .curve-chart {
    padding-right: 17px;
    padding-left: 17px;
  }

  .chart-grid {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 5px;
  }

  .bar-group {
    min-width: 58px;
  }

  .bar-track {
    width: 38px;
  }

  .bar-badge {
    display: none;
  }

  .crosstalk-callout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .crosstalk-callout p {
    grid-column: 1;
  }

  .lab-card-top {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .private-tag {
    text-align: left;
  }

  .command-row {
    align-items: stretch;
    flex-direction: column;
    padding: 11px 12px;
  }

  .command-row code {
    max-width: 100%;
  }

  .copy-button {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .terminal-seq-line {
    opacity: 1 !important;
    transform: none !important;
  }

  .terminal-results.terminal-hidden {
    display: block;
  }

  .bar-fill {
    height: var(--bar-height) !important;
  }

  .terminal-live-cursor {
    animation: none;
    opacity: 1;
  }
}
