:root {
  color-scheme: dark;
  --bg: #0b0e0e;
  --panel: #131817;
  --panel-soft: #171d1b;
  --line: #2b3531;
  --muted: #8a9690;
  --text: #edf3ee;
  --accent: #8ee8b3;
  --accent-dark: #183d2b;
  --warning: #f0c47b;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-width: 320px; color: var(--text); background: radial-gradient(circle at 80% 0, #183327 0, transparent 34rem), var(--bg); }
a { color: inherit; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(139, 174, 153, .18); }
.wordmark { color: var(--text); font-size: 18px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.topbar-note, .eyebrow, .meta-label { color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.page { padding: 72px 0 110px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: 52px; align-items: end; padding-bottom: 54px; }
.hero h1 { max-width: 750px; margin: 12px 0 18px; font-size: clamp(42px, 7vw, 82px); line-height: .95; letter-spacing: -.07em; text-wrap: balance; }
.hero-copy { max-width: 590px; margin: 0; color: #a9b5ae; font-size: 17px; line-height: 1.55; }
.hero-aside { padding: 20px; border-left: 1px solid var(--accent); background: linear-gradient(135deg, rgba(29, 70, 49, .48), transparent); }
.hero-aside strong { display: block; margin-top: 8px; font-size: 25px; letter-spacing: -.04em; }
.hero-aside p { margin: 7px 0 0; color: var(--muted); line-height: 1.5; }
.release-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.release-id { color: var(--muted); font: 12px/1.4 "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.copy-button, .download { border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: var(--panel-soft); padding: 10px 14px; font: inherit; cursor: pointer; transition: .2s ease; }
.copy-button:hover, .download:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.section-head { display: flex; justify-content: space-between; align-items: end; margin: 56px 0 18px; }
.section-head h2 { margin: 7px 0 0; font-size: 28px; letter-spacing: -.05em; }
.filter-bar { display: flex; gap: 7px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; color: var(--muted); background: transparent; cursor: pointer; }
.filter.active, .filter:hover { border-color: var(--accent); color: var(--bg); background: var(--accent); }
.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.firmware-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: rgba(19, 24, 23, .88); transition: border-color .2s ease, transform .2s ease; }
.firmware-card:hover { border-color: #587666; transform: translateY(-2px); }
.card-top, .card-footer { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.model { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.status { color: var(--accent); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.specs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 25px; }
.spec { padding: 5px 8px; border: 1px solid #34443a; border-radius: 4px; color: #b6c8bb; font: 11px "Cascadia Mono", Consolas, monospace; }
.hash { min-width: 0; color: var(--muted); font: 10px/1.55 "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.download { color: var(--bg); border-color: var(--accent); background: var(--accent); font-weight: 700; white-space: nowrap; }
.empty, .error { padding: 48px 0; color: var(--muted); }
.loading { display: grid; place-items: center; min-height: 340px; color: var(--muted); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(142, 232, 179, .45); animation: pulse 1.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(139, 174, 153, .18); color: #68756e; font-size: 11px; }
@media (max-width: 760px) { .shell { width: min(100% - 30px, 560px); } .topbar-note { display: none; } .page { padding-top: 48px; } .hero { grid-template-columns: 1fr; gap: 28px; } .hero-aside { max-width: 360px; } .release-bar, .section-head, .footer { align-items: flex-start; flex-direction: column; } .release-grid { grid-template-columns: 1fr; } }
