:root {
  --ink: #17252f;
  --muted: #58707a;
  --line: #c9d6d7;
  --paper: #f4f7f5;
  --surface: #ffffff;
  --teal: #007b78;
  --teal-dark: #005d5c;
  --yellow: #f2c14e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; }
.shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 2; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav { display: flex; gap: 18px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.language-toggle { min-width: 42px; min-height: 30px; border: 1px solid var(--line); color: var(--teal-dark); background: var(--surface); font: 700 12px monospace; cursor: pointer; }
.language-toggle:hover, .language-toggle:focus-visible { border-color: var(--teal); color: var(--surface); background: var(--teal); }

.intro { background: var(--teal-dark); color: #f7fffe; }
.intro-grid { min-height: 330px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding: 66px 0 52px; }
.eyebrow, .section-label { margin: 0 0 8px; color: var(--yellow); font-family: monospace; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 640px; margin-bottom: 14px; font-size: 46px; line-height: 1.18; letter-spacing: 0; }
h2 { font-size: 28px; line-height: 1.28; letter-spacing: 0; }
h3 { font-size: 17px; }
.lede { max-width: 620px; margin-bottom: 22px; color: #c7e3df; font-size: 18px; }
.release-line { margin: 0; color: #c7e3df; font-size: 14px; }
.release-line strong { color: var(--yellow); font-family: monospace; }
.mode-mark { display: grid; grid-template-columns: auto 56px auto; align-items: center; color: var(--yellow); font: 700 18px monospace; }
.mode-mark i { display: block; height: 2px; margin: 0 12px; background: var(--yellow); }

.overview { padding: 48px 0; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); }
.overview-grid article { padding: 30px; }
.overview-grid article + article { border-left: 1px solid var(--line); }
.overview-grid p { margin-bottom: 0; color: var(--muted); }

.feature-band { scroll-margin-top: 62px; }
.browser-band { background: #e1efed; }
.vscode-band { background: var(--surface); }
.feature-layout { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 32px; padding: 58px 0; }
.feature-index { color: var(--teal); font: 700 42px/1 monospace; }
.feature-list { margin: 0 0 22px; padding-left: 20px; color: var(--muted); }
.feature-list li + li { margin-top: 8px; }
.action-link, .secondary-link { display: inline-block; font-weight: 700; text-underline-offset: 4px; }
.action-link { color: var(--teal-dark); }
.secondary-link { color: #d5f2ef; }

.install-section { padding: 54px 0; }
.install-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: end; padding-top: 10px; border-top: 1px solid var(--line); }
.install-grid p { margin: 0; color: var(--muted); }
.release-button { align-self: stretch; display: grid; place-items: center; min-width: 160px; padding: 14px 18px; color: #fff; background: var(--teal); font-weight: 700; text-align: center; text-decoration: none; }
.release-button:hover, .release-button:focus-visible { background: var(--teal-dark); }
code { padding: 1px 4px; background: #e7eded; font-family: monospace; }

.support-band { scroll-margin-top: 62px; padding: 54px 0; color: #f5fffe; background: var(--ink); }
.support-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; }
.support-layout p:not(.section-label) { color: #c7d3d6; }
.support-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 32px; }
.support-actions .action-link { color: var(--yellow); }

.site-footer { padding: 22px 0; color: #6b838a; background: #0d171d; font-size: 13px; }

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1040px); }
  .header-inner { align-items: flex-start; padding: 12px 0; }
  nav { max-width: 132px; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; font-size: 12px; }
  .language-toggle { flex: 0 0 auto; }
  .intro-grid, .overview-grid, .feature-layout, .install-grid, .support-layout { grid-template-columns: 1fr; }
  .intro-grid { min-height: 0; gap: 30px; padding: 48px 0 40px; }
  h1 { font-size: 36px; }
  .mode-mark { justify-content: start; }
  .overview-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .feature-layout { gap: 18px; padding: 44px 0; }
  .feature-index { font-size: 30px; }
  .install-grid { gap: 18px; }
  .release-button { min-height: 52px; }
  .support-layout { gap: 18px; }
  .support-actions { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
