/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #3a3d41;
  --card: #45494e;
  --line: #55595f;
  --ink: #f1f2f3;
  --muted: #b9bdc2;
  --accent: #ff8a3d;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
b { font-weight: 600; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; background: rgba(0,0,0,.22); padding: .1em .4em; border-radius: 5px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Logo, top left */
.brand { position: absolute; top: 18px; left: 20px; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
.emblem { width: 40px; height: 40px; color: var(--ink); }

main { max-width: 640px; margin: 0 auto; padding: 96px 20px 32px; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px 20px 74px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 20px;
}
.steps p { margin: 0; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.btn {
  display: inline-block; text-decoration: none; padding: 9px 16px; border-radius: 8px;
  background: var(--accent); color: #1c1006; font-weight: 600; font-size: 15px;
}
.btn:hover { background: #ffa463; color: #1c1006; }
.btn-alt { background: transparent; color: var(--ink); border: 1px solid #7b8087; }
.btn-alt:hover { background: rgba(255,255,255,.08); color: var(--ink); }

footer { max-width: 640px; margin: 0 auto; padding: 0 20px 40px; font-size: 13px; color: var(--muted); text-align: center; }

/* 404 page */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.lost h1 { font-family: "Barlow Condensed", sans-serif; font-size: 96px; margin: 0; }

@media (max-width: 520px) {
  .brand { position: static; padding: 18px 20px 0; }
  main { padding-top: 24px; }
  .steps li { padding: 64px 18px 18px; }
  .steps li::before { left: 18px; top: 16px; }
}
