:root {
  --bg: #0b0c0e;
  --fg: #e8e6e1;
  --muted: #8a8780;
  --line: #24252a;
  --accent: #9fc3e8; /* lightning */
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { background: var(--bg); color: var(--fg); }

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(159,195,232,.07), transparent 70%),
    var(--bg);
}

main {
  width: 100%;
  max-width: 38rem;
  animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both;
}

.mark {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 3rem;
}

.glyph { width: 28px; height: 28px; fill: var(--fg); }

.meta, .steps span, footer {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

h1 {
  font-weight: 500;
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 1.75rem;
}

.lede {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  line-height: 1.45;
  margin-bottom: 2.5rem;
}

.lede em { font-style: italic; color: var(--accent); }

.body {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
  color: #c9c6bf;
  margin-bottom: 3rem;
}

.body p + p { margin-top: 1rem; }

.steps {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-bottom: 4rem;
}

.steps li {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.steps li.done { color: var(--fg); }
.steps li.done span { color: var(--accent); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

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

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
}
