/* The reading pages: guide, privacy, terms. Same street, quieter. */
:root {
  --green: #16a34a;
  --green-deep: #0b1a12;
  --panel: #12261a;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #facc15;
  --text: #e7ece9;
  --muted: #a7b4ad;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--green-deep);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}
a { color: #86efac; text-underline-offset: 3px; }
a:hover { color: #bbf7d0; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: rgba(11, 26, 18, 0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { font: 900 20px var(--mono); color: var(--gold); text-decoration: none; letter-spacing: 1px; text-shadow: 0 2px 0 #000; }
.brand:hover { color: var(--gold); }
.play {
  font: 800 15px var(--mono); color: #fff; text-decoration: none; white-space: nowrap;
  background: var(--green); border: 2px solid #fff; border-radius: 6px; padding: 7px 14px;
}
.play:hover { color: #fff; filter: brightness(1.1); }

main { max-width: 760px; margin: 0 auto; padding: 28px 16px 48px; }
h1 { font: 900 clamp(30px, 7vw, 46px)/1.1 var(--mono); color: var(--gold); margin: 8px 0 12px; text-shadow: 0 3px 0 #000; }
h2 { font: 800 24px/1.25 var(--mono); color: var(--gold); margin: 44px 0 10px; }
h3 { font: 800 18px/1.3 var(--mono); color: #fff; margin: 26px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.lede { font-size: 19px; color: #fff; }
.muted, .updated { color: var(--muted); font-size: 15px; }

/* the goal, in one box */
.goal {
  background: var(--panel); border: 2px solid var(--gold); border-radius: 10px;
  padding: 16px 18px; margin: 20px 0 8px; font-size: 18px; color: #fff;
}
.goal b { color: var(--gold); }

/* numbered steps, each with a picture of that moment */
.step { margin: 34px 0 0; }
.step h2 { display: flex; align-items: center; gap: 12px; margin-top: 0; }
.num {
  flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--green-deep); font: 900 19px var(--mono);
}
figure { margin: 12px 0 14px; }
figure img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* controls */
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 12px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.card h3 { margin-top: 0; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.card li > span:first-child { flex: none; min-width: 112px; }
kbd {
  display: inline-block; min-width: 26px; padding: 1px 7px; margin-right: 2px; text-align: center;
  font: 700 14px var(--mono); color: #fff; background: #1f2937; border: 1px solid #4b5563;
  border-bottom-width: 3px; border-radius: 5px;
}

/* bars and fighters */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 12px 0; }
.grid .card p { margin: 0; font-size: 15px; }
.grid .card b { font-family: var(--mono); color: #fff; }
.tag { display: block; color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.swatch { display: inline-block; width: 26px; height: 8px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { font: 800 13px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
td:first-child { font-family: var(--mono); color: #fff; white-space: nowrap; }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: #fff; }
details p { margin: 10px 0 0; }

.cta { text-align: center; margin: 44px 0 0; }
.cta .play { font-size: 20px; padding: 13px 26px; border-width: 3px; }

/* privacy: your code and the clear button */
.device { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
.code { font: 700 15px var(--mono); color: #fff; word-break: break-all; }
.btn {
  font: 800 14px var(--mono); color: #fff; cursor: pointer;
  background: rgba(0, 0, 0, 0.35); border: 2px solid #fff; border-radius: 6px; padding: 7px 12px; margin: 8px 8px 0 0;
}
.btn.warn { border-color: #fca5a5; color: #fecaca; }

footer { border-top: 1px solid var(--line); padding: 20px 16px 32px; text-align: center; color: var(--muted); font-size: 14px; }
footer nav { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .controls, .grid { grid-template-columns: 1fr; }
  .card li > span:first-child { min-width: 96px; }
  table { font-size: 14px; }
  td:first-child { white-space: normal; }
}
.controls .note { margin: 10px 0 0; font-size: 0.88em; opacity: 0.8; }
