:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --ink: #16292a;
  --muted: #526564;
  --line: #d8dfd8;
  --signal: #d7f9a3;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #3e7133; outline-offset: 5px; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: -70px; left: 16px; padding: 8px 16px; background: white; }
.skip:focus { top: 10px; }
.top, .top nav, .brand { display: flex; align-items: center; }
.top { justify-content: space-between; gap: 24px; min-height: 83px; border-bottom: 1px solid var(--line); }
.brand { gap: 10px; font-size: 16px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.mark { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); }
.mark i { display: block; width: 2px; height: 8px; background: var(--signal); border-radius: 5px; }
.mark i:nth-child(2n) { height: 13px; }
.mark i:nth-child(3) { height: 19px; }
nav { gap: clamp(12px, 3vw, 34px); font-size: 14px; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover, .source:hover { text-decoration: underline; text-underline-offset: 4px; }
.repo { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(34px, 6vw, 78px); padding-block: 92px 90px; }
.product { margin: 0 0 20px; color: #365451; font-size: 12px; font-weight: 750; letter-spacing: .18em; }
h1, h2, h3, p { margin-block: 0; }
h1 { font-size: clamp(42px, 5.3vw, 77px); line-height: 1.14; font-weight: 750; letter-spacing: -.045em; }
.intro { color: var(--muted); font-size: clamp(17px, 1.7vw, 22px); max-width: 27em; margin-top: 26px; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; color: var(--muted); font-size: 13px; }
.primary { display: inline-flex; gap: 16px; align-items: center; padding: 10px 18px; color: var(--ink); background: var(--signal); border: 1px solid #b4d987; border-radius: 9px; font-size: 15px; font-weight: 750; text-decoration: none; }
.primary:hover { background: #c4ef86; }
.preview { margin: 0; border: 1px solid #233b38; border-radius: 22px; padding: 20px; color: #f5f9f1; background: #142a28; box-shadow: 0 18px 42px #16292a23; }
.preview figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: #bad0c5; margin-bottom: 18px; }
.preview figcaption i { display: inline-block; width: 8px; height: 8px; background: var(--signal); border-radius: 50%; margin-right: 6px; }
.editor { display: grid; gap: 13px; padding: clamp(16px, 2.2vw, 26px); min-height: 161px; align-content: center; background: #1c3531; border-radius: 12px; border: 1px solid #345149; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.4; }
.editor code { color: var(--signal); font-size: .72em; }
.wave { display: grid; grid-template-columns: repeat(36, 1fr); gap: 3px; align-items: center; height: 96px; padding: 8px; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #355148 25%); }
.wave i { display: block; height: 17%; border-radius: 3px; background: #8ecd8d; }
.wave i:nth-child(3n + 1) { height: 39%; }
.wave i:nth-child(4n + 3) { height: 59%; background: #c9f49e; }
.wave i:nth-child(6n + 2) { height: 71%; }
.wave i:nth-child(9n + 5) { height: 83%; background: #daf6ab; }
.wave i:nth-child(17n) { height: 3%; background: #64867b; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 12px; color: #a9c8bc; border-top: 1px solid #36564a; padding-top: 13px; }
.timeline span { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.timeline b { font-weight: 600; color: #eef4ec; }
.features { padding-block: 49px 68px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(25px, 3.2vw, 42px); line-height: 1.24; letter-spacing: -.035em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 38px); margin-top: 29px; }
.feature-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #ffffff6b; }
.detail { color: #3e5f54; font-size: 12px; font-weight: 700; }
h3 { font-size: 21px; margin-block: 8px; }
.feature-grid p, .start p { color: var(--muted); }
.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; border-block: 1px solid var(--line); padding: 28px 0; margin-bottom: 28px; }
.download h2 { font-size: clamp(25px, 2.7vw, 34px); margin-bottom: 6px; }
.download p { color: var(--muted); }
.download .access { font-size: 13px; margin-top: 5px; }
.start { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 60px); border: 1px solid #cbdacb; border-radius: 20px; padding: clamp(24px, 5vw, 57px); background: #eaf1e4; }
.start h2 { margin-bottom: 13px; }
.source { display: inline-block; margin-top: 19px; font-weight: 700; text-decoration: none; }
.terminal { min-width: 0; border-radius: 13px; padding: 17px 20px; background: var(--ink); color: #e9f7e7; }
.terminal p { color: #b8d5c5; font-size: 13px; }
.terminal pre { font-size: clamp(11px, 1.24vw, 14px); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; margin-bottom: 3px; }
.bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 18px; padding-block: 31px; color: var(--muted); font-size: 13px; }
.bottom span[lang] { margin-left: 5px; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 46px); }
  .hero { padding-block: 62px 58px; }
  .feature-grid { gap: 12px; }
  .feature-grid article { padding: 17px; }
}
@media (max-width: 690px) {
  .shell { width: calc(100% - 36px); }
  .top { gap: 9px; min-height: 65px; }
  nav { gap: 11px; font-size: 12px; }
  .repo { padding: 5px 7px; }
  .brand { font-size: 14px; gap: 6px; }
  .mark { width: 27px; height: 27px; }
  .hero, .start { grid-template-columns: 1fr; }
  .hero { padding-block: 45px 52px; }
  .product { margin-bottom: 11px; }
  .intro { margin-top: 17px; }
  .actions { margin-top: 22px; }
  .features { padding-block: 32px 42px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 20px; }
  .preview { padding: 14px; }
  .wave { height: 75px; }
}
