/* Dataset pages. Same system as the home page: white paper, ink, graphite greys, lime and green, Geist + Geist Mono. */
:root {
  --bg: #ffffff;
  --surface: #f6f5f2;
  --surface-2: #fbfaf8;
  --line: #e4e1da;
  --line-2: #eeece7;
  --ink: #0e0f13;
  --dim: #4a4d56;
  --faint: #8e9098;
  --accent: #0f8a40;
  --accent-soft: #f1faf4;
  --accent-line: #cfe9d8;
  --lime: #d8ff62;
  --lime-soft: #f6ffdc;
  --red: #b4372f;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }
main { flex: 1; }
.num, td.num, th.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* header (as home) */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.logo svg { width: 26px; height: 26px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a.lnk { font-size: 14.5px; font-weight: 500; color: var(--dim); text-decoration: none; }
nav a.lnk:hover, nav a.lnk[aria-current] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; border: 1px solid var(--line); color: var(--ink); background: #fff; transition: background .2s, border-color .2s; }
.btn:hover { border-color: var(--ink); }
.btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid:hover { background: #26282f; }
header .btn { height: 36px; padding: 0 14px; font-size: 14px; }
@media (max-width: 600px) { nav a.lnk { display: none; } }

/* hero */
.hero { padding: 72px 0 0; text-align: center; }
.crumb { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 0 0 22px; }
.crumb a { color: var(--accent); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.0; letter-spacing: -.045em; font-weight: 700; margin: 0 auto 22px; max-width: 980px; text-wrap: balance; }
h1 span { color: var(--faint); }
.lead { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.45; color: var(--dim); margin: 0 auto; max-width: 640px; text-wrap: pretty; }
.cta { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }

/* metrics strip */
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 56px auto 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; background: #fff; }
.metric { padding: 22px 24px 20px; display: grid; gap: 10px; align-content: start; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric b { font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.metric span { font-size: 14px; color: var(--dim); line-height: 1.4; }
@media (max-width: 760px) { .metrics { grid-template-columns: 1fr; } .metric + .metric { border-left: 0; border-top: 1px solid var(--line); } }

/* the product shot: a dataset window */
.shot { text-align: left; margin: 20px auto 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 10px; box-shadow: 0 40px 90px -50px rgba(14,15,19,.35); }
.win { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--faint); min-width: 0; }
.bar .dots { display: flex; gap: 6px; flex: 0 0 auto; }
.bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.bar b { color: var(--ink); font-weight: 500; white-space: nowrap; }
.bar .desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bar .tag { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11.5px; letter-spacing: .02em; white-space: nowrap; }
.bar .tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.body { display: grid; grid-template-columns: minmax(0, 1fr) 310px; }
.body > * { min-width: 0; }
.tbl { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
th.num { text-align: right; }
td { padding: 0 14px; height: 46px; border-bottom: 1px solid var(--line-2); white-space: nowrap; vertical-align: middle; }
td.num { text-align: right; font-size: 13px; }
td.d { color: var(--dim); }
td.w { white-space: normal; min-width: 13em; max-width: 24em; padding-top: 10px; padding-bottom: 10px; line-height: 1.35; font-size: 13.5px; color: var(--dim); }
td.n { font-family: var(--mono); font-size: 12px; color: var(--faint); width: 1%; padding-right: 4px; }
tbody tr { cursor: pointer; transition: background .12s; }
tbody tr:hover { background: var(--surface-2); }
tbody tr[aria-selected="true"] { background: var(--lime-soft); }
tbody tr[aria-selected="true"] td.n { color: var(--ink); box-shadow: inset 2px 0 0 var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
.src { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11.5px; color: var(--accent); text-decoration: none; border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.src:hover { border-color: var(--accent); }
.src.ic { width: 26px; height: 26px; padding: 0; justify-content: center; font-size: 12px; }
.flag { display: inline-flex; align-items: center; margin-left: 8px; font-family: var(--mono); font-size: 10.5px; padding: 2px 7px; border-radius: 999px; vertical-align: 1px; white-space: nowrap; }
.flag.miss { background: #fdf0ee; color: var(--red); border: 1px solid #f3d3cf; }
.src.calc { color: var(--faint); background: var(--surface); border-color: var(--line); font-family: var(--mono); cursor: default; }
tr.tot td { font-weight: 600; color: var(--ink); background: var(--surface); }
.flag.dim { background: var(--surface); color: var(--dim); border: 1px solid var(--line); }

/* inspector: the selected row, with its source */
.insp { border-left: 1px solid var(--line); background: var(--surface-2); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.insp .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0; display: flex; align-items: center; gap: 8px; }
.insp .k i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.insp h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.insp .doc { font-family: var(--mono); font-size: 12px; color: var(--dim); margin: -8px 0 0; }
.insp blockquote { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--ink); }
.insp dl { margin: 0; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.insp dt, .insp dd { margin: 0; padding: 8px 11px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.insp dt { color: var(--faint); }
.insp dd { font-family: var(--mono); font-size: 12px; word-break: break-word; }
.insp dt:nth-last-of-type(1), .insp dd:last-child { border-bottom: 0; }
.insp .open { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.insp .open:hover { background: #26282f; }
.cap { display: flex; justify-content: space-between; gap: 16px; padding: 12px 8px 4px; font-family: var(--mono); font-size: 12px; color: var(--faint); flex-wrap: wrap; }
.cap b { color: var(--ink); font-weight: 500; }
@media (max-width: 980px) { .body { grid-template-columns: 1fr; } .insp { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .hero { padding-top: 48px; text-align: left; } h1, .lead { margin-left: 0; } .cta { justify-content: flex-start; } .crumb { margin-bottom: 16px; } .shot { padding: 6px; border-radius: 16px; margin-left: -8px; margin-right: -8px; } .bar .desc, .bar .tag { display: none; } td, th { padding-left: 12px; padding-right: 12px; } }

/* sections */
section.s { padding: 104px 0 0; }
.sh { display: grid; gap: 12px; margin-bottom: 36px; }
.sh .k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; margin: 0; max-width: 820px; text-wrap: balance; }
@media (max-width: 600px) { section.s { padding-top: 72px; } }

/* one question, two answers */
.duel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.side { border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px 26px; display: grid; gap: 18px; align-content: start; background: var(--surface); }
.side.us { background: #fff; border-color: var(--ink); box-shadow: 0 30px 70px -50px rgba(14,15,19,.45); }
.side .who { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.side .who b { font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.side.us .who b::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); }
.side .who small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.side .fig { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.side .fig b { font-size: clamp(48px, 5.6vw, 72px); font-weight: 700; letter-spacing: -.05em; line-height: .95; }
.side:not(.us) .fig b { color: var(--faint); }
.side .fig span { font-size: 15px; color: var(--dim); }
.side ul { margin: 0; padding: 18px 0 0; list-style: none; display: grid; gap: 9px; font-size: 14.5px; border-top: 1px solid var(--line); }
.side li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; line-height: 1.4; }
.side li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; margin-top: -1px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23d8ff62' stroke-width='1.8'/%3E%3C/svg%3E"); }
.side li.x { color: var(--dim); }
.side li.x::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6.5 6.5l5 5M11.5 6.5l-5 5' stroke='%23b4372f' stroke-width='1.5'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 1px #f3d3cf; }
@media (max-width: 760px) { .duel { grid-template-columns: 1fr; } }

/* feature table */
.vs-wrap { border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; background: #fff; }
.vs { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.vs th, .vs td { padding: 16px 18px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; white-space: normal; height: auto; }
.vs thead th { background: var(--surface-2); font-family: var(--sans); text-transform: none; letter-spacing: -.01em; font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.vs thead th small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--faint); margin-top: 3px; letter-spacing: 0; }
.vs thead th.us { background: var(--lime-soft); }
.vs tbody th { font-family: var(--sans); text-transform: none; letter-spacing: -.01em; font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; width: 24%; white-space: normal; }
.vs tbody tr { cursor: default; }
.vs tbody tr:hover { background: none; }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }
.vs td { color: var(--dim); }
.vs td.us { background: #fbffef; color: var(--ink); }
.vs .c { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; line-height: 1.4; }
.vs .c i { width: 18px; height: 18px; border-radius: 50%; margin-top: 0; }
.vs .c i.y { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23d8ff62' stroke-width='1.8'/%3E%3C/svg%3E"); }
.vs .c i.n { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6.5 6.5l5 5M11.5 6.5l-5 5' stroke='%23b4372f' stroke-width='1.5'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 1px #f3d3cf; }
.vs .c i.p { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 9h6' stroke='%238e9098' stroke-width='1.6'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 1px var(--line); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-weight: 400; font-size: 16px; color: var(--dim); }
.faq details[open] summary::after { content: "−"; background: var(--lime); border-color: var(--lime); color: var(--ink); }
.faq details p { margin: -4px 0 24px; color: var(--dim); max-width: 760px; font-size: 16px; }

/* more datasets */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards a { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 28px; min-height: 0; text-decoration: none; transition: border-color .2s, background .2s; }
.cards a:hover { border-color: var(--ink); background: #fff; }
.cards em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .02em; }
.cards b { display: block; font-size: 18px; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 8px; }
.cards span { font-size: 14px; color: var(--dim); line-height: 1.45; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .cards a { min-height: 0; } }

/* closing card (as home) */
.contact { padding: 104px 0 80px; }
.end { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: 20px; background: var(--ink); color: #fff; }
.end h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 8px; }
.end p { margin: 0; color: #b9bcc6; }
.end .acts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.end .btn.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.end .btn.lime:hover { background: #cdf74f; }
.end .addr { font-size: 15px; color: #b9bcc6; text-decoration: none; }
.end .addr:hover { color: #fff; }
@media (max-width: 760px) { .end { flex-direction: column; align-items: flex-start; padding: 32px 24px; } .contact { padding: 72px 0 56px; } }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; padding: 22px 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }
footer nav { grid-column: 1 / -1; order: -1; display: flex; gap: 8px 22px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
footer a { text-decoration: none; color: var(--faint); }
footer a:hover { color: var(--ink); }

/* catalogue */
.cat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 56px; text-align: left; }
.cat a { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 20px; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.cat a:hover { border-color: var(--ink); box-shadow: 0 30px 70px -50px rgba(14,15,19,.45); }
.cat em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.cat b { font-size: 22px; letter-spacing: -.03em; line-height: 1.15; }
.cat span { color: var(--dim); font-size: 15px; }
.cat .m { display: flex; align-items: baseline; gap: 10px; padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--line-2); }
.cat .m strong { font-size: 26px; letter-spacing: -.04em; white-space: nowrap; }
.cat .m small { font-size: 13px; color: var(--faint); }
@media (max-width: 800px) { .cat { grid-template-columns: 1fr; } }

/* ---------- data desk (/data) ---------- */
.crumb .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--lime); }
.metrics.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .metrics.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metrics.four .metric:nth-child(3) { border-left: 0; } .metrics.four .metric:nth-child(n+3) { border-top: 1px solid var(--line); } }
.desk { padding: 72px 0 0; }
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.desk-grid > * { min-width: 0; }
.fbar { position: sticky; top: 64px; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--dim); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.chip span { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--lime); }
.find { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.find:focus-within { border-color: var(--ink); background: #fff; }
.find span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14.5px; color: var(--ink); }
.dh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin: 0; padding: 30px 0 12px; border-bottom: 1px solid var(--ink); max-width: none; }
.dh small { font-size: 11.5px; color: var(--faint); letter-spacing: .02em; }
.item { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 22px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.item[hidden], .day[hidden] { display: none; }
.item .fig { display: grid; gap: 4px; padding-top: 2px; }
.item .fig b { font-family: var(--mono); font-size: 19px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; word-break: break-word; }
.item .fig span { font-size: 12px; color: var(--faint); line-height: 1.3; }
.item .meta { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.item .fam { color: var(--accent); text-decoration: none; }
.item .fam:hover { text-decoration: underline; }
.item h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; text-wrap: pretty; }
.item h3 a { text-decoration: none; }
.item h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.item .dek { margin: 6px 0 0; font-size: 14px; color: var(--dim); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .src { margin-top: 2px; }
.none { padding: 40px 0; color: var(--dim); }
.side-nav { position: sticky; top: 88px; display: grid; gap: 14px; }
.side-nav .k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.side-nav nav { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.side-nav nav a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.side-nav nav a:last-child { border-bottom: 0; }
.side-nav nav a:hover { background: var(--surface-2); }
.side-nav nav b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.side-nav nav span { grid-column: 1; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.side-nav nav em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.ondemand { border-radius: 14px; background: var(--ink); color: #fff; padding: 20px; display: grid; gap: 8px; }
.ondemand b { font-size: 17px; letter-spacing: -.02em; }
.ondemand p { margin: 0 0 6px; color: #b9bcc6; font-size: 14px; }
.ondemand .btn.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
@media (max-width: 980px) { .desk-grid { grid-template-columns: 1fr; } .side-nav { position: static; } }
@media (max-width: 600px) {
  .desk { padding-top: 48px; }
  .fbar { top: 64px; }
  .item { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .item .fig { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; }
  .item .fig b { font-size: 17px; }
}

/* ---------- one entry (/data/feed/<id>) ---------- */
.entry { padding: 56px 0 0; }
.entry .wrap { max-width: 980px; }
.entry .crumb { margin-bottom: 18px; }
.when { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.when span:first-child { color: var(--ink); }
.entry h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -.04em; margin: 0 0 18px; max-width: none; text-align: left; }
.entry .lead { margin: 0; max-width: 760px; font-size: 18px; }
.entry .shot { margin-top: 36px; }
.fact { display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.fact > * { min-width: 0; }
.fact .big { display: grid; align-content: center; gap: 10px; padding: 40px 36px; background: radial-gradient(120% 90% at 0% 0%, var(--lime-soft), #fff 60%); }
.fact .big b { font-size: clamp(48px, 7vw, 92px); font-weight: 700; letter-spacing: -.055em; line-height: .95; word-break: break-word; }
.fact .big span { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.calc-note { margin: 0; font-size: 13px; color: var(--faint); }
.from { display: grid; gap: 6px; margin-top: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: var(--surface); transition: border-color .2s, background .2s; }
.from:hover { border-color: var(--ink); background: #fff; }
.from em { font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.from b { font-size: 19px; letter-spacing: -.02em; }
.from span { color: var(--dim); font-size: 14.5px; }
.from i { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--ink); margin-top: 6px; }
.more { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; font-family: var(--mono); font-size: 13px; }
.more a { color: var(--accent); text-decoration: none; }
.more a:hover { text-decoration: underline; }
.entry + .s .feed { border-top: 1px solid var(--ink); }
@media (max-width: 860px) { .fact { grid-template-columns: 1fr; } .fact .insp { border-left: 0; border-top: 1px solid var(--line); } .fact .big { padding: 28px 22px; } }
@media (max-width: 600px) { .entry { padding-top: 40px; } }

/* what you get */
.spec { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.spec > * { min-width: 0; }
.fields { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.sk { margin: 0; padding: 14px 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.fields table { font-size: 14.5px; }
.fields th, .fields td { padding: 14px 20px; height: auto; white-space: normal; vertical-align: top; border-bottom: 1px solid var(--line-2); background: none; }
.fields th { width: 34%; font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.fields td { color: var(--dim); line-height: 1.45; }
.fields tr { cursor: default; }
.fields tr:hover { background: none; }
.fields tr:last-child th, .fields tr:last-child td { border-bottom: 0; }
.terms { margin: 0; display: grid; border: 1px solid var(--ink); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px -50px rgba(14,15,19,.45); }
.terms div { padding: 16px 20px; border-bottom: 1px solid var(--line-2); display: grid; gap: 4px; }
.terms div:last-child { border-bottom: 0; background: var(--lime-soft); }
.terms dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.terms dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
@media (max-width: 900px) { .spec { grid-template-columns: 1fr; } .fields th { width: 40%; } }

/* catalogue: sample rows grouped by dataset */
.grp { margin-top: 40px; }
.grp:first-of-type { margin-top: 0; }
.gh { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.gh em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.gh h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.03em; }
.gh a { font-family: var(--mono); font-size: 12.5px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.gh a:hover { text-decoration: underline; }
.grp .item .meta:empty { display: none; }
.cat a.ask { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat a.ask em { color: var(--lime); }
.cat a.ask span { color: #b9bcc6; }
.cat a.ask .m { border-top-color: #2a2c33; }
.cat a.ask .m strong { font-size: 17px; letter-spacing: -.01em; color: var(--lime); }
