:root {
  color-scheme: dark;
  --bg: #11150f;
  --panel: #171d14;
  --text: #f1f3ed;
  --muted: #aeb7a7;
  --line: #33402d;
  --accent: #9cff3b;
  --accent2: #7ed52d;
  --danger: #ff8c73;
  --warn: #ffd46a;
  --shadow: 0 20px 60px rgba(0,0,0,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 12%, rgba(156,255,59,.055), transparent 28rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

a { color: inherit; }
button, select { font: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(156,255,59,.12);
  background: rgba(17,21,15,.92);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-inner > span:first-child {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .03em;
}

.brand strong,
.footer-inner strong { color: var(--accent); }

.home-link {
  color: var(--muted);
  text-decoration: none;
}
.home-link:hover { color: var(--text); }

.hero {
  padding: 92px 0 52px;
  max-width: 900px;
}

.eyebrow,
.label {
  margin: 0 0 12px;
  color: #a9c594;
  font-weight: 800;
  letter-spacing: .19em;
  font-size: .76rem;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 700;
}

.lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.browser-notice {
  margin-top: 28px;
  max-width: 760px;
  padding: 16px 18px;
  border: 1px solid rgba(156,255,59,.24);
  border-radius: 14px;
  background: rgba(156,255,59,.06);
  color: var(--muted);
}

.browser-notice strong {
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(25,32,21,.98), rgba(20,25,18,.98));
  padding: 30px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -.03em;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(156,255,59,.35);
  background: rgba(156,255,59,.09);
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.field-label {
  display: block;
  margin: 28px 0 8px;
  color: var(--muted);
  font-size: .86rem;
}

.select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #3b4934;
  border-radius: 12px;
  padding: 0 14px;
  background: #10140e;
  color: var(--text);
  outline: none;
}

.release-meta {
  margin: 14px 0 22px;
  color: var(--muted);
  min-height: 1.5em;
}

.install-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #10140e;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 35px rgba(156,255,59,.14);
}

.install-btn:hover:not(:disabled) { background: var(--accent2); }
.install-btn:disabled {
  cursor: not-allowed;
  opacity: .48;
  box-shadow: none;
}

.progress-wrap {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 12px;
  align-items: center;
}

.progress-track {
  height: 10px;
  background: #0c100b;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width .12s linear;
}

.progress-text {
  color: var(--muted);
  font-size: .82rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.small-note {
  color: #99a692;
  font-size: .82rem;
  margin: 18px 0 0;
}

.steps {
  margin: 22px 0 0;
  padding-left: 1.35rem;
}

.steps li {
  color: var(--muted);
  padding: 0 0 22px 8px;
}

.steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.status-card {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.status-card p:not(.label) {
  color: var(--muted);
  margin-bottom: 0;
}

.status-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 7px rgba(255,212,106,.07), 0 0 28px rgba(255,212,106,.24);
}

.status-dot.ok {
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(156,255,59,.08), 0 0 28px rgba(156,255,59,.3);
}

.status-dot.error {
  background: var(--danger);
  box-shadow: 0 0 0 7px rgba(255,140,115,.08), 0 0 28px rgba(255,140,115,.28);
}

.help-card { margin: 22px 0 70px; }

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.help-grid > div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.help-grid p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #899482;
  font-size: .84rem;
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .hero { padding-top: 62px; }
  .grid, .help-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .header-inner { min-height: 64px; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0;
  }
}
