:root {
  color-scheme: dark;
  --bg: #0b1311;
  --paper: #edf4eb;
  --muted: #b1c1b9;
  --mint: #a7f0c8;
  --line: #30423b;
  --panel: #11221c;
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--paper); }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--mint); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.wrap { width: min(1184px, 90%); margin-inline: auto; }
.skip { position: absolute; left: 10px; top: -6em; z-index: 5; background: #203f32; padding: .6em 1em; }
.skip:focus { top: 5px; }
header { border-bottom: 1px solid var(--line); }
.bar, nav, .tools, .brand, .actions, footer, footer div { display: flex; align-items: center; }
.bar { gap: 38px; min-height: 76px; }
.brand { gap: 10px; font-weight: 740; font-size: 1.25rem; letter-spacing: -.045em; }
.brand img { border-radius: 22%; }
.bar a, .actions a, footer a { text-decoration: none; }
nav, .tools { gap: 24px; font-size: .9rem; }
nav a { color: var(--muted); padding-block: 10px; }
nav a[aria-current] { color: var(--mint); text-decoration: underline; text-underline-offset: 7px; }
.tools { margin-left: auto; gap: 16px; }
.tools a { padding-block: 8px; }
.hero { isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 77% 80%, #1c3d30 0, #121f19 32%, #0b1311 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2%; padding-block: clamp(46px,6vw,88px); }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(3.45rem,6.5vw,6.25rem); letter-spacing: -.067em; font-weight: 650; }
h1 em { font-style: normal; color: var(--mint); }
.hero .desc { max-width: 48ch; margin-top: 25px; color: var(--muted); font-size: 1.125rem; }
.actions { gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; padding: 11px 19px; border-radius: 8px; font-weight: 620; background: var(--mint); color: #102319; text-decoration: none; }
.button:hover { color: #102319; background: #d4ffe5; }
.button.secondary { color: var(--paper); background: transparent; border: 1px solid #52675d; }
.credit { margin-top: 22px; color: var(--muted); font-size: .88rem; }
.devices { width: min(100%, 570px); position: relative; margin-inline: auto; aspect-ratio: 1.66; }
.devices > div { position: absolute; filter: drop-shadow(0 12px 15px #0007); }
.devices img { display: block; width: 100%; }
.devices .rear { width: 83%; left: 0; top: 0; }
.devices .front { width: 31%; right: 0; bottom: 0; }
.section { padding-block: clamp(52px,7vw,96px); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(2rem,4vw,3.65rem); font-weight: 620; letter-spacing: -.055em; }
h3 { font-size: 1.32rem; letter-spacing: -.03em; }
.intro { color: var(--muted); margin-top: 15px; max-width: 64ch; font-size: 1.075rem; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 32px 0 22px; }
.card { border: 1px solid var(--line); background: #111d18; border-radius: 15px; padding: 24px; }
.card p, .row p, figcaption, .footnote { color: var(--muted); }
.card p { margin-top: 12px; }
.detail-link { color: var(--mint); font-weight: 600; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 22px; margin-top: 34px; }
.gallery a { height: clamp(240px, 34vw, 430px); display: grid; place-items: center; background: #172b22; border-radius: 16px; padding: 22px; border: 1px solid var(--line); }
.gallery img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 9px 12px #0006); }
figcaption { margin: 14px 0 0; font-size: .93rem; }
figcaption strong { color: var(--paper); display: block; font-size: 1.1rem; }
.build { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.command { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--panel); min-width: 0; }
.command button { border: 1px solid #597565; border-radius: 6px; padding: 5px 12px; color: var(--paper); background: transparent; }
.command-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
pre { overflow-x: auto; color: var(--mint); font-size: .86rem; padding-bottom: .4em; }
.detail { max-width: 910px; padding-block: clamp(48px,7vw,94px); min-height: 72vh; }
.detail h1 { font-size: clamp(3.2rem,6vw,5.2rem); }
.rows { margin-top: 44px; }
.row { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.row a { display: inline-block; margin-top: 7px; color: var(--mint); }
footer { justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 32px; }
footer div { gap: 18px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); }
[lang="zh-CN"] h1,[lang="zh-CN"] h2 { letter-spacing: -.03em; line-height: 1.19; }
@media(max-width: 850px) { .bar { gap: 20px; } nav { gap: 14px; } .hero-grid { grid-template-columns: 1fr 1fr; } .cards { grid-template-columns: 1fr 1fr; } }
@media(max-width: 680px) {
  .bar { flex-wrap: wrap; gap: 0; padding-top: 13px; } .tools { order: 1; }
  nav { order: 2; width: 100%; justify-content: space-between; gap: 4px; font-size: .84rem; }
  .hero-grid,.build { grid-template-columns: 1fr; gap: 32px; } .devices { max-width: 350px; }
  .hero .desc { font-size: 1rem; } .cards,.row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 24px; } .gallery a { padding: 12px; height: auto; } .gallery img { height: auto; max-height: 360px; }
  .row { gap: 10px; } .card { padding: 19px; } footer { align-items: flex-start; }
}
