/* runtasy.com: the Foundations palette and type, for reading long pages comfortably at any width. */
@font-face {
  font-family: "Saira";
  src: url("/fonts/Saira-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --void: #0a0b0d;
  --shelter: #121418;
  --wire: #22262c;
  --divider: #1c1f24;
  --ash: #a3a9b1;
  --mist: #c9cdd2;
  --bone: #f2f1ec;
  --antidote: #c4f23a;
  --horde: #ff5a1f;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--void);
  color: var(--mist);
  font: 400 17px/1.65 "Saira", ui-sans-serif, system-ui, sans-serif;
}

a { color: var(--antidote); text-underline-offset: 3px; }
a:hover { color: var(--bone); }
a:focus-visible { outline: 2px solid var(--antidote); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--divider); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font-weight: 800; font-stretch: 112%; letter-spacing: 0.06em; text-transform: uppercase; }
.brand img { width: 26px; height: 27px; }
nav.site { display: flex; gap: 18px; font-size: 15px; }
nav.site a { color: var(--ash); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--bone); }

main { padding: 48px 0 72px; }

.eyebrow { margin: 0 0 6px; color: var(--ash); font: 600 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.16em; text-transform: uppercase; }

h1, h2, h3 { color: var(--bone); font-weight: 800; font-stretch: 112%; line-height: 1.15; }
h1 { margin: 0 0 12px; font-size: clamp(34px, 7vw, 52px); text-transform: uppercase; letter-spacing: 0.01em; }
h2 { margin: 44px 0 10px; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
h3 { margin: 26px 0 6px; font-size: 18px; }

p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
strong { color: var(--bone); font-weight: 600; }

.lede { color: var(--bone); font-size: 20px; line-height: 1.55; }
.meta { color: var(--ash); font-size: 15px; }

.card { margin: 28px 0; padding: 20px 22px; border: 1px solid var(--wire); border-radius: 16px; background: var(--shelter); }
.card p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; }
th, td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--divider); text-align: left; vertical-align: top; }
th { color: var(--bone); font-weight: 600; }

.hero { padding: 24px 0 8px; }
.hero img { width: min(300px, 70vw); height: auto; display: block; margin: 0 0 28px; }
.signals { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0; }
.signals .card { margin: 0; }
.signals h3 { margin-top: 0; }
.survivor { color: var(--antidote); }
.zombie { color: var(--horde); }

.badge { display: inline-block; padding: 6px 12px; border: 1px solid var(--wire); border-radius: 999px; color: var(--bone); font-size: 14px; }

footer.site { border-top: 1px solid var(--divider); padding: 24px 0 40px; color: var(--ash); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site a { color: var(--ash); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  nav.site { gap: 12px; font-size: 14px; }
  .brand span { display: none; }
  main { padding-top: 32px; }
}
