:root {
  color-scheme: dark;
  background: #0d1028;
  color: #f5f3ff;
  font: 16px/1.5 system-ui, sans-serif;
  --border: #34365e;
  --muted: #c1c5df;
  --accent: #a4f3d9;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: 10px; left: 10px; padding: 10px; background: #172040; transform: translateY(-150%); }
.skip:focus { z-index: 2; transform: none; }
.masthead, main, footer { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.masthead, .masthead nav, .wordmark { display: flex; align-items: center; }
.masthead { min-height: 76px; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
.masthead nav { gap: clamp(12px, 3vw, 30px); }
.masthead nav a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .875rem; }
.masthead .language { color: var(--muted); }
.wordmark { gap: 9px; font-size: 1.08rem; font-weight: 750; }
.wordmark img { display: block; width: 36px; height: 36px; }

.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); align-items: center; gap: clamp(25px, 5vw, 64px); padding-block: clamp(32px, 5vw, 64px); }
.hero-copy { padding-block: 8px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { padding-inline-end: 3px; }
h1 { margin: 0; font-size: clamp(2.75rem, 4.8vw, 4.35rem); font-weight: 780; line-height: 1.04; letter-spacing: -.045em; }
html[lang="zh-CN"] h1 { letter-spacing: -.04em; }
.lede { max-width: 35ch; margin: 23px 0; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.19rem); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 9px 13px; border-radius: 8px; font-size: .875rem; font-weight: 700; }
.primary { background: var(--accent); color: #102620; }
.primary:hover { background: #c7ffee; }
.secondary { gap: 0; border: 1px solid #4e507a; }
.secondary:hover { background: #202344; }
.hint { margin: 14px 0 0; color: var(--muted); font-size: .81rem; }

.flight { min-width: 0; overflow: hidden; border: 1px solid #484974; border-radius: 16px; background: #151934; box-shadow: 0 26px 55px #05071390, 0 0 90px #a277fa19; scroll-margin-top: 12px; }
.flight-header, .flight-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 clamp(9px, 2vw, 17px); color: var(--muted); font-size: .8125rem; }
.flight-header { border-bottom: 1px solid var(--border); }
.flight-footer { border-top: 1px solid var(--border); }
.flight a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.flight-footer a:last-child, .flight-header a { color: var(--accent); }
.flight-label { display: inline-flex; align-items: center; gap: 8px; }
.signal { flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #a4f3d978; }
iframe { display: block; width: 100%; height: 430px; border: 0; background: #0d1028; }

.getting-started { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.2fr); gap: 32px; padding-block: 29px; border-top: 1px solid var(--border); scroll-margin-top: 12px; }
h2 { max-width: 24ch; margin: 0; font-size: clamp(1.32rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -.025em; }
.getting-started p { margin: 9px 0 4px; color: var(--muted); }
.getting-started a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--accent); font-size: .875rem; }
.setup-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.setup-paths article { padding: 14px 16px 6px; border: 1px solid var(--border); border-radius: 10px; font-size: .88rem; }
.setup-paths h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 20px 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: .8125rem; }
footer p { max-width: 72ch; margin: 0; }
footer a { color: var(--accent); }

@media (max-width: 880px) {
  .masthead, main, footer { width: min(740px, calc(100% - 40px)); }
  .hero, .getting-started { grid-template-columns: 1fr; }
  .hero { gap: 24px; }
  .getting-started { gap: 16px; }
  .hero-copy { padding-block: 0; }
}

@media (max-width: 450px) {
  .masthead, main, footer { width: calc(100% - 24px); }
  .masthead { min-height: 62px; flex-wrap: wrap; gap: 0 16px; padding-block: 6px; }
  .masthead nav { gap: 12px; }
  .masthead nav a { white-space: nowrap; }
  h1 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .lede { margin-block: 16px; }
  .setup-paths { grid-template-columns: 1fr; }
  footer { display: grid; }
  iframe { height: 500px; }
}
