:root {
    color-scheme: light;
    --sk-blue: #1f6feb;
    --sk-blue-2: #0b4fb3;
    --sk-ink: #111827;
    --sk-muted: #5f6b7a;
    --sk-line: #d9e1ec;
    --sk-panel: #ffffff;
    --sk-soft: #f5f8fc;
    --sk-good: #0f8a53;
    --sk-warn: #a15c00;
    --sk-shadow: 0 16px 40px rgba(25, 48, 80, 0.12);
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #eef3f8;
    color: var(--sk-ink);
  }
  a { color: var(--sk-blue); }
  .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .brand-band {
    background: linear-gradient(145deg, #07111f 0%, #102946 56%, #164d8d 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }
  .brand-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px 30px;
  }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
  }
  .brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
  }
  .brand-logo {
    width: 154px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.24));
  }
  .brand-divider {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,0.26);
  }
  .brand-title {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d8e8ff;
    white-space: nowrap;
  }
  .home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 6px;
    color: #eef7ff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 650;
    background: rgba(255,255,255,0.08);
  }
  .home-link:hover { background: rgba(255,255,255,0.14); }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 28px;
    align-items: end;
  }
  .hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 0.96;
    letter-spacing: 0;
    font-weight: 800;
  }
  .hero p {
    margin: 0;
    max-width: 720px;
    color: #c9ddf7;
    font-size: 1rem;
    line-height: 1.55;
  }
  .release-panel {
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(6,16,29,0.44);
    border-radius: 8px;
    padding: 14px;
  }
  .release-kicker {
    color: #8fc3ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 800;
  }
  .release-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
  }
  .release-stat {
    border-top: 1px solid rgba(255,255,255,0.16);
    padding-top: 9px;
  }
  .release-stat strong {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1rem;
    color: #fff;
  }
  .release-stat a {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(143,195,255,0.52);
    text-underline-offset: 3px;
  }
  .release-stat a:hover { text-decoration-color: #fff; }
  .release-stat span {
    display: block;
    margin-top: 2px;
    color: #b7cae0;
    font-size: 0.74rem;
  }
  main {
    width: min(1180px, calc(100% - 32px));
    margin: -18px auto 0;
    flex: 1;
  }
  .notice-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--sk-line);
    border-radius: 8px;
    background: var(--sk-line);
    box-shadow: var(--sk-shadow);
    margin-bottom: 22px;
  }
  .notice-item {
    background: var(--sk-panel);
    padding: 13px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .notice-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #e8f1ff;
    color: var(--sk-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }
  .notice-item strong { display: block; font-size: 0.84rem; }
  .notice-item span { display: block; margin-top: 2px; color: var(--sk-muted); font-size: 0.76rem; line-height: 1.35; }
  .catalog-section {
    border: 1px solid var(--sk-line);
    border-radius: 8px;
    background: var(--sk-panel);
    box-shadow: 0 8px 28px rgba(25,48,80,0.08);
    margin-bottom: 18px;
    overflow: hidden;
  }
  .section-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid var(--sk-line);
  }
  .section-head h2 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0;
  }
  .section-head span {
    color: var(--sk-muted);
    font-size: 0.78rem;
  }
  .artifact-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 116px 134px 92px 116px;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border-top: 1px solid #edf1f6;
  }
  .artifact-row:first-of-type { border-top: none; }
  .artifact-row:hover { background: #f9fbfe; }
  .artifact-main { min-width: 0; }
  .artifact-label {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-weight: 750;
    font-size: 0.94rem;
  }
  .platform {
    color: var(--sk-muted);
    font-size: 0.78rem;
    margin-top: 4px;
  }
  .notes {
    color: var(--sk-muted);
    font-size: 0.76rem;
    line-height: 1.42;
    margin-top: 7px;
  }
  .pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef4fb;
    color: #334155;
    font-size: 0.72rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: nowrap;
  }
  .pill.good { background: #e6f8ef; color: var(--sk-good); font-family: inherit; font-weight: 750; }
  .pill.warn { background: #fff2d8; color: var(--sk-warn); font-family: inherit; font-weight: 750; }
  .ver {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    color: var(--sk-blue-2);
    white-space: nowrap;
  }
  a.ver {
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(31,111,235,0.34);
    text-underline-offset: 3px;
  }
  a.ver:hover { text-decoration-color: currentColor; }
  .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 13px;
    background: var(--sk-blue);
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 750;
    white-space: nowrap;
  }
  .download-btn:hover { background: var(--sk-blue-2); }
  .download-btn[aria-disabled="true"] { background: #7b8794; cursor: not-allowed; }
  .hash-cell, .size-cell, .version-cell { min-width: 0; }
  .mobile-label { display: none; }
  footer {
    width: min(1180px, calc(100% - 32px));
    margin: 10px auto 0;
    padding: 22px 0 28px;
    color: var(--sk-muted);
    font-size: 0.8rem;
    text-align: center;
  }
  footer code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
  @media (max-width: 860px) {
    .brand-inner { padding: 18px 18px 26px; }
    .topbar { align-items: flex-start; }
    .brand-lockup { flex-wrap: wrap; }
    .brand-divider { display: none; }
    .hero { grid-template-columns: 1fr; align-items: start; }
    .release-panel { max-width: 420px; }
    .notice-strip { grid-template-columns: 1fr; }
    .artifact-row {
      grid-template-columns: 1fr;
      gap: 10px;
      padding: 15px;
    }
    .size-cell, .hash-cell, .version-cell {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .mobile-label { display: inline; color: var(--sk-muted); font-size: 0.75rem; }
    .download-btn { width: 100%; }
  }
  @media (prefers-color-scheme: dark) {
    :root {
      color-scheme: dark;
      --sk-ink: #e8edf5;
      --sk-muted: #9da8b7;
      --sk-line: #273244;
      --sk-panel: #101722;
      --sk-soft: #0d1420;
      --sk-shadow: 0 16px 40px rgba(0,0,0,0.32);
    }
    body { background: #0b111b; }
    .notice-icon { background: #122a46; }
    .section-head { background: linear-gradient(180deg, #111b28 0%, #0e1622 100%); }
    .artifact-row { border-color: #1d2838; }
    .artifact-row:hover { background: #121d2b; }
    .pill { background: #172438; color: #d6deea; }
    .pill.good { background: #0c2d20; color: #6ee7a8; }
    .pill.warn { background: #38260b; color: #f7bf5a; }
    .ver { color: #89bdff; }
  }
