/* A clear launcher site, as if it had been found running in a bunker in 2009:
   centered hero over a ruined skyline, then alternating dark bands with torn edges. */
:root {
  color-scheme: dark;
  --night: #100e0b;
  --soot: #1b1813;
  --panel: #26211a;
  --line: #443b2e;
  --bone: #e9e2d2;
  --ash: #aaa294;
  --rust: #d2502c;
  --amber: #e0a033;
  --green: #93b86f;
  --head: "Russo One", Impact, "Arial Black", sans-serif;
  --body: "PT Sans", "Segoe UI", Arial, sans-serif;
  --mono: "PT Mono", Consolas, "Courier New", monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .75 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 18px/1.55 var(--body); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding-left: 28px; padding-right: 28px; }


/* top bar */
.top { position: absolute; left: 0; right: 0; z-index: 3; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 16px; padding-bottom: 16px; }
.mark { margin-right: auto; font: 400 22px/1 var(--head); text-decoration: none; letter-spacing: .02em; }
.top nav { display: flex; gap: 20px; font-size: 16px; }
.top nav a { text-decoration: none; color: #d6cebd; }
.top nav a:hover { color: #fff; text-decoration: underline; }
.langs { display: flex; border: 1px solid var(--line); background: rgba(0,0,0,.4); }
.langs a { color: var(--ash); padding: 6px 10px; font: 400 13px/1 var(--mono); text-decoration: none; }
.langs a[aria-current] { background: var(--bone); color: #15120d; }

/* beveled buttons, the way game sites had them */
.btn { display: inline-block; padding: 12px 24px 11px; border: 1px solid #000; border-radius: 3px; font: 700 18px/1.2 var(--body); text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.28), 0 2px 0 rgba(0,0,0,.5); }
.btn.main { background: linear-gradient(#ecb04a, #cf8a1f); color: #1c1305; }
.btn.main:hover { background: linear-gradient(#f4bd5f, #da9629); }
.btn.dark { background: linear-gradient(#3b3429, #29241c); color: var(--bone); }
.btn.dark:hover { background: linear-gradient(#484033, #322c22); }
.btn.small { padding: 7px 14px 6px; font-size: 15px; }

/* hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: 138px 0 250px;
  background: linear-gradient(#17120d 0%, #2c1b11 42%, #6d3218 74%, #a9571f 100%); }
.hero canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 300px; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
h1 { margin: 0; font: 400 clamp(46px, 8.2vw, 104px)/1.02 var(--head); text-shadow: 0 3px 0 rgba(0,0,0,.45); text-wrap: balance; }
h1 .game { color: var(--rust); filter: url(#worn); }
.join { margin: 20px auto 0; max-width: 40em; font-size: 20px; color: #e6dcc9; }
.join b { color: #fff; font-variant-numeric: tabular-nums; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* bands */
.band { position: relative; padding: 72px 0; background: var(--night) var(--grain); }
.band.alt { background: var(--soot) var(--grain); }
.band.alt::before, .band.alt::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: var(--soot);
  clip-path: polygon(0 100%,0 40%,4% 70%,9% 20%,15% 60%,22% 30%,27% 75%,33% 15%,40% 55%,46% 25%,53% 70%,59% 10%,66% 60%,72% 35%,79% 80%,85% 25%,91% 65%,96% 30%,100% 55%,100% 100%); }
.band.alt::before { top: -12px; }
.band.alt::after { bottom: -12px; transform: scaleY(-1) scaleX(-1); z-index: 1; }
.tag { margin: 0 0 8px; font: 400 15px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.band p.tag.r { color: var(--rust); } .band p.tag.g { color: var(--green); } .band p.tag.a { color: var(--amber); }
h2 { margin: 0 0 14px; font: 400 clamp(34px, 4.4vw, 50px)/1.08 var(--head); text-wrap: balance; }
h3 { margin: 0 0 6px; font: 700 18px/1.25 var(--body); }
.band p { margin: 0 0 14px; color: var(--ash); max-width: 34em; }
.more { font-weight: 700; }
.more.r { color: var(--rust); }

.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; text-align: center; }
.feats svg { width: 46px; height: 46px; margin-bottom: 10px; fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: square; }
.feats p { margin: 0 auto; font-size: 16px; line-height: 1.45; }

/* terminal */
.term { background: #070a06; border: 1px solid #000; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(0,0,0,.55);
  font-family: var(--mono); overflow: hidden;
  background-image: repeating-linear-gradient(rgba(147,184,111,.035) 0 1px, transparent 1px 3px); }
.termbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px 7px 14px; background: #1a1d17; color: var(--ash); font-size: 14px; }
.termbody { padding: 16px 14px; font-size: 15px; line-height: 1.6; color: #8d9a7f; overflow-x: auto; }
.termbody div { white-space: pre; }
.termbody code { font: inherit; color: #b6e08b; text-shadow: 0 0 7px rgba(150,220,100,.45); }
.copy { background: var(--bone); border: 0; border-radius: 2px; color: #15120d; padding: 4px 11px; font: 400 13px/1.3 var(--mono); cursor: pointer; }
.voice { display: grid; margin: 4px 0 0; font-weight: 700; font-size: 16px; }
.voice select { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); font-size: 17px; padding: 12px; }
.voice select.chosen { border-color: #000; box-shadow: inset 0 1px 3px rgba(0,0,0,.7); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.row.top-align { align-items: start; }
.build { margin: 0; gap: 26px; }
.build li { padding-left: 48px; }
.steps.build li::before { width: 34px; height: 34px; font-size: 18px; background: var(--amber); border-color: #000; color: #1c1305; }
.build h3 { font: 400 22px/1.5 var(--head); color: var(--bone); margin-bottom: 6px; }
.build .band p, .build p.small { margin: 0 0 8px; }
.term.locked .termbody code { color: #8d9a7f; text-shadow: none; }
.copy:disabled { background: #3a3429; color: #7d7466; cursor: not-allowed; }
.caution { margin: 20px 0; padding: 14px 16px; border-left: 4px solid var(--rust); background: rgba(210,80,44,.08); }
.caution h3 { color: var(--bone); }
.band .caution p { margin: 0; color: #cfc6b5; font-size: 16px; }
.band p.small { font-size: 16px; }

/* form */
.form { background: var(--panel) var(--grain); border: 1px solid #000; box-shadow: 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.05); border-radius: 4px; padding: 28px; }
form { display: grid; gap: 15px; }
label { display: grid; gap: 5px; font-weight: 700; font-size: 16px; }
input, select { width: 100%; padding: 10px 11px; background: #12100c; border: 1px solid #000; box-shadow: inset 0 1px 3px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.07); border-radius: 2px; color: var(--bone); font: 400 16px/1.3 var(--body); }
input:focus, select:focus { outline: 1px solid var(--amber); }
.band p.hint { margin: 0; font-size: 15px; }
.band p.err { margin: 0; color: #f09a7c; font-size: 15px; min-height: 1.2em; }
.done { border-left: 4px solid var(--green); padding: 4px 0 4px 16px; }
.done h3 { color: var(--green); font: 400 24px/1.2 var(--head); }
.band .done p { margin: 0; color: var(--bone); }
.steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; counter-reset: s; min-width: 0; }
.steps li { position: relative; padding-left: 44px; color: var(--ash); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--amber); font: 400 16px/1 var(--head); }

/* word wall */
.wall { text-align: center; }
.wall h2 { margin-bottom: 18px; }
.band p.words { margin: 0 auto; max-width: 1040px; font: 400 clamp(21px, 2.5vw, 30px)/1.45 var(--body); color: var(--bone); }
.words i { font-style: normal; color: #736a5c; }
.words span { white-space: nowrap; }
.words span:nth-of-type(3n+2) { color: #8a8172; }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 560px; margin: 44px auto 0; text-align: center; }
.nums b { display: block; font: 400 52px/1.1 var(--head); font-variant-numeric: tabular-nums; }
.nums span { color: var(--ash); font: 400 14px/1.3 var(--mono); }

/* questions */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 44px; margin-top: 10px; }
.band .qa p { margin: 0; }

footer { background: #000; padding: 44px 0 34px; font-size: 15px; color: var(--ash); }
.fcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fcols h3 { color: var(--bone); }
.fcols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.fine { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid #2a251d; }

@media (max-width: 900px) {
  .row, .qa { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .top nav { order: 3; width: 100%; }
  .hero { padding-top: 150px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .feats, .fcols, .nums { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 20px 16px; }
  .btn { width: 100%; text-align: center; }
  .btn.small { width: auto; }
  .band { padding: 54px 0; }
  .termbody div { white-space: pre-wrap; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* pages beyond the home page */
.sub { padding: 96px 0 72px; min-height: 62vh; background: var(--night) var(--grain); }
.sub .inner { width: min(560px, 100%); margin: 0 auto; }
.sub .text { width: min(760px, 100%); margin: 0 auto; }
.sub h1 { font-size: clamp(34px, 5vw, 50px); text-shadow: none; margin-bottom: 16px; }
.sub h2 { font-size: 26px; margin: 26px 0 6px; }
.sub p { color: var(--ash); margin: 0 0 14px; }
.sub .form { margin-top: 18px; }
.sub a.more { color: var(--amber); }
.err { margin: 0; color: #f09a7c; font-size: 15px; }
.trap { position: absolute; left: -9999px; }
.link-row { margin-top: 12px; font-size: 16px; }
.link-row a { color: var(--ash); }
.mt { margin-top: 14px; }
footer a { color: var(--ash); }
.top.solid { position: relative; background: #000; }
.defs { position: absolute; width: 0; height: 0; }
.shell { position: relative; }
.nums b.live { color: var(--green); }
