:root {
  color-scheme: dark;
  --ink: #f4f6f1;
  --muted: #929c99;
  --panel: rgba(22, 29, 30, .86);
  --line: #303b3b;
  --lime: #bafc45;
  --orange: #ff8b4d;
  --red: #ff6b68;
  --bg: #0a0e0f;
}
html { scroll-behavior: smooth; }
.demo-banner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 9px; border-bottom: 1px solid #734a2f; background: #2b1d14; color: #ffd7bc; font: 700 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 8px 16px; }
.demo-dot, .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 13px var(--orange); }
.live-dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); flex: 0 0 auto; }
.status-pill.demo { margin-left: auto; color: #ffd0ae; border: 1px solid #6c4b31; background: #2b2018; }
.status-pill.archived { color: #b6c4c0; border: 1px solid #44514e; background: #1b2422; align-self: flex-start; }
.glow-panel { position: relative; }
.glow-panel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, #bafc4530, transparent 38%, #ff8b4d1c); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; padding: 1px; }
.device-line { display: flex; align-items: center; gap: 9px; }
.device-line strong { margin: 0; }
.device-result code { color: #aebbb6; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.safety-note { margin: 14px 0 0; color: #75817d; font-size: 11px; text-align: center; }
.hero-proof { display: flex; gap: 34px; margin-top: 30px; }
.hero-proof div { display: grid; }
.hero-proof strong { color: var(--ink); font-size: 24px; line-height: 1; letter-spacing: -.04em; }
.hero-proof span { margin-top: 5px; color: var(--muted); font: 700 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .12em; }
.project-kicker { color: #65716d; font: 700 10px ui-monospace, monospace; letter-spacing: .15em; margin-bottom: 6px; }
.secondary-project { margin-top: 14px; }
.project-head.compact { align-items: start; }
.release.featured { border-color: #62503b; box-shadow: inset 0 0 40px #ff8b4d0a; }
.empty-release { display: grid; place-content: center; text-align: center; border-style: dashed; cursor: default; }
.empty-release .plus { margin: auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #1d2825; color: var(--lime); font-size: 24px; }
.empty-release h5 { margin-bottom: 2px; }
footer { max-width: 1104px; margin: 0 auto; padding: 30px 0 45px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 13px; color: var(--muted); }
footer .small { width: 34px; height: 34px; border-radius: 9px; font-size: 11px; }
footer p { margin: 0; }
footer > span { margin-left: auto; font: 700 10px ui-monospace, monospace; letter-spacing: .11em; }
@media (max-width: 1160px) { footer { margin-left: 28px; margin-right: 28px; } }
@media (max-width: 560px) { .demo-banner { font-size: 9px; } .hero-proof { gap: 22px; } footer { margin-left: 16px; margin-right: 16px; } footer > span { display: none; } }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background:
    radial-gradient(circle at 75% -10%, #253f32 0, transparent 31rem),
    radial-gradient(circle at -10% 35%, #182e35 0, transparent 28rem), var(--bg);
  font: 15px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 32px 32px; }
header { max-width: 1160px; margin: auto; padding: 34px 28px 18px; display: flex; align-items: center; gap: 14px; }
header h1 { margin: -3px 0 0; font-size: 20px; letter-spacing: -.02em; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #50615c; border-radius: 14px; font-weight: 900; letter-spacing: -.08em; background: #19211f; color: var(--lime); }
header .status-pill { margin-left: auto; }
main { max-width: 1160px; margin: auto; padding: 20px 28px 80px; display: grid; gap: 58px; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 42px; align-items: center; min-height: 430px; }
.eyebrow { margin: 0 0 8px; color: var(--lime); font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; }
h2 { margin: 0; font-size: clamp(52px, 7vw, 84px); line-height: .94; letter-spacing: -.065em; }
h2 span { color: var(--lime); }
.lede { max-width: 610px; margin: 28px 0 0; color: #b8c0bd; font-size: 18px; }
.panel { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: 0 26px 70px #0006; backdrop-filter: blur(18px); }
.device-card { padding: 24px; }
.section-title, .heading-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.section-title { margin-bottom: 20px; font-weight: 750; font-size: 17px; }
label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
select, input { width: 100%; height: 48px; border: 1px solid #3a4745; border-radius: 11px; background: #101615; color: var(--ink); padding: 0 13px; font: inherit; outline: none; }
select:focus, input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px #bafc4520; }
.device-result { margin: 16px 0; min-height: 80px; border: 1px dashed #394441; border-radius: 12px; padding: 13px; }
.device-result strong { display: block; color: var(--ink); font-size: 17px; }
.muted, .hint { color: var(--muted); }
.button-row { display: flex; gap: 10px; }
button { min-height: 42px; border: 0; border-radius: 10px; padding: 0 16px; color: #111; font: 750 14px/1 inherit; cursor: pointer; transition: transform .15s ease, filter .15s ease, opacity .15s ease; }
button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
button:disabled { cursor: not-allowed; opacity: .45; }
.primary { background: var(--lime); flex: 1; }
.secondary { background: #dce3df; flex: 1; }
.text-button { min-height: auto; padding: 5px; color: var(--lime); background: transparent; }
h3 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.heading-row { margin-bottom: 18px; align-items: end; }
.heading-row .hint { max-width: 420px; text-align: right; }
.project { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #111718cc; }
.project-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.project-head h4 { margin: 0; font-size: 22px; }
.project-head p { margin: 5px 0 0; color: var(--muted); }
.build-box { min-width: 390px; display: grid; grid-template-columns: 1fr 100px auto; gap: 8px; }
.build-box select, .build-box input { height: 42px; }
.build-box button { background: #293431; color: var(--lime); border: 1px solid #40504c; }
.release-grid, .backup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.release, .backup { position: relative; min-height: 184px; padding: 18px; border: 1px solid #2d3837; border-radius: 15px; background: #0c1213; overflow: hidden; }
.release::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; right: -48px; top: -55px; background: var(--accent, var(--lime)); opacity: .09; }
.release h5, .backup h5 { margin: 7px 0 4px; font-size: 17px; }
.release p, .backup p { margin: 0; color: var(--muted); font-size: 13px; }
.tag { display: inline-block; color: var(--accent, var(--lime)); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.version { float: right; color: #cdd4d1; font: 700 12px/1 ui-monospace, monospace; }
.release button, .backup button { position: absolute; left: 18px; right: 18px; bottom: 16px; width: calc(100% - 36px); background: #202a28; color: var(--ink); border: 1px solid #35423f; }
.release[data-kind="diagnostic"] { --accent: var(--orange); }
.release[data-kind="firmware"] { --accent: var(--lime); }
.danger-text { color: var(--red); }
.backup button { color: #ffc2c0; border-color: #58312f; background: #271817; }
.status-pill { border-radius: 999px; padding: 7px 11px; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .1em; }
.status-pill.good { color: var(--lime); border: 1px solid #526c31; background: #1e2914; }
.status-pill.working { color: #ffd0ae; border: 1px solid #6c4b31; background: #2b2018; }
.status-pill.failed { color: #ffc2c0; border: 1px solid #70403e; background: #2b1817; }
.activity { padding: 20px; position: sticky; bottom: 18px; z-index: 10; }
.activity pre { margin: 0; padding: 14px; max-height: 310px; overflow: auto; border-radius: 10px; color: #c4d5cd; background: #060909; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.hidden { display: none; }
#toast { position: fixed; right: 22px; top: 22px; z-index: 50; max-width: 430px; padding: 14px 17px; border-radius: 11px; background: var(--lime); color: #111; font-weight: 750; transform: translateY(-100px); opacity: 0; transition: .25s ease; }
#toast.show { transform: translateY(0); opacity: 1; }
#toast.error { background: var(--red); }
@media (max-width: 850px) { .hero { grid-template-columns: 1fr; } .release-grid, .backup-grid { grid-template-columns: 1fr 1fr; } .project-head { display: block; } .build-box { min-width: 0; margin-top: 18px; } }
@media (max-width: 560px) { header, main { padding-left: 16px; padding-right: 16px; } .hero { min-height: auto; } h2 { font-size: 49px; } .release-grid, .backup-grid { grid-template-columns: 1fr; } .heading-row { display: block; } .heading-row .hint { text-align: left; } .build-box { grid-template-columns: 1fr; } .button-row { flex-direction: column; } }
