@font-face {
  font-family: "Inkstone Sans";
  src: url("assets/fonts/site-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inkstone Serif";
  src: url("assets/fonts/site-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f4f0e6;
  --ink: #1c1a21;
  --stone: #6b6673;
  --vermilion: #c8402b;
  --ink-80: rgba(28, 26, 33, 0.8);
  --rule: rgba(28, 26, 33, 0.14);
  --rule-strong: rgba(28, 26, 33, 0.24);
  --canvas: #fcfcfa;
  --serif:
    "Inkstone Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC",
    Georgia, serif;
  --sans:
    "Inkstone Sans", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei",
    sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  background: var(--paper);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  width: 100%;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* very light paper grain */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .11  0 0 0 0 .10  0 0 0 0 .13  0 0 0 .045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
a:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 5px;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}
.mono {
  font-family: var(--mono);
}
.ms {
  font-style: normal;
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0 0.4em;
  color: var(--stone);
}

/* ---------- Navigation ---------- */
.nav {
  border-bottom: 1px solid var(--rule);
}
.nav .wrap {
  min-height: 84px;
  padding-block: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav .logo {
  height: 30px;
  display: block;
}
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav .src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}
.arrow {
  font-family: var(--sans);
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  text-align: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow:
    0 1px 0 rgba(28, 26, 33, 0.2),
    0 10px 24px -14px rgba(28, 26, 33, 0.6);
}
.btn-secondary {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: rgba(252, 252, 250, 0.35);
}
.btn .arrow {
  font-size: 19px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 104px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--stone);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--vermilion);
  border-radius: 1px;
}
.eyebrow .sep {
  width: 24px;
  height: 1px;
  background: var(--rule-strong);
}
h1 {
  margin-top: 30px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(60px, 7.36vw, 106px);
  line-height: 1.16;
  letter-spacing: 0.04em;
  margin-left: -6px;
}
h1 .name {
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.04em;
}
.hero-wordmark {
  display: block;
  width: 440px;
  max-width: 100%;
  height: auto;
}
h1 .tag {
  color: var(--stone);
}
.hero-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  column-gap: 80px;
  align-items: start;
}
.lede {
  font-size: 21px;
  line-height: 1.8;
  color: var(--ink-80);
  letter-spacing: 0.01em;
}
.cta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.alt {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  font-size: 14px;
  color: var(--stone);
}
.alt a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 3px;
}
.alt .bar {
  width: 1px;
  height: 14px;
  background: var(--rule-strong);
}

.spec {
  border-bottom: 1px solid var(--rule);
}
.spec div {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}
.spec dt {
  font-size: 13px;
  color: var(--stone);
}
.spec dd {
  font-size: 15px;
}
.spec dd,
.kv dd {
  min-width: 0;
  overflow-wrap: anywhere;
}
.spec .mono {
  font-size: 13.5px;
}

/* ---------- Product window ---------- */
.showcase {
  margin-top: 96px;
}
.window {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid rgba(28, 26, 33, 0.18);
  box-shadow:
    0 1px 2px rgba(28, 26, 33, 0.06),
    0 40px 90px -40px rgba(28, 26, 33, 0.42),
    0 18px 40px -24px rgba(28, 26, 33, 0.18);
}
.titlebar {
  height: 34px;
  display: flex;
  align-items: center;
  background: #eeede9;
  font-family: "Segoe UI", var(--sans);
  font-size: 12px;
  color: #2b2930;
}
.titlebar img {
  width: 16px;
  height: 16px;
  margin: 0 10px 0 14px;
}
.titlebar .ctl {
  margin-left: auto;
  display: flex;
  height: 100%;
}
.titlebar .ctl span {
  width: 46px;
  height: 100%;
  display: grid;
  place-items: center;
}
.menubar {
  height: 25px;
  display: flex;
  align-items: center;
  padding-left: 4px;
  gap: 2px;
  background: #f7f7f5;
  border-bottom: 1px solid #e2e1dd;
  font-family: "Microsoft YaHei UI", var(--sans);
  font-size: 12px;
  color: #2b2930;
}
.menubar span {
  padding: 0 9px;
}
.screen {
  position: relative;
  display: block;
}
.screen img {
  display: block;
  width: 100%;
  height: auto;
}
.pin {
  position: absolute;
  width: clamp(12px, 1.67vw, 24px);
  height: clamp(12px, 1.67vw, 24px);
  display: grid;
  place-items: center;
  background: var(--vermilion);
  color: var(--paper);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: clamp(7px, 0.83vw, 12px);
  font-weight: 500;
  box-shadow: 0 0 0 3px rgba(252, 252, 250, 0.9);
}
.legend {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 32px;
}
.legend > div {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.legend h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}
.legend h4 i {
  font-style: normal;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--vermilion);
  color: var(--paper);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
}
.legend p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--stone);
}
.caption-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto 22px;
  font-size: 13px;
  color: var(--stone);
}
.caption-row .mono {
  font-size: 12.5px;
}

/* ---------- Features ---------- */
.features {
  margin-top: 128px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}
.section-head h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.12em;
}
.section-head span {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--stone);
}
.row {
  display: grid;
  column-gap: 96px;
  align-items: center;
  padding: 112px 0;
  border-bottom: 1px solid var(--rule);
}
.row.text-left {
  grid-template-columns: minmax(0, 404fr) minmax(0, 700fr);
}
.row.text-right {
  grid-template-columns: minmax(0, 700fr) minmax(0, 404fr);
}
.row > * {
  min-width: 0;
}
.row:last-child {
  border-bottom: 0;
  padding-bottom: 100px;
}
.idx {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--stone);
}
.idx b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--vermilion);
  font-size: 13px;
}
.idx .sep {
  width: 24px;
  height: 1px;
  background: var(--rule-strong);
}
h2 {
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.28;
  letter-spacing: 0.05em;
  margin-left: -3px;
}
.copy p {
  margin-top: 26px;
  font-size: 17.5px;
  line-height: 1.9;
  color: var(--ink-80);
}
.kv {
  margin-top: 36px;
  border-bottom: 1px solid var(--rule);
}
.kv div {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  font-size: 14.5px;
}
.kv dt {
  font-size: 13px;
  color: var(--stone);
}
.kv .mono {
  font-size: 13px;
}
.kv kbd {
  font-size: 11.5px;
  padding: 1px 6px;
}
.kv dd {
  color: var(--ink-80);
}
kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 7px;
  border: 1px solid var(--rule-strong);
  border-bottom-width: 2px;
  border-radius: 3px;
  background: rgba(252, 252, 250, 0.7);
}

.panel {
  background: var(--canvas);
  border: 1px solid rgba(28, 26, 33, 0.14);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(28, 26, 33, 0.05),
    0 18px 40px -28px rgba(28, 26, 33, 0.35);
}
.panel img {
  display: block;
  max-width: 100%;
  height: auto;
}
.plabel {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 13px;
}
.plabel b {
  font-weight: 500;
}
.plabel span {
  color: var(--stone);
  font-size: 12.5px;
}

/* feature 1 */
.f1 .panel img {
  width: 100%;
}
.switch {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 18px 0;
  font-size: 12.5px;
  color: var(--stone);
}
.switch .line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--rule-strong) 0 4px,
    transparent 4px 8px
  );
}

/* feature 2 */
.f2 {
  position: relative;
  aspect-ratio: 7 / 6;
}
.f2 .main {
  position: absolute;
  left: 0;
  top: 0;
  width: 88.571%;
}
.f2 .main img {
  width: 100%;
}
.f2 .side {
  position: absolute;
  left: 57.714%;
  top: 57.667%;
  width: 42.286%;
}
.f2 .side .plabel {
  margin: 10px 0 0;
}
.f2 .side .panel {
  background: #fff;
}
.f2 .side img {
  width: 100%;
}

/* feature 3 */
.f3 {
  display: grid;
  grid-template-columns: minmax(0, 258fr) minmax(0, 442fr);
  column-gap: 0;
  align-items: start;
}
.f3 .panel img {
  width: 100%;
}
.disk {
  position: relative;
  padding: clamp(80px, 11.67vw, 168px) 0 0 clamp(24px, 5.28vw, 76px);
}
.disk .link {
  position: absolute;
  left: 4px;
  top: clamp(180px, 22.64vw, 326px);
  width: clamp(20px, 5vw, 72px);
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--vermilion) 0 4px,
    transparent 4px 8px
  );
}
.disk .link::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vermilion);
}
.tree {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding-left: 20px;
  border-left: 1px solid var(--rule-strong);
}
.tree .dim {
  color: var(--stone);
}
.tree .hl {
  background: rgba(200, 64, 43, 0.1);
  color: var(--ink);
  padding: 3px 6px;
  margin-left: -6px;
  border-radius: 2px;
}
.disk .note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--stone);
  padding-left: 21px;
}
.exports {
  grid-column: 1 / -1;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.exports div {
  padding: 18px 0 18px 20px;
  border-left: 1px solid var(--rule);
}
.exports div:first-child {
  border-left: 0;
  padding-left: 0;
}
.exports b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.exports span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--stone);
}
.exports .label {
  font-size: 12.5px;
  color: var(--stone);
}

/* ---------- Closing CTA ---------- */
.closing {
  margin-top: 20px;
  padding: 130px 0 140px;
  border-top: 1px solid var(--ink);
  text-align: center;
  position: relative;
}
.closing .icon {
  width: 96px;
  height: 96px;
  display: block;
  margin: 0 auto;
}
.closing h2 {
  margin-top: 36px;
  font-size: 60px;
  letter-spacing: 0.05em;
}
.closing p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-80);
}
.closing .cta {
  justify-content: center;
  margin-top: 48px;
  gap: 20px;
}
.closing .meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--stone);
}
.closing .meta span {
  width: 270px;
}
.closing .meta span:first-child {
  text-align: center;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--rule);
}
footer .top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 108px;
}
footer .logo {
  height: 26px;
  display: block;
}
footer nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--ink-80);
}
footer .sign {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
footer .sign span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink-80);
}
footer .sign img {
  width: 34px;
  height: 34px;
  display: block;
}
footer .bottom {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 30px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
  color: var(--stone);
}
footer .bottom .mono {
  font-size: 12px;
}

/* ---------- English typesetting ---------- */
:lang(en) .lede {
  letter-spacing: 0;
}
:lang(en) .hero {
  padding-top: 92px;
}
:lang(en) h1 {
  font-size: clamp(60px, 6.39vw, 92px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin-left: -4px;
}
:lang(en) .showcase {
  margin-top: 84px;
}
:lang(en) h2 {
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin-left: -2px;
}
:lang(en) .closing h2 {
  font-size: 58px;
  letter-spacing: -0.012em;
}
:lang(en) .btn {
  letter-spacing: 0.005em;
}
:lang(en) .section-head h3 {
  letter-spacing: 0.01em;
}
:lang(en) .spec div {
  grid-template-columns: 92px 1fr;
}
:lang(en) .kv div {
  grid-template-columns: 116px 1fr;
}
:lang(en) .copy p {
  font-size: 17.5px;
  line-height: 1.8;
}
:lang(en) .legend p {
  line-height: 1.65;
}
:lang(en) .menubar {
  font-family: "Segoe UI", var(--sans);
}
:lang(en) footer .sign span {
  letter-spacing: 0.01em;
  font-size: 16px;
}

/* Language control stays usable even without JavaScript. */
.language-switch {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: repeat(2, 46px);
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--rule-strong);
  border-radius: 24px;
  background: rgba(28, 26, 33, 0.04);
}
.language-switch::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 3px auto 3px 3px;
  width: 46px;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: 0 1px 3px rgba(28, 26, 33, 0.14);
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.language-switch[data-language="zh-CN"]::before {
  transform: translateX(100%);
}
.language-option {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--stone);
  transition: color 180ms ease;
}
.language-option[aria-current="page"] {
  color: var(--paper);
}
.language-switch[data-language="en"] .language-option[data-language="en"],
.language-switch[data-language="zh-CN"]
  .language-option[data-language="zh-CN"] {
  color: var(--paper);
}
.language-switch[data-language="en"] .language-option[data-language="zh-CN"],
.language-switch[data-language="zh-CN"] .language-option[data-language="en"] {
  color: var(--stone);
}
.language-option:focus-visible {
  outline-offset: 3px;
}
.nav a:not(.language-option):hover,
footer a:hover {
  color: var(--vermilion);
}
.btn {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.btn-primary:hover {
  background: #37313d;
  box-shadow: 0 10px 24px -14px rgba(28, 26, 33, 0.75);
}
.btn-secondary:hover {
  background: rgba(28, 26, 33, 0.06);
}
.alt a:hover {
  border-color: var(--vermilion);
  color: var(--vermilion);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
}
.skip-link:focus {
  top: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1199px) {
  .nav-actions,
  .nav ul {
    gap: 20px;
  }
  .hero,
  :lang(en) .hero {
    padding-top: 76px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 48px;
  }
  .lede {
    font-size: 19px;
  }
  .hero .btn {
    padding-inline: 22px;
    font-size: 16px;
  }
  .hero .cta {
    gap: 12px;
    margin-top: 32px;
  }
  .alt .bar {
    display: none;
  }
  .row {
    column-gap: 48px;
    padding-block: 88px;
  }
  h2 {
    font-size: 52px;
  }
  :lang(en) h2 {
    font-size: 46px;
  }
  .copy p,
  :lang(en) .copy p {
    font-size: 16px;
  }
  .disk {
    padding-left: 24px;
  }
  .disk .link {
    width: 20px;
  }
  .tree {
    padding-left: 14px;
    font-size: 12px;
  }
  .disk .note,
  .disk .plabel {
    padding-left: 15px !important;
  }
  footer nav {
    gap: 20px;
  }
  footer .sign {
    gap: 10px;
  }
  footer .sign span,
  :lang(en) footer .sign span {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-grid .spec {
    max-width: 600px;
  }
  .hero,
  :lang(en) .hero {
    padding-top: 64px;
  }
  h1,
  :lang(en) h1 {
    font-size: clamp(48px, 7.5vw, 68px);
  }
  .hero-wordmark {
    width: 340px;
  }
  .hero .lede {
    font-size: 20px;
  }
  .showcase,
  :lang(en) .showcase {
    margin-top: 64px;
  }
  .legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .features {
    margin-top: 88px;
  }
  .row.text-left,
  .row.text-right {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
    padding-block: 72px;
  }
  .row.text-right .copy {
    order: -1;
  }
  .copy {
    max-width: 620px;
  }
  .copy p {
    margin-top: 20px;
  }
  .kv {
    margin-top: 24px;
  }
  h2,
  :lang(en) h2 {
    margin-top: 20px;
    font-size: 48px;
  }
  .f1,
  .f2,
  .f3 {
    width: 100%;
    max-width: 700px;
  }
  .f2 {
    margin-bottom: 32px;
  }
  .disk {
    padding-top: 24%;
    padding-left: 40px;
  }
  .disk .link {
    width: 36px;
    top: 58%;
  }
  .tree {
    font-size: 14px;
  }
  .closing {
    padding-block: 88px 96px;
  }
  .closing h2,
  :lang(en) .closing h2 {
    font-size: 46px;
  }
  .closing p {
    font-size: 17px;
  }
  footer .top {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
    padding-block: 32px;
  }
  footer nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    gap: 32px;
  }
  footer .sign span,
  :lang(en) footer .sign span {
    font-size: 14px;
  }
}

@media (max-width: 800px) {
  .nav .wrap {
    flex-wrap: wrap;
    gap: 16px;
  }
  .nav-actions {
    display: contents;
  }
  .nav .logo-link {
    order: 1;
  }
  .nav .language-switch {
    order: 2;
    margin-left: auto;
  }
  .nav-actions > nav {
    order: 3;
    width: 100%;
  }
  .nav ul {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
  }
  .nav .src {
    height: auto;
    border: 0;
    padding: 0;
  }
}

@media (max-width: 600px) {
  .wrap,
  .caption-row {
    width: calc(100% - 40px);
  }
  .hero,
  :lang(en) .hero {
    padding-top: 52px;
  }
  h1 {
    font-size: clamp(40px, 8.9vw, 54px);
    margin-left: -2px;
  }
  :lang(en) h1 {
    font-size: clamp(36px, 8.2vw, 49px);
    line-height: 1.12;
    margin-left: -1px;
  }
  :lang(zh-CN) h1 .tag {
    display: block;
    margin-top: 0.12em;
    font-size: clamp(34px, 8.9vw, 48px);
    letter-spacing: 0.025em;
  }
  .hero-wordmark {
    width: 290px;
  }
  .eyebrow {
    font-size: 11px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .eyebrow .sep {
    width: 18px;
  }
  .hero-grid {
    margin-top: 30px;
    gap: 32px;
  }
  .hero .lede {
    font-size: 17px;
  }
  .hero .lede br {
    display: none;
  }
  .hero .cta {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero .btn {
    min-height: 54px;
    font-size: 16px;
  }
  .alt {
    margin-top: 20px;
    font-size: 12px;
  }
  .alt a {
    font-size: 13px;
  }
  .spec dd {
    font-size: 14px;
  }
  .spec .mono {
    font-size: 12px;
  }
  .window {
    width: calc(100% - 24px);
    border-radius: 6px;
  }
  .caption-row {
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 12px;
  }
  .caption-row .mono {
    font-size: 11px;
  }
  .titlebar {
    height: 28px;
    font-size: 10px;
  }
  .titlebar > span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .titlebar .ctl span {
    width: 26px;
    flex: 0 0 26px;
  }
  .titlebar img {
    width: 13px;
    height: 13px;
    margin: 0 7px;
  }
  .menubar {
    height: 22px;
    font-size: 9px;
  }
  .menubar span {
    padding-inline: 5px;
  }
  .pin {
    box-shadow: 0 0 0 2px rgba(252, 252, 250, 0.9);
  }
  .legend {
    margin-top: 28px;
    gap: 24px 18px;
  }
  .legend h4 {
    align-items: start;
    gap: 8px;
    font-size: 14px;
  }
  .legend h4 i {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .legend p {
    font-size: 12px;
    line-height: 1.75;
  }
  .features {
    margin-top: 64px;
  }
  .section-head h3 {
    font-size: 20px;
  }
  .row.text-left,
  .row.text-right {
    padding-block: 56px;
    gap: 30px;
  }
  .row:last-child {
    padding-bottom: 56px;
  }
  h2,
  :lang(en) h2 {
    font-size: 40px;
  }
  .copy p,
  :lang(en) .copy p {
    font-size: 16px;
    line-height: 1.85;
  }
  .kv div,
  :lang(en) .kv div {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 8px;
    font-size: 13px;
  }
  .kv dt {
    font-size: 12px;
  }
  .idx {
    gap: 10px;
    font-size: 12px;
  }
  .idx .sep {
    width: 18px;
    flex: 0 0 18px;
  }
  .plabel,
  .plabel span {
    font-size: 11px;
  }
  .switch {
    font-size: 11px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .switch .line {
    display: none;
  }
  .f2 {
    aspect-ratio: auto;
    display: grid;
    gap: 20px;
    margin-bottom: 0;
  }
  .f2 .main,
  .f2 .side {
    position: static;
    width: 100%;
  }
  .f2 .side {
    max-width: 296px;
    justify-self: end;
    margin-top: -64px;
    z-index: 1;
  }
  .f3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .f3 > div:first-child {
    width: min(258px, 100%);
    margin-inline: auto;
  }
  .disk {
    padding: 0;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .disk .link {
    display: none;
  }
  .tree {
    font-size: 13px;
  }
  .exports {
    margin-top: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .exports div {
    padding: 14px;
  }
  .exports div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--rule);
  }
  .exports div:nth-child(4) {
    border-top: 1px solid var(--rule);
  }
  .exports b {
    font-size: 18px;
  }
  .exports span {
    font-size: 12px;
  }
  .closing {
    padding-block: 64px 72px;
  }
  .closing .icon {
    width: 76px;
    height: 76px;
  }
  .closing h2,
  :lang(en) .closing h2 {
    font-size: 36px;
  }
  .closing .cta {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .closing .btn {
    width: 100% !important;
    max-width: 100%;
    font-size: 16px;
    min-height: 54px;
  }
  .closing .meta span {
    width: 100% !important;
    font-size: 11px;
  }
  footer .top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  footer nav {
    justify-content: start;
    gap: 12px 24px;
    flex-wrap: wrap;
    font-size: 13px;
  }
  footer .sign {
    justify-self: start;
  }
  footer .bottom {
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .wrap,
  .caption-row {
    width: calc(100% - 32px);
  }
  .nav .logo {
    max-width: 144px;
    height: auto;
  }
  .nav ul {
    gap: 12px;
    font-size: 12px;
  }
  .hero-wordmark {
    width: 250px;
  }
  h1 {
    font-size: 38px;
  }
  :lang(en) h1 {
    font-size: 34px;
  }
  .spec div,
  :lang(en) .spec div {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .legend {
    grid-template-columns: 1fr;
  }
  .f2 .side {
    width: 82%;
  }
  h2,
  :lang(en) h2 {
    font-size: 36px;
  }
  .closing h2,
  :lang(en) .closing h2 {
    font-size: 32px;
  }
}

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