:root {
  color-scheme: light;
  --canvas: #fff;
  --surface: #f7f9fc;
  --line: #e5eaf0;
  --text: #172033;
  --muted: #667085;
  --blue: #1769e0;
  --blue-hover: #0f59c6;
  --blue-soft: #eaf2ff;
  --success: #20b26b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--canvas); }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 56px; }
header { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.02em; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: white; background: var(--blue); }
.status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px #dcf8e9; }
.status.error::before { background: #df3d4f; box-shadow: 0 0 0 4px #fde7e9; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; padding: 108px 0 70px; }
.kicker, .eyebrow { margin: 0; color: var(--blue); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 18px 0 22px; font-size: clamp(48px, 7vw, 82px); line-height: .96; letter-spacing: -.065em; }
.hero-copy { margin: 0; max-width: 570px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-note { padding: 22px; border-left: 2px solid var(--blue); color: var(--muted); font-size: 13px; line-height: 1.7; }
.hero-note strong { display: block; margin-bottom: 5px; color: var(--text); }
.section-title { display: flex; align-items: end; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-title h2 { margin: 0; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.section-title span { color: var(--muted); font-size: 12px; }
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 22px; }
.platform-card { min-height: 182px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.platform-card:hover { background: white; border-color: #c8d6eb; box-shadow: 0 14px 34px #24395a12; transform: translateY(-2px); }
.platform-heading { display: flex; justify-content: space-between; align-items: start; }
.platform-heading h2 { margin: 8px 0 0; font-size: 24px; letter-spacing: -.035em; }
.count { display: grid; place-items: center; min-width: 29px; height: 29px; padding: 0 8px; border: 1px solid #dce3ed; border-radius: 9999px; color: var(--muted); background: white; font: 12px ui-monospace, monospace; }
.empty { margin: 45px 0 0; color: #8993a2; font-size: 13px; }
.file-list { margin-top: 24px; border-top: 1px solid var(--line); }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.file-row:last-child { padding-bottom: 0; border-bottom: 0; }
.file-copy { display: grid; gap: 5px; min-width: 0; }
.file-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.file-copy span { color: var(--muted); font-size: 11px; }
.download { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 96px; height: 44px; padding: 0 18px; border-radius: 11px; color: white; background: var(--blue); box-shadow: 0 7px 16px #1769e02b; font-size: 13px; font-weight: 750; transition: background .15s, transform .15s; }
.file-row:hover .download { background: var(--blue-hover); transform: translateY(-1px); }
.file-row:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 4px; border-radius: 9px; }
.load-error { color: #b42334; }
footer { display: flex; justify-content: space-between; margin-top: 58px; padding-top: 22px; border-top: 1px solid var(--line); color: #8a94a3; font-size: 12px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); padding-top: 20px; }
  .hero { grid-template-columns: 1fr; padding: 72px 0 52px; }
  .hero-note { display: none; }
  h1 { font-size: 49px; }
  .downloads { grid-template-columns: 1fr; }
  .platform-card { padding: 19px; }
  .section-title span { display: none; }
}

@media (max-width: 430px) {
  .file-row { align-items: stretch; flex-direction: column; }
  .download { width: 100%; }
}
