/*
 * WTP — public site stylesheet
 * ---------------------------------------------------------------------------
 * "Stadium Night": dark broadcast chrome + light Classic-Bingo paper.
 *
 * The custom properties below are the SAME VALUES as
 * packages/shared/src/presentation/tokens.ts, so the marketing site and the
 * product read as one system. When tokens.ts changes, regenerate this block —
 * see site/DESIGN.md § "Keeping the palette in sync".
 */

/*
 * Oswald — self-hosted (no Google Fonts request; see DESIGN.md §2). One variable
 * woff2 (latin subset, weight 200–700) covers the 400/600/700 the site uses.
 * `font-display: swap` keeps text visible while it loads; `--font-display` falls
 * back to 'Arial Narrow' then system-ui.
 */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('/assets/fonts/oswald-latin.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 {
  /* --- Chrome palette (dark broadcast) --- */
  --c-bg: #0b121a;
  --c-bg-elev: #0f1a25;
  --c-surface: #15212e;
  --c-surface-2: #1c2a39;
  --c-line: #2a3b4e;
  --c-text: #eaf1f8;
  --c-muted: #93a4b5;
  --c-accent: #3fb950;
  --c-accent-press: #2ea043;
  --c-info: #4b93f7;
  --c-blue-deep: #1d4ed8;
  --c-gold: #e7b73b;
  --c-badge: #1b2735;
  --c-danger: #e5534b;
  /* Site-only: --c-danger at 14px on --c-surface is 4.4:1, just under AA.
     This lighter tint is for danger *text*; --c-danger stays for borders/fills. */
  --c-danger-text: #ff8f87;

  /* --- Classic-Bingo card (soft blue-gray paper) --- */
  --paper: #e6ebf2;
  --paper-cell: #f2f5fa;
  --paper-ink: #202a37;
  --paper-muted: #5f6b7b;
  --paper-line: #c4cedb;

  /* --- Typography --- */
  --font-display: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* --- Spacing --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 112px;

  /* --- Radii --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* --- Elevation --- */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 22px rgba(0, 0, 0, 0.55);

  /* --- Layout --- */
  --page: 1120px;
  --page-narrow: 760px;
}

/* ===========================================================================
   Base
   ======================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--c-accent-press);
}

:focus-visible {
  outline: 3px solid var(--c-info);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-accent);
  color: #06120a;
  padding: var(--space-3) var(--space-4);
  font-weight: 700;
  z-index: 100;
}
.skip:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ===========================================================================
   Typography
   ======================================================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-4);
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  letter-spacing: -0.005em;
}
h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}
h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}
h4 {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

p {
  margin: 0 0 var(--space-4);
}

.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--c-muted);
  line-height: 1.55;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 var(--space-3);
}

.muted {
  color: var(--c-muted);
}
.gold {
  color: var(--c-gold);
}
.accent {
  color: var(--c-accent);
}

.tm {
  font-size: 0.42em;
  vertical-align: super;
  color: var(--c-muted);
  letter-spacing: 0;
}

/* ===========================================================================
   Layout
   ======================================================================== */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.wrap-narrow {
  max-width: var(--page-narrow);
}

section {
  padding-block: var(--space-8);
}

section.tight {
  padding-block: var(--space-7);
}

.band {
  background: var(--c-bg-elev);
  border-block: 1px solid var(--c-line);
}

.grid {
  display: grid;
  gap: var(--space-5);
}

/* Grid/flex children default to min-width:auto, which lets intrinsic content
   (the bingo card's 5 text columns) force horizontal overflow on narrow
   screens. Opt every layout child out of that. */
.grid > *,
.hero .wrap > *,
.session-item > *,
.timeline li > * {
  min-width: 0;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.center {
  text-align: center;
}
.stack > * + * {
  margin-top: var(--space-4);
}

/* ===========================================================================
   Header / nav
   ======================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 26, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: 68px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.wordmark:hover {
  color: var(--c-text);
}
.wordmark .accent {
  color: var(--c-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.site-nav a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--c-text);
}

@media (max-width: 780px) {
  .site-nav .hide-sm {
    display: none;
  }
  .site-nav {
    gap: var(--space-4);
  }
}

@media (max-width: 460px) {
  .wrap {
    padding-inline: var(--space-4);
  }
  .site-header .wrap {
    gap: var(--space-3);
  }
  .wordmark {
    font-size: 1rem;
  }
  .site-nav {
    gap: var(--space-3);
  }
  .site-nav a {
    font-size: 0.88rem;
    white-space: nowrap;
  }
  /* "WTP Football Bingo" → "WTP Bingo" so the header fits a 360px phone.
     The short form matches the app's own display name. */
  .site-header .wm-long {
    display: none;
  }
}

/* ===========================================================================
   Buttons
   ======================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--c-accent);
  color: #06120a;
}
.btn-primary:hover {
  background: var(--c-accent-press);
  color: #06120a;
}

.btn-ghost {
  background: transparent;
  border-color: var(--c-line);
  color: var(--c-text);
}
.btn-ghost:hover {
  border-color: var(--c-muted);
  color: var(--c-text);
}

.btn-lg {
  font-size: 1.1rem;
  padding: var(--space-4) var(--space-6);
}

/* ===========================================================================
   Hero
   ======================================================================== */

.hero {
  padding-block: var(--space-8) var(--space-7);
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* stadium-light wash */
  content: '';
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(63, 185, 80, 0.13), transparent 62%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .hero-art {
    order: -1;
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
  }
}

/* ===========================================================================
   Join box — styled as bingo cells, because of course
   ======================================================================== */

.join {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-2);
}

.join h2 {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.join-hint {
  color: var(--c-muted);
  font-size: 0.9rem;
  margin: 0 0 var(--space-4);
}

.code-input {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.code-input input {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 3 / 4;
  max-height: 76px;
  background: var(--paper-cell);
  color: var(--paper-ink);
  border: 2px solid var(--paper-line);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  padding: 0;
  caret-color: var(--c-accent-press);
}

.code-input input:focus {
  border-color: var(--c-accent);
  outline: 3px solid rgba(63, 185, 80, 0.35);
  outline-offset: 1px;
}

.code-input input.filled {
  border-color: var(--c-accent);
}

.join .btn {
  width: 100%;
}

.join-alt {
  margin: var(--space-4) 0 0;
  font-size: 0.9rem;
  color: var(--c-muted);
  text-align: center;
}

.join-error {
  color: var(--c-danger-text);
  font-size: 0.9rem;
  margin: 0 0 var(--space-3);
  min-height: 1.4em;
}

/* ===========================================================================
   Bingo card (the hero artwork — real markup, not an image)
   ======================================================================== */

.bingo-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  max-width: 440px;
  margin-inline: auto;
}

.bingo-head {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-1);
  margin-bottom: var(--space-1);
}

.bingo-head span {
  background: var(--c-blue-deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 3.4vw, 1.6rem);
  text-align: center;
  border-radius: var(--radius-sm);
  padding: var(--space-1) 0;
}

.bingo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-1);
}

.cell {
  position: relative;
  aspect-ratio: 1;
  background: var(--paper-cell);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3px;
  font-size: clamp(0.42rem, 1.35vw, 0.62rem);
  line-height: 1.2;
  color: var(--paper-ink);
  font-weight: 500;
}

.cell.free {
  background: var(--c-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.6rem, 2vw, 0.85rem);
  letter-spacing: 0.06em;
}

.cell.marked {
  background: #dff3e1;
  border-color: var(--c-accent);
}

.cell.marked::after {
  content: '✓';
  position: absolute;
  top: 1px;
  right: 3px;
  color: var(--c-accent-press);
  font-size: 0.7rem;
  font-weight: 700;
}

.cell.win {
  background: #fdf0cf;
  border-color: var(--c-gold);
  box-shadow: inset 0 0 0 1px var(--c-gold);
}

/* the marks animate in, staggered — the product's whole feeling in 3 seconds */
.bingo-card.animate .cell.marked {
  animation: markIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) backwards;
}
.bingo-card.animate .cell:nth-child(3n) {
  animation-delay: 0.35s;
}
.bingo-card.animate .cell:nth-child(4n) {
  animation-delay: 0.7s;
}
.bingo-card.animate .cell:nth-child(5n) {
  animation-delay: 1.05s;
}

@keyframes markIn {
  from {
    background: var(--paper-cell);
    border-color: var(--paper-line);
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bingo-card.animate .cell.marked {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* reward chip on a cell */
.chip {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-badge);
  color: var(--c-gold);
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ===========================================================================
   Cards / panels
   ======================================================================== */

.panel {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.panel h3 {
  margin-bottom: var(--space-2);
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.shot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

figure {
  margin: 0;
}
figcaption {
  color: var(--c-muted);
  font-size: 0.9rem;
  margin-top: var(--space-3);
}

/* ===========================================================================
   Steps
   ======================================================================== */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-5);
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 64px;
  min-height: 44px;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  color: var(--c-accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.steps h3 {
  margin-bottom: var(--space-1);
}
.steps p {
  margin-bottom: 0;
  color: var(--c-muted);
}

/* ===========================================================================
   Session list + status pills
   ======================================================================== */

.session-list {
  display: grid;
  gap: var(--space-4);
  padding: 0;
  margin: 0;
  list-style: none;
}

.session-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: var(--space-5);
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}

.session-item:hover {
  border-color: var(--c-muted);
}

@media (max-width: 720px) {
  .session-item {
    grid-template-columns: 64px 1fr;
    row-gap: var(--space-3);
  }
  .session-item .session-cta {
    grid-column: 1 / -1;
  }
}

.datechip {
  text-align: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: var(--space-2) 0;
}
.datechip .mo {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.datechip .dy {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.session-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 2px;
}
.session-title a {
  color: var(--c-text);
  text-decoration: none;
}
.session-title a:hover {
  color: var(--c-accent);
}
.session-meta {
  color: var(--c-muted);
  font-size: 0.92rem;
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid;
}
.pill-live {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: rgba(63, 185, 80, 0.1);
}
.pill-open {
  color: var(--c-info);
  border-color: var(--c-info);
  background: rgba(75, 147, 247, 0.1);
}
.pill-upcoming {
  color: var(--c-muted);
  border-color: var(--c-line);
}
.pill-ended {
  color: var(--c-muted);
  border-color: var(--c-line);
  background: var(--c-surface-2);
}

.pill-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

/* ===========================================================================
   Stat row (session summary)
   ======================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
  padding: 0;
  margin: 0 0 var(--space-6);
  list-style: none;
}

.stat {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.stat .n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-text);
}
.stat .k {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 2px;
}

/* ===========================================================================
   Winnings timeline (public receipt)
   ======================================================================== */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--c-line);
}
.timeline li:last-child {
  border-bottom: 0;
}

.tl-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  color: #06120a;
}
.tl-bingo {
  background: var(--c-accent);
}
.tl-instant {
  background: var(--c-info);
  color: #04101f;
}

.tl-who {
  font-weight: 600;
}
.tl-time {
  color: var(--c-muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .timeline li {
    grid-template-columns: auto 1fr;
    row-gap: 2px;
  }
  .tl-time {
    grid-column: 2;
  }
}

/* ===========================================================================
   Winners leaderboard (one row per player, ordered by winnings — no points shown)
   ======================================================================== */

.winners {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.winners li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--c-line);
}
.winners li:last-child {
  border-bottom: 0;
}
.win-who {
  font-weight: 600;
}
.win-badges {
  display: inline-flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Standout line — the player who held the hottest card should feel celebrated. */
.hot-card {
  color: var(--c-text);
  margin-bottom: var(--space-2);
}
.hot-card strong {
  color: var(--c-accent);
}

/* ===========================================================================
   Callout
   ======================================================================== */

.callout {
  border-left: 3px solid var(--c-accent);
  background: var(--c-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  margin-block: var(--space-5);
}
.callout p:last-child {
  margin-bottom: 0;
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 400;
  text-transform: none;
  line-height: 1.3;
  color: var(--c-text);
  margin: 0;
}

/* ===========================================================================
   Footer
   ======================================================================== */

.site-footer {
  background: var(--c-bg-elev);
  border-top: 1px solid var(--c-line);
  padding-block: var(--space-7) var(--space-6);
  margin-top: var(--space-8);
  font-size: 0.9rem;
  color: var(--c-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

.site-footer h4 {
  color: var(--c-text);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-3);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li + li {
  margin-top: var(--space-2);
}
.site-footer a {
  color: var(--c-muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--c-text);
}

.legal {
  border-top: 1px solid var(--c-line);
  padding-top: var(--space-5);
  font-size: 0.82rem;
  line-height: 1.6;
}
.legal p {
  margin: 0 0 var(--space-2);
}

/* ===========================================================================
   Utilities
   ======================================================================== */

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

.mb-0 {
  margin-bottom: 0;
}
.mt-6 {
  margin-top: var(--space-6);
}
