:root {
  --bg: #241f30;
  --bg-panel: #322a42;
  --bg-panel-2: #3a3150;
  --honey: #e8b563;
  --moss: #8bb385;
  --rose: #dd94a3;
  --text: #f3ecf5;
  --muted: #b3a4c2;
  --hairline: rgba(243, 236, 245, 0.1);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(232, 181, 99, 0.06), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 179, 133, 0.05), transparent 45%);
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  text-align: center;
  position: relative;
}

.lantern {
  width: 46px;
  height: 46px;
  margin: 0 auto 28px;
  position: relative;
}

.lantern-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 181, 99, 0.35), transparent 70%);
  animation: flicker 3.2s ease-in-out infinite;
  filter: blur(2px);
}

.lantern-core {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 18px 4px rgba(232, 181, 99, 0.55);
}

@keyframes flicker {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  35% { opacity: 1; transform: scale(1.08); }
  50% { opacity: 0.65; transform: scale(0.96); }
  72% { opacity: 0.95; transform: scale(1.04); }
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 18px;
}

h1 {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--honey);
}

.hero-sub {
  max-width: 500px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Stats strip ---------- */

.stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.stat {
  flex: 1;
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid var(--hairline);
}

.stat:last-child { border-right: none; }

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 500;
  color: var(--honey);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---------- Download button ---------- */

.download-block {
  text-align: center;
  padding: 56px 0 8px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--honey);
  color: #2a2118;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(232, 181, 99, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(232, 181, 99, 0.5);
}

.download-btn--disabled {
  background: var(--bg-panel-2);
  color: var(--muted);
  cursor: default;
}

.download-btn--disabled:hover {
  transform: none;
  box-shadow: none;
}

.download-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ---------- Panels ---------- */

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 32px 34px;
  margin-top: 24px;
}

.panel h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--text);
}

.panel p {
  color: var(--muted);
  font-size: 15px;
}

.included-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.included-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--text);
}

.included-list li::before {
  content: "•";
  color: var(--moss);
  font-size: 18px;
  line-height: 1;
}

.included-list .note {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  margin-top: 18px;
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  gap: 16px;
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--bg);
  background: var(--rose);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
}

.step-body h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.step-body p {
  font-size: 14px;
}

code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-panel-2);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.9em;
  color: var(--honey);
}

a code { text-decoration: none; }

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 56px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--moss); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .stats { flex-wrap: wrap; }
  .stat { flex: 1 1 50%; border-bottom: 1px solid var(--hairline); }
  .panel { padding: 26px 22px; }
}
