:root {
  --brand: #10b981;
  --brand-2: #34d399;
  --brand-glow: rgba(16, 185, 129, 0.38);
  --bg: #060608;
  --card: rgba(18, 18, 24, 0.72);
  --card-solid: #121218;
  --elevated: #1a1a22;
  --border: rgba(255, 255, 255, 0.07);
  --text: #f4f5f7;
  --muted: #8b92a0;
  --logo-bg: #ffffff;
  --logo-ring: #2a2a32;
  --radius: 20px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef0f4;
    --card: rgba(255, 255, 255, 0.9);
    --card-solid: #ffffff;
    --elevated: #f5f6f8;
    --border: rgba(0, 0, 0, 0.07);
    --text: #121318;
    --muted: #5c6370;
    --logo-ring: #e4e4e7;
    --brand: #10b981;
    --brand-2: #059669;
    --brand-glow: rgba(16, 185, 129, 0.22);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

.mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 420px at 50% -8%, var(--brand-glow), transparent 65%),
    radial-gradient(600px 400px at 100% 80%, rgba(16, 185, 129, 0.12), transparent);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.hero { text-align: center; margin-bottom: 24px; }

.logo-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 18px;
  border: 1px solid var(--logo-ring);
  background: var(--logo-bg);
  box-shadow: 0 8px 32px var(--brand-glow);
  overflow: hidden;
}

.logo-wrap img { width: 100%; height: 100%; display: block; }

.hero h1 {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.ver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--elevated);
  border: 1px solid var(--border);
  color: var(--muted);
}

.ver b { color: var(--brand-2); font-weight: 700; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.osbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px;
  background: var(--card-solid);
  border-bottom: 1px solid var(--border);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}

.osbar svg { width: 22px; height: 22px; color: var(--brand); }

.osbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18px;
  width: 72px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--brand);
}

.panels { padding: 22px 20px 24px; }

.panel-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }

.panel-desc { font-size: 0.8125rem; color: var(--muted); margin-bottom: 18px; }

.wait {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  margin-bottom: 16px;
}

.wait b { display: block; font-size: 0.875rem; margin-bottom: 3px; }

.wait p { font-size: 0.75rem; color: var(--muted); }

.steps { display: grid; gap: 10px; }

.step { display: flex; gap: 10px; font-size: 0.8125rem; }

.step-n {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--elevated);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-2);
}

.step b { display: block; font-weight: 600; margin-bottom: 1px; }

.step p { color: var(--muted); }

.step code {
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
}

.changelog {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
}

.changelog summary {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.changelog summary::-webkit-details-marker { display: none; }

.changelog summary::after { content: "+"; font-size: 1rem; font-weight: 400; }

.changelog[open] summary::after { content: "−"; }

.changelog ul {
  padding: 0 16px 14px;
  list-style: none;
  display: grid;
  gap: 6px;
}

.changelog li {
  font-size: 0.8125rem;
  padding-left: 14px;
  position: relative;
  color: var(--muted);
}

.changelog li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.links {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8125rem;
}

.links a { color: var(--brand-2); text-decoration: none; }

footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
