:root {
  --ink: #20252b;
  --ink-2: #30373e;
  --paper: #f5f7f6;
  --white: #ffffff;
  --line: #d6dcda;
  --muted: #66706f;
  --teal: #167d78;
  --teal-soft: #dcecea;
  --green: #16884a;
  --amber: #d69418;
  --amber-soft: #f8ebd0;
  --red: #b84a3d;
  --red-soft: #f5e1de;
  --max: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 66px;
  background: rgba(245, 247, 246, 0.96);
  border-bottom: 1px solid rgba(32, 37, 43, 0.14);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  line-height: 1.05;
}

.brand img { width: 38px; height: 38px; }
.brand span { display: grid; gap: 3px; }
.brand b { font-size: 14px; }
.brand small { color: var(--muted); font-size: 10px; }

nav { display: flex; align-items: center; gap: 30px; }
nav a { color: #4e5857; font-size: 13px; font-weight: 650; }
nav a:hover, nav a:focus-visible { color: var(--teal); }

.header-action {
  justify-self: end;
  font-size: 12px;
  font-weight: 750;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
}

.portfolio-nav {
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  background: #e8eeec;
}

.portfolio-nav-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.portfolio-nav p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #6a7472;
  font-size: 10px;
}

.portfolio-nav p b {
  color: var(--teal);
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.portfolio-nav-inner > div {
  display: flex;
  gap: 20px;
  flex: 0 0 auto;
}

.portfolio-nav a {
  color: #3e4847;
  font-size: 10px;
  font-weight: 750;
}

.portfolio-nav a:hover,
.portfolio-nav a:focus-visible { color: var(--teal); }

.hero {
  min-height: 658px;
  padding: 74px 0 0;
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.eyebrow,
.section-index,
.panel-label {
  margin: 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.status-dot,
.live-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 136, 74, 0.12);
}

.hero h1 {
  margin: 22px 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  line-height: 0.83;
  font-weight: 500;
}

.hero h1 span { color: var(--teal); }

.hero-cn {
  margin: 20px 0 0;
  color: #3f474c;
  font-size: 24px;
  font-weight: 760;
}

.hero-lede {
  max-width: 610px;
  margin: 19px 0 0;
  color: #4f595b;
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.primary-action,
.next-inner > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 17px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
}

.primary-action:hover,
.primary-action:focus-visible,
.next-inner > a:hover,
.next-inner > a:focus-visible { background: var(--teal); }

.text-action {
  padding: 9px 0 7px;
  border-bottom: 1px solid #9ea5a4;
  font-size: 13px;
  font-weight: 700;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 30px 0 0;
  padding: 0;
  color: #697271;
  list-style: none;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
}

.hero-facts li::before { content: "/"; margin-right: 7px; color: var(--amber); }

.hero-console {
  overflow: hidden;
  border: 1px solid #111619;
  border-radius: 7px;
  background: var(--ink);
  color: #edf3f1;
  box-shadow: 18px 20px 0 rgba(22, 125, 120, 0.12);
}

.console-head {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid #454c50;
  color: #b7c0bf;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  letter-spacing: 0.8px;
}

.live-indicator {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  box-shadow: none;
}

.console-route {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 17px;
  border-bottom: 1px solid #3b4347;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
}

.console-route span { color: #69c6bf; }
.console-route b { color: #e6b54f; font-weight: 500; }

.route-lines {
  display: grid;
  gap: 9px;
  padding: 14px 17px;
  border-bottom: 1px solid #3b4347;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
}

.route-lines div { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 9px; }
.route-lines i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.route-lines div:nth-child(2) i { background: var(--amber); }
.route-lines span { color: #aab3b3; }
.route-lines strong { font-weight: 500; color: #f0f4f3; }

.console-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.console-metrics div {
  min-height: 102px;
  padding: 17px;
  border-right: 1px solid #3b4347;
  border-bottom: 1px solid #3b4347;
}

.console-metrics div:nth-child(2n) { border-right: 0; }
.console-metrics dt { color: #9da8a7; font-size: 10px; }
.console-metrics dt small { display: block; margin-top: 2px; color: #71807e; font-size: 7px; font-weight: 650; }
.console-metrics dd { margin: 8px 0 0; font-size: 22px; font-weight: 760; line-height: 1.1; }
.console-metrics small { color: #8fa19f; font-size: 9px; font-weight: 600; }

.console-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 17px 14px;
  color: #abb5b4;
  font-size: 10px;
}

.console-note span { color: #e6b54f; font-weight: 800; }

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  min-height: 52px;
  border-top: 1px solid var(--line);
  color: #687270;
  font-size: 11px;
  font-weight: 700;
}

.hero-foot span { display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.hero-foot span:first-child { border-left: 1px solid var(--line); }

.section { padding: 104px 0; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 500;
}

.section-heading > p {
  margin: 0;
  color: #64706e;
  font-size: 13px;
  line-height: 1.9;
}

.route-switcher,
.evidence-tabs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e9eeec;
}

.route-button,
.evidence-tab {
  min-height: 36px;
  padding: 7px 15px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #606a69;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
}

.route-button.is-active {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 1px 4px rgba(32, 37, 43, 0.12);
}

.route-stage {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.25fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 135px;
}

.rail-step { display: flex; align-items: center; gap: 12px; min-width: 0; }
.step-number { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid #bac3c1; border-radius: 50%; color: #7d8785; font-size: 9px; }
.rail-step div { display: grid; min-width: 0; }
.rail-step small { color: #899391; font-size: 8px; font-weight: 750; letter-spacing: 0.8px; }
.rail-step b { overflow-wrap: anywhere; font-size: 12px; }
.rail-arrow { color: #abb4b2; }
.active-step .step-number { border-color: var(--ink); background: var(--ink); color: var(--white); }
.route-target .step-number { border-color: var(--teal); color: var(--teal); }

.route-stage[data-active-route="finance"] .route-target .step-number { border-color: var(--amber); color: #9a6510; }

.route-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 80px;
  padding: 38px 0 44px;
  border-top: 1px solid var(--line);
}

.detail-kicker { margin: 0; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.route-stage[data-active-route="finance"] .detail-kicker { color: #9a6510; }
.route-detail h3 { margin: 9px 0 12px; font-size: 22px; line-height: 1.35; }
.route-detail > div > p:last-child { max-width: 650px; margin: 0; color: #626c6b; font-size: 13px; line-height: 1.9; }

.detail-list { margin: 0; }
.detail-list div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.detail-list dt { color: #7c8785; }
.detail-list dd { margin: 0; font-family: Consolas, "SFMono-Regular", monospace; overflow-wrap: anywhere; }

.control-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.control-strip div { display: grid; gap: 2px; padding: 18px 20px; border-right: 1px solid var(--line); }
.control-strip div:last-child { border-right: 0; }
.control-strip span { color: var(--teal); font-family: Consolas, monospace; font-size: 9px; }
.control-strip b { font-size: 13px; }
.control-strip small { color: #7d8785; font-size: 10px; }

.evidence { background: var(--ink); color: var(--white); }
.light-heading .section-index { color: #61c3bb; }
.light-heading > p { color: #aeb8b6; }

.evidence-tabs { border-color: #4a5255; background: #2a3035; }
.evidence-tab { color: #aeb7b6; }
.evidence-tab.is-active { background: #edf3f1; color: var(--ink); }

.evidence-panel { min-height: 520px; padding-top: 30px; }
.evidence-panel[hidden] { display: none; }

.panel-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 60px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid #465055;
}

.panel-label { color: #67c7bf; }
.panel-lead h3 { margin: 8px 0 0; font-size: 24px; line-height: 1.35; }
.panel-lead > p { margin: 0; color: #aeb8b7; font-size: 12px; line-height: 1.8; }

.concurrency-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 80px;
  padding: 42px 0;
}

.readout-main { padding-bottom: 20px; border-bottom: 1px solid #465055; }
.readout-main span { display: block; color: #74cfc8; font-size: 11px; font-weight: 750; }
.readout-main strong { display: block; margin-top: 4px; font-family: Georgia, serif; font-size: 64px; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.readout-main small { color: #9fa9a8; font-size: 10px; }

.metric-readout dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 19px 0 0; }
.metric-readout dl div { min-width: 0; padding-right: 10px; }
.metric-readout dt { color: #8f9a98; font-size: 9px; }
.metric-readout dd { margin: 4px 0 0; color: #e5ecea; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }

.concurrency-control { align-self: center; }
.concurrency-control label { display: flex; justify-content: space-between; color: #b8c1bf; font-size: 11px; font-weight: 700; }
.concurrency-control output { color: #72cec6; }

input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 22px 0 7px;
  border-radius: 2px;
  appearance: none;
  background: #515b5e;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb { width: 18px; height: 18px; border: 4px solid var(--ink); border-radius: 50%; appearance: none; background: #6fd0c7; box-shadow: 0 0 0 1px #6fd0c7; }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 4px solid var(--ink); border-radius: 50%; background: #6fd0c7; box-shadow: 0 0 0 1px #6fd0c7; }

.range-labels { display: flex; justify-content: space-between; color: #778280; font-family: Consolas, monospace; font-size: 9px; }
.bar-chart { display: grid; gap: 15px; margin-top: 34px; }
.bar-row { display: grid; grid-template-columns: 36px 1fr 62px; align-items: center; gap: 12px; color: #aeb8b6; font-size: 9px; }
.bar-row > div { height: 7px; overflow: hidden; background: #3b4448; }
.bar-row i { display: block; height: 100%; background: #63c7bf; transition: width 260ms ease; }
.bar-row:nth-child(2) i { background: #e2ad44; }
.bar-row b { text-align: right; color: #e7eceb; font-size: 9px; font-variant-numeric: tabular-nums; }

.cache-proof {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.2fr;
  align-items: stretch;
  border: 1px solid #4b5558;
  border-radius: 7px;
}

.cache-proof > div { padding: 18px 22px; border-right: 1px solid #4b5558; }
.cache-proof p { margin: 0; color: #9da8a6; font-size: 9px; letter-spacing: 0.6px; }
.cache-proof strong { display: block; margin-top: 4px; color: #f0f4f3; font-size: 21px; }
.cache-proof strong small { color: #8d9b99; font-size: 9px; }
.cache-proof > p { display: flex; align-items: center; padding: 17px 22px; font-size: 10px; line-height: 1.7; letter-spacing: 0; }
.cache-run-meta { grid-column: 1 / -1; padding: 9px 22px; border-top: 1px solid #4b5558; color: #788583; font-family: Consolas, "SFMono-Regular", monospace; font-size: 8px; letter-spacing: 0.25px; }

.serving-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 36px 0 24px; }
.evidence-card { border: 1px solid #4a5558; border-top: 3px solid var(--teal); border-radius: 6px; padding: 24px; background: #272e33; }
.evidence-card.amber-card { border-top-color: var(--amber); }
.card-top { display: flex; justify-content: space-between; color: #7bd1ca; font-size: 9px; font-weight: 800; letter-spacing: 0.7px; }
.amber-card .card-top { color: #e2b455; }
.card-top b { color: var(--white); font-size: 11px; }
.evidence-card h4 { margin: 13px 0 18px; font-size: 20px; overflow-wrap: anywhere; }
.evidence-card dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid #465055; border-bottom: 1px solid #465055; }
.evidence-card dl div { padding: 14px 8px 14px 0; }
.evidence-card dt { color: #899694; font-size: 8px; }
.evidence-card dd { margin: 3px 0 0; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.evidence-card > p { margin: 18px 0 0; color: #aeb9b7; font-size: 11px; line-height: 1.75; }

.evidence-line { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 17px 20px; border: 1px solid #475154; border-radius: 6px; color: #aeb9b7; font-size: 10px; }
.evidence-line span { color: #73cdc5; font-weight: 800; }
.evidence-line b { color: #e8edec; font-family: Consolas, monospace; font-size: 10px; font-weight: 500; overflow-wrap: anywhere; }
.evidence-line small { color: #879391; font-size: 9px; }

.runtime-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 24px; padding-top: 38px; }
.int8-compare, .test-proof { border: 1px solid #4a5558; border-radius: 6px; padding: 26px; background: #272e33; }
.compare-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid #465055; color: #aeb9b7; font-size: 10px; }
.compare-head b { color: #70cec5; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.runtime-bar { display: grid; grid-template-columns: 92px 1fr 70px; align-items: center; gap: 14px; margin-top: 24px; color: #b5bfbd; font-size: 10px; }
.runtime-bar i { height: 9px; background: #7b8585; }
.runtime-bar.int8 i { width: 43.47%; background: #65c8bf; }
.runtime-bar strong { text-align: right; color: var(--white); font-size: 10px; font-variant-numeric: tabular-nums; }
.int8-compare > p { margin: 25px 0 0; color: #9ea9a7; font-size: 10px; line-height: 1.75; }

.test-proof { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-top: 3px solid var(--green); }
.test-proof > span { color: #7ccf9a; font-size: 9px; font-weight: 800; letter-spacing: 0.8px; }
.test-proof > strong { margin-top: 10px; font-family: Georgia, serif; font-size: 76px; line-height: 0.9; font-weight: 500; }
.test-proof > strong small { color: #8c9895; font-size: 25px; }
.test-proof > b { margin-top: 10px; color: #7bd09b; font-size: 12px; }
.test-proof > p { margin: 15px 0 0; color: #9fa9a7; font-size: 10px; line-height: 1.75; }

.boundaries { background: var(--white); }
.claim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.claim-column { border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 6px; }
.claim-column.invalid-claims { border-top-color: var(--red); }
.claim-head { display: flex; align-items: center; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.claim-head span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--green); font-size: 12px; font-weight: 800; }
.invalid-claims .claim-head span { background: var(--red-soft); color: var(--red); }
.claim-head h3 { margin: 0; font-size: 14px; }
.claim-column ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.claim-column li { position: relative; padding: 16px 22px 16px 41px; border-bottom: 1px solid var(--line); color: #4e5958; font-size: 12px; }
.claim-column li:last-child { border-bottom: 0; }
.claim-column li::before { content: ""; position: absolute; top: 23px; left: 21px; width: 7px; height: 2px; background: var(--green); }
.invalid-claims li::before { background: var(--red); }

.resume-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  margin-top: 64px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resume-block h3 { margin: 9px 0 0; font-size: 21px; }
.resume-block blockquote { margin: 0; color: #45504f; font-family: Georgia, "Songti SC", serif; font-size: 19px; line-height: 1.85; }

.next-band { padding: 72px 0; background: #dbe9e7; border-top: 1px solid #c3d5d2; }
.next-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.next-inner p { margin: 0; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.next-inner h2 { margin: 10px 0 0; font-family: Georgia, serif; font-size: 34px; line-height: 1.2; font-weight: 500; }
.next-inner > a { flex: 0 0 auto; }

footer { padding: 26px 0; background: var(--ink); color: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand span { display: grid; }
.footer-brand b { font-size: 12px; }
.footer-brand small, footer p { color: #9ca7a5; font-size: 9px; }
footer p { margin: 0; font-family: Consolas, monospace; }

button:focus-visible,
a:focus-visible,
input:focus-visible { outline: 2px solid #e3a62f; outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 58px; }
  .hero-grid { grid-template-columns: 1fr 400px; gap: 42px; }
  .hero h1 { font-size: 70px; }
  .section-heading h2 { font-size: 46px; }
  .readout-main strong { font-size: 54px; }
  .section-heading { gap: 40px; }
  .route-rail { gap: 8px; }
  .rail-arrow { display: none; }
  .route-rail { grid-template-columns: repeat(4, 1fr); }
  .route-detail { gap: 40px; }
  .concurrency-grid { gap: 45px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 60px; }
  .header-inner { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .brand img { width: 34px; height: 34px; }
  .portfolio-nav-inner { align-items: flex-start; flex-direction: column; gap: 5px; padding-top: 8px; padding-bottom: 8px; }
  .portfolio-nav p { align-items: flex-start; line-height: 1.45; }
  .portfolio-nav-inner > div { width: 100%; justify-content: flex-start; gap: 22px; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: 68px; }
  .hero-cn { font-size: 20px; }
  .hero-lede { font-size: 14px; line-height: 1.75; }
  .hero-console { width: 100%; box-shadow: 10px 12px 0 rgba(22, 125, 120, 0.12); }
  .hero-foot { margin-top: 46px; }
  .section { padding: 76px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { max-width: 620px; }
  .route-rail { grid-template-columns: 1fr 1fr; gap: 0; }
  .rail-step { min-height: 82px; border-bottom: 1px solid var(--line); }
  .route-detail { grid-template-columns: 1fr; gap: 26px; }
  .control-strip { grid-template-columns: 1fr 1fr; }
  .control-strip div:nth-child(2) { border-right: 0; }
  .control-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .panel-lead { grid-template-columns: 1fr; gap: 14px; }
  .concurrency-grid { grid-template-columns: 1fr; gap: 38px; }
  .cache-proof { grid-template-columns: 1fr 1fr; }
  .cache-proof > div:nth-child(2) { border-right: 0; }
  .cache-proof > p { grid-column: 1 / -1; border-top: 1px solid #4b5558; }
  .serving-grid, .runtime-grid { grid-template-columns: 1fr; }
  .evidence-line { grid-template-columns: 1fr; gap: 6px; }
  .claim-grid { grid-template-columns: 1fr; }
  .resume-block { grid-template-columns: 1fr; gap: 28px; }
  .next-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (max-width: 430px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-action { font-size: 11px; }
  .brand b { font-size: 12px; }
  .portfolio-nav p { gap: 7px; font-size: 8px; }
  .portfolio-nav p b { flex: 0 0 auto; font-size: 8px; }
  .portfolio-nav a { font-size: 9px; }
  .hero { padding-top: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.9px; }
  .hero h1 { margin-top: 16px; font-size: 59px; }
  .hero-cn { margin-top: 15px; }
  .hero-lede { margin-top: 13px; line-height: 1.65; }
  .hero-actions { gap: 13px; margin-top: 18px; }
  .primary-action { min-height: 40px; padding: 8px 13px; }
  .hero-facts { display: none; }
  .hero-grid { gap: 20px; }
  .console-head { min-height: 38px; padding: 0 13px; }
  .console-route { padding: 11px 13px; }
  .route-lines { display: none; }
  .console-metrics div { min-height: 68px; padding: 9px 13px; }
  .console-metrics dt { font-size: 8px; }
  .console-metrics dd { font-size: 18px; }
  .console-note { padding: 9px 13px 10px; font-size: 8px; }
  .hero-foot { grid-template-columns: repeat(3, 1fr); min-height: 38px; margin-top: 24px; }
  .hero-foot span { min-height: 38px; padding: 0 4px; border-right: 1px solid var(--line); border-bottom: 0; font-size: 9px; text-align: center; }
  .hero-foot span:first-child { border-left: 1px solid var(--line); }
  .section { padding: 66px 0; }
  .section-heading h2 { font-size: 34px; }
  .route-switcher, .evidence-tabs { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .evidence-tabs { grid-template-columns: 1fr; }
  .route-button, .evidence-tab { width: 100%; }
  .rail-step { padding-right: 8px; }
  .step-number { width: 26px; height: 26px; }
  .route-detail h3 { font-size: 19px; }
  .detail-list div { grid-template-columns: 72px 1fr; }
  .control-strip { grid-template-columns: 1fr; }
  .control-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .control-strip div:nth-child(2) { border-right: 0; }
  .control-strip div:last-child { border-bottom: 0; }
  .evidence-panel { min-height: 0; }
  .panel-lead h3 { font-size: 20px; }
  .readout-main strong { font-size: 44px; }
  .metric-readout dl { grid-template-columns: 1fr; gap: 9px; }
  .bar-row { grid-template-columns: 32px 1fr 55px; gap: 8px; }
  .cache-proof { grid-template-columns: 1fr; }
  .cache-proof > div { border-right: 0; border-bottom: 1px solid #4b5558; }
  .cache-proof > p { grid-column: auto; border-top: 0; }
  .cache-run-meta { grid-column: auto; padding: 9px 14px; overflow-wrap: anywhere; }
  .evidence-card { padding: 20px; }
  .evidence-card dl { grid-template-columns: 1fr; }
  .evidence-card dl div { border-bottom: 1px solid #414a4e; }
  .evidence-card dl div:last-child { border-bottom: 0; }
  .runtime-bar { grid-template-columns: 76px 1fr 61px; gap: 8px; }
  .test-proof > strong { font-size: 64px; }
  .resume-block blockquote { font-size: 17px; }
  .next-inner h2 { font-size: 29px; }
  .next-inner > a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
