:root {
  color-scheme: light;
  --paper: #f5f4ee;
  --surface: #fffefa;
  --ink: #202823;
  --muted: #646b62;
  --line: #d1d6cb;
  --accent: #54b865;
  --accent-ink: #236633;
  --accent-wash: #e1eddf;
  --focus: #246e37;
  --max-width: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171d19;
  --surface: #1d251f;
  --ink: #ecefe5;
  --muted: #a6b09f;
  --line: #3c483d;
  --accent: #54b865;
  --accent-ink: #91d99b;
  --accent-wash: #253b29;
  --focus: #91d99b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #171d19;
    --surface: #1d251f;
    --ink: #ecefe5;
    --muted: #a6b09f;
    --line: #3c483d;
    --accent-ink: #91d99b;
    --accent-wash: #253b29;
    --focus: #91d99b;
  }
}
* { box-sizing: border-box; }
html { min-width: 280px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--accent-wash); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-shell { max-width: var(--max-width); padding: 0 48px; margin: 0 auto; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-height: 44px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50% 50% 50% 5px; background: var(--accent); color: #102c16; font-weight: 700; transform: rotate(-12deg); }
.brand-mark svg { width: 19px; height: 19px; transform: rotate(12deg); }
.brand-name { font-size: 19px; font-weight: 650; letter-spacing: -.6px; }
.brand-caption { color: var(--muted); margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.header-tools { display: flex; align-items: center; gap: 6px; }
.theme-toggle, .language-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 50%; padding: 10px; font-size: 12px; text-decoration: none; }
.theme-toggle:hover, .language-link:hover { background: var(--accent-wash); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle [data-theme-icon="sun"] { display: none; }
:root[data-theme="dark"] .theme-toggle [data-theme-icon="sun"] { display: block; }
:root[data-theme="dark"] .theme-toggle [data-theme-icon="moon"] { display: none; }
.hero { position: relative; padding: 77px 0 68px; min-height: 366px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: var(--muted); font-size: 11px; font-weight: 550; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero-title { max-width: 790px; font-size: clamp(38px, 5.9vw, 70px); font-weight: 520; line-height: 1.17; letter-spacing: -.055em; margin: 0; text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--accent-ink); }
.hero-description { max-width: 570px; margin: 23px 0 0; font-size: 15px; line-height: 1.9; color: var(--muted); }
.hero-note { display: inline-flex; align-items: center; gap: 9px; margin: 23px 0 0; font-size: 11px; color: var(--muted); }
.hero-note::before { content: "↗"; color: var(--accent-ink); font-size: 16px; }
.hero-orbit { position: absolute; width: 100px; height: 100px; right: 16px; bottom: 70px; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; animation: orbit-spin 18s linear infinite; }
.hero-orbit::before { content: ""; position: absolute; inset: 18px -18px; border: 1px solid var(--line); border-radius: 50%; animation: orbit-spin 28s linear infinite reverse; }
.hero-orbit::after { content: ""; position: absolute; width: 13px; height: 13px; left: 10px; top: 12px; background: var(--accent); border: 4px solid var(--paper); border-radius: 50%; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.download-section { padding-bottom: 60px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 15px; }
.section-heading h2 { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 550; }
.section-heading p, .section-heading span { margin: 0; font-size: 11px; color: var(--muted); }
.download-list { border-top: 1px solid var(--ink); }
.download-row { display: grid; grid-template-columns: 48px minmax(0,1fr) auto 44px; align-items: center; gap: 12px; min-height: 101px; padding: 22px 10px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: background-color .18s ease, padding .18s ease; }
.download-row:hover { background: var(--accent-wash); padding-left: 13px; }
.download-row:focus-within { background: var(--accent-wash); }
.download-icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--muted); }
.download-icon svg { width: 22px; height: 22px; }
.download-row:hover .download-icon { color: var(--accent-ink); }
.download-main { min-width: 0; }
.download-title { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; font-weight: 500; font-size: 24px; letter-spacing: -.045em; line-height: 1.3; }
.download-detail { display: block; margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.download-meta { color: var(--muted); font-size: 12px; text-align: right; }
.download-action { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 23px; font-weight: 400; text-decoration: none; transition: transform .18s ease; }
.download-action svg { height: 21px; width: 21px; }
.download-row:hover .download-action { transform: translate(2px,-2px); }
a.download-action::after { content: ""; position: absolute; inset: 0; }
.recommendation, .download-badge { display: inline-flex; align-items: center; color: var(--accent-ink); background: var(--accent-wash); padding: 3px 8px; font-size: 10px; font-weight: 550; letter-spacing: 0; border-radius: 3px; line-height: 1.5; }
.download-row.is-recommended { border-bottom-color: var(--accent); }
.platform-more { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; color: var(--muted); font-size: 12px; padding: 10px 0; }
.platform-more:hover { color: var(--ink); }
.platform-more .more-symbol { font-size: 22px; font-weight: 300; transition: transform .2s ease; }
.platform-more[aria-expanded="true"] .more-symbol { transform: rotate(45deg); }
.empty-state { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 38px 0; color: var(--muted); font-size: 14px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; padding: 23px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-note { display: flex; gap: 9px; align-items: center; }
.footer-dot { display: inline-block; height: 5px; width: 5px; background: var(--accent); border-radius: 50%; }
.footer-links { display: flex; gap: 17px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 1500px) { .site-shell { padding-top: 30px; } }
@media (max-width: 760px) {
  .site-shell { padding: 0 25px; }
  .site-header { min-height: 88px; }
  .brand-caption { display: none; }
  .hero { min-height: auto; padding: 54px 0 49px; }
  .hero-title { max-width: 620px; font-size: clamp(35px, 7.4vw, 54px); }
  .hero-description { max-width: 520px; font-size: 14px; }
  .hero-orbit { display: none; }
  .download-section { padding-bottom: 44px; }
  .download-row { grid-template-columns: 30px minmax(0,1fr) 44px; gap: 10px; min-height: 95px; padding-right: 0; }
  .download-title { font-size: 22px; }
  .download-meta { display: none; }
  .section-heading p { max-width: 52%; text-align: right; }
}
@media (max-width: 380px) {
  .site-shell { padding: 0 18px; }
  .hero-title { font-size: 34px; }
  .download-row { grid-template-columns: 23px minmax(0,1fr) 44px; gap: 5px; }
  .download-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.download-name { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-weight: 500; font-size: 24px; letter-spacing: -.045em; line-height: 1.3; }
.download-row > .download-detail { text-align: right; margin: 0; max-width: 240px; }
.download-arrow { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 23px; transition: transform .18s ease; }
.download-row:hover .download-arrow { transform: translate(2px,-2px); }
.primary-download { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; min-height: 52px; padding: 13px 20px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 3px; font-size: 13px; transition: background .18s ease; }
.primary-download:hover { background: var(--accent-ink); }
.primary-download [data-primary-meta] { font-size: 10px; opacity: .85; }
@media (max-width: 760px) {
  .download-name { font-size: 22px; }
  .download-row > .download-detail { grid-column: 2; grid-row: 2; text-align: left; max-width: none; margin-top: -5px; }
  .download-row > .download-icon { grid-column: 1; grid-row: 1 / 3; }
  .download-row > .download-name { grid-column: 2; grid-row: 1; }
  .download-row > .download-arrow { grid-column: 3; grid-row: 1 / 3; }
}

/* Architecture choices remain visible together for the detected OS. */
.target-tag { display:inline-block; font-size:12px; font-weight:600; line-height:1.6; padding:2px 8px; border-radius:6px; color:var(--ink); background:var(--surface); letter-spacing:0; vertical-align:middle; }
#downloads { scroll-margin-top:24px; }
