/* Forsaken's own look, carried over from the app (ui/theme.py): one green from his mark on black-green, bright
   white type, hard edges. Bahnschrift for the display words (it ships with Windows, where Forsaken runs), Segoe UI
   for text. No outside fonts, no scripts: the page asks nobody else for anything. */
:root {
  --g0: #050909;
  --g2: #0f1917;
  --g4: #28392f;
  --green: #4fdb78;
  --green-hi: #7df5a2;
  --green-deep: #1e6b3b;
  --ink: #03130a;
  --text: #ffffff;
  --sub: #c4d3cb;
  --muted: #8fa59a;
  --display: "Bahnschrift Condensed", Bahnschrift, "DIN Condensed", "Roboto Condensed", "Segoe UI", system-ui, sans-serif;
  --ui: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--g0); color-scheme: dark; -webkit-text-size-adjust: 100%; }

::selection { background: var(--green); color: var(--ink); }

body { margin: 0; font: 400 1.0625rem/1.55 var(--ui); color: var(--sub); }

.stage {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  padding: clamp(24px, 6vh, 72px) 20px clamp(28px, 6vh, 64px);
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(30, 107, 59, 0.55), rgba(5, 9, 9, 0) 72%),
    var(--g0);
}

main { width: min(100%, 36rem); text-align: center; }

h1 { margin: 0; line-height: 0; }

.mark { display: block; width: min(60%, 13rem); height: auto; margin: 0 auto; border-radius: 8px; }

.name {
  margin: 1.1rem 0 1.6rem;
  font: 700 clamp(2rem, 7vw, 2.9rem)/1 var(--display);
  letter-spacing: 0.06em;
  color: var(--text);
}

.get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-width: min(100%, 19rem);
  padding: 1.05em 2.2em 1em;
  font: 700 1.3rem/1 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--green-hi);
  border-radius: 8px;
  transition: transform 0.2s var(--out), background-color 0.2s var(--out);
}

.get svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.25s var(--out); }
.get:hover { background: var(--green-hi); transform: translateY(-2px); }
.get:hover svg { transform: translateY(2px); }
.get:active { background: var(--green); transform: translateY(1px); }
.get:focus-visible, .back:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

.file { margin: 1rem 0 0; font: 600 0.875rem/1.4 var(--ui); letter-spacing: 0.08em; color: var(--muted); text-wrap: balance; }

.rule { height: 1px; margin: clamp(1.75rem, 5vh, 2.5rem) auto; border: 0; background: var(--g4); }

.steps {
  display: inline-grid;
  gap: 1rem;
  max-width: 30rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: left;
}

.steps li { position: relative; min-height: 2rem; padding: 0.18rem 0 0 3rem; counter-increment: step; text-wrap: pretty; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  font: 700 1rem/1 var(--display);
  color: var(--muted);
  border: 1px solid var(--g4);
  border-radius: 6px;
}

.steps li:first-child::before { color: var(--ink); background: var(--green); border-color: var(--green); }
.steps b { font-weight: 600; color: var(--text); }

.keep { margin: clamp(1.5rem, 4vh, 2.25rem) 0 0; font-size: 0.9375rem; color: var(--muted); text-wrap: balance; }
.keep + .keep { margin-top: 0.75rem; }
.back { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.back:hover { color: var(--green-hi); }

@media (max-width: 30rem) {
  body { font-size: 1rem; }
  .get { width: 100%; }
  .steps li { padding-left: 2.75rem; }
}
