:root {
  --bg: #07070b;
  --bg-soft: #0d0d14;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f5fb;
  --muted: #9aa1b8;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --ok: #4ade80;
  --danger: #f87171;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f5fb;
    --bg-soft: #ffffff;
    --panel: rgba(255, 255, 255, 0.72);
    --panel-strong: #ffffff;
    --border: rgba(16, 18, 32, 0.09);
    --text: #12141f;
    --muted: #5d6478;
    --shadow: 0 24px 60px rgba(24, 26, 48, 0.12);
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.glow-a { background: var(--accent); top: -260px; left: -180px; }
.glow-b { background: var(--accent-2); bottom: -320px; right: -220px; opacity: 0.32; }

.shell {
  position: relative;
  z-index: 1;
  width: min(980px, 100% - 40px);
  margin: 0 auto;
  padding: 28px 0 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.45);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: -0.01em; }
.brand-text span { color: var(--muted); font-size: 13px; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: rise 0.5s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 26px;
  align-items: stretch;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(124, 92, 255, 0.18), transparent 55%),
    var(--panel);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
}

.version-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 8px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.muted { color: var(--muted); margin: 0; }
.hint { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  border: 0;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.36);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(124, 92, 255, 0.45); }
.button:active { transform: translateY(0); }
.button-icon { font-size: 17px; line-height: 1; }
.button[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.ghost:hover { color: var(--text); border-color: rgba(124, 92, 255, 0.55); background: var(--panel-strong); }
.ghost.small { padding: 7px 12px; font-size: 13px; }

.checksum {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--border);
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
}
.checksum code {
  font-family: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color: var(--text);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.notice {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.08);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.notice-dot {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #1b1b1b;
  background: #facc15;
}

.table-note { margin: 0 0 10px; }

.side-item { display: flex; flex-direction: column; gap: 2px; }
.side-item span { font-size: 12px; color: var(--muted); }
.side-item strong { font-size: 17px; letter-spacing: -0.01em; }

h2 {
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h2 { margin: 0 0 0; }

.notes { display: flex; flex-direction: column; gap: 8px; }
.notes ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.notes li { color: var(--text); }

.steps {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps li::marker { color: var(--accent-2); font-weight: 700; }
.steps b { font-weight: 600; }

.table-wrap { margin-top: 14px; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--panel-strong); }
td a { color: var(--accent-2); text-decoration: none; }
td a:hover { text-decoration: underline; }

.empty { padding: 10px 0; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  padding: 4px 8px;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .side-item { min-width: 100px; }
  .card { padding: 20px; border-radius: 20px; }
  .shell { width: min(980px, 100% - 24px); padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
