/* 1nsecure — night-shift field notes. Self-hosted type, no third parties. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0d1511;
  --bg-deep: #0a110d;
  --bg-raised: #15211b;
  --bg-cell: #101a15;
  --ink: #f3faf6;
  --muted: #c9ddd2;
  --faint: #9ec7b0;
  --mint: #7dffa8;
  --mint-quiet: #8fd9b0;
  --mint-ink: #062117;
  --amber: #f0c14a;
  --amber-2: #ffe4a3;
  --coral: #ff9d8f;
  --line: rgba(158, 199, 176, 0.2);
  --line-strong: rgba(158, 199, 176, 0.42);
  --line-ui: #5d9076;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --measure: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-offset: 11rem;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: var(--amber-2);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--amber);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

::selection {
  background: var(--amber);
  color: #241a08;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--amber);
  color: #241a08;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
  border-radius: 3px;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--measure), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-quiet);
}

h1,
h2,
.wordmark,
.dek,
.tale p,
.ticket-title,
.fact-title,
.footer-brand,
.miss-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--amber-2);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.statusline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.55rem;
  margin: 0;
  padding: 0.45rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  min-height: 4rem;
  padding-block: 0.35rem 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--ink);
}

.brand .one {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--mint);
  border-radius: 3px;
  color: var(--mint);
  box-shadow: 0 0 0 3px rgba(125, 255, 168, 0.1);
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.86rem;
  text-decoration-color: rgba(240, 193, 74, 0.45);
  text-underline-offset: 0.28em;
}

.nav a:hover {
  color: var(--ink);
  text-decoration-color: var(--amber);
}

/* Hero */

.hero {
  padding: 2.4rem 0 3rem;
  background:
    radial-gradient(ellipse 46rem 26rem at 8% 0%, rgba(125, 255, 168, 0.09), transparent 62%);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.wordmark {
  margin-top: 0.7rem;
  font-size: clamp(2.7rem, 10.4vw, 7.35rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.88;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}

.wordmark .one {
  color: var(--mint);
  font-weight: 650;
  font-size: 1.06em;
  text-shadow: 0 0 26px rgba(125, 255, 168, 0.4);
}

.caret {
  display: inline-block;
  width: 0.045em;
  min-width: 3px;
  height: 0.72em;
  margin-left: 0.08em;
  background: var(--mint);
  vertical-align: -0.04em;
  border-radius: 1px;
  animation: blink 1.15s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.dek {
  max-width: 22em;
  margin-top: 1.15rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.lede {
  max-width: 38em;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: transparent;
}

.btn-primary {
  background: var(--mint);
  color: var(--mint-ink);
}

.btn-primary:hover {
  background: #c8ffdf;
  color: var(--mint-ink);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line-ui);
}

.btn-ghost:hover {
  color: var(--mint);
  border-color: var(--mint);
}

.ticket {
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--amber);
  border-radius: 4px;
  padding: 1rem 1.05rem 1.05rem;
}

.ticket-top,
.ticket-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  color: var(--amber-2);
  border: 1px solid rgba(240, 193, 74, 0.5);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  letter-spacing: 0.12em;
}

.ticket-title {
  margin-top: 0.7rem;
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ticket-body {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.ticket-meta {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.ticket-meta div {
  display: grid;
  gap: 0.1rem;
}

.ticket-meta dt {
  color: var(--faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.ticket-meta dd {
  margin: 0;
  color: var(--ink);
}

.barcode {
  height: 2.1rem;
  margin-top: 1rem;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 1px,
    transparent 1px 4px,
    var(--ink) 4px 6px,
    transparent 6px 8px,
    var(--ink) 8px 9px,
    transparent 9px 13px,
    var(--ink) 13px 16px,
    transparent 16px 18px
  );
  opacity: 0.72;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 0.25rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.facts li {
  background: var(--bg-raised);
  padding: 0.9rem 1rem 1rem;
  min-height: 100%;
}

.fact-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-quiet);
}

.fact-title {
  margin-top: 0.3rem;
  font-size: 1.45rem;
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.fact-detail {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */

.band {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 40rem;
  margin-top: 0.8rem;
  color: var(--muted);
}

h2 {
  margin-top: 0.4rem;
  font-size: clamp(2.05rem, 4.4vw, 3.2rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-head {
  margin-bottom: 1.6rem;
}

section,
[id] {
  scroll-margin-top: var(--header-offset);
}

/* Tales */

.tales {
  display: grid;
  gap: 0.85rem;
}

.tale {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem 1.15rem 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.tale-kicker {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.tale-kicker span:first-child {
  color: var(--mint-quiet);
}

.tale h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-optical-sizing: auto;
}

.tale p {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 420;
  line-height: 1.55;
}

.disposition {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.disposition span {
  display: block;
  margin-bottom: 0.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

/* Bingo */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

legend {
  padding: 0;
}

.board,
.bingo-scroll,
form,
.band,
section {
  min-width: 0;
}

.board {
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0.7rem;
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.2rem 0.25rem 0.65rem;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dots {
  display: inline-flex;
  gap: 0.35rem;
}

.dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.dots span:nth-child(1) { background: var(--coral); }
.dots span:nth-child(2) { background: var(--amber); }
.dots span:nth-child(3) { background: var(--mint); }

.bingo-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 0.2rem;
  scrollbar-color: var(--line-ui) transparent;
}

.bingo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  width: max(100%, 31rem);
}

.cell {
  position: relative;
  scroll-snap-align: start;
}

.cell input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cell input:focus,
.cell input:focus-visible,
.opt input:focus,
.opt input:focus-visible {
  outline: none;
}

.cell label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.25rem;
  min-height: 5.6rem;
  height: 100%;
  padding: 0.75rem 1.25rem 0.75rem 0.6rem;
  background: var(--bg-cell);
  border: 1px solid var(--line-ui);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
}

.cell-kicker {
  color: var(--mint);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cell label::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
  opacity: 0;
}

.cell input:checked + label {
  background: #143024;
  border-color: #2f6b49;
}

.cell input:checked + label::after {
  opacity: 1;
}

.cell input:disabled + label {
  cursor: default;
}

.cell input:focus-visible + label {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.cell input:not(:disabled) + label:hover {
  border-color: var(--line-strong);
}

.cell.is-win input:checked + label,
.cell.is-win input:disabled + label {
  background: #2a2412;
  border-color: var(--amber);
  color: var(--amber-2);
}

.cell.is-win input:checked + label::after,
.cell.is-win input:disabled + label::after {
  border-color: var(--amber-2);
  opacity: 1;
}

.bingo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 0.9rem;
}

#bingo-form {
  container-type: inline-size;
}

.swipe-hint {
  display: none;
  margin: 0.75rem 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
}

@container (max-width: 33.5rem) {
  .swipe-hint { display: block; }
}

@media (max-width: 540px) {
  .swipe-hint { display: block; }
}

#bingo-status {
  margin-top: 0.85rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-raised);
  color: var(--muted);
  font-size: 0.98rem;
}

#bingo-status.is-bingo {
  border-color: rgba(240, 193, 74, 0.7);
  color: var(--amber-2);
  background: #241c0d;
}

/* Threat level */

.threat {
  display: grid;
  gap: 0.5rem;
}

.opt {
  position: relative;
}

.opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.opt label {
  display: block;
  min-height: 44px;
  padding: 0.8rem 0.9rem 0.85rem;
  background: var(--bg-raised);
  border: 1px solid var(--line-ui);
  border-radius: 4px;
  cursor: pointer;
}

.opt label:hover {
  border-color: var(--line-strong);
}

.opt input:focus-visible + label {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.opt input:checked + label {
  border-color: var(--amber);
  background: #1a2216;
}

.lv-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lv-pip {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}

.opt-nominal .lv-pip { background: var(--mint); }
.opt-guarded .lv-pip { background: #d5e2a4; }
.opt-elevated .lv-pip { background: var(--amber); }
.opt-high .lv-pip { background: var(--coral); }
.opt-kevin .lv-pip {
  background: var(--mint);
  box-shadow: inset 0 0 0 2px var(--amber);
}

.lv-name {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lv-now,
.lv-tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.lv-now {
  visibility: hidden;
  color: var(--amber-2);
}

.opt input:checked + label .lv-now {
  visibility: visible;
}

.lv-fold {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.lv-copy {
  overflow: hidden;
  color: var(--muted);
  line-height: 1.5;
}

.opt input:checked + label .lv-fold {
  grid-template-rows: 1fr;
}

.opt input:checked + label .lv-copy {
  padding-top: 0.65rem;
}

/* Lessons */

.lessons {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.lessons li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.num {
  font-family: var(--mono);
  color: var(--mint);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.lessons p {
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Disclosure + footer */

.disclosure p + p {
  margin-top: 0.8rem;
}

.disclosure p {
  max-width: 40rem;
  color: var(--muted);
}

.site-footer {
  padding: 2.2rem 0 1.6rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  text-decoration: none;
  font-size: 2.1rem;
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1;
}

.footer-brand:hover {
  color: var(--ink);
}

.footer-brand .one {
  color: var(--mint);
}

.footer-tag {
  margin-top: 0.45rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.88rem;
}

.footer-note,
.footer-copy,
.footer-status {
  max-width: 46rem;
  margin-top: 1.1rem;
  color: var(--faint);
  font-size: 0.92rem;
}

.footer-status {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.miss {
  padding: 4.5rem 0 5rem;
}

.miss-title {
  margin-top: 0.55rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.miss p {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--muted);
}

.miss .btn {
  margin-top: 1.4rem;
}

/* Layout shifts */

@media (min-width: 720px) {
  :root { --header-offset: 7.25rem; }

  .facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .tales {
    grid-template-columns: 1fr 1fr;
  }

  .lessons {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .lessons li:nth-child(odd) {
    padding-right: 0.5rem;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.78fr);
    column-gap: 2.75rem;
    align-items: center;
  }

  .facts {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
  }

  .threat {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr auto;
    align-items: end;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

@media (max-width: 380px) {
  .wordmark {
    font-size: 2.35rem;
    letter-spacing: -0.05em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .caret { animation: none; }

  .lv-fold { transition: none; }

  .btn:active { transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #f3faf6;
    --faint: #d8ffe8;
    --line: rgba(216, 255, 232, 0.55);
    --line-strong: #d8ffe8;
    --line-ui: #d8ffe8;
  }
}

@media (forced-colors: active) {
  .wordmark .one,
  .caret,
  .brand .one {
    text-shadow: none;
    box-shadow: none;
    forced-color-adjust: auto;
  }

  .caret { background: CanvasText; animation: none; }

  .btn,
  .tale,
  .ticket,
  .cell label,
  .opt label,
  .facts li,
  .brand .one {
    border: 1px solid CanvasText;
  }
}

@media print {
  :root { color-scheme: light; }

  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .skip,
  .caret,
  .barcode,
  .actions,
  .bingo-bar,
  .swipe-hint {
    display: none;
  }

  .hero,
  .band,
  .site-footer,
  .tale,
  .ticket,
  .facts li,
  .opt label,
  .cell label {
    background: #fff;
    color: #111;
    border-color: #999;
  }

  a { color: #111; }
  .tale { break-inside: avoid; }
}
