:root {
  --ink: #152c35;
  --muted: #50616a;
  --green: #0b7565;
  --mint: #def4ec;
  --line: #dce5e5;
  --soft: #f2f6f7;
  --white: #fff;
  --font: "DM Sans", Arial, sans-serif;
  --heading: "Manrope", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.2;
}
h2 {
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 800;
  letter-spacing: -1.8px;
}
h3 {
  font-size: 22px;
  letter-spacing: -0.6px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a,
button,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #128976;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1200px, calc(100% - 72px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 10px 20px;
  background: var(--ink);
  color: white;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  font-family: var(--heading);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand > span,
.footer-brand > span {
  color: var(--green);
}
.brand svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  margin-right: 9px;
}
.nav-shell nav {
  display: flex;
  gap: 27px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}
.nav-shell nav a {
  padding: 10px 0;
  color: var(--muted);
}
.nav-shell nav a:hover,
.nav-shell nav a.active {
  color: var(--green);
}
.nav-paper {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}
.nav-paper:hover {
  border-color: var(--green);
}
.hero {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 52px;
  align-items: center;
  padding-block: 64px 54px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.9px;
  color: var(--green);
  margin-bottom: 20px;
}
.hero .eyebrow {
  letter-spacing: 1.25px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: var(--green);
}
h1 {
  font-size: clamp(65px, 7.4vw, 94px);
  font-weight: 800;
  letter-spacing: -6px;
  line-height: 1.1;
}
h1 span {
  color: var(--green);
}
.hero-subtitle {
  font-family: var(--heading);
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 600;
  line-height: 1.3;
  margin: 13px 0 23px;
}
.hero-description {
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 500px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #c7d5d6;
  border-radius: 8px;
  background: white;
  font-size: 15px;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #f0f7f4;
  transform: translateY(-2px);
}
.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.button.primary:hover {
  background: #075f52;
}
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.button-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 1px 5px;
  background: #eaf0f2;
  color: #52636a;
  border-radius: 3px;
}
.text-link {
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid #a2c8bc;
}
.hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link .hf-logo {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.hero-note {
  font-size: 12px;
  color: #64757c;
  margin-top: 17px;
}
.hero-case {
  border: 1px solid #cddcde;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 18px 48px -25px #55778150;
}
.case-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: #edf5f3;
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #42675d;
  font-weight: 700;
}
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 812/420;
  object-fit: cover;
}
.hero-case-body {
  padding: 22px;
}
.hero-case h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.4;
}
.evidence-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-block: 20px;
}
.evidence-pair > div + div {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.micro-label {
  display: block;
  color: #5b717b;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 1.2px;
  font-weight: 700;
}
.evidence-pair p {
  font-size: 15px;
  line-height: 1.55;
  margin-top: 5px;
}
.verdict-line {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.verdict {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  border-radius: 5px;
  padding: 5px 9px;
  white-space: nowrap;
}
.refuted {
  color: #943e37;
  background: #fdece7;
}
.supported {
  color: #17614d;
  background: #e2f6e9;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  padding-block: 24px;
  gap: 30px;
}
.principles > div {
  display: flex;
  gap: 15px;
}
.principles > div > span {
  color: var(--green);
  font-size: 13px;
  line-height: 2;
  font-weight: 700;
}
.principles p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.principles strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 3px;
}
.section {
  padding-block: 82px;
}
.section-head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
.section-head > p {
  color: var(--muted);
  font-size: 18px;
  max-width: 500px;
}
.tinted {
  background: var(--soft);
  border-block: 1px solid #e5eded;
}
.task-flow {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.task-step {
  padding: 28px;
}
.task-step + .task-step {
  border-left: 1px solid var(--line);
}
.step-label {
  font-size: 12px;
  letter-spacing: 1.7px;
  color: var(--green);
  font-weight: 700;
}
.task-step h3 {
  margin: 12px 0;
}
.task-step > p {
  font-size: 16px;
  color: var(--muted);
}
.task-outcome {
  background: #f0f8f4;
}
.task-outcome p + p {
  margin-top: 10px;
}
.paper-detail {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.paper-detail summary {
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #3c5d62;
}
.paper-detail summary:hover {
  color: var(--green);
  background: #f7faf9;
}
.paper-figure {
  display: block;
  width: 100%;
  padding: 24px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.paper-figure img {
  max-height: 650px;
  object-fit: contain;
  margin: auto;
}
.paper-figure > span {
  display: block;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.method-grid article {
  background: white;
  border: 1px solid #d7e3e5;
  border-radius: 10px;
  padding: 25px 23px;
  display: flex;
  flex-direction: column;
}
.method-number {
  font-family: var(--heading);
  font-size: 27px;
  font-weight: 500;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 13px;
}
.method-number span {
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #738991;
}
.method-grid h3 {
  font-size: 20px;
  margin: 20px 0 12px;
}
.method-grid p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.tool-label {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: auto;
  font-size: 12px;
  line-height: 1.6;
  color: #4e716b;
}
.loop-note {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #527068;
  font-size: 14px;
  margin-top: 20px;
}
.loop-note > span {
  font-size: 23px;
}
.dataset-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  margin-bottom: 30px;
  padding-block: 25px;
}
.dataset-stats > div + div {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.dataset-stats strong {
  font-family: var(--heading);
  font-size: 39px;
  letter-spacing: -1.5px;
  display: block;
  font-weight: 700;
}
.dataset-stats span {
  font-size: 14px;
  color: var(--muted);
}
.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.taxonomy-grid article {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.taxonomy-index {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #eaf5f1;
  color: var(--green);
  width: 34px;
  height: 34px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
}
.taxonomy-grid h3 {
  margin-top: 18px;
}
.taxonomy-grid p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
}
.taxonomy-grid ul {
  padding-left: 18px;
  font-size: 15px;
  margin: 18px 0 0;
  line-height: 2;
}
.taxonomy-grid li::marker {
  color: #81afa0;
}
.dataset-note {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
  padding: 22px 0 4px;
}
.dataset-note strong {
  color: var(--ink);
}
.dataset-note p {
  margin-left: auto;
  font-size: 13px;
}
.training-section {
  background: #112d37;
  color: white;
}
.training-section .eyebrow {
  color: #8cd7bd;
}
.training-section h2 {
  font-size: 44px;
}
.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 40px;
}
.training-grid article + article {
  padding-left: 48px;
  border-left: 1px solid #42606b;
}
.training-tag {
  color: #a0e1cb;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.training-grid h3 {
  font-size: 25px;
  margin: 16px 0 12px;
}
.training-grid p {
  color: #cfdee0;
  font-size: 18px;
}
.training-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  border-top: 1px solid #37525d;
  padding-top: 23px;
  font-size: 15px;
}
.training-foot strong {
  color: #b8efd9;
}
.training-foot p {
  color: #c2d4d8;
}
.result-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 28px 0;
  margin-bottom: 25px;
  border-block: 1px solid var(--line);
}
.result-highlights > div {
  display: flex;
  flex-direction: column;
}
.result-highlights strong {
  font-family: var(--heading);
  font-size: 49px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.3;
  color: var(--green);
}
.result-highlights strong span {
  font-size: 23px;
  letter-spacing: -0.5px;
}
.result-highlights > div > span {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}
.results-box {
  border: 1px solid #cfdddd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.tabs {
  display: flex;
  gap: 8px;
  padding: 14px 20px;
  background: #f4f7f7;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  border: 0;
  background: transparent;
  color: #4c6268;
  padding: 9px 17px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}
.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: white;
}
.tabs button:hover:not([aria-selected="true"]) {
  background: #e5edec;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
th,
td {
  padding: 15px 26px;
  border-bottom: 1px solid #e6eded;
  text-align: right;
}
th:first-child {
  text-align: left;
  min-width: 255px;
}
thead th {
  font-size: 14px;
  font-weight: 700;
  background: #fafcfc;
  color: #54666c;
}
tbody th {
  font-weight: 500;
}
tr.highlight {
  background: #e4f5ed;
  color: #075745;
}
tr.highlight th,
tr.highlight td {
  font-weight: 700;
}
tr.highlight th span {
  font-size: 11px;
  border: 1px solid #a4cdbb;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}
.table-note {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 25px;
  line-height: 1.7;
}
.metric-key {
  font-size: 13px;
  color: #5e7179;
  line-height: 1.8;
  margin-top: 20px;
  max-width: 1000px;
}
.metric-key strong {
  color: var(--ink);
  margin-right: 4px;
}
.metric-key strong + strong {
  margin-left: 12px;
}
.example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.example-card {
  border: 1px solid #d5e0e3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.example-image {
  position: relative;
  background: #e9eeee;
}
.example-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.9;
  object-fit: contain;
}
.example-image .verdict {
  position: absolute;
  left: 18px;
  bottom: 16px;
  box-shadow: 0 2px 10px #0002;
  padding: 6px 12px;
}
.example-copy {
  padding: 27px;
}
.example-copy h3 {
  font-size: 24px;
  line-height: 1.3;
  margin: 11px 0 15px;
}
.example-copy > p {
  color: var(--muted);
  font-size: 16px;
}
.case-takeaway {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: #506c66;
  line-height: 1.6;
}
.case-takeaway strong {
  display: block;
  color: var(--green);
  font-size: 12px;
  margin-bottom: 5px;
  letter-spacing: 0.25px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}
.resource-grid article {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--green);
  padding: 26px 24px 24px;
  background: #f4f8f6;
  border-radius: 0 0 8px 8px;
}
.resource-type {
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #617e74;
}
.resource-grid h3 {
  font-size: 22px;
  margin: 18px 0 12px;
}
.resource-grid p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 25px;
}
.resource-grid .button,
.coming-soon {
  margin-top: auto;
  align-self: flex-start;
}
.coming-soon {
  font-size: 13px;
  color: #63756e;
  padding-block: 11px;
  font-weight: 600;
}
footer {
  background: #f5f8f8;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 34px;
}
.footer-brand {
  font-family: var(--heading);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1px;
}
.footer-inner p {
  font-size: 14px;
  color: var(--muted);
}
.footer-inner p span {
  font-size: 12px;
}
.footer-inner > a:last-child {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
#figure-dialog {
  width: min(1400px, 96vw);
  max-width: 96vw;
  padding: 0;
  border: 1px solid #bbcece;
  border-radius: 10px;
  color: var(--ink);
  box-shadow: 0 20px 80px #0003;
}
#figure-dialog::backdrop {
  background: #10252cd6;
  backdrop-filter: blur(3px);
}
.figure-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  background: #f3f7f6;
  border-bottom: 1px solid var(--line);
}
.figure-toolbar h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  line-height: 1.4;
}
.figure-controls {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.figure-controls button,
.figure-controls a {
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #c7d6d3;
  background: #fff;
  color: var(--ink);
  border-radius: 5px;
  padding: 6px 10px;
}
.figure-controls [aria-pressed="true"] {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.figure-controls .figure-close {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.zoom-stage {
  height: 70vh;
  overflow: auto;
  background: white;
  padding: 20px;
}
.zoom-stage img {
  max-width: none;
  height: auto;
}
.zoom-hint {
  font-size: 12px;
  padding: 10px 20px;
  background: #f5f8f7;
  color: var(--muted);
}
@media (min-width: 1450px) {
  .hero {
    padding-block: 76px 66px;
  }
}
@media (max-width: 1100px) {
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 72px;
    letter-spacing: -4.5px;
  }
  .hero-subtitle {
    font-size: 28px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-case-body {
    padding: 18px;
  }
  .hero-case h2 {
    font-size: 20px;
  }
  .section-head {
    gap: 50px;
  }
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .method-grid h3 {
    margin-top: 15px;
  }
  .nav-shell {
    gap: 25px;
  }
  .nav-shell nav {
    gap: 18px;
  }
  .dataset-stats strong {
    font-size: 34px;
  }
}
@media (max-width: 850px) {
  .shell {
    width: calc(100% - 48px);
  }
  .nav-shell nav a:nth-child(-n + 2) {
    display: none;
  }
  .hero {
    gap: 23px;
    padding-top: 43px;
  }
  .hero h1 {
    font-size: 60px;
    letter-spacing: -4px;
  }
  .hero-subtitle {
    font-size: 25px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-note {
    font-size: 11px;
  }
  .hero-case h2 {
    font-size: 18px;
  }
  .hero-case-body {
    padding: 16px;
  }
  .evidence-pair {
    gap: 13px;
    margin-block: 15px;
  }
  .evidence-pair > div + div {
    padding-left: 13px;
  }
  .evidence-pair p {
    font-size: 14px;
  }
  .verdict-line {
    align-items: flex-start;
    font-size: 12px;
  }
  .section {
    padding-block: 64px;
  }
  .section-head {
    gap: 35px;
  }
  .section-head > p {
    font-size: 16px;
  }
  .task-step {
    padding: 21px;
  }
  .task-step h3 {
    font-size: 20px;
  }
  .taxonomy-grid {
    gap: 12px;
  }
  .taxonomy-grid article {
    padding: 20px;
  }
  .taxonomy-grid h3 {
    font-size: 19px;
  }
  .taxonomy-grid p {
    font-size: 14px;
  }
  .taxonomy-grid ul {
    font-size: 14px;
  }
  .dataset-stats > div + div {
    padding-left: 20px;
  }
  .dataset-stats strong {
    font-size: 30px;
  }
  .dataset-stats span {
    font-size: 12px;
  }
  .dataset-note {
    flex-wrap: wrap;
    gap: 15px;
  }
  .dataset-note p {
    margin-left: 0;
  }
  .training-grid {
    gap: 35px;
  }
  .training-grid article + article {
    padding-left: 30px;
  }
  .training-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .result-highlights strong {
    font-size: 40px;
  }
  .example-copy {
    padding: 21px;
  }
  .example-copy h3 {
    font-size: 21px;
  }
  .resource-grid {
    gap: 15px;
  }
  .resource-grid article {
    padding: 20px;
  }
  .resource-grid h3 {
    font-size: 20px;
  }
  .resource-grid .button {
    font-size: 13px;
    padding-inline: 12px;
  }
}
@media (max-width: 650px) {
  html {
    scroll-padding-top: 85px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 67px;
  }
  .brand {
    font-size: 23px;
  }
  .brand svg {
    width: 26px;
    height: 26px;
    margin-right: 6px;
  }
  .nav-shell {
    gap: 15px;
  }
  .nav-shell nav {
    gap: 17px;
    font-size: 13px;
  }
  .nav-paper {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 42px 32px;
  }
  .hero h1 {
    font-size: clamp(61px, 15vw, 85px);
    letter-spacing: -4.5px;
  }
  .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 1.1px;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 29px;
    margin: 12px 0 18px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 10px;
  }
  .hero-note {
    font-size: 11px;
    margin-top: 15px;
  }
  .hero-case-body {
    padding: 20px;
  }
  .hero-case h2 {
    font-size: 21px;
  }
  .case-topline {
    padding: 12px 18px;
    font-size: 10px;
  }
  .evidence-pair {
    gap: 19px;
    margin-block: 20px;
  }
  .evidence-pair > div + div {
    padding-left: 19px;
  }
  .evidence-pair p {
    font-size: 15px;
  }
  .verdict-line {
    align-items: center;
    font-size: 13px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 24px;
  }
  .principles > div {
    gap: 18px;
  }
  .principles strong {
    font-size: 16px;
  }
  .principles p {
    font-size: 14px;
  }
  .section {
    padding-block: 52px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 26px;
  }
  .section-head > p {
    font-size: 17px;
  }
  .section-head h2 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.7px;
  }
  .task-flow {
    grid-template-columns: 1fr;
  }
  .task-step {
    padding: 24px;
  }
  .task-step + .task-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .task-step h3 {
    font-size: 22px;
  }
  .task-step > p {
    font-size: 16px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .method-grid article {
    padding: 24px;
  }
  .method-grid h3 {
    font-size: 22px;
    margin-top: 14px;
  }
  .method-grid p {
    font-size: 17px;
    margin-bottom: 17px;
  }
  .method-number span {
    font-size: 11px;
  }
  .tool-label {
    font-size: 13px;
  }
  .loop-note {
    font-size: 14px;
    align-items: flex-start;
  }
  .paper-detail summary {
    font-size: 14px;
    padding: 15px;
  }
  .paper-figure {
    padding: 14px;
  }
  .dataset-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
    padding-block: 23px;
  }
  .dataset-stats > div + div {
    padding-left: 0;
    border-left: 0;
  }
  .dataset-stats > div:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }
  .dataset-stats strong {
    font-size: 36px;
  }
  .dataset-stats span {
    font-size: 13px;
  }
  .taxonomy-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .taxonomy-grid article {
    padding: 24px;
  }
  .taxonomy-grid h3 {
    font-size: 23px;
  }
  .taxonomy-grid p {
    font-size: 16px;
  }
  .taxonomy-grid ul {
    font-size: 16px;
  }
  .dataset-note {
    font-size: 14px;
  }
  .dataset-note p {
    font-size: 13px;
  }
  .training-section h2 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }
  .training-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
  }
  .training-grid article + article {
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid #42606b;
  }
  .training-grid h3 {
    font-size: 23px;
  }
  .training-grid p {
    font-size: 17px;
  }
  .training-foot {
    font-size: 14px;
  }
  .result-highlights {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 22px;
  }
  .result-highlights > div {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .result-highlights strong {
    font-size: 40px;
    min-width: 150px;
  }
  .result-highlights strong span {
    font-size: 20px;
  }
  .result-highlights > div > span {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
  }
  .tabs {
    padding: 12px 10px;
    gap: 3px;
    overflow-x: auto;
  }
  .tabs button {
    font-size: 13px;
    padding: 9px 10px;
    white-space: nowrap;
  }
  th,
  td {
    padding: 14px 19px;
  }
  table {
    font-size: 15px;
  }
  th:first-child {
    min-width: 220px;
  }
  .table-note {
    padding: 16px 19px;
    font-size: 13px;
  }
  .metric-key {
    font-size: 13px;
  }
  .example-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .example-copy {
    padding: 23px;
  }
  .example-copy h3 {
    font-size: 24px;
  }
  .example-copy > p {
    font-size: 17px;
  }
  .example-image img {
    aspect-ratio: 1.8;
  }
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .resource-grid article {
    padding: 25px;
  }
  .resource-grid h3 {
    font-size: 23px;
  }
  .resource-grid .button {
    font-size: 15px;
  }
  .footer-inner {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    padding-block: 28px;
  }
  .footer-brand {
    font-size: 26px;
  }
  .footer-inner p {
    width: 100%;
    order: 3;
  }
  .footer-inner > a:last-child {
    padding-top: 5px;
  }
  .figure-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }
  .figure-toolbar h2 {
    font-size: 15px;
  }
  .figure-controls {
    width: 100%;
    gap: 5px;
  }
  .figure-controls button,
  .figure-controls a {
    font-size: 12px;
    padding: 6px 9px;
  }
  .figure-close {
    margin-left: auto;
  }
  .zoom-stage {
    height: 65vh;
    padding: 12px;
  }
  .zoom-hint {
    font-size: 11px;
    padding: 10px 12px;
  }
}
@media (max-width: 360px) {
  .nav-shell nav a:last-child {
    display: none;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 60px;
  }
  .button {
    padding-inline: 14px;
  }
  .hero-actions {
    gap: 8px;
  }
  .result-highlights strong {
    min-width: 135px;
    font-size: 36px;
  }
  .tabs button {
    font-size: 12px;
    padding: 9px 8px;
  }
  .evidence-pair {
    gap: 12px;
  }
  .evidence-pair > div + div {
    padding-left: 12px;
  }
}
.hero .eyebrow,
.hero-note,
.case-topline,
.micro-label,
.method-number span,
.resource-type,
.eyebrow,
.button-tag,
.zoom-hint,
tr.highlight th span {
  font-size: 0.75rem;
}
.verdict,
.tabs button,
.figure-controls button,
.figure-controls a {
  font-size: 0.875rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
.authors {
  padding: 6px 0 38px;
  text-align: center;
}
.author-names,
.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 18px;
  row-gap: 6px;
}
.author-names {
  font-size: 16px;
  font-weight: 600;
}
.author-names > span,
.affiliations > span {
  display: inline-block;
}
.authors sup {
  margin-left: 2px;
  font-size: 0.65em;
  color: var(--green);
}
.affiliations {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.author-notes {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.citation {
  padding-top: 0;
}
.citation pre {
  max-width: 100%;
  padding: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  font-size: 13px;
  line-height: 1.7;
  tab-size: 2;
}
@media (max-width: 600px) {
  .author-names { font-size: 14px; column-gap: 13px; }
  .affiliations { column-gap: 10px; }
  .footer-inner { flex-wrap: wrap; gap: 16px; }
}
.language-switch {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  white-space: nowrap;
}
.language-switch a {
  padding: 6px 9px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.language-switch a[aria-current="page"] {
  color: #fff;
  background: var(--green);
}
.language-switch a:hover:not([aria-current="page"]) {
  color: var(--green);
  background: #e5edec;
}
html:lang(zh) {
  --font: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --heading: "Manrope", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
html:lang(zh) h2,
html:lang(zh) h3,
html:lang(zh) .hero-subtitle {
  letter-spacing: 0;
  line-height: 1.45;
}
html:lang(zh) .eyebrow,
html:lang(zh) .micro-label,
html:lang(zh) .training-tag,
html:lang(zh) .resource-type {
  letter-spacing: 0.07em;
}
html:lang(zh) .hero-description,
html:lang(zh) .section-head > p,
html:lang(zh) .example-copy > p {
  line-height: 1.85;
}
html:lang(zh) .hero-subtitle {
  text-wrap: balance;
}
@media (max-width: 1100px) {
  .nav-shell { gap: 16px; }
  .nav-shell nav { gap: 16px; }
  .nav-paper { display: none; }
}
@media (max-width: 650px) {
  .nav-shell { justify-content: space-between; gap: 12px; }
  .nav-shell nav { display: none; }
  .language-switch { margin-left: auto; }
  .language-switch a { padding: 6px 8px; font-size: 12px; }
}
