/* yeti labs: field station, data-forward. one accent (runninyeti pink), stone ground, mono labels, the numbers are the visual. */

:root {
  --bg: #f1f0ea;
  --surface: #ffffff;
  --ink: #1a1d1b;
  --ink-2: #3d433f;
  --muted: #5b615c;
  --rule: #d6d4ca;
  --grid: #e4e2da;
  --contour: #dcd9ce;
  --accent: #c61f6f;
  --accent-hover: #a8195e;
  --accent-soft: #edb3cd;
  --on-accent: #ffffff;
  --invert-bg: #1a1d1b;
  --invert-ink: #f1f0ea;
  --invert-muted: #c9cdc9;
  --live: #2e8b57;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1200px;
  --read: 46rem;
  --gutter: clamp(16px, 4vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101312;
    --surface: #181c1b;
    --ink: #e9eae4;
    --ink-2: #c9cdc9;
    --muted: #9aa19c;
    --rule: #2a302e;
    --grid: #232927;
    --contour: #2a302e;
    --accent: #e05297;
    --accent-hover: #f472b6;
    --accent-soft: #5e2443;
    --on-accent: #101312;
    --invert-bg: #e9eae4;
    --invert-ink: #101312;
    --invert-muted: #3d433f;
    --live: #4cc38a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
img, svg { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { margin: 0 0 1.5rem; font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header + footer */
.site-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 22px; height: 31px; fill: currentColor; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 14px var(--mono); }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--ink); }
.site-head nav a.go { color: var(--ink); font-weight: 600; }
.site-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 24px 0 40px; border-top: 1px solid var(--rule); font: 13px var(--mono); color: var(--muted); }
.site-foot a { color: var(--muted); }

/* type */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; }
.display { text-wrap: balance; margin: 0 0 28px; font-size: clamp(48px, 7vw, 92px); line-height: 0.95; letter-spacing: -0.045em; font-weight: 800; }
/* a headline that breaks where we say: one line each, sized so the longest fits the hero column */
.display.lines { font-size: clamp(38px, 6.3vw, 84px); }
.display.lines span { display: block; white-space: nowrap; }
.lede { margin: 0 0 36px; font-size: 21px; color: var(--ink-2); max-width: 30rem; }
.section { padding: 0 0 80px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font: 500 13px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.section-head a { font: 13px var(--mono); color: var(--ink); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; font: 600 16px var(--sans); text-decoration: none; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; }
.btn:hover { color: var(--ink); background: var(--surface); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn:disabled { opacity: 0.5; cursor: default; }

/* hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: end; padding: 80px 0 48px; }
.sketch { margin: 0; }
.sketch svg { display: block; width: 100%; height: auto; }
.sketch .contour { stroke: var(--contour); fill: none; }
.sketch .route { stroke: var(--ink); fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.sketch .treeline { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 6; }
.sketch text { font: 12px var(--mono); fill: var(--ink-2); }
.sketch .hot { fill: var(--accent); }
.sketch .dot { fill: var(--ink); }
figcaption, .source { margin-top: 8px; font: 12px var(--mono); color: var(--muted); }

/* the numbers strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); margin: 0 0 80px; }
.stat { padding: 20px 20px 22px; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .k { font: 12px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 22px; color: var(--muted); font-weight: 700; }
.stat .s { font-size: 13px; color: var(--muted); }
.stat .v.hot { color: var(--accent); }
.stats.tight { margin: 0 0 48px; }
.stats.tight .stat { padding: 14px 12px 16px; }
.stats.tight .stat:first-child { padding-left: 0; }
.stats.tight .v { font-size: 34px; }
@media (max-width: 520px) {
  .stat, .stats.tight .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .stat:first-child { border-top: 0; }
}

/* field note activity card */
.activity { display: block; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; color: var(--ink); text-decoration: none; overflow: hidden; margin-bottom: 16px; }
.activity:hover { color: var(--ink); border-color: var(--ink); }
.activity .who { display: flex; align-items: center; gap: 12px; padding: 20px 24px 0; font-size: 14px; line-height: 1.35; }
.activity .av { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); }
.activity .av svg { width: 16px; height: 22px; fill: var(--bg); }
.activity .who b { display: block; }
.activity .who span { color: var(--muted); }
.activity .body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px 48px; padding: 16px 24px 28px; }
.activity h3 { margin: 0 0 12px; font-size: 32px; line-height: 1.08; font-weight: 800; }
.activity p { margin: 0 0 24px; color: var(--ink-2); }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.figures div { font-size: 12px; color: var(--muted); }
.figures b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.figures b small { font-size: 13px; color: var(--muted); font-weight: 500; }
@media (max-width: 520px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* charts: claim as the title, labels on the data, light grid, a source line */
.chart { margin: 0; }
.chart .t { margin: 0 0 2px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.chart .st { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.chart svg { display: block; width: 100%; height: auto; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .zero { stroke: var(--ink); stroke-width: 1.5; }
.chart .axis { font: 12px var(--mono); fill: var(--muted); }
.chart .row { font: 14px var(--sans); fill: var(--ink); }
.chart .val { font: 13px var(--mono); fill: var(--ink); }
.chart .val.on-hot { fill: var(--on-accent); font-weight: 600; }
.chart .val.on-ink { fill: var(--bg); font-weight: 600; }
.chart .bar { fill: var(--accent-soft); }
.chart .bar.hot { fill: var(--accent); }
.chart .bar.ink { fill: var(--ink); }
.chart .note { font: 14px var(--sans); fill: var(--ink); }
.chart .note.muted { fill: var(--muted); }
.chart .lead { stroke: var(--ink); stroke-width: 1; fill: none; }
.chart.wide { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 8px 0 0; }
.chart.wide > div { max-width: 1000px; margin: 0 auto; padding: 48px var(--gutter); }
.chart.wide .t { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 4px; }
.chart.wide .st { font-size: 15px; margin-bottom: 20px; }
.chart.wide figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* offers */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 1px solid var(--ink); }
.offers > div { padding: 24px 24px 32px 0; border-bottom: 1px solid var(--rule); }
.offers .n { font: 13px var(--mono); color: var(--accent); margin-bottom: 12px; }
.offers h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.offers p { margin: 0; color: var(--muted); }

/* we run on it */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px 64px; }
.big-claim { margin: 0 0 20px; font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.uptime { margin: 0; padding: 0; list-style: none; font: 14px var(--mono); border-top: 1px solid var(--ink); }
.uptime li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.uptime span { color: var(--muted); text-align: right; white-space: nowrap; }
.uptime li:has(> a) { padding: 0; }
.uptime a { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 12px 0; color: var(--ink); text-decoration: none; }
.uptime a span { color: var(--accent); }
.uptime a:hover, .uptime a:hover span { color: var(--accent-hover); }
.claims { display: flex; flex-direction: column; gap: 28px; justify-content: flex-end; }
.claims h3 { margin: 0 0 6px; font-size: 22px; }
.claims p { margin: 0; color: var(--ink-2); }

/* dark call to action */
.cta { margin: 0 0 72px; padding: 40px; background: var(--invert-bg); color: var(--invert-ink); border-radius: 6px; display: flex; flex-wrap: wrap; gap: 24px 32px; justify-content: space-between; align-items: center; text-decoration: none; }
.cta:hover { color: var(--invert-ink); }
.cta h2 { margin: 0 0 12px; font-size: 40px; letter-spacing: -0.035em; line-height: 1; }
.cta p { margin: 0; color: var(--invert-muted); max-width: 40rem; }
.cta b { display: block; font-size: 24px; letter-spacing: -0.03em; }
.cta .btn.primary { flex: none; }
@media (max-width: 520px) { .cta { padding: 28px 20px; } .cta h2 { font-size: 32px; } }

/* a field note */
.note { max-width: var(--read); margin: 0 auto; padding: 64px 0 48px; font-size: 18px; line-height: 1.65; }
.note.after { padding-top: 48px; }
.note h1 { margin: 0 0 20px; font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.note .lede { max-width: none; font-size: 22px; line-height: 1.45; margin-bottom: 40px; }
.note h2 { margin: 48px 0 12px; font-size: 26px; letter-spacing: -0.025em; }
.note p, .note ol, .note ul { margin: 0 0 24px; }
.note li { margin-bottom: 12px; }
.note .chart { margin: 8px 0 40px; }
.box { margin: 0 0 32px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; }
.box .eyebrow { margin: 0 0 6px; font-size: 12px; color: var(--accent); }
.box p { margin: 0 0 12px; font-size: 17px; }
.box p:last-child { margin: 0; }
.aside { padding-left: 16px; border-left: 2px solid var(--rule); color: var(--ink-2); font-size: 16px; }
.table { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: right; padding: 8px 8px 8px 0; font: 600 13px var(--mono); border-bottom: 1px solid var(--ink); }
table.data td { text-align: right; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; font-family: var(--sans); padding-left: 8px; white-space: normal; }
table.data tr.us td { background: var(--surface); font-weight: 600; }
table.data td.hot { color: var(--accent); }
@media (max-width: 640px) { table.data { font-size: 14px; } table.data td { white-space: normal; } }
code { font: 0.88em var(--mono); background: var(--surface); padding: 0.1em 0.3em; border-radius: 3px; }
