:root {
  --paper: #f6f5f0;
  --white: #fdfdf9;
  --ink: #2b2f26;
  --muted: #697060;
  --line: #d9decf;
  --orange: #d45132;
  --green: #55744b;
  --green-soft: #e6eddc;
  --dark: #29352a;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
::selection { background: #efc4ad; }
.shell { width: min(1120px, calc(100% - 64px)); margin: auto; }
.mark { width: 30px; height: 37px; color: var(--orange); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1.4px;
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f6f5f0ee;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
header .shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header nav { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 14px; }
header nav a:hover, .footer-links a:hover { color: var(--orange); }
.install-link {
  padding: 10px 15px;
  color: var(--ink);
  border: 1px solid #c9cfbf;
  border-radius: 4px;
}
.install-link:hover { background: #e9eddf; }

.article-hero { min-width: 0; padding: 78px 0 61px; border-bottom: 1px solid var(--line); }
.article-hero .eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font: 11px var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(45px, 6.2vw, 76px);
  line-height: 1.01;
  font-weight: 500;
  letter-spacing: -.06em;
}
.dek {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.byline { margin: 24px 0 0; color: #89917f; font: 12px var(--mono); }

.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  gap: 70px;
  justify-content: center;
  padding: 58px 0 36px;
}
.toc {
  position: sticky;
  top: 108px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.toc strong {
  margin-bottom: 7px;
  color: var(--muted);
  font: 11px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.toc a { color: var(--muted); }
.toc a:hover { color: var(--ink); }
article { min-width: 0; overflow-wrap: break-word; }
article section { margin: 0 0 52px; scroll-margin-top: 105px; }
article section:last-child { margin-bottom: 0; }
h2 {
  margin: 0 0 18px;
  font-size: clamp(29px, 3.5vw, 40px);
  line-height: 1.13;
  font-weight: 500;
  letter-spacing: -.045em;
}
h3 { margin: 28px 0 9px; font-size: 17px; line-height: 1.35; }
p { margin: 0 0 17px; font-size: 16px; }
ul, ol { margin: 0 0 19px; padding-left: 23px; }
li { margin: 8px 0; }
blockquote {
  margin: 30px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--orange);
  color: #4f5948;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.5;
}
.lead { font-size: 19px; color: #4e5649; }
.muted { color: var(--muted); }
.inline-link { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.inline-link:hover { color: var(--orange); }

.results {
  margin: 28px 0;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.results-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #e7eadf;
}
.results-row:first-of-type { border-top: 0; }
.results-row span { color: var(--muted); font-size: 14px; }
.results-row strong { font: 600 21px var(--mono); }
.results-row.primary span, .results-row.primary strong { color: var(--green); }
.results-note {
  margin: 17px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e7eadf;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.paper-summary {
  margin: 0 0 34px;
  padding: 24px 27px;
  background: var(--green-soft);
  border: 1px solid #d2ddc7;
  border-radius: 7px;
}
.paper-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font: 11px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.paper-summary p { margin: 0; color: #4f5d48; font-size: 17px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 25px 0;
}
.metric {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.metric strong {
  display: block;
  color: var(--green);
  font: 600 28px var(--mono);
  letter-spacing: -.05em;
}
.metric span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.paper-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 14px;
}
.paper-table th {
  padding: 10px 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  text-align: left;
  font: 11px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.paper-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.paper-table td:last-child, .paper-table th:last-child { text-align: right; }
.paper-table .primary td { color: var(--green); font-weight: 600; }
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll .paper-table { min-width: 620px; }
.table-scroll .paired-results { min-width: 760px; }
.technical-table td:last-child, .technical-table th:last-child { text-align: left; }
.technical-table code {
  color: #42533e;
  font: 12px/1.6 var(--mono);
  overflow-wrap: anywhere;
}
.benchmark-families { font-size: 13px; }
.benchmark-families td:first-child { width: 24%; font-weight: 600; }
.data-downloads {
  padding: 15px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}
.flow {
  margin: 27px 0;
  padding: 24px;
  background: var(--dark);
  color: #f2f4e9;
  border-radius: 7px;
  font: 13px/2 var(--mono);
  overflow-x: auto;
  white-space: pre;
}
.finding {
  margin: 23px 0;
  padding-left: 20px;
  border-left: 3px solid var(--orange);
}
.finding h3 { margin-top: 0; }
.finding p:last-child { margin-bottom: 0; }
.scope-note {
  margin: 25px 0;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.scope-note strong { display: block; margin-bottom: 6px; }
.scope-note p { margin: 0; color: var(--muted); font-size: 14px; }
.references { padding-left: 22px; }
.references li { margin: 11px 0; color: var(--muted); font-size: 13px; }
.references a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin: 25px 0;
}
.principle {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.principle strong { display: block; margin-bottom: 5px; font-size: 14px; }
.principle span { color: var(--muted); font-size: 13px; line-height: 1.55; }

.cta-wrap { max-width: 980px; margin: 0 auto; padding: 12px 0 128px; }
.cta {
  padding: 36px;
  background: var(--dark);
  color: #f2f4e9;
  border-radius: 8px;
}
.cta h2 { max-width: 570px; }
.cta p { max-width: 570px; color: #bbc7b0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  border-radius: 4px;
  background: #f2f4e9;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
}
.button.secondary { color: #f2f4e9; background: transparent; border: 1px solid #7e9074; }
.button:hover { background: #dce6d3; }
.button.secondary:hover { background: #3b493b; }

.faq section {
  margin: 0;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.faq section:first-child { padding-top: 0; }
.faq section:last-child { border-bottom: 0; }
.faq h2 { margin-bottom: 10px; font-size: 24px; letter-spacing: -.035em; }
.faq p:last-child, .faq ul:last-child { margin-bottom: 0; }

footer { border-top: 1px solid var(--line); padding: 27px 0 30px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
footer .logo { font-size: 21px; }
footer .mark { width: 22px; height: 27px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 12px; }
.copyright { margin: 19px 0 0; color: #89917f; font-size: 11px; }

@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  header nav a:not(.install-link) { display: none; }
  .article-hero { padding: 52px 0 42px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; padding: 38px 0 62px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 17px; }
  .toc strong { width: 100%; }
  .principles { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  .shell { width: calc(100% - 32px); }
  .logo { font-size: 24px; }
  .mark { width: 27px; height: 34px; }
  .install-link { padding: 8px 10px; font-size: 12px; white-space: nowrap; }
  h1 { font-size: 40px; }
  .results { padding: 20px; }
  .results-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
