/* The site's plain pages: how to play, health warning, privacy, stats, and "not found".
   They load style.css first (colours, type, buttons, key caps, footer) and add only their own
   layout here: the key art as a band across the top with the page's title standing on it, then
   the text in rows, each with its heading in the trailer's title face. No script runs on them. */

.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--gutter);
}
.top__logo img { height: 1.5rem; width: auto; }

.doc__head {
  display: grid;
  align-content: end;
  gap: clamp(1rem, 2vw, 1.75rem);
  min-height: clamp(20rem, 58vh, 40rem);
  padding: 7rem var(--gutter) clamp(2rem, 4vw, 3.5rem);
  /* The knight stands right of the art's middle: a narrow screen keeps her in view. */
  background:
    linear-gradient(to bottom, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.2) 35%, var(--black)),
    url("/assets/hero.webp") 72% 30% / cover var(--black);
}
.doc__head .title { font-size: clamp(3.25rem, 10vw, 10rem); }
.doc__head .lead { max-width: 30em; }

/* A row: its heading on the left, its text on the right; one under the other on a narrow screen. */
.doc__row {
  display: grid;
  gap: 1rem 3rem;
  padding: clamp(1.75rem, 3.5vw, 3rem) var(--gutter);
  border-top: 1px solid rgb(247 247 247 / 0.16);
}
.doc__row > h2 {
  margin: 0;
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(1.875rem, 3.4vw, 3.25rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.doc__text { display: grid; gap: 1.1em; max-width: 40rem; font-size: 1.0625rem; line-height: 1.6; color: rgb(247 247 247 / 0.88); }
.doc__text :is(ul, ol, dl) { margin: 0; }
.doc__text ul { display: grid; gap: 0.5em; padding-left: 1.2em; }
.doc__text a { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.doc__text a:hover { text-decoration-thickness: 2px; }
.doc__text strong { font-weight: 700; color: var(--steel); }
.doc__note { font-size: 0.875rem; line-height: 1.5; color: var(--haze); }
@media (min-width: 900px) {
  .doc__row { grid-template-columns: clamp(14rem, 28vw, 26rem) minmax(0, 40rem); }
}

/* What happens in order (a turn): each step under its number. */
.steps { display: grid; gap: 1.1em; padding: 0; list-style: none; counter-reset: step; }
.steps > li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); counter-increment: step; }
.steps > li::before { content: counter(step); font-stretch: 62%; font-weight: 900; font-size: 1.875rem; line-height: 0.95; color: var(--haze); }

/* A list of names and what each one is: keys, stances, kinds of card. */
.terms { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.85em 1.5rem; align-items: baseline; }
.terms dt { font-weight: 700; color: var(--steel); white-space: nowrap; }
.terms dd { margin: 0; }
.terms kbd { font-size: 0.9375rem; }
@media (max-width: 480px) {
  .terms { grid-template-columns: minmax(0, 1fr); gap: 0.25em; }
  .terms dd { margin-bottom: 0.8em; }
}

/* The footer of a plain page begins with a rule, where the first page's begins with its links. */
.foot--page { padding-top: clamp(1.75rem, 3.5vw, 3rem); border-top: 1px solid rgb(247 247 247 / 0.16); }
