:root {
  --bg: #000;
  --card: #1c1c1e;
  --raised: #2c2c2e;
  --text: #fff;
  --muted: #8e8e93;
  --line: #38383a;
  --ember: #ff6b35;
  --ember-hot: #ff2d1f;
  --ember-light: #ffb340;
  --good: #30d158;
  --weight: #64d2ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--ember-light); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
header.top .brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .14em; }
header.top .brand img { width: 32px; height: 32px; border-radius: 8px; }
header.top nav { display: flex; gap: 20px; font-size: 15px; }
header.top nav a { color: var(--muted); }
header.top nav a:hover { color: var(--text); }

.hero {
  position: relative;
  text-align: center;
  padding: 72px 0 56px;
}
.hero::before {
  content: ""; position: absolute; inset: -40px 0 auto; height: 520px; z-index: -1;
  background: radial-gradient(50% 60% at 50% 30%, rgba(255, 107, 53, .28), transparent 70%);
}
.hero img.icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 20px 60px rgba(255, 80, 30, .35); }
.hero h1 { font-size: clamp(38px, 7vw, 68px); line-height: 1.04; margin: 28px 0 14px; letter-spacing: -.02em; }
.hero h1 span { color: var(--ember-light); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 auto 30px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000; border-radius: 14px; padding: 12px 22px; font-weight: 600; font-size: 17px;
}
.badge:hover { color: #000; opacity: .9; }
.badge small { display: block; font-size: 11px; font-weight: 500; opacity: .7; line-height: 1; }
.note { color: var(--muted); font-size: 13px; margin-top: 12px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 24px 0 64px; }
.card { background: var(--card); border-radius: 22px; padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; }

h2.section { font-size: 32px; letter-spacing: -.01em; margin: 0 0 6px; }
p.section { color: var(--muted); margin: 0 0 8px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 20px 0 64px; }
.step { background: var(--card); border-radius: 16px; padding: 14px; text-align: center; }
.step b { display: block; font-size: 22px; }
.step span { color: var(--muted); font-size: 13px; }
.step.free b { color: var(--good); }
@media (max-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }

.cells { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; max-width: 520px; margin: 18px 0; }
.cells i { aspect-ratio: 1; border-radius: 5px; background: var(--raised); }
.cells i.on { background: var(--good); }
.cells i.miss { background: #4a1c17; }

article.doc { max-width: 720px; margin: 24px auto 80px; }
article.doc h1 { font-size: 40px; margin: 24px 0 4px; letter-spacing: -.01em; }
article.doc h2 { font-size: 22px; margin: 36px 0 8px; }
article.doc p, article.doc li { color: #d1d1d6; }
article.doc .date { color: var(--muted); }
article.doc ul { padding-left: 22px; }
article.doc .box { background: var(--card); border-radius: 18px; padding: 16px 20px; margin: 18px 0; }

details { background: var(--card); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: #d1d1d6; margin: 10px 0 0; }

footer.bottom { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer.bottom nav { display: flex; gap: 18px; }
footer.bottom a { color: var(--muted); }
