:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f2f2f5;
  background: #121212;
  --muted: #b9bac5;
  --green: #7abc8c;
  --rule: #303032;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
::selection { background: #7abc8c; color: #121a14; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 20px; background: var(--green); color: #121a14; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { padding: 17px max(3.65vw, 24px); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 20px; font-size: 32px; font-weight: 700; letter-spacing: -0.025em; }
.brand img { display: block; object-fit: contain; }
main { flex: 1; display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 3.1vw; padding: 62px 3.65vw; width: 100%; max-width: 1720px; margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(40px, 5.18vw, 78px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 750; text-wrap: balance; }
.release { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; color: var(--green); font-size: clamp(28px, 3vw, 44px); line-height: 1.2; font-weight: 650; font-variant-numeric: tabular-nums; }
.release [data-release-status] { font-size: 14px; font-weight: 500; }
.lead { color: var(--muted); margin-top: 24px; font-size: clamp(23px, 2.45vw, 36px); line-height: 1.45; letter-spacing: -0.015em; }
.mac-help { margin-top: 58px; font-size: clamp(16px, 1.62vw, 24px); color: var(--muted); line-height: 1.65; }
.mac-help ul { padding-left: 22px; margin: 7px 0 0; }
.mac-help li { padding-left: 4px; }
.mac-help li::marker { color: var(--green); }
.mac-help strong { font-weight: 500; }
.account-help { margin-top: 44px; font-size: clamp(16px, 1.62vw, 24px); color: var(--muted); line-height: 1.6; }
.downloads { min-width: 0; background: #1a1a1b; border: 1px solid var(--rule); border-radius: 14px; padding: 32px 26px 10px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 34px; }
h2 { font-size: clamp(27px, 2.85vw, 42px); letter-spacing: -0.03em; line-height: 1.2; }
.versions { position: relative; }
.versions summary:focus-visible, .version-menu a:focus-visible { outline: none; background: #36363a; text-decoration: underline; }
.versions summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 12px 17px; border: 1px solid #4a4a4e; border-radius: 10px; font-size: 18px; }
.versions summary::-webkit-details-marker { display: none; }
.versions summary:hover { background: #252527; }
.versions summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 180ms ease-out; }
.versions[open] summary svg { transform: rotate(180deg); }
.version-menu { position: absolute; z-index: 2; top: calc(100% + 8px); right: 0; width: 280px; padding: 8px; border: 1px solid #4a4a4e; border-radius: 10px; background: #242426; box-shadow: 0 12px 32px #0005; }
.version-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 13px; border-radius: 6px; font-size: 18px; }
.version-menu a:hover { background: #323235; }
.version-menu .current { color: #92d4a4; }
.version-menu .older { color: var(--muted); }
.version-menu a[aria-current="true"] { background: #323235; }
.download-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 28px; align-items: center; min-height: 184px; border-top: 1px solid var(--rule); padding: 28px 10px; }
.platform-icon { display: block; width: 64px; height: 64px; fill: #f2f2f5; }
h3 { font-size: clamp(23px, 2.05vw, 30px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.platform-copy > p { color: var(--muted); font-size: 24px; margin-top: 11px; line-height: 1.3; }
.platform-copy .platform-description { font-size: clamp(14px, 1.35vw, 20px); margin-top: 10px; }
.download { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 170px; min-height: 64px; padding: 14px 25px; border-radius: 10px; background: var(--green); color: #14241a; font-size: 25px; font-weight: 650; transition: background-color 160ms ease-out, transform 160ms ease-out; }
.download svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .download:hover { background: #a3e2b3; }
}
.download:active { transform: translateY(0); scale: .97; }
footer { border-top: 1px solid var(--rule); padding: 32px 3.65vw; color: var(--muted); font-size: 18px; line-height: 1.6; }
@media (min-width: 1440px) {
  main { gap: 3.1vw; }
  h1 { white-space: nowrap; }
}
@media (max-width: 1279px) {
  main { grid-template-columns: 0.95fr 1fr; gap: 32px; padding-block: 48px; }
  h1 { font-size: 52px; }
  .downloads { padding-inline: 18px; }
  .download-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 18px; min-height: 164px; }
  .platform-icon { width: 44px; height: 44px; }
  .download { min-width: 116px; min-height: 54px; padding: 12px 18px; font-size: 20px; gap: 9px; }
  .download svg { width: 23px; height: 23px; }
}
@media (max-width: 1000px) {
  .brand { font-size: 26px; gap: 14px; }
  .brand img { width: 48px; height: 48px; }
  main { max-width: 720px; grid-template-columns: 1fr; gap: 38px; padding: 42px 24px; }
  h1 { font-size: 48px; }
  .release { margin-top: 18px; font-size: 32px; }
  .lead { margin-top: 18px; font-size: 25px; }
  .mac-help { margin-top: 26px; font-size: 17px; }
  .account-help { margin-top: 22px; font-size: 17px; }
  h2 { font-size: 30px; }
  h3 { font-size: 25px; }
  .downloads { padding-top: 24px; }
  .panel-header { padding-bottom: 24px; }
  .platform-copy .platform-description { font-size: 16px; }
  footer { padding: 24px; font-size: 15px; }
}
@media (max-width: 480px) {
  .site-header { padding: 16px 20px; }
  .brand { font-size: 23px; gap: 12px; }
  .brand img { width: 44px; height: 44px; }
  main { padding: 32px 20px; gap: 28px; }
  h1 { font-size: 38px; }
  .lead { font-size: 22px; }
  .release { font-size: 29px; gap: 13px; }
  .mac-help { font-size: 15px; }
  .account-help { font-size: 15px; }
  .downloads { padding: 20px 16px 6px; }
  .panel-header { padding: 0 0 22px; gap: 12px; }
  h2 { font-size: 26px; }
  .versions summary { min-height: 44px; padding: 9px 11px; gap: 10px; font-size: 15px; }
  .version-menu { width: min(280px, calc(100vw - 76px)); }
  .download-row { padding: 24px 0; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; min-height: 128px; }
  .platform-icon { width: 32px; height: 32px; }
  h3 { font-size: 20px; }
  .platform-copy > p { font-size: 17px; margin-top: 7px; }
  .platform-copy .platform-description { font-size: 12px; line-height: 1.4; margin-top: 7px; }
  .download { min-width: 76px; min-height: 46px; font-size: 16px; padding: 10px 12px; gap: 7px; border-radius: 8px; }
  .download svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .download:hover, .download:active, .download:hover svg { transform: none; scale: 1; }
}
