:root {
  --paper: #f7f9fc;
  --ink: #172235;
  --muted: #5b6980;
  --line: #dce3ed;
  --highlight: #dbeafe;
  --accent: #2563eb;
  --dark: #142033;
  --mono: "SFMono-Regular",Consolas,"Liberation Mono",monospace;
  --sans: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

button,input,select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .5;
}

button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,pre:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 5px;
}

button {
  border: 0;
}

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

code,pre {
  font-family: var(--mono);
}

pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

code {
  font-size: .92em;
}

.wrap {
  width: min(1184px,calc(100% - 80px));
  margin-inline: auto;
}

section {
  scroll-margin-top: 32px;
}

[v-cloak] {
  display: none;
}

.sr-only,.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  background: var(--highlight);
  padding: 12px;
  z-index: 10;
}

.header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 21px var(--mono);
  letter-spacing: -1px;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  flex-shrink: 0;
  width: 37px;
  height: 37px;
}

.header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
}

.header nav a {
  transition: color .15s;
}

.header nav a:hover {
  color: var(--accent);
}

.language-switch {
  color: var(--accent);
  white-space: nowrap;
}

.repo-link {
  border-left: 1px solid var(--line);
  padding-left: 30px;
  font-weight: 600;
}

.repo-link span {
  margin-left: 5px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  line-height: 1.5;
}

.small-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.version {
  font: 11px var(--mono);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}

.hero {
  padding-top: 52px;
  padding-bottom: 55px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(42px,4.4vw,61px);
  font-weight: 650;
  line-height: 1.29;
  letter-spacing: -2.7px;
  margin: 23px 0 26px;
  white-space: nowrap;
}

.ink-underline {
  position: relative;
  isolation: isolate;
}

.ink-underline:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 13px;
  z-index: -1;
  background: var(--highlight);
  transform: rotate(-1deg);
}

.hero-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-api { margin-top: 22px; padding-block: 16px; border-block: 1px solid var(--line); }
.hero-api-signature { font: 16px/1.6 var(--mono); color: #335477; }
.hero-api code { font-size: inherit; }

.text-link {
  font-size: 14px;
  font-weight: 550;
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.text-link:hover {
  color: var(--accent);
}

.install-command {
  display: flex;
  margin-top: 25px;
  align-items: center;
  gap: 11px;
  position: relative;
  width: fit-content;
  min-height: 49px;
  padding: 0 12px 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #eef2f7;
}

.install-command code {
  font-size: 13px;
}

.prompt {
  color: #5b6980;
  font: 15px var(--mono);
}

.copy-install {
  width: 30px;
  height: 30px;
  background: transparent;
  color: var(--muted);
  margin-left: 14px;
  border-radius: 4px;
}

.copy-install:hover {
  background: #e1e8f3;
}

.copy-install svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.copy-feedback {
  position: absolute;
  bottom: -20px;
  right: 0;
  font-size: 11px;
  color: var(--accent);
}

.hero-copy,
.construction-demo {
  min-width: 0;
}

.construction-demo {
  align-self: start;
  padding: 22px;
  background: #edf2f9;
  border: 1px solid #d9e2ef;
  border-radius: 13px;
  position: relative;
  box-shadow: 0 14px 40px #14203309;
}

.construction-heading,
.construction-object-heading,
.construction-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.construction-heading {
  font-size: 11px;
  color: #52647f;
}

.construction-heading>span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.construction-heading>span:last-child {
  font: 10px var(--mono);
  color: #5b6980;
}

.construction-input {
  height: 120px;
  overflow: auto;
  padding: 13px 15px;
  margin-top: 12px;
  background: var(--paper);
  border: 1px solid #d0dbea;
  border-radius: 5px;
  color: #5b6980;
  font: 12px/1.8 var(--mono);
}

.current-chunk {
  background: var(--highlight);
  color: #1e40af;
  box-shadow: 0 0 0 2px var(--highlight);
}

.construction-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 11px;
  color: #52647f;
}

.construction-flow>span {
  font-size: 16px;
}

.construction-object {
  background: var(--dark);
  border: 1px solid #263852;
  border-radius: 8px;
  color: #e3ebf8;
  box-shadow: 0 12px 20px #1420331a;
}

.construction-object-heading {
  height: 38px;
  padding: 0 18px;
  border-bottom: 1px solid #2b3c56;
  font-size: 10px;
  color: #a9b9d0;
}

.construction-object-heading>span {
  font: 9px var(--sans);
  border: 1px solid #435976;
  border-radius: 4px;
  padding: 3px 7px;
  color: #bfdbfe;
}

.object-view { background: #142033; color: #e0e9f7; border-radius: 6px; padding: 16px 20px; min-height: 216px; max-height: 385px; overflow: auto; font: 12px/1.9 var(--mono,ui-monospace,monospace); }
.object-row { display: flex; align-items: baseline; gap: 7px; min-height: 24px; padding: 1px 3px; border-radius: 3px; }
.object-row:hover { background: #20334f; }
.object-branch { width: 100%; border: 0; background: transparent; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.object-arrow,.object-spacer { flex: 0 0 12px; color: #a0b1cb; }
.object-key { flex-shrink: 0; color: #d4e2f6; }
.object-kind { color: #c0d0e7; }
.object-count { color: #9aacc6; font-size: 10px; }
.object-children { margin-left: 15px; border-left: 1px solid #334966; padding-left: 6px; }
.object-value { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.object-value.string { color: #93c5fd; }
.object-value.number,.object-value.boolean { color: #c4b5fd; }
.object-value.null { color: #9aabc5; }
.construction-object>.object-view { background: transparent; border-radius: 0; height: 345px; }
.scenario-input .object-view { min-height: 0; margin-bottom: 16px; }

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  flex-shrink: 0;
}

.construction-controls {
  border-top: 1px solid #d0dbea;
  margin-top: 14px;
  padding-top: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #5b6980;
  min-height: 43px;
}

.construction-controls>div {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.construction-controls button {
  padding: 7px 10px;
  border: 1px solid #c4d5ed;
  border-radius: 4px;
  background: #f7f9fc;
  color: #244ba3;
  font-size: 10px;
}

.construction-controls button:hover:not(:disabled) {
  background: #dbeafe;
}

.construction-error {
  color: #b5473c;
  font-size: 11px;
  padding-top: 10px;
}

.facts {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: .75fr 1fr 1.4fr .7fr;
  padding: 25px 0 24px;
}

.facts>div {
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.facts>div:first-child {
  padding-left: 0;
  border: 0;
}

.facts strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 39px;
  font: 500 32px/1.2 var(--mono);
  letter-spacing: -1px;
  white-space: nowrap;
  color: #335477;
}

.facts strong small {
  font-size: 18px;
}

.facts span {
  display: block;
  margin-top: 11px;
  font-size: 11px;
  color: var(--muted);
}

.facts-environment strong { font: 550 22px/1.7 var(--sans); letter-spacing: -.6px; gap: 5px; }
.facts-environment strong small { font-size: 16px; color: #5b6980; }
.facts a:hover { color: var(--accent); text-decoration: underline; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 37px;
}

.section-heading h2 {
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -1px;
  font-weight: 600;
  margin-top: 12px;
}

.section-heading>p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  padding-bottom: 2px;
}

.scenarios {
  border-top: 1px solid var(--line);
  padding-block: 46px 60px;
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.scenario-tabs button {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 17px 19px;
  background: #eef2f8;
  color: #52647f;
}

.scenario-tabs button.selected {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--highlight);
}

.scenario-tabs span { display: block; font-size: 16px; font-weight: 600; }
.scenario-tabs small { display: block; margin-top: 9px; font-size: 10px; line-height: 1.7; opacity: .8; }
.scenario-panel { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #ffffff; }
.scenario-intro { padding: 27px 28px; border-bottom: 1px solid var(--line); }
.scenario-intro h3 { font-size: 21px; font-weight: 600; }
.scenario-intro>p { font-size: 13px; line-height: 1.9; color: var(--muted); margin-top: 10px; }
.scenario-flow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 19px; }
.scenario-flow code { background: #e6efff; border: 1px solid #d0dbea; color: #335477; padding: 6px 10px; border-radius: 4px; font-size: 10px; }
.scenario-arrow { color: #5b6980; font-size: 13px; }
.scenario-columns { display: grid; grid-template-columns: 1.05fr 1fr; }
.scenario-code,.scenario-output { min-width: 0; }
.scenario-code { border-right: 1px solid var(--line); background: #f1f5fa; }
.scenario-panel-heading { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 23px; border-bottom: 1px solid var(--line); font-size: 11px; color: #52647f; }
.scenario-panel-heading>a { font-size: 10px; }
.scenario-panel-heading>a:hover { text-decoration: underline; }
.scenario-code pre { padding: 21px 23px; font: 12px/1.85 var(--mono); color: #335477; }
.scenario-code-label { margin-inline: 23px; padding-top: 16px; border-top: 1px solid var(--line); color: #5b6980; font: 10px var(--mono); }
.scenario-adapter { margin: 0 23px 22px; border-top: 1px solid var(--line); }
.scenario-adapter summary { padding-block: 15px; cursor: pointer; font-size: 11px; color: #52647f; }
.scenario-adapter pre { padding: 0; max-height: 380px; overflow: auto; font-size: 11px; }
.scenario-run { display: flex; gap: 8px; }
.scenario-run button { background: #e6efff; color: #244ba3; border: 1px solid #c4d5ed; padding: 7px 11px; border-radius: 4px; font-size: 11px; }
.scenario-run button:hover:not(:disabled) { background: var(--highlight); }
.scenario-vue-view { margin: 20px 23px; border: 1px solid #d0dbea; border-radius: 6px; padding: 20px; min-height: 126px; background: #eef4ff; }
.scenario-vue-view h4 { margin: 0; min-height: 28px; font-size: 21px; color: #244ba3; }
.scenario-vue-view ul { margin: 12px 0 0; padding-left: 20px; color: #52647f; font-size: 13px; line-height: 2; }
.scenario-result { margin: 20px 23px; }
.scenario-result>p,.scenario-input p { font: 10px var(--mono); color: #5b6980; margin-bottom: 10px; }
.command-list { background: var(--dark); color: #93c5fd; border-radius: 6px; padding: 17px 20px; min-height: 216px; max-height: 385px; overflow: auto; font: 12px/1.8 var(--mono); }
.command-list { margin: 0; padding-left: 40px; }
.command-list li { padding-block: 5px; border-bottom: 1px solid #2d405d; overflow-wrap: anywhere; }
.command-list li::marker { color: #9aabc5; font-size: 10px; }
.scenario-input { margin: 0 23px 20px; }
.scenario-input summary { color: #52647f; font-size: 11px; cursor: pointer; padding-block: 12px; }
.scenario-input pre { background: #edf2f9; color: #52647f; padding: 12px; border-radius: 4px; max-height: 220px; overflow: auto; font: 11px/1.7 var(--mono); margin-bottom: 16px; }
.scenario-status { margin: 0 23px 20px; font-size: 11px; color: #5b6980; }
.scenario-error { margin: 0 23px 20px; font-size: 11px; color: #b5473c; }
.scenario-note { padding: 16px 24px; border-top: 1px solid var(--line); color: #5b6980; font-size: 11px; line-height: 1.9; background: #eef2f8; }

.quality {
  border-top: 1px solid var(--line);
  padding-block: 46px 60px;
}

.quality-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-block: 1px solid var(--line);
  padding-block: 21px;
}

.quality-stats>div { border-left: 1px solid var(--line); padding-left: 28px; }
.quality-stats>div:first-child { border-left: 0; padding-left: 0; }
.quality-stats strong { display: block; font: 500 36px/1.2 var(--mono); letter-spacing: -1.7px; color: #335477; }
.quality-stats span { display: block; font-size: 11px; color: var(--muted); margin-top: 11px; }
.quality-test-note { font-size: 10px; line-height: 1.9; color: #5b6980; margin: 14px 0 30px; }
.performance-heading h3 { font-size: 17px; font-weight: 600; line-height: 1.6; }
.quality a:hover { text-decoration: underline; }
.quality-performance { min-width: 0; padding: 24px 26px; background: var(--dark); border-radius: 8px; color: #e0e9f7; }
.performance-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.performance-heading h3 { color: #dbeafe; }
.performance-heading>span { font: 9px var(--mono); color: #a0b1cb; white-space: nowrap; }
.benchmark-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; min-height: 34px; }
.benchmark-controls button { padding: 8px 12px; background: #21334f; border: 1px solid #435976; border-radius: 4px; color: #e0e9f7; font-size: 11px; }
.benchmark-controls .benchmark-run { background: var(--accent); border-color: var(--accent); color: #ffffff; font-weight: 600; }
.benchmark-controls>span { color: #b0bfd4; font-size: 11px; }
.benchmark-controls>.benchmark-error { color: #fecaca; }
.quality-performance>p { font-size: 11px; line-height: 1.9; color: #b0bfd4; }
.benchmark-chart { margin: 22px 0 0; }
.benchmark-chart figcaption { font-size: 11px; color: #b0bfd4; }
.benchmark-legend { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 17px 0 28px; }
.benchmark-legend>span { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font: 11px var(--mono); }
.benchmark-legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--bar-color); }
.benchmark-legend small { color: #a0b1cb; font-size: 9px; }
.benchmark-gradual { --bar-color: #60a5fa; }
.benchmark-river { --bar-color: #c4b5fd; }
.benchmark-streamparser { --bar-color: #f5bf75; }
.benchmark-cases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.benchmark-case { min-width: 0; border-left: 1px solid #34455e; padding-left: 26px; }
.benchmark-case:first-child { border-left: 0; padding-left: 0; }
.benchmark-case h4 { margin: 0 0 22px; font-size: 13px; font-weight: 500; }
.benchmark-case h4 small { display: block; margin-top: 7px; font: 9px var(--mono); color: #a0b1cb; }
.benchmark-bars { display: grid; gap: 17px; }
.benchmark-bar-label { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px; font: 10px var(--mono); }
.benchmark-bar-label code { color: #d4e2f6; font-size: inherit; }
.benchmark-bar-label>span { color: var(--bar-color); white-space: nowrap; }
.benchmark-track { height: 12px; border-inline: 1px solid #425471; background: repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#34455e calc(25% - 1px),#34455e 25%),#1e2d45; }
.benchmark-track i { display: block; height: 100%; background: var(--bar-color); border-radius: 0 2px 2px 0; }
.benchmark-axis { display: flex; justify-content: space-between; margin-top: 12px; font: 9px var(--mono); color: #a0b1cb; }
.quality-performance>.performance-note { margin-top: 24px; color: #a0b1cb; font-size: 10px; }
.quality-method { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding-top: 23px; margin-top: 26px; border-top: 1px solid var(--line); }
.quality-method p { font-size: 10px; line-height: 1.9; color: #5b6980; }
.quality-method>div { display: flex; flex-direction: column; gap: 10px; }
.quality-method a { white-space: nowrap; font-size: 10px; color: #2563eb; }

.footer {
  border-top: 1px solid var(--line);
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer .brand {
  font-size: 15px;
}

.footer .brand-mark {
  width: 29px;
  height: 29px;
}

.footer>span {
  font-size: 10px;
  color: #5b6980;
}

.footer>div {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 11px;
  color: #5b6980;
}

.footer a:hover {
  color: var(--accent);
}

@media(min-width:1400px) {
  .hero h1 {
    font-size: 62px;
  }
  .hero {
    gap: 60px;
    padding-block: 52px;
  }
}

@media(max-width:1050px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .hero {
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 55px;
  }
  .hero h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .construction-demo {
    padding: 19px;
  }
  .facts>div {
    padding-left: 16px;
  }
  .facts strong {
    font-size: 27px;
  }
  .facts span {
    font-size: 10px;
  }
  .facts-environment strong { font-size: 18px; }
  .section-heading h2 {
    font-size: 28px;
  }
  .quality-performance { padding-inline: 20px; }
  .benchmark-cases { grid-template-columns: 1fr; gap: 25px; }
  .benchmark-case { padding: 25px 0 0; border-left: 0; border-top: 1px solid #34455e; }
  .benchmark-case:first-child { padding-top: 0; border-top: 0; }
  .benchmark-case h4 { margin-bottom: 18px; }
}

@media(min-width:781px) and (max-width:1050px) {
  html[lang="en"] .hero h1 { font-size: clamp(34px,4.2vw,45px); }
}

@media(max-width:780px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    height: 78px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .header nav {
    gap: 20px;
    font-size: 12px;
  }
  .header nav>a:first-child {
    display: none;
  }
  .repo-link {
    padding-left: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 45px;
  }
  .hero h1 {
    font-size: clamp(39px,7.6vw,58px);
    line-height: 1.32;
    letter-spacing: -2px;
    margin-top: 22px;
  }
  .hero-description {
    font-size: 14px;
  }
  .construction-demo {
    max-width: 550px;
    width: 100%;
    justify-self: center;
    padding: 25px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
    padding-block: 22px;
  }
  .facts>div {
    border: 0;
    padding-left: 22px;
  }
  .facts>div:nth-child(odd) {
    padding-left: 0;
  }
  .facts>div:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .facts strong {
    min-height: 34px;
  }
  .facts-environment strong { line-height: 1.8; }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }
  .section-heading>p br {
    display: none;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .scenarios { padding-block: 40px 45px; }
  .scenario-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .scenario-tabs button { padding: 14px 15px; }
  .scenario-tabs span { font-size: 15px; }
  .scenario-intro { padding: 22px 20px; }
  .scenario-intro h3 { font-size: 19px; line-height: 1.6; }
  .scenario-intro>p { font-size: 12px; }
  .scenario-flow { gap: 6px; }
  .scenario-flow code { padding: 5px 7px; font-size: 9px; }
  .scenario-columns { grid-template-columns: 1fr; }
  .scenario-code { border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario-panel-heading { padding-inline: 20px; }
  .scenario-code pre { padding-inline: 20px; font-size: 11px; }
  .scenario-adapter pre { padding: 0; font-size: 10px; }
  .scenario-note { padding-inline: 20px; font-size: 10px; }
  .quality { padding-block: 40px 45px; }
  .quality-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 0; }
  .quality-stats>div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .quality-stats strong { font-size: 32px; }
  .quality-performance { padding: 24px 20px; }
  .quality-method { grid-template-columns: 1fr; gap: 17px; }
  .quality-method>div { flex-direction: row; flex-wrap: wrap; gap: 22px; }
  .footer {
    flex-wrap: wrap;
    gap: 13px 18px;
    padding-block: 24px;
    min-height: 112px;
  }
  .footer>span {
    margin-left: auto;
  }
  .footer>div {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
    font-size: 10px;
  }
  .footer .brand {
    font-size: 14px;
  }
  .footer .brand-mark {
    width: 26px;
    height: 26px;
  }
}

@media(max-width:620px) {
  .header nav>a:not(.repo-link):not(.language-switch) {
    display: none;
  }
  .header nav { gap: 16px; }
  .repo-link { padding-left: 0; border: 0; }
}

@media(max-width:420px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: clamp(30px,9.2vw,36px);
    letter-spacing: -1.7px;
  }
  .construction-demo {
    padding-inline: 18px;
  }
  .construction-input {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .facts span {
    font-size: 9px;
  }
  .facts strong {
    font-size: 25px;
  }
  .facts-environment strong { font-size: 16px; }
  .section-heading h2 {
    font-size: 24px;
  }
  .install-command code {
    font-size: 12px;
  }
  .copy-install {
    margin-left: 4px;
  }
}

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