@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --wash: #f5f7f7;
  --ink: #18272d;
  --secondary: #4e6066;
  --muted: #68797e;
  --line: #dfe5e5;
  --accent: #17464a;
  --accent-light: #eef4f3;
  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
html[lang='zh-CN'] body { line-height: 1.85; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: #fff; background: var(--accent); }
[hidden] { display: none !important; }
.container { width: min(1320px, 85%); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; font-size: 16px; font-weight: 600; letter-spacing: -.025em; }
.brand img { width: 102px; height: auto; }
.brand b { color: var(--muted); font-weight: 400; }
.brand-divider { width: 1px; height: 17px; background: var(--line); }
.site-links { margin-left: auto; display: flex; gap: 27px; }
.site-links a { padding-block: 8px; font-size: 14px; color: var(--secondary); }
.site-links a:hover, .site-links a[aria-current] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 12px; }
.language button { padding: 7px 0; border: 0; background: none; color: var(--muted); font-size: 12px; }
.language button[aria-pressed='true'] { color: var(--ink); font-weight: 600; }
.language > span { color: #c5cece; }
.menu-toggle { display: none; width: 36px; height: 36px; border: 0; background: none; }
.menu-toggle span { display: block; width: 20px; height: 1px; margin: 6px auto; background: var(--ink); }
.eyebrow, .micro-label { font: 10px/1.5 var(--mono); letter-spacing: .1em; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; }
.eyebrow > span[aria-hidden] { color: #b7c3c4; }
.section-number { color: var(--accent); padding-right: 12px; border-right: 1px solid var(--line); }
.hero { padding-block: 100px 92px; text-align: center; }
.hero-copy { max-width: 1000px; margin-inline: auto; }
.hero .eyebrow { justify-content: center; }
.hero h1 { margin-top: 30px; font-size: clamp(64px, 9vw, 120px); font-weight: 600; line-height: 1.06; letter-spacing: -.065em; white-space: nowrap; }
.hero h1 span { color: var(--accent); font-weight: 400; }
.hero-subtitle { margin: 27px auto 0; max-width: 23em; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.24; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.hero-description { margin: 22px auto 0; max-width: 42em; font-size: 16px; line-height: 1.7; color: var(--secondary); }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 25px; margin-top: 31px; flex-wrap: wrap; }
.button { min-height: 46px; padding: 12px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; font-size: 14px; font-weight: 500; border-radius: 3px; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: #10383c; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.section { padding-block: 73px; border-top: 1px solid var(--line); }
.section-layout { display: grid; grid-template-columns: 1fr 2.15fr; gap: 7%; }
.section-heading h2 { margin-top: 22px; max-width: 12em; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.section-heading > p:not(.eyebrow) { margin-top: 18px; max-width: 23em; color: var(--secondary); font-size: 15px; }
.lede { font-size: 21px; line-height: 1.55; letter-spacing: -.015em; }
.overview-list { margin-top: 28px; }
.overview-list > div { padding-block: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 24px; }
.overview-list dt { font-size: 16px; font-weight: 600; }
.overview-list dd { font-size: 15px; color: var(--secondary); }
.wide-section-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8%; align-items: end; margin-bottom: 38px; }
.wide-section-heading h2 { margin-top: 20px; max-width: 18em; font-size: clamp(29px, 3.1vw, 43px); line-height: 1.16; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.wide-section-heading > p { color: var(--secondary); font-size: 15px; max-width: 34em; padding-bottom: 3px; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; max-width: 1120px; margin-inline: auto; }
.demo-card { min-width: 0; }
.demo-card > header { display: flex; align-items: baseline; gap: 12px; min-height: 40px; padding-bottom: 12px; }
.demo-number { font: 10px/1.5 var(--mono); color: var(--muted); }
.demo-card h3 { font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: -.02em; }
.demo-media { overflow: hidden; border-radius: 3px; background: #182125; }
.demo-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; pointer-events: none; }
.demo-media video::-webkit-media-controls { display: none !important; }
.demo-caption { margin-top: 14px; color: var(--secondary); font-size: 14px; line-height: 1.75; }
.media-error { padding: 12px 14px; color: #843b25; background: #fbf2ed; font-size: 13px; }
.method-section { background: var(--wash); border-block: 1px solid var(--line); }
.method-section > .section { border: none; }
.method-figure { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.architecture-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.architecture-image { display: block; width: 100%; min-width: 720px; height: auto; }
.method-figure figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.method-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; padding-top: 34px; }
.method-notes article + article { border-left: 1px solid var(--line); padding-left: 30px; }
.method-notes h3 { font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; margin-top: 12px; }
.method-notes p { font-size: 14px; color: var(--secondary); margin-top: 11px; line-height: 1.75; }
.training { margin-top: 47px; border-top: 1px solid var(--line); padding-top: 31px; }
.training-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.training-heading h3 { font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.training-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 28px; }
.training-stages article + article { border-left: 1px solid var(--line); padding-left: 47px; }
.training-stages h4 { font-size: 18px; line-height: 1.4; font-weight: 500; margin-top: 10px; }
.training-stages p:not(.micro-label) { margin-top: 12px; font-size: 14px; color: var(--secondary); line-height: 1.75; }
.stage-detail { display: block; margin-top: 18px; color: var(--accent); font-size: 12px; }
.resources { border-top: 0; }
.citation { margin-top: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.citation-heading { padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.copy-area { display: flex; align-items: center; gap: 13px; }
#copy-status { color: var(--accent); font-size: 12px; }
#copy-citation { padding: 0; border: 0; background: none; color: var(--secondary); font-size: 12px; }
#copy-citation:hover { color: var(--accent); text-decoration: underline; }
.citation pre { padding: 18px; margin: 0; background: #f8f9f9; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--secondary); font: 11px/1.8 var(--mono); }
.site-footer { padding-block: 28px 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; }
.site-footer p > span { margin-left: 25px; color: var(--muted); font-size: 12px; }
.site-footer > a { color: var(--secondary); display: flex; gap: 16px; align-items: center; font-size: 12px; }
html[lang='zh-CN'] .hero-subtitle { line-height: 1.45; font-size: clamp(25px, 2.3vw, 34px); letter-spacing: 0; }
html[lang='zh-CN'] .hero-description { line-height: 1.9; }
html[lang='zh-CN'] h2 { line-height: 1.4; letter-spacing: -.02em; }
html[lang='zh-CN'] .lede { line-height: 1.8; font-size: 19px; }
html[lang='zh-CN'] .eyebrow, html[lang='zh-CN'] .micro-label { font-family: var(--font); }
@media (min-width: 1600px) {
  .hero { padding-block: 120px; }
}
@media (max-width: 1050px) {
  .container { width: 89%; }
  .header-inner { gap: 22px; }
  .brand { gap: 12px; }
  .brand img { width: 84px; }
  .site-links { gap: 18px; }
  .site-links a { font-size: 13px; }
  .hero { padding-block: 82px; }
  .hero h1 { font-size: 90px; }
  .hero-subtitle { font-size: 27px; }
  .hero-actions { gap: 18px; }
  .button { padding-inline: 16px; gap: 16px; }
  .section-layout { grid-template-columns: 1fr 2fr; gap: 5%; }
  .method-figure { padding: 24px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .header-inner { height: 66px; justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .site-links { display: none; position: absolute; top: 65px; left: 0; right: 0; padding: 14px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .is-open .site-links { display: flex; flex-direction: column; gap: 3px; }
  .site-links a { padding: 10px 0; font-size: 15px; }
  .is-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .is-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-block: 65px; }
  .hero h1 { margin-top: 22px; font-size: clamp(60px, 11vw, 85px); }
  .hero-subtitle { max-width: 20em; font-size: 31px; }
  .hero-description { max-width: 35em; }
  .demo-grid { gap: 30px 22px; }
  .demo-card h3 { font-size: 18px; }
  .demo-card > header { min-height: 61px; }
  .section { padding-block: 52px; }
  .section-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-heading h2 { max-width: 21em; font-size: 30px; margin-top: 17px; }
  .wide-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .wide-section-heading h2 { font-size: 34px; max-width: 21em; margin-top: 17px; }
  .wide-section-heading > p { max-width: 38em; }
  .method-notes { gap: 24px; }
  .method-notes article + article { padding-left: 20px; }
  .method-notes h3 { font-size: 17px; }
  .training-stages { gap: 26px; }
  .training-stages article + article { padding-left: 26px; }
  .resources .section-heading > p { max-width: none; }
  html[lang='zh-CN'] .hero-subtitle { max-width: 20em; font-size: 29px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .brand { gap: 10px; font-size: 14px; }
  .brand img { width: 76px; }
  .header-actions { gap: 10px; }
  .language { gap: 7px; }
  .hero { padding-block: 48px; }
  .hero h1 { font-size: 59px; }
  .hero-subtitle { margin-top: 20px; font-size: 28px; }
  .hero-description { margin-top: 15px; font-size: 15px; }
  .hero-actions { margin-top: 25px; gap: 22px; }
  .hero-actions .text-link { font-size: 13px; }
  .eyebrow { font-size: 10px; }
  .section { padding-block: 43px; }
  .lede { font-size: 19px; }
  .overview-list > div { grid-template-columns: 85px 1fr; gap: 17px; padding-block: 16px; }
  .overview-list dt { font-size: 15px; }
  .overview-list dd { font-size: 14px; }
  .wide-section-heading h2 { font-size: 29px; }
  .method-figure { padding: 20px; }
  .method-figure figcaption { margin-top: 16px; }
  .method-notes { grid-template-columns: 1fr; padding-top: 28px; gap: 23px; }
  .method-notes article + article { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .method-notes h3 { font-size: 20px; }
  .training { margin-top: 30px; padding-top: 26px; }
  .training-heading { flex-direction: column; gap: 10px; }
  .training-heading h3 { font-size: 22px; }
  .training-stages { grid-template-columns: 1fr; gap: 24px; }
  .training-stages article + article { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .citation pre { font-size: 10px; padding: 14px; }
  .site-footer { align-items: flex-start; padding-block: 24px; }
  .site-footer p > span { display: block; margin: 5px 0 0; font-size: 10px; }
  html[lang='zh-CN'] .hero-subtitle { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 360px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; font-size: 13px; }
  .brand img { width: 62px; }
  .brand-divider { display: none; }
  .header-actions { gap: 6px; }
  .hero h1 { font-size: 52px; }
}
@media (max-width: 520px) {
  .demo-grid { grid-template-columns: 1fr; max-width: 520px; gap: 32px; }
  .demo-card > header { min-height: 0; }
  .demo-card h3 { font-size: 20px; }
}
