/* =========================================================================
   GAIA GRID: shared design system
   Black and white, invertible. Colour lives only in the home page orbs.
   Type: IBM Plex Mono throughout (IBM's own type; the PC that ran DOS, made clean)
   ========================================================================= */

:root {
  --paper: #f4f3ef;
  --paper-2: #ebe9e3;
  --ink: #171716;
  --ink-2: #5b5a55;
  --ink-3: #8b8984;
  --line: rgba(23, 23, 22, 0.14);
  --line-2: rgba(23, 23, 22, 0.28);
  --card: rgba(255, 255, 255, 0.5);
  --card-solid: #fbfaf7;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 30px rgba(40, 30, 60, 0.06);
  --orb-alpha: 0.30;
  --dust: 23, 23, 22;
  --header-bg: rgba(244, 243, 239, 0.78);

  /* the only colour on the site: the original Gaia Grid orb colours */
  --orb-peach: 143, 102, 61;
  --orb-butter: 172, 143, 57;
  --orb-sage: 134, 82, 45;
  --orb-sky: 153, 76, 51;
  --orb-lilac: 161, 161, 69;
  --orb-rose: 188, 16, 16;

  --f-display: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-text: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.2vw, 1.05rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.5rem + 2.6vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.6rem + 5vw, 5.4rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 14px;
  --header-h: 60px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0c0c0b;
  --paper-2: #151514;
  --ink: #ecebe6;
  --ink-2: #a3a19a;
  --ink-3: #75736d;
  --line: rgba(236, 235, 230, 0.13);
  --line-2: rgba(236, 235, 230, 0.26);
  --card: rgba(255, 255, 255, 0.025);
  --card-solid: #121211;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 40px rgba(0, 0, 0, 0.35);
  --orb-alpha: 0.34;
  --orb-peach: 164, 35, 10; --orb-butter: 164, 125, 10; --orb-sage: 10, 164, 10; --orb-sky: 10, 164, 125; --orb-lilac: 10, 164, 164;
  --dust: 236, 235, 230;
  --header-bg: rgba(12, 12, 11, 0.82);
  color-scheme: dark;
}
/* no-JS fallback follows the system */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper: #0c0c0b; --paper-2: #151514; --ink: #ecebe6; --ink-2: #a3a19a; --ink-3: #75736d;
    --line: rgba(236, 235, 230, 0.13); --line-2: rgba(236, 235, 230, 0.26);
    --card: rgba(255, 255, 255, 0.025); --card-solid: #121211; --orb-alpha: 0.34; --orb-peach: 164, 35, 10; --orb-butter: 164, 125, 10; --orb-sage: 10, 164, 10; --orb-sky: 10, 164, 125; --orb-lilac: 10, 164, 164; --dust: 236, 235, 230; --header-bg: rgba(12, 12, 11, 0.82);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: "calt" 1, "zero" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s ease, color 0.4s ease;
}
/* screen artefacts, after the Lost Tapes reels: film grain that shivers, faint scanlines, a few far stars (site.js) */
body::before, body::after { content: ""; position: fixed; pointer-events: none; }
body::before {
  inset: -180px; z-index: 60; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
:root[data-theme="dark"] body::before { opacity: 0.075; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
body::after {
  inset: 0; z-index: 61;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 3px);
}
:root[data-theme="dark"] body::after { background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.32) 0 1px, transparent 1px 3px); }
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-61px, 37px); } 33% { transform: translate(43px, -89px); }
  50% { transform: translate(-97px, -23px); } 67% { transform: translate(71px, 59px); } 83% { transform: translate(-29px, 101px); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
@media print { body::before, body::after, .stars { display: none; } }
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.stars canvas { width: 100%; height: 100%; }

img, svg, video, canvas, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(var(--orb-lilac), 0.45); color: var(--ink); }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 10px; }

/* ---------------- the sky: soft orbs + dust behind every page ---------------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky .orb {
  position: absolute; border-radius: 50%;
  width: var(--s, 46vmax); height: var(--s, 46vmax);
  left: var(--x, 0); top: var(--y, 0);
  background: radial-gradient(closest-side, rgba(var(--c), var(--orb-alpha)), rgba(var(--c), calc(var(--orb-alpha) * 0.45)) 45%, rgba(var(--c), 0) 100%);
  transform: translate3d(-50%, -50%, 0);
  animation: drift var(--d, 60s) ease-in-out infinite alternate;
  will-change: transform;
}
.sky .orb:nth-child(1) { --c: var(--orb-peach); --x: 12%; --y: 18%; --s: 52vmax; --d: 64s; }
.sky .orb:nth-child(2) { --c: var(--orb-lilac); --x: 88%; --y: 30%; --s: 48vmax; --d: 72s; animation-delay: -20s; }
.sky .orb:nth-child(3) { --c: var(--orb-sage);  --x: 70%; --y: 95%; --s: 56vmax; --d: 80s; animation-delay: -35s; }
.sky .orb:nth-child(4) { --c: var(--orb-butter); --x: 8%;  --y: 88%; --s: 38vmax; --d: 58s; animation-delay: -12s; }
.sky .orb:nth-child(5) { --c: var(--orb-sky);   --x: 45%; --y: 55%; --s: 34vmax; --d: 90s; animation-delay: -50s; }
.sky.quiet { opacity: 0.7; }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes drift {
  0%   { transform: translate3d(-50%, -50%, 0) scale(1); }
  50%  { transform: translate3d(-42%, -56%, 0) scale(1.08); }
  100% { transform: translate3d(-57%, -45%, 0) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) { .sky .orb { animation: none; } }

/* ---------------- header & navigation ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: 72rem; margin: 0 auto;
  min-height: var(--header-h);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: flex; align-items: center; gap: 18px;
}
.wordmark {
  font-family: var(--f-display); font-weight: 500;
  font-size: 1.05rem; letter-spacing: 0.14em; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
}
.wordmark .logo { width: 30px; height: 30px; flex: none; }
.logo .l-light { display: none; }
:root[data-theme="dark"] .logo .l-ink { display: none; }
:root[data-theme="dark"] .logo .l-light { display: block; }
.site-nav { flex: 1; min-width: 0; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 2px; justify-content: flex-end;
  overflow-x: auto; scrollbar-width: none;
}
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a {
  display: block; padding: 8px 10px; border-radius: 8px;
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: var(--ink); background: var(--line); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::before { content: "["; }
.site-nav a[aria-current="page"]::after { content: "]"; }
.theme-toggle, .icon-btn {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: background 0.2s;
}
.theme-toggle:hover, .icon-btn:hover { background: var(--line); }
.theme-toggle svg, .icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

@media (max-width: 760px) {
  .site-header .bar { flex-wrap: wrap; gap: 0 10px; padding-top: 8px; }
  .wordmark { flex: 1; }
  .site-nav { order: 3; flex-basis: 100%; margin: 0 calc(var(--gutter) * -1); }
  .site-nav ul { justify-content: flex-start; padding: 2px var(--gutter) 8px; }
  .site-nav a { padding: 6px 9px; }
}

/* ---------------- layout ---------------- */
main { display: block; }
.wrap {
  max-width: 50rem; margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.narrow { max-width: 50rem; }
.wrap.wide { max-width: 72rem; }
.wrap.wide > .page-head > * { max-width: 50rem; }
.section { padding-block: clamp(36px, 6vw, 72px); }
.stack > * + * { margin-top: 1.1em; }
.prose { max-width: none; }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------------- type ---------------- */
h1, h2, h3, .display {
  font-family: var(--f-display); font-weight: 500;
  line-height: 1.12; letter-spacing: -0.02em;
  text-wrap: balance; margin: 0;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); line-height: 1.25; }
.eyebrow {
  font-family: var(--f-text); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 14px;
}
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); margin: 18px 0 0; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.mono-num { font-variant-numeric: tabular-nums; }

.page-head { padding-block: clamp(40px, 7vw, 88px) clamp(20px, 3vw, 36px); }
.page-head h1 { max-width: 22ch; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 18px; border-radius: 10px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 var(--step--1)/1 var(--f-text); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.ghost { border-color: var(--line-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- cards ---------------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
}
.grid { display: grid; gap: 14px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-2); }
.card .icon { width: 26px; height: 26px; margin-bottom: 14px; stroke: var(--ink); fill: none; stroke-width: 1.4; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--card-solid); padding: 18px 18px 16px; }
.stat b { display: block; font: 500 var(--step-2)/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------------- accordions (details/summary, works without JS) ---------------- */
.acc { border-top: 1px solid var(--line); }
.acc > details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 2px;
  font-family: var(--f-display); font-size: var(--step-1); font-weight: 500; line-height: 1.25;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; font-family: var(--f-text); font-weight: 400; color: var(--ink-2);
  flex: none; transition: transform 0.25s;
}
.acc details[open] > summary::after { content: "−"; }
.acc summary:hover { color: var(--ink); }
.acc .acc-body { padding: 0 2px 22px; }
.acc .count { font-family: var(--f-text); font-size: var(--step--1); color: var(--ink-3); margin-left: auto; padding-right: 6px; }
.qa { margin: 0; }
.qa dt { font-weight: 500; margin-top: 18px; }
.qa dt:first-child { margin-top: 4px; }
.qa dd { margin: 6px 0 0; color: var(--ink-2); max-width: 70ch; }
.acc-tools { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.linkish { background: none; border: 0; padding: 6px 0; color: var(--ink-2); font: inherit; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.linkish:hover { color: var(--ink); }

/* ---------------- tables ---------------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.total td { font-weight: 600; border-bottom: 0; }

/* ---------------- donate block ---------------- */
.donate {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 14px;
}
.pay {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.pay .qr { border: 0; padding: 0; background: none; cursor: pointer; width: min(210px, 72%); border-radius: 10px; position: relative; }
.pay .qr img { width: 100%; border-radius: 10px; background: #fff; padding: 8px; transition: transform .2s; }
.pay .qr:hover img { transform: scale(1.02); }
.pay .qr .tap { display: block; margin-top: 8px; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pay .handle { font-weight: 500; word-break: break-all; }
.copy-btn[data-copied]::after { content: " ✓"; }

/* ---------------- media ---------------- */
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line);
}
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video button {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.55));
  display: grid; place-items: center; color: #fff;
}
.video button span {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.9); color: #111; transition: transform 0.2s;
}
.video button:hover span { transform: scale(1.06); }
.video button svg { width: 24px; height: 24px; margin-left: 4px; }
.video .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; font-size: var(--step--1); letter-spacing: 0.08em; text-align: left; }

/* ---------------- dialog ---------------- */
dialog {
  width: min(42rem, calc(100vw - 32px)); max-height: min(85vh, 52rem);
  border: 1px solid var(--line-2); border-radius: 18px; padding: 0;
  background: var(--card-solid); color: var(--ink); box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(10, 10, 10, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog .dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card-solid); }
dialog .dlg-body { padding: 20px; }
.close-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; line-height: 1; }

/* ---------------- footer ---------------- */
.site-footer {
  margin-top: clamp(40px, 8vw, 96px);
  border-top: 1px solid var(--line);
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: var(--step--1); color: var(--ink-2);
}
.site-footer .wrap { max-width: 72rem; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); padding-top: 32px; }
.site-footer h2 { font-size: 1rem; margin-bottom: 10px; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------------- toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  font-size: var(--step--1); letter-spacing: 0.06em; max-width: calc(100vw - 32px);
  transition: opacity 0.3s, transform 0.3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media print {
  .sky, .site-header, .site-footer, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  details { display: block; } details > * { display: block !important; }
}

/* ---------------- one alignment for every page ----------------
   A single reading column (50rem) sits in the middle of the screen on every page;
   text inside it always reads left to right. Wide things (grids, tiles, video, the visualiser) may
   spread out to 72rem, centred around that same column. */
main { text-align: left; }
.wrap.wide > :is(header, p, blockquote, nav, figure),
.wrap.wide > section:not(.viz-box) > :is(h1, h2, h3, p, .eyebrow, .lede, .prose, .acc, .acc-tools, .card, blockquote, ul.press),
.wrap.wide > div > :is(h2, p, .eyebrow) {
  max-width: 50rem; margin-left: auto; margin-right: auto;
}
.wrap.wide > .page-head > * { max-width: none; }
.pay { text-align: left; justify-items: stretch; }
.pay .qr, .pay img { justify-self: center; }
.wrap.wide > .video { max-width: 50rem; margin-left: auto; margin-right: auto; }

/* one width for everything: header, content, grids, footer all share the same edges */
.wrap.wide, .site-header .bar, .site-footer .wrap { max-width: 50rem; }
.site-footer .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.listen-grid { grid-template-columns: minmax(0, 1fr) !important; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
