/* Backstamp /testing: the page's own stylesheet. It is not site.css on purpose: this page's
   class names (.note, .foot, .label, .lead, .chip and others) mean something else there.
   Fonts: the same five WOFF2 files as site.css, from assets/fonts, open licence (OFL). The site has
   no 600 file, so weight 600 is 700 here. Nothing is loaded from anywhere else. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-36pt-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-bold-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Layout: one flyer column on the website's felt. A masthead with the icon, a lead beside the room
   photograph, a strip of four screens, then what works today (filled dots) beside what is planned
   (open rings), and a gold band that says how to join. Colours and type are the website's own:
   the edge and shadow colours are the same Pin Wall tokens site.css uses, so a card's edge is
   drawn the same here as on every other page. */
:root {
  --background: #e9e4d8;
  --surface: #f7f3ea;
  --surface-raised: #fbf8f2;
  --border: #141a2a1a;
  --border-strong: #7a7466;
  --text-primary: #141a2a;
  --text-secondary: #4a5163;
  --text-tertiary: #555c70;
  --accent: #6e500f;
  --accent-fill: #e7b54a;
  --on-accent-fill: #1a1406;
  --shadow-soft: #141a2a1f;
  --felt: url("assets/felt/felt-noise-light.png");

  --display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", sans-serif;
  --ui: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step-label: 0.8125rem;
  --step-small: 0.9375rem;
  --step-body: 1.0625rem;
  --step-lede: 1.25rem;
  --step-h2: 1.75rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #141a2a;
    --surface: #1e2538;
    --surface-raised: #232b44;
    --border: #ffffff12;
    --border-strong: #6e7796;
    --text-primary: #f3eee3;
    --text-secondary: #aeb4c6;
    --text-tertiary: #8c93a8;
    --accent: #e7b54a;
    --shadow-soft: #0000004d;
    --felt: url("assets/felt/felt-noise-dark.png");
    color-scheme: dark;
  }
}
/* When the visitor asks for more contrast (Increase Contrast on an iPhone or a Mac, a high-contrast setting elsewhere),
   every edge drawn in --border is drawn in the stronger border colour instead, as on the other pages. */
@media (prefers-contrast: more) {
  :root {
    --border: var(--border-strong);
  }
}
/* On paper it is always the light one, without the felt, so it does not drink ink. */
@media print {
  :root {
    --background: #ffffff;
    --surface: #f7f3ea;
    --surface-raised: #fbf8f2;
    --border: #141a2a33;
    --text-primary: #141a2a;
    --text-secondary: #4a5163;
    --text-tertiary: #555c70;
    --accent: #6e500f;
    --shadow-soft: #00000000;
    --felt: none;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--background);
  background-image: var(--felt);
  background-size: 180px 180px;
  color: var(--text-primary);
  font-family: var(--ui);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.sheet {
  max-width: 61rem;
  margin: 0 auto;
  padding-inline: 1.25rem;
  padding-block: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
a { color: inherit; }
/* A link thickens under a mouse, as on every other page; only where a pointer hovers, so a tap on a phone leaves nothing stuck. */
@media (hover: hover) {
  a:hover { text-decoration-thickness: 2px; }
}
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Masthead */
.mast { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; }
/* The icon plain, as on the home page and /open: the picture has its own rounded, see-through corners. */
.mast img { width: 6rem; height: 6rem; flex: none; }
.mast .name { flex: 1 1 18rem; min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.mast h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.9rem, 9vw, 4.75rem); line-height: 0.95; letter-spacing: -0.025em; }
.mast .tagline { font-size: var(--step-lede); color: var(--text-secondary); max-width: 30ch; line-height: 1.35; }
.chip {
  align-self: flex-start;
  background: var(--accent-fill);
  color: var(--on-accent-fill);
  font-weight: 700;
  font-size: var(--step-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Section label */
.label {
  font-size: var(--step-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
h2 { font-family: var(--display); font-weight: 800; font-size: var(--step-h2); line-height: 1.1; letter-spacing: -0.015em; }
/* A label that is also its section's heading (h2.label, in the lead and over the screens) looks as the .label spans do: the
   size, weight, capitals and gold come from .label above; only the h2's own face and line height are put back. */
h2.label { font-family: var(--ui); line-height: inherit; }

/* Lead: words beside the room photograph */
.lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
.lead .words { display: flex; flex-direction: column; gap: 1.75rem; min-width: 0; }
.lead .block { display: flex; flex-direction: column; gap: 0.6rem; }
.lead p { max-width: 62ch; color: var(--text-secondary); }
.lead p.first { color: var(--text-primary); font-size: var(--step-lede); line-height: 1.4; }
.lead img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--border); box-shadow: 0 16px 36px var(--shadow-soft); display: block; }

.lead .side { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.lead .points { max-width: 62ch; }
.lead .points li { font-size: var(--step-body); line-height: 1.45; }
.lead .points li::before { background: var(--accent); }
.note { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: 0.6rem; }
.lead .note p { font-size: var(--step-small); line-height: 1.45; max-width: none; }
.lead .note p.creed { color: var(--text-primary); font-weight: 700; }

/* Screens */
.screens { display: flex; flex-direction: column; gap: 1rem; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; }
.strip figure { margin: 0; display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
/* A screen picture is drawn as on the manual pages (site.css, .prose .shots img): the sheet corner, 28, and its shadow. */
.strip img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--border); box-shadow: 0 10px 22px var(--shadow-soft); display: block; }
.strip figcaption { font-size: var(--step-small); color: var(--text-secondary); line-height: 1.4; }
.strip figcaption strong { display: block; color: var(--text-primary); font-weight: 700; }
.fine { font-size: var(--step-label); color: var(--text-tertiary); }

/* Today and planned */
.lists { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
.today, .planned { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.group { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; border-top: 1px solid var(--border); padding-top: 0.8rem; }
.group h3 { font-size: var(--step-body); font-weight: 700; }
ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
li { position: relative; padding-left: 1.15rem; font-size: var(--step-small); line-height: 1.42; color: var(--text-secondary); }
li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.today li::before { background: var(--accent); }
.planned li::before { border: 1.5px solid var(--accent); }
.planned {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem 1.4rem 1.5rem;
}
.planned li { color: var(--text-primary); }
.key { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: var(--step-label); color: var(--text-tertiary); }
.key span { position: relative; padding-left: 1.05rem; }
.key span::before { content: ""; position: absolute; left: 0; top: 0.38em; width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.key .live::before { background: var(--accent); }
.key .later::before { border: 1.5px solid var(--accent); }

/* For people already in the test: what to test now, how to get a test con, and what has changed. The same
   dots, card and type as the lists above; the things to try are numbered, in gold discs. */
.testing, .testcon, .changes { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.testing .intro { max-width: 62ch; font-size: var(--step-lede); line-height: 1.4; }
.testing .cols { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
.testing h3 { font-size: var(--step-body); font-weight: 700; }
.testing .new { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; border-top: 1px solid var(--border); padding-top: 0.8rem; }
.testing .new ul { gap: 0.7rem; }
.testing .new li { font-size: var(--step-body); line-height: 1.45; }
.testing li strong, .changes li strong { color: var(--text-primary); }
.testing li::before, .changes li::before { background: var(--accent); }
.try { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.try ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; counter-reset: step; }
.try li { counter-increment: step; padding-left: 2.1rem; font-size: var(--step-body); line-height: 1.45; color: var(--text-primary); }
.try li::before {
  content: counter(step);
  top: 0.1rem;
  width: 1.45rem;
  height: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-fill);
  color: var(--on-accent-fill);
  font-size: var(--step-label);
  font-weight: 700;
  line-height: 1;
}
.testing .tell { max-width: 62ch; font-weight: 700; }
.testcon .note { max-width: 46rem; }
.testcon .note p { max-width: 62ch; }
.changes .entries { display: flex; flex-direction: column; gap: 1.5rem; max-width: 46rem; }
.testing a, .testcon a, .changes a { text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

/* Join */
.join {
  background: var(--accent-fill);
  color: var(--on-accent-fill);
  border-radius: 24px;
  padding: 1.75rem 1.75rem 1.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.join h2 { color: var(--on-accent-fill); }
.join .how { display: flex; flex-direction: column; gap: 0.65rem; min-width: 0; }
.join p { max-width: 52ch; }
.join .reach { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.join .reach div { display: flex; flex-direction: column; }
.join .reach small { font-size: var(--step-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.join .reach b, .join .reach a { font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, 3.6vw, 1.6rem); letter-spacing: -0.01em; overflow-wrap: anywhere; user-select: all; text-decoration: none; }
.join a:focus-visible { outline-color: var(--on-accent-fill); }
/* The TestFlight link with its QR code (scan it from a computer, tap it on the phone), then the two quiet
   ways to reach the owner. The QR picture carries its own white quiet zone, so it scans on the gold. */
.join .reach { gap: 1.1rem; }
.join .reach .invite { flex-direction: row; align-items: center; gap: 1.1rem; }
.join .reach .invite img { width: 9rem; height: 9rem; flex: none; display: block; border-radius: 12px; background: #fff; }
.join .reach .link { gap: 0.15rem; min-width: 0; }
.join .reach .link a { font-size: clamp(1.1rem, 3vw, 1.3rem); line-height: 1.2; }
.join .reach .link p { font-size: var(--step-small); line-height: 1.4; margin-top: 0.35rem; }
.join .reach .contacts { flex-direction: row; flex-wrap: wrap; gap: 0.7rem 1.75rem; }
.join .reach .contacts a { font-size: 1.05rem; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1.5rem; font-size: var(--step-label); color: var(--text-tertiary); border-top: 1px solid var(--border); padding-top: 1rem; }
/* The site's own links, a row of their own under the two lines (and not on paper). */
footer nav { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
footer nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
/* The page you are on: darker, and the underline 3px, a step over the 2px a link has under a mouse (as on the other pages). */
footer nav a[aria-current="page"] { color: var(--text-primary); text-decoration-thickness: 3px; }
@media print { footer nav { display: none; } }
/* The credit line for BlizzardItems' pictures and data, under the footer in the same quiet text. It stands after <main>, not in
   the footer: what is inside <main> is the announcement's words as the owner approved them. It keeps the sheet's width. */
.credit { max-width: 61rem; margin: 0 auto; padding: 0 1.25rem 2rem; font-size: var(--step-label); color: var(--text-tertiary); }
@media print { .credit { max-width: none; padding: 0; } }

/* Below about 1000px the band's right-hand column is too narrow for the QR code and the link side by side
   (the link would break in the middle of a word), so they stack, link first: on a phone or a tablet
   nobody scans their own screen. */
@media (max-width: 1000px) {
  .join .reach .invite { flex-direction: column; align-items: flex-start; }
  .join .reach .link { order: -1; }
}
@media (max-width: 760px) {
  .sheet { gap: 2.5rem; padding-block: 1.75rem 2.5rem; }
  .lead, .lists, .join, .testing .cols { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead img { max-width: 26rem; }
}
@media (max-width: 460px) {
  .groups { grid-template-columns: minmax(0, 1fr); }
  .mast img { width: 4.5rem; height: 4.5rem; }
  .join .reach .invite img { width: 8rem; height: 8rem; }
}
/* Windows high contrast (forced colours) drops background colours, which left the filled dots (and the gold number discs)
   as nothing, with only the open rings showing. They stay solid, in the system's text colour; a number on a disc takes the
   page colour. */
@media (forced-colors: active) {
  .today li::before, .testing li::before, .changes li::before, .lead .points li::before, .key .live::before {
    forced-color-adjust: none;
    background: CanvasText;
  }
  .try li::before { background: CanvasText; color: Canvas; }
}
@page { size: Letter; margin: 12mm 13mm; }
/* Paper is narrower than the one-column breakpoint above, so the columns are set again here: two pages,
   the first to the screens, the second the two lists and how to join. */
@media print {
  :root {
    --step-label: 7pt;
    --step-small: 8.2pt;
    --step-body: 9pt;
    --step-lede: 10.5pt;
    --step-h2: 15pt;
  }
  .sheet { max-width: none; padding: 0; gap: 5mm; }
  .mast { gap: 4mm 6mm; }
  .mast img { width: 17mm; height: 17mm; box-shadow: none; }
  .mast h1 { font-size: 30pt; }
  .lead { grid-template-columns: minmax(0, 1.5fr) 66mm; gap: 6mm 8mm; }
  .lead .side { gap: 4mm; }
  .lead .side img { width: 34mm; }
  .note { padding: 4mm; border-radius: 12px; gap: 2mm; }
  .lead .points li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .lead .words { gap: 4mm; }
  .lead .points li { font-size: var(--step-small); }
  .lead img { box-shadow: none; border-radius: 12px; }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5mm; }
  .strip figure { gap: 2mm; }
  .strip img { width: auto; height: 58mm; align-self: flex-start; }
  .join .reach b, .join .reach a { font-size: 13pt; }
  .join .reach { gap: 3mm; }
  .join .reach .invite { flex-direction: row; align-items: center; gap: 4mm; }
  .join .reach .invite img { width: 30mm; height: 30mm; border-radius: 3mm; }
  .join .reach .link { order: 0; }
  .join .reach .link a { font-size: 10.5pt; }
  .join .reach .link p { font-size: var(--step-small); }
  .join .reach .contacts a { font-size: 10pt; }
  .strip img { box-shadow: none; border-radius: 12px; }
  .lists { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 6mm 8mm; break-before: page; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5mm 7mm; }
  .planned { padding: 5mm; border-radius: 12px; }
  .join { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding: 6mm 7mm; border-radius: 14px; gap: 4mm 8mm; }
  .mast, .lead, .screens, .group, .planned, .join { break-inside: avoid; }
  .join, .chip, .today li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* The sections for people in the test start a page of their own. */
  .testing { break-before: page; }
  .testing .cols { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 5mm 8mm; }
  .try { padding: 5mm; border-radius: 12px; }
  .try, .testcon .note { break-inside: avoid; }
  .testing li::before, .changes li::before, .try li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
