/* Bloomwright UI kit — "Inscribed Slate", from spec/general_webpage_style.html.
   Flat dark chrome with a single ember accent. Cinzel small-caps carries every
   label, button and tab; EB Garamond carries rules and body text; Figtree
   handles numerals and dense data. Corners are 3px — present but not soft.
   Nothing is beveled, gradiented or embossed.

   Only the parts these two pages use are here; the kit has more. */

:root {
  --ground: #141210;
  --panel: #1d1b18;
  --divider: #33302b;
  --ember: #c9663a;
  --ember-lit: #d98a72;
  --text-high: #f3e9d6;
  --text-body: #c3b9aa;
  --text-quiet: #8a8175;
  --text-faint: #6f675c;
  --on-ember: #15100c;
  --link: #e0955f;
  --link-hover: #e07f4f;

  --title: 'Cinzel', Georgia, serif;
  --body: 'EB Garamond', Georgia, serif;
  --data: 'Figtree', system-ui, sans-serif;

  --radius: 3px;
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text-body);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, h3 {
  margin: 0 0 14px;
  font-family: var(--title);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-high);
}
h1 { font-size: 42px; }
h2 { font-size: 26px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 14px; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
em { font-style: italic; }

/* The line above a title, and the small line under the button. */
.kicker {
  font-family: var(--title); font-weight: 600; font-size: 11px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ember);
}
.caption { font-family: var(--data); font-size: 11px; color: var(--text-faint); }

.wrap { max-width: 620px; margin: 0 auto; padding: 40px 26px 60px; }

/* — buttons: one ember primary per screen — */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font-family: var(--title); letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
}
.btn-primary {
  font-weight: 700; font-size: 13px; padding: 12px 24px;
  background: var(--ember); color: var(--on-ember);
}
.btn-primary:hover { background: var(--ember-lit); color: var(--on-ember); }
/* — the call to action —
   Set apart and centred. Everything above it is a title and two paragraphs,
   and this is the one thing there is to do on the page. */
.cta { margin-top: 60px; text-align: center; }
.cta .caption { margin: 12px 0 0; }
/* The second thing there is to do, under the first. Set in the body face and
   the body size, so it reads as a sentence offering something rather than as a
   button that lost its box. */
.aside { margin: 28px 0 0; font-size: 15px; }

/* — a page that is one program —
   The board and the deckbuilder both draw their own dark window, so the page
   gets out of the way entirely: the frame is the window. Named for that shape
   rather than for the board, because there are two of them now and neither is
   more the page than the other. */
.full { height: 100vh; overflow: hidden; }
.stage { position: relative; height: 100%; background: #0b0a09; }
.stage-frame { display: block; width: 100%; height: 100%; border: 0; }
.stage-status {
  position: absolute; inset: 0; display: grid; place-content: center;
  gap: 10px; padding: 40px; text-align: center; max-width: 60ch; margin: 0 auto;
}
.stage-status code {
  /* The commands are written one per line and have to stay that way; `pre-wrap`
     rather than `pre` so a long one folds instead of running off the page. */
  display: block; white-space: pre-wrap; font-family: ui-monospace, monospace; font-size: 13px;
  line-height: 1.9; color: var(--text-body);
  background: var(--panel); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 12px 16px; text-align: left;
}
