/* Observatory by Prerender: one stylesheet for every page (Foveo palette, brand.md). */
:root {
  --paper: #F5F5F1; --white: #FFFFFF; --ink: #222222; --black: #000000;
  --compute: #0052CC; --bright: #0663FC; --silver: #ABC2D7; --silver-bright: #DAE1E8;
  --mandarin: #E14923; --green: #0D7F57; --earth: #7E562B; --cool: #477584;
  --green-bright: #009763; --cool-bright: #3C849A;
  --ink-soft: color-mix(in srgb, #222222 68%, transparent);
  --rule: color-mix(in srgb, #ABC2D7 70%, transparent);
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 5.3vw, 72px);
}
* { box-sizing: border-box; border-radius: 0; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); }
a { color: var(--compute); text-underline-offset: 3px; }
code, .mono { font-family: var(--mono); font-size: 0.86em; }
h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

/* Header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand img { height: 13px; width: auto; }
.brand .mono { color: var(--compute); letter-spacing: 0.04em; }
.nav { display: flex; gap: 22px; font: 400 13px var(--mono); letter-spacing: 0.04em; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a[aria-current] { color: var(--compute); box-shadow: inset 0 -2px 0 var(--bright); }
.foot { margin-top: 96px; padding: 40px var(--gutter) 48px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; font-size: 14px; }
.foot .about-pr { grid-column: 1 / 7; }
.foot .links { grid-column: 8 / 13; display: flex; gap: 22px; flex-wrap: wrap; font: 400 13px var(--mono); }
.foot svg { height: 18px; margin-bottom: 14px; }

/* Eyebrows: bracketed mono capitals with a parse mark */
.eyebrow { font: 400 13px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--compute); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 3px; height: 14px; background: var(--bright); }
.on-blue .eyebrow { color: var(--silver-bright); }
.on-blue .eyebrow::before { background: var(--silver-bright); }

/* Grid and sections */
.wrap { padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.section { padding-top: 72px; }
.section > .grid > h2 { grid-column: 1 / 5; font-size: 28px; line-height: 1.1; }
.section > .grid > .body { grid-column: 6 / 13; max-width: 720px; }
.lede { font-size: 21px; line-height: 1.45; }
.parse { display: inline-block; width: 6px; height: 0.8em; background: var(--mandarin); margin-left: 10px; vertical-align: baseline; }

/* Hero: two fields, Compute Blue dominant with Touch Grass */
.hero { display: grid; grid-template-columns: 7fr 3fr; min-height: 520px; }
.hero .field-a { background: var(--compute); color: var(--silver-bright); padding: 56px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 0.95; letter-spacing: -0.04em; max-width: 12ch; }
.hero .field-a p { font-size: 20px; max-width: 560px; margin: 0; }
.hero .field-b { background: var(--green); color: var(--black); padding: 56px 32px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.hero .stat { font-size: clamp(72px, 9vw, 140px); line-height: 0.9; letter-spacing: -0.04em; font-weight: 500; }
.hero .field-b p { margin: 0; font-size: 16px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card { background: var(--white); padding: 28px 28px 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; text-decoration: none; color: var(--ink); border-bottom: 4px solid var(--silver); }
.card h3 { font-size: 26px; line-height: 1.1; margin-bottom: 14px; }
.card .go { font: 400 13px var(--mono); color: var(--compute); letter-spacing: 0.04em; }
.card.accent-cool { border-bottom-color: var(--cool-bright); }
.card.accent-earth { border-bottom-color: var(--earth); }
.card.accent-bright { border-bottom-color: var(--bright); }

/* Machine moment: Off-black panel with mono type */
.machine { background: var(--ink); color: var(--white); padding: 28px 28px 24px; font: 400 14px/1.6 var(--mono); overflow-wrap: anywhere; }
.machine .label { color: var(--silver); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.machine .label::before { content: ""; width: 3px; height: 12px; background: var(--bright); }
.machine .hl { color: var(--silver-bright); box-shadow: inset 0 -2px 0 var(--bright); }

/* Page head for inner pages */
.pagehead { padding: 64px var(--gutter) 0; }
.pagehead h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 0.98; letter-spacing: -0.035em; max-width: 16ch; }
.pagehead .lede { max-width: 760px; margin-top: 24px; }

/* Fact tiles on a machine page */
.facts { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr; gap: 0; margin-top: 48px; }
.fact { padding: 22px 22px 20px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.fact .k { font: 400 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.fact .v { font-size: 26px; line-height: 1.1; font-weight: 500; }
.fact.f1 { background: var(--silver-bright); }
.fact.f2 { background: var(--white); }
.fact.f3 { background: var(--cool-bright); color: var(--black); }
.fact.f4 { background: var(--silver); }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
th { text-align: left; font: 400 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--compute); padding: 14px 16px; border-bottom: 2px solid var(--silver); }
td { padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
td a { font-weight: 500; }
.tag { font: 400 12px var(--mono); padding: 2px 8px; background: var(--silver-bright); white-space: nowrap; }
.tag.yes { background: var(--green-bright); color: var(--black); }
.tag.no { background: var(--white); box-shadow: inset 0 0 0 1px var(--silver); }
.tag.open { background: var(--paper); box-shadow: inset 0 0 0 1px var(--mandarin); }
.scroll { overflow-x: auto; }

/* Definition rows */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row h3 { font-size: 20px; }

/* Sources and updated panel */
.sources { font: 400 13px/1.7 var(--mono); }
.sources a { overflow-wrap: anywhere; }
.updated { background: var(--silver-bright); padding: 24px 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font: 400 13px var(--mono); }

/* Self-hosted fonts: a visitor's browser contacts only this site (SIL Open Font License, licences in /fonts/) */
@font-face { font-family: "Inter Tight"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/InterTight-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/InterTight-Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/GeistMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/GeistMono-Medium.woff2") format("woff2"); }

/* Consent bar (D17): one line, bottom of the viewport, data-nosnippet; /probe.js shows it only to a person who has not chosen */
.consent[hidden] { display: none; }
body:has(.consent:not([hidden])) { padding-bottom: 88px; }
.consent { position: fixed; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 4px solid var(--bright); padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 15px; z-index: 10; }
.consent p { margin: 0; max-width: 820px; }
.consent-actions { display: flex; gap: 12px; }
.consent button { font: 500 14px var(--sans); padding: 10px 18px; border: 0; cursor: pointer; }
.btn-yes { background: var(--compute); color: var(--silver-bright); }
.btn-no { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--silver); }

/* Phone width */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .field-b { padding: 32px var(--gutter); gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .section > .grid > h2, .section > .grid > .body, .foot .about-pr, .foot .links { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .section { padding-top: 48px; }
}
