/* Fichestone. Design system of the proposition "The version on the date" (propositions/2026-11-09-the-version-on-the-date):
   limestone ground, charcoal ink, one ochre accent; Schibsted Grotesk for display, Hanken Grotesk for text, self-hosted
   under the OFL; every section laid as a course of stone on a numbered rail. One idea: a fiche is shown as a dated core
   sample, its versions laid down as courses, the one in force on your date picked out in ochre. */
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --ground: #ebe6dc; --ground-2: #e2dbcd; --paper: #f4f0e8; --stone: #d6cdbb; --stone-2: #c9bfab;
  --ink: #23211e; --ink-2: #5d5850; --rule: #cbc2b1; --ochre: #a8681c; --ochre-ink: #8a5312; --ochre-pale: #f0d9b4;
  --display: "Schibsted Grotesk", "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; }
.tnum, .tbl td.n, .tbl th.n, .facts strong, .count strong, .price, .layer dd strong, .rail b, .strata text, .cal-d, .kv dd { font-variant-numeric: tabular-nums; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ochre-ink); }
:focus-visible { outline: 2px solid var(--ochre-ink); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-ink); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 86px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.04; }
h3 { font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 14px; max-width: 66ch; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(235, 230, 220, .94); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 20px; letter-spacing: -0.01em; }
.brand b { font-weight: 800; }
.mk { display: block; flex: none; }
.nav { display: flex; gap: 24px; font-size: 15px; color: var(--ink-2); margin-left: 12px; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ochre); }
.pill { margin-left: auto; text-decoration: none; background: var(--ink); color: #f3eee5; font-family: var(--display); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 4px; white-space: nowrap; }
.pill:hover { background: var(--ochre-ink); color: #fbf7ef; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 14px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu .sheet { position: absolute; right: 0; top: 46px; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 8px; width: 240px; box-shadow: 0 18px 40px -20px rgba(35, 33, 30, .45); display: grid; }
.menu .sheet a { text-decoration: none; padding: 10px 12px; border-radius: 4px; font-size: 15px; }
.menu .sheet a:hover { background: var(--ground-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--ink-2); padding-top: 22px; padding-bottom: 0; }
.crumbs a { text-decoration: none; }
.crumbs > * + *::before { content: "/"; margin-right: 10px; color: var(--stone-2); }
.crumbs span { color: var(--ink); }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 15px; text-decoration: none; padding: 13px 20px; border-radius: 4px; background: var(--ink); color: #f3eee5; border: 1px solid var(--ink); cursor: pointer; }
.btn:hover { background: var(--ochre-ink); border-color: var(--ochre-ink); color: #fbf7ef; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--stone-2); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }

/* courses: every section is a course of stone with a numbered rail */
.course-s { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 48px; padding-block: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--rule); }
.rail { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-top: 8px; }
.rail b { display: block; font-size: 44px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; margin-bottom: 10px; font-weight: 800; }
.alt { background: var(--ground-2); }
.sec-h { margin-bottom: 8px; }
.sec-h + .lede { margin-top: 18px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 56px; padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); align-items: start; }
.hero h1 span { color: var(--ochre); }
.hero .lede { margin-top: 26px; }
.def { margin-top: 18px; font-size: 16px; color: var(--ink); border-left: 3px solid var(--ochre); padding-left: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 30px; font-size: 15px; color: var(--ink-2); }
.facts strong { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 28px; display: block; letter-spacing: -0.01em; line-height: 1.1; }

/* the answer as a core sample */
.core { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 48px -28px rgba(35, 33, 30, .45); }
.core-h { background: var(--ink); color: #f3eee5; padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--display); font-weight: 700; }
.core-h span:last-child { color: #d8b27a; white-space: nowrap; }
.core dl { margin: 0; }
.layer { padding: 14px 20px; display: grid; grid-template-columns: 136px 1fr; gap: 12px; font-size: 15px; border-top: 1px solid rgba(35, 33, 30, .08); }
.layer dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-family: var(--display); font-weight: 700; padding-top: 3px; }
.layer dd { margin: 0; overflow-wrap: anywhere; }
.layer.l0 { background: var(--ochre-ink); color: #fbf7ef; }
.layer.l0 dt { color: #f3dfc2; }
.layer.l0 dd strong { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; display: block; line-height: 1.05; }
.layer.l1 { background: #e7dfd0; } .layer.l2 { background: #ddd4c2; } .layer.l3 { background: #d4c9b5; } .layer.l4 { background: #cabea8; } .layer.l5 { background: #c0b39b; }
.layer small { display: block; color: var(--ink-2); font-size: 13px; }
.core-f { background: #b5a78d; padding: 12px 20px; font-size: 13px; color: var(--ink); overflow-wrap: anywhere; }
.calc { margin-top: 14px; background: var(--paper); border-radius: 6px; padding: 16px 20px; display: grid; gap: 4px; }
.calc .calc-l { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.calc .calc-f { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 1.9vw, 27px); letter-spacing: -0.01em; line-height: 1.15; font-variant-numeric: lining-nums proportional-nums; }
.calc .calc-f em { font-style: normal; color: var(--ochre-ink); }
.calc small { color: var(--ink-2); font-size: 13px; }

/* genuine code blocks only */
/* Inline names (tools, fields) are set in the text face; only a genuine code block (pre) uses a code face. */
code { font-family: var(--text); font-weight: 600; font-size: .94em; background: var(--ground-2); padding: 1px 6px; border-radius: 3px; }
pre, pre code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
pre { margin: 0; background: #2b2925; color: #efe9de; padding: 16px 18px; border-radius: 6px; font-size: 12.5px; line-height: 1.55; overflow-x: auto; white-space: pre; max-width: 100%; }
pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.term { font-family: var(--text); font-weight: 600; background: var(--ground-2); padding: 1px 6px; border-radius: 3px; }
.cap { font-size: 13px; color: var(--ink-2); margin: 10px 0 0; }

/* photo band */
.band { position: relative; margin: 0; }
.band img { width: 100%; height: clamp(300px, 42vw, 560px); object-fit: cover; }
.band figcaption { position: absolute; left: 0; right: 0; bottom: 0; }
.band figcaption .wrap { padding-bottom: clamp(20px, 3vw, 40px); }
.band figcaption p { display: inline-block; max-width: 40ch; background: var(--ground); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.01em; padding: 18px 22px; margin: 0; border-radius: 4px; }
.band figcaption small { display: block; font-family: var(--text); font-weight: 400; font-size: 13px; color: var(--ink-2); margin-top: 8px; letter-spacing: 0; }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* problem counts */
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 2px solid var(--ink); }
.count { padding: 22px 22px 22px 0; border-right: 1px solid var(--rule); }
.count + .count { padding-left: 22px; }
.count:last-child { border-right: 0; }
.count strong { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.03em; line-height: 1; display: block; }
.count span { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-2); max-width: 32ch; }
.count.hl strong { color: var(--ochre-ink); }

/* strata */
.strata { width: 100%; height: auto; display: block; margin-top: 30px; }
.sv-v { font-family: var(--display); font-weight: 800; font-size: 22px; }
.sv-d { font-family: var(--text); font-size: 13px; }
.sv-y { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.legend i { display: inline-block; width: 22px; height: 12px; vertical-align: -1px; margin-right: 8px; border-radius: 2px; }
.courses { list-style: none; padding: 0; margin: 26px 0 0; display: none; }
.course { background: var(--stone); padding: 14px 16px; border-radius: 4px; margin-bottom: 6px; display: grid; gap: 2px; }
.course.is-now { background: var(--ochre-ink); color: #fbf7ef; }
.course.is-hidden { background: repeating-linear-gradient(45deg, #e2dbcd 0 4px, #d9d0bf 4px 8px); outline: 1px dashed var(--ink-2); outline-offset: -1px; }
.course .c-v { font-family: var(--display); font-weight: 800; font-size: 22px; }
.course .c-d { font-size: 15px; } .course .c-o { font-size: 13px; opacity: .85; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 40px; }

/* cards, tables, quotes */
.cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; margin-top: 36px; }
.card { background: var(--paper); border-radius: 6px; padding: 24px; }
.card h3 { margin-bottom: 6px; }
.card .meta { font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }
.tblw { overflow-x: auto; margin: 18px 0; max-width: 100%; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 15px; padding-bottom: 10px; }
.tbl th { text-align: left; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 0 12px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: bottom; }
.tbl td { padding: 9px 12px 9px 0; border-bottom: 1px solid #ddd6c8; vertical-align: top; }
.tbl td.n, .tbl th.n { text-align: right; white-space: nowrap; }
.tbl tr.now td { background: rgba(168, 104, 28, .1); }
.tbl tr.now td:first-child { box-shadow: inset 3px 0 0 var(--ochre-ink); padding-left: 10px; }
.tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--stone); color: var(--ink); white-space: nowrap; }
.tag.o { background: var(--ochre-ink); color: #fbf7ef; }
.tag.g { background: transparent; outline: 1px solid var(--stone-2); outline-offset: -1px; color: var(--ink-2); }
.quote { border-left: 3px solid var(--ochre); padding: 4px 0 4px 16px; margin: 16px 0; font-size: 15px; }
.quote ins, ins.add { text-decoration: none; background: var(--ochre-pale); padding: 0 3px; border-radius: 2px; font-weight: 600; }
del.rem { color: var(--ink-2); text-decoration-color: rgba(35, 33, 30, .5); }

/* sources */
.srcgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 36px; }
.src { padding: 22px 0; border-top: 1px solid var(--rule); }
.src h3 { margin-bottom: 8px; }
.src p { font-size: 15px; color: var(--ink-2); }
.src .fr { color: var(--ink); }

/* buyers */
.jobs { list-style: none; margin: 36px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.jobs li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.jobs h3 { font-size: 22px; }
.jobs p { font-size: 15px; color: var(--ink-2); margin: 0; }
.jobs .tools { font-size: 14px; color: var(--ink); font-weight: 600; }

/* calendar strip */
.cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; align-items: start; }
.cal-m { background: var(--paper); border-radius: 6px; padding: 18px 20px; }
.cal-m h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.cal-e { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.cal-d { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.cal-d small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); margin-top: 4px; }
.cal-e a { font-weight: 600; }
.cal-e span { display: block; font-size: 13px; color: var(--ink-2); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 2px solid var(--ink); }
.plan { padding: 24px 22px 28px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.plan + .plan { padding-left: 22px; }
.plan:last-child { border-right: 0; }
.plan h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.price { font-family: var(--display); font-weight: 800; font-size: 54px; letter-spacing: -0.03em; line-height: 1; margin: 18px 0 4px; }
.price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.per { font-size: 14px; color: var(--ochre-ink); font-weight: 600; margin-bottom: 14px; }
.plan p { font-size: 15px; color: var(--ink-2); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.note { font-size: 14px; color: var(--ink-2); margin-top: 22px; }

/* connect */
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; margin-top: 30px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 16px 0 16px 56px; border-top: 1px solid var(--rule); position: relative; font-size: 16px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ochre-ink); font-variant-numeric: tabular-nums; }
.steps li b { font-family: var(--display); }
.tabs { border-radius: 6px; overflow: hidden; background: #2b2925; }
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 2px; padding: 8px 8px 0; background: #35322d; }
.tabs [role="tab"] { font: 700 13px/1 var(--display); letter-spacing: .04em; color: #cfc6b6; background: transparent; border: 0; padding: 11px 14px; border-radius: 4px 4px 0 0; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: #2b2925; color: #fbf7ef; }
.tabs [role="tabpanel"] { padding: 4px 0 0; }
.tabs [role="tabpanel"] p { color: #d9d1c3; font-size: 14px; padding: 12px 18px 0; margin: 0; }
.tabs pre { border-radius: 0; }

/* answer pages */
.ans-h { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.ans-h h1 { font-size: clamp(34px, 4.8vw, 64px); max-width: 20ch; }
.ans-h .ref { font-family: var(--display); font-weight: 800; color: var(--ochre-ink); display: block; font-size: .62em; letter-spacing: -0.01em; margin-bottom: 8px; }
.ans-h .lede { margin-top: 20px; }
.ans { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
.ans > div > section { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--rule); }
.ans > div > section:last-child { border-bottom: 0; margin-bottom: 0; }
.ans h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 16px; }
.ans h3 { margin: 22px 0 8px; }
.aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.box { background: var(--paper); border-radius: 6px; padding: 20px; font-size: 15px; }
.box h2 { font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px !important; font-weight: 700; }
.box p { margin: 0 0 10px; }
.box p:last-child { margin: 0; }
.box.disc { background: var(--ink); color: #efe9de; }
.box.disc h2 { color: #d8b27a; }
.box.disc a { color: #fbf7ef; }
.kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); margin: 0; border-top: 1px solid var(--rule); }
.kv dt, .kv dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.kv dt { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-top: 15px; padding-right: 16px; }
.kv dd { overflow-wrap: anywhere; }
.kv dd small { display: block; color: var(--ink-2); font-size: 13px; }
.verbatim { font-size: 15px; background: var(--paper); border-radius: 6px; padding: 18px 20px; white-space: pre-line; max-width: none; }
details.fold { border-top: 1px solid var(--rule); padding: 12px 0; }
details.fold summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 15px; }
details.fold[open] summary { margin-bottom: 12px; }
.cite pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.embed-prev { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.hash { overflow-wrap: anywhere; font-size: 13px; color: var(--ink-2); }

/* lists of fiches */
.flist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.flist li { display: grid; grid-template-columns: 140px minmax(0, 1fr) 150px 140px; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--rule); align-items: baseline; font-size: 15px; }
.flist .fid { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; text-decoration: none; font-size: 16px; }
.flist .ft { color: var(--ink); }
.flist .fv { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.flist .fc { text-align: right; }
.flist-h { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.flist li.flist-h { border-bottom: 1px solid var(--rule); padding: 0 0 10px; }
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-top: 32px; }
.sector { padding: 22px 22px 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; display: block; }
.sector:nth-child(3n+2), .sector:nth-child(3n) { padding-left: 22px; border-left: 1px solid var(--rule); }
.sector b { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; display: block; line-height: 1; }
.sector span { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; margin-top: 10px; }
.sector small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.sector:hover b { color: var(--ochre-ink); }
.filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 28px 0 22px; }
.filter label { display: grid; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* page header for inner pages */
.ph { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 44px); }
.ph h1 { font-size: clamp(34px, 5vw, 68px); max-width: 18ch; }
.ph .lede { margin-top: 20px; }
.ph.split-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: end; }
.section { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule); }
.section h2 { margin-bottom: 18px; }

/* prose: blog, legal, glossary, docs */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 44px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { font-size: 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; max-width: 64ch; }
.prose blockquote { margin: 18px 0; border-left: 3px solid var(--ochre); padding: 4px 0 4px 18px; color: var(--ink); font-size: 17px; }
.prose .tbl { font-size: 15px; }
.prose pre { margin: 18px 0; }
.prose figure { margin: 24px 0; }
.legal .prose h2 { font-size: 24px; }
mark.pending, .pending { background: var(--ochre-pale); color: var(--ink); padding: 1px 7px; border-radius: 3px; font-weight: 600; }
.post-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: end; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 40px); }
.post-h h1 { font-size: clamp(32px, 4.4vw, 58px); }
.post-meta { font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.post-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; padding-top: 24px; padding-bottom: 72px; border-top: 1px solid var(--rule); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-top: 12px; }
.post-c { text-decoration: none; display: grid; gap: 10px; align-content: start; }
.post-c img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.post-c h2, .post-c h3 { font-size: 22px; line-height: 1.15; }
.post-c p { font-size: 15px; color: var(--ink-2); margin: 0; }
.post-c:hover h2, .post-c:hover h3 { color: var(--ochre-ink); }
.terms { columns: 2; column-gap: 48px; list-style: none; padding: 0; margin: 0; }
.terms li { break-inside: avoid; padding: 14px 0; border-top: 1px solid var(--rule); }
.terms a { font-family: var(--display); font-weight: 700; font-size: 19px; text-decoration: none; }
.terms p { font-size: 15px; color: var(--ink-2); margin: 4px 0 0; }

/* the free tool */
.try { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 8px; padding-bottom: 80px; }
.modes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.modes button { font: 700 14px/1 var(--display); border: 1px solid var(--stone-2); background: transparent; color: var(--ink-2); padding: 11px 14px; border-radius: 4px; cursor: pointer; }
.modes button[aria-pressed="true"] { background: var(--ink); color: #fbf7ef; border-color: var(--ink); }
.form { background: var(--paper); border-radius: 6px; padding: 22px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, .field > label { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field small { color: var(--ink-2); font-size: 13px; }
input[type="text"], input[type="date"], input[type="number"], input[type="search"], select { font: 500 17px/1.3 var(--text); color: var(--ink); background: #fff; border: 1px solid var(--stone-2); border-radius: 4px; padding: 12px 14px; width: 100%; min-height: 48px; }
input:focus, select:focus { outline: 2px solid var(--ochre-ink); outline-offset: 1px; border-color: var(--ochre-ink); }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2323211e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.examples { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-2); }
.examples button { font: 600 14px/1.4 var(--text); background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.result { min-height: 240px; }
.result .empty { border: 1px dashed var(--stone-2); border-radius: 6px; padding: 28px; color: var(--ink-2); }
.result .err { background: var(--paper); border-left: 4px solid var(--ochre-ink); border-radius: 4px; padding: 18px 20px; }
.result .err h2 { font-size: 22px; margin-bottom: 6px; }
.result .share { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 14px; margin: 14px 0; color: var(--ink-2); }
.result details { margin-top: 14px; }
.result details summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 14px; }
.result details pre { margin-top: 10px; max-height: 420px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.rlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rlist li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: baseline; font-size: 15px; }
.rlist button { font: 700 13px/1 var(--display); background: none; border: 1px solid var(--stone-2); border-radius: 4px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
.needs { display: grid; gap: 14px; margin-top: 14px; }

/* status */
.stat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 24px; }
.stat div { padding: 18px 18px 18px 0; border-right: 1px solid var(--rule); }
.stat div + div { padding-left: 18px; }
.stat div:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink-2); }

/* footer */
.foot { background: var(--ink); color: #d9d1c3; padding: 64px 0 48px; margin-top: 0; }
.foot a { color: #efe9de; }
.foot a:hover { color: #d8b27a; }
.fbig { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.8vw, 38px); letter-spacing: -0.02em; line-height: 1.12; color: #fbf7ef; max-width: 30ch; margin: 0 0 28px; }
.fbig span { color: #d8b27a; }
.fdisc { font-size: 15px; max-width: 84ch; border-left: 3px solid var(--ochre); padding-left: 16px; }
.fdisc b { color: #fbf7ef; }
.fcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid #3d3a35; }
.fh { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a89f90; font-weight: 700; margin-bottom: 12px; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.fcols a { text-decoration: none; }
.fmeta { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; color: #a89f90; margin-top: 36px; padding-top: 20px; border-top: 1px solid #3d3a35; max-width: none; }
.fmeta.fai { margin-top: 12px; padding-top: 0; border: 0; max-width: 90ch; }

/* reveal: quiet, and off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .rv { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .rv.d1 { animation-delay: .08s; } .rv.d2 { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; margin-left: auto; }
  .pill { margin-left: 0; }
  .hero, .ph.split-h, .post-h { grid-template-columns: minmax(0, 1fr); }
  .course-s { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rail b { display: inline; font-size: 28px; margin: 0 12px 0 0; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(2) { border-right: 0; }
  .plan:nth-child(3) { padding-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .ans { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .try { grid-template-columns: minmax(0, 1fr); }
  .jobs li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .jobs .tools { grid-column: 2; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-body { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .flist li { grid-template-columns: 130px minmax(0, 1fr) 130px; }
  .flist .fc { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top .wrap { height: 60px; gap: 12px; }
  .pill { padding: 9px 12px; font-size: 13px; }
  .brand { font-size: 18px; }
  .legend { display: none; }
  .strata { display: none; }
  .courses { display: block; }
  .counts, .split, .cols, .srcgrid, .connect, .plans, .sectors, .stat, .posts, .fcols { grid-template-columns: minmax(0, 1fr); }
  .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .count, .count + .count { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .plan, .plan + .plan, .plan:nth-child(3) { padding: 22px 0; border-right: 0; border-top: 1px solid var(--rule); }
  .sector, .sector:nth-child(3n+2), .sector:nth-child(3n) { padding: 18px 0; border-left: 0; }
  .stat div, .stat div + div { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .layer { grid-template-columns: 1fr; gap: 2px; }
  .card { padding: 18px; }
  .tbl { font-size: 14px; }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv dt { border-bottom: 0; padding-bottom: 0; }
  .jobs li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .jobs .tools { grid-column: auto; }
  .flist li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .flist li.flist-h { display: none; }
  .terms { columns: 1; }
  .rlist li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .band figcaption { position: static; }
  .band figcaption .wrap { padding: 0; }
  .band figcaption p { display: block; border-radius: 0; max-width: none; padding: 16px var(--gutter); }
  }
pre.wrapm { white-space: pre-wrap; overflow-wrap: anywhere; }
.nc { text-transform: none !important; letter-spacing: .02em !important; }

[hidden] { display: none !important; }
.diffl { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; font-size: 15px; }
.diffl li { padding: 12px 14px; background: var(--paper); border-radius: 4px; overflow-wrap: anywhere; }
.diffl .tag { margin-right: 8px; }

.nw { white-space: nowrap; }
.eyebrow { max-width: none; }
.factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 28px; align-items: start; }
.factors .tblw { margin: 8px 0 18px; }
.factors .tbl caption { font-size: 14px; line-height: 1.3; }
.filter input { width: min(420px, 100%); }
.filter label { width: min(420px, 100%); }
.photo img, .post-c img, .band img { height: auto; }
.band img { height: clamp(300px, 42vw, 560px); }
.photo img { aspect-ratio: 3 / 2; }
.core-h span:last-child { white-space: normal; text-align: right; }
@media (max-width: 760px) { .core-h { flex-direction: column; gap: 4px; } .core-h span:last-child { text-align: left; } }
