/* Gazette landing page. Tokens and fonts live in base.css.
   Frame: a registry search product, table first. A bar with the sections as tabs: the underline
   sits on the bar's bottom border and slides to the section on screen. The first screen is a
   left-aligned headline, a search row (the field types the sample name, three scope chips) and
   one wide results card: filled rows, one per register, with the picked row in ivory and its
   record and officer chain in a drawer on the card's right side. Below: four record cards, the
   chain as three record cards joined by labelled links, the sources with a coverage table,
   questions as a list with the answer card beside it, and a closing card with the seal half off
   its edge. Flat colour only. Ivory is the seal, the picked row and the main button. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--sans); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
i { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ivory); color: var(--ink); font-weight: 600; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; }
:root { --gutter: max(24px, calc((100vw - 1240px) / 2)); }

/* ---------- small pieces ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--ivory); color: var(--ink); font: 600 16px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: background-color .15s ease-out, transform .1s ease-out; }
.btn:hover { background: var(--ivory-up); }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn--quiet { background: var(--panel-2); color: var(--text); }
.btn--quiet:hover { background: var(--panel-3); }
.card { border-radius: 14px; background: var(--panel); }
.ico { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--mono); font-size: .92em; font-weight: 500; letter-spacing: -.01em; }
.tag { flex: none; padding: 4px 8px; border-radius: 6px; background: var(--panel-2); font-size: 12.5px; line-height: 1.3; font-weight: 600; color: var(--text-2); }
.note { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* A country code. Two letters, never a flag. */
.cc { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 6px; background: var(--bg); font: 600 12px/1 var(--mono); letter-spacing: .02em; color: var(--text); }

/* A company's status: a full dot for a live one, a ring for one that is gone. */
.st { display: inline-flex; align-items: center; gap: 8px; }
.st::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st--off { color: var(--text-2); }
.st--off::before { border: 1.5px solid currentColor; background: none; }

/* The seal. The G is ink on the small ones; the closing one is pressed in, tone on tone. */
.seal { display: block; color: var(--ink); }
.seal__disc { fill: var(--ivory); }
.seal__ring { fill: none; stroke: var(--ivory-relief); stroke-width: 3; }
.seal__g { fill: none; stroke: currentColor; stroke-width: 14; }
.seal__cut { fill: none; stroke: var(--ivory-relief); }

/* Where a person or an address has come up before. */
.again { flex: none; padding: 4px 8px; border-radius: 6px; background: var(--panel-2); font-size: 12.5px; line-height: 1.3; font-weight: 600; color: var(--text); white-space: nowrap; }

/* ---------- the bar: tabs with an underline on its bottom border ---------- */

.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: var(--bg); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.logo img { border-radius: 7px; }
.tabs { position: relative; display: flex; align-self: stretch; margin-right: auto; }
.tabs a { display: inline-flex; align-items: center; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .15s ease-out; }
.tabs a:hover, .tabs a.is-on { color: var(--text); }
.tabs a:focus-visible { outline-offset: -6px; }
/* Without JavaScript the first tab carries the line itself. */
.tabs a.is-on { box-shadow: inset 0 -2px 0 var(--text); }
.js .tabs a.is-on { box-shadow: none; }
.tabs__ink { position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--text); transition: transform .32s cubic-bezier(.3, .7, .2, 1), width .32s cubic-bezier(.3, .7, .2, 1); }

/* ---------- first screen: headline, search row, results card ---------- */

.hero { padding: 34px var(--gutter) 0; }
h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
.lede { max-width: 43em; margin-top: 12px; font-size: clamp(17px, 1.32vw, 19px); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.desk { margin-top: 24px; }

.ask { display: flex; align-items: center; gap: 12px; }
.field { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; height: 56px; padding: 0 14px 0 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.field > .ico { width: 20px; height: 20px; color: var(--text-3); }
.field__q { flex: 1; min-width: 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.caret { display: none; width: 2px; height: 1.2em; margin-left: 2px; vertical-align: -.22em; background: var(--text); }
.desk.is-typing .caret { display: inline-block; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.scopes { display: flex; gap: 8px; }
.scopes li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 20px; font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.scopes .is-on { padding-left: 11px; border-color: transparent; background: var(--panel-2); color: var(--text); }
.scopes .ico { width: 16px; height: 16px; stroke-width: 1.9; }
.scopes b { font: 500 13px/1 var(--mono); color: var(--text-2); transition: opacity .3s ease-out; }
.scopes .is-on b { color: var(--text); }
.desk:not(.is-found) .scopes b { opacity: 0; }

.res { margin-top: 12px; padding: 0 16px 16px; }
.res__head { display: flex; align-items: center; gap: 12px 22px; min-height: 64px; }
/* The one number: how many registers this sample search covers. */
.count { display: flex; align-items: center; gap: 12px; }
.count b { min-width: .64em; font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.count span { font-size: 13.5px; line-height: 1.3; color: var(--text-2); }
.regs { display: flex; gap: 6px; }
.regs .cc { border: 1px solid transparent; background: var(--panel-2); transition: background-color .25s ease-out, color .25s ease-out, border-color .25s ease-out; }
.regs .cc.is-wait { border: 1px dashed #3C4B70; background: none; color: var(--text-3); }
.res__note { margin-left: auto; font-size: 14px; color: var(--text-3); }

.res__body { display: grid; grid-template-columns: minmax(0, 1fr) 404px; grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "hits drawer" "strip drawer"; gap: 12px; }

/* The table: filled rows, one per register. */
.hits { grid-area: hits; display: grid; align-content: start; gap: 6px; }
.hits__cols, .hit { display: grid; grid-template-columns: 52px minmax(0, 1fr) 108px 112px 70px; column-gap: 14px; align-items: center; padding: 0 18px 0 14px; }
.hits__cols { height: 26px; font-size: 13px; color: var(--text-3); }
.hits__r { text-align: right; }
.hit { grid-template-rows: 1fr 1fr; grid-template-areas: "cc name st date off" "cc no st date off"; row-gap: 2px; height: 60px; border-radius: 10px; background: var(--panel-2); transition: opacity .35s ease-out, translate .4s cubic-bezier(.2, .7, .2, 1), background-color .3s ease-out, color .3s ease-out; }
.hit .cc { grid-area: cc; justify-self: start; transition: background-color .3s ease-out, color .3s ease-out; }
.hit__name { grid-area: name; align-self: end; font-size: 15.5px; line-height: 1.25; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit__no { grid-area: no; align-self: start; font: 500 12.5px/1.3 var(--mono); color: var(--text-2); }
.hit__st { grid-area: st; font-size: 14px; }
.hit__date { grid-area: date; font: 500 13px/1.3 var(--mono); color: var(--text-2); }
.hit__off { grid-area: off; justify-self: end; font: 500 14px/1.3 var(--mono); }
.hit__off i { display: none; font-family: var(--sans); }
.hit__no, .hit__date, .hit .st { transition: color .3s ease-out; }
.hit.is-wait { opacity: 0; translate: 0 8px; }
/* The picked row. */
.hit.is-on { background: var(--ivory); color: var(--ink); }
.hit.is-on .cc { background: var(--ink); color: var(--ivory); }
.hit.is-on .hit__no, .hit.is-on .hit__date, .hit.is-on .st--off { color: var(--ink-2); }

/* The drawer: the picked record with its seal, then the officer chain. */
.drawer { grid-area: drawer; position: relative; display: grid; align-content: start; gap: 10px; padding: 12px; border-radius: 12px; background: var(--bg); }
.drawer__idle { display: none; position: absolute; inset: 0; place-items: center; font-size: 14px; color: var(--text-3); }
.drawer.is-wait .drawer__idle { display: grid; }
.rec, .trail__h { transition: opacity .4s ease-out, translate .5s cubic-bezier(.2, .7, .2, 1); }
.drawer.is-wait .rec, .drawer.is-wait .trail__h { opacity: 0; translate: 18px 0; }
.rec { position: relative; padding: 14px 16px 15px; border-radius: 10px; background: var(--panel-2); }
.rec .seal { position: absolute; right: 12px; top: -7px; width: 58px; height: 58px; }
.rec__name { display: flex; align-items: center; gap: 10px; padding-right: 64px; font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; }
.rec__facts { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 8px 24px; margin-top: 12px; }
.rec__facts dt { font-size: 12.5px; line-height: 1.4; color: var(--text-2); }
.rec__facts dd { font: 500 13.5px/1.45 var(--mono); }
.rec__facts .sans { font-family: var(--sans); font-size: 14px; }
.rec__office { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
.trail__h { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 4px 0; font-size: 14px; line-height: 1.4; }
.trail__h span { font-size: 13px; color: var(--text-3); }
.trail { display: grid; gap: 8px; }
.hop { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "ico via badge" "ico name badge"; column-gap: 12px; align-items: center; min-height: 50px; padding: 6px 12px 6px 10px; border-radius: 10px; background: var(--panel); transition: opacity .35s ease-out, translate .45s cubic-bezier(.2, .7, .2, 1); }
.hop.is-wait { opacity: 0; translate: 0 10px; }
/* The link between two hops. */
.hop + .hop::before { content: ''; position: absolute; left: 23px; top: -8px; width: 2px; height: 8px; background: var(--panel-3); }
.hop__ico { grid-area: ico; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--panel-2); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hop__via { grid-area: via; align-self: end; font-size: 12.5px; line-height: 1.35; color: var(--text-2); }
.hop__name { grid-area: name; align-self: start; display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.hop__name .cc { min-width: 30px; height: 20px; background: var(--panel-2); font-size: 11px; }
.hop .again, .hop .app { grid-area: badge; }
.hop--lock { border: 1px dashed #3C4B70; background: none; }
.hop--lock .hop__ico { background: none; border: 1px dashed #3C4B70; padding: 5px; }
.redact { display: inline-block; width: 128px; height: 12px; border-radius: 4px; background: var(--panel-2); }
.app { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* Under the table: what the sample is doing, then the offer. */
.strip { grid-area: strip; display: flex; align-items: center; gap: 12px 20px; min-height: 82px; padding: 16px 16px 16px 20px; border-radius: 12px; background: var(--bg); }
.say { flex: 1; min-width: 0; font-size: 15px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.desk.is-done .say { color: var(--text); }
.offer { display: flex; flex-wrap: wrap; gap: 8px; }
.js .desk:not(.is-done) #get { display: none; }
.js .desk.is-done #get { animation: rise .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; translate: 0 8px; } }
html:not(.js) #again { display: none; }

/* ---------- sections ---------- */

/* A tab lands with the section's heading a little under the bar, not its top padding. */
.sec { padding: 128px var(--gutter) 0; scroll-margin-top: -116px; }
h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.sec__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px 64px; align-items: end; }
.sec__head p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

/* What a record gives you: four cards, each with a small record. */
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.fact { display: flex; flex-direction: column; padding: 26px 26px 24px; }
.fact > p { margin: 6px 0 36px; color: var(--text-2); text-wrap: pretty; }
.mock { position: relative; margin-top: auto; padding: 10px; border-radius: 12px; background: var(--bg); }
.mock .seal { position: absolute; right: 14px; top: -14px; width: 44px; height: 44px; }
.mock__top { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 60px 4px 8px; font-size: 15.5px; letter-spacing: -.01em; }
.mock__top span:not(.cc) { font-size: 13.5px; color: var(--text-3); }
.mock__top .cc { background: var(--panel-2); }
.rows { display: grid; gap: 6px; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 14px; border-radius: 8px; background: var(--panel-2); font-size: 14.5px; line-height: 1.35; }
.rows span { color: var(--text-2); }
.rows span b { color: var(--text); }
.rows li > b { font-weight: 500; text-align: right; }
.rows--dated li { justify-content: flex-start; }
.rows--dated li > b { flex: none; width: 104px; text-align: left; color: var(--text-2); }
.rows--dated span { color: var(--text); }
.rows .is-past { background: none; box-shadow: inset 0 0 0 1px var(--panel-2); }
.rows .is-past span b, .rows .is-past > b { color: var(--text-2); }

/* How the chain is followed: three record cards joined by labelled links. */
.chain__card { padding: 44px; }
.links { display: grid; grid-template-columns: minmax(0, 1fr) 156px minmax(0, 1fr) 156px minmax(0, 1fr); align-items: center; margin-top: 44px; }
.node { position: relative; padding: 18px 20px 20px; border-radius: 12px; background: var(--panel-2); }
.node__kind { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.node__kind .ico { width: 16px; height: 16px; }
.node__name { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.node__fact { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 12px; border-radius: 8px; background: var(--panel); font-size: 14px; }
.node__fact + .node__fact { margin-top: 4px; }
.node__fact span { color: var(--text-2); }
.node__fact b { font-weight: 500; text-align: right; }
.link { position: relative; height: 2px; background: var(--panel-3); }
.link::after { content: ''; position: absolute; right: -1px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--panel-3); }
.link span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 5px 11px; border-radius: 999px; background: var(--bg); font-size: 13px; line-height: 1.3; font-weight: 600; white-space: nowrap; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr) 156px minmax(0, 1fr) 156px minmax(0, 1fr); margin-top: 18px; counter-reset: step; }
.steps li { padding: 0 4px; font-size: 15px; color: var(--text-2); counter-increment: step; text-wrap: pretty; }
.steps li:nth-child(2) { grid-column: 3; }
.steps li:nth-child(3) { grid-column: 5; }
.steps b { color: var(--text); }
.steps b::before { content: counter(step) '. '; }
.repeat { display: flex; align-items: center; gap: 12px 20px; margin-top: 36px; padding: 14px 16px 14px 22px; border-radius: 12px; background: var(--bg); }
.repeat p { flex: 1; min-width: 0; font-size: 15.5px; text-wrap: pretty; }
.repeat ul { display: flex; flex-wrap: wrap; gap: 8px; }
.repeat li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 12px; border-radius: 8px; background: var(--panel); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.repeat .ico { width: 16px; height: 16px; color: var(--text-2); }
.repeat .again { margin-left: 4px; }

/* The sources and their limits. */
.src { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; margin-top: 40px; }
.src h3 + p { margin-top: 6px; color: var(--text-2); text-wrap: pretty; }
.cover { display: grid; align-content: start; padding: 28px; }
.cover__text { max-width: 34em; }
.grid { width: calc(100% + 12px); margin: 18px -6px 0; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.grid thead th { padding: 0 0 2px; font-size: 13.5px; font-weight: 500; color: var(--text-3); text-align: center; }
.grid th:first-child { width: 52px; text-align: left; }
.grid tbody th { padding: 0; }
.grid td { height: 46px; border-radius: 8px; background: var(--panel-2); text-align: center; }
/* Full, half, nothing. */
.m { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--text); border-radius: 4px; vertical-align: middle; }
.m--full { background: var(--text); }
.m--part { box-shadow: inset 5px 0 0 var(--text); }
.m--none { border: 1.5px dashed var(--text-2); }
.cover__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 14px; font-size: 14px; color: var(--text-3); }
.cover__foot p { display: flex; align-items: center; gap: 10px; }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-2); }
.key li { display: inline-flex; align-items: center; gap: 8px; }
.src__side { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; }
.only, .cite { padding: 28px; }
.only__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.only li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 8px; background: var(--panel-2); font-size: 14.5px; line-height: 1.3; }
.only li + li { margin-top: 6px; }
.only .no li { background: none; box-shadow: inset 0 0 0 1px var(--panel-2); color: var(--text-2); }
.only .ico { width: 16px; height: 16px; stroke-width: 1.9; }
.cite { display: flex; flex-direction: column; }
.cite__rows { display: grid; gap: 6px; margin-top: auto; padding-top: 18px; }
.cite__rows li { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 10px; background: var(--panel-2); }
.cite__rows p { flex: 1; min-width: 0; display: grid; font-size: 15px; line-height: 1.35; }
.cite__rows p span { font-size: 13.5px; color: var(--text-2); }
.cite__rows .tag { background: var(--panel); }

/* Questions: the list on the left, the picked one in ivory, its answer on the right. */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; align-items: start; margin-top: 40px; }
.faq__qs { display: grid; gap: 6px; }
.q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 16px 0 22px; border-radius: 10px; background: var(--panel); font-size: 17px; font-weight: 600; letter-spacing: -.01em; transition: background-color .2s ease-out, color .2s ease-out; }
.q:hover { background: var(--panel-2); }
.q .ico { color: var(--text-3); transition: translate .2s ease-out; }
.q.is-on { background: var(--ivory); color: var(--ink); }
.q.is-on .ico { color: var(--ink); translate: 3px 0; }
.q:focus-visible { outline-offset: 2px; border-radius: 10px; }
.faq__as { display: grid; gap: 14px; }
.a { display: flex; flex-direction: column; padding: 34px 38px 34px; }
.js .a { min-height: 274px; }
.a h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.a p { max-width: 36em; margin: 14px 0 28px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.a__pts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.a__pts li { padding: 7px 12px; border-radius: 8px; background: var(--panel-2); font-size: 14px; line-height: 1.3; font-weight: 500; }

/* Closing: the seal, large, half off the edge. */
.final { position: relative; display: grid; align-content: center; min-height: 440px; margin: 128px var(--gutter) 0; padding: 64px 56px; overflow: hidden; }
.final__text { position: relative; max-width: min(620px, 100% - 420px); }
.final h2 { font-size: clamp(34px, 4.2vw, 60px); letter-spacing: -.04em; }
.final__say { max-width: 30em; margin-top: 16px; font-size: clamp(16px, 1.25vw, 18px); color: var(--text-2); text-wrap: pretty; }
.final__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.final__req { font-size: 14.5px; color: var(--text-2); }
.final__seal { position: absolute; right: -236px; top: 50%; width: 660px; height: 660px; translate: 0 -50%; }

/* ---------- footer ---------- */

.foot { margin-top: 72px; padding: 0 var(--gutter) 56px; font-size: 14px; color: var(--text-3); }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.foot .logo { color: var(--text); }
.foot__nav { display: flex; flex-wrap: wrap; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; font-size: 14.5px; color: var(--text-2); transition: color .15s ease-out; }
.foot__nav a:hover { color: var(--text); }
.foot__nav a:last-child { padding-right: 0; }
.foot__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 64px; }
.foot__notes p { max-width: 52ch; text-wrap: pretty; }
.foot__notes b { color: var(--text-2); }

.js [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity .6s ease-out, translate .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- smaller screens ---------- */

@media (max-width: 1247px) {
  .res__body { grid-template-columns: minmax(0, 1fr) 372px; }
  .hits__cols, .hit { grid-template-columns: 52px minmax(0, 1fr) 100px 104px 60px; column-gap: 12px; }
  .redact { width: 96px; }
  .rec__office { display: block; }
  .links, .steps { grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr) 132px minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  /* The date column steps aside so the names keep their room. */
  .res__body { grid-template-columns: minmax(0, 1fr) 344px; }
  .hits__cols, .hit { grid-template-columns: 52px minmax(0, 1fr) 100px 60px; }
  .hit { grid-template-areas: "cc name st off" "cc no st off"; }
  .hits__cols span:nth-child(5), .hit__date { display: none; }
  .res__note { display: none; }
  .strip { flex-wrap: wrap; }
  .say { flex-basis: 100%; }
  .chain__card { padding: 32px 28px; }
  .links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .link { justify-self: center; width: 2px; height: 56px; }
  .link::after { right: -4px; top: auto; bottom: -1px; }
  .steps { display: none; }
  .src { grid-template-columns: minmax(0, 1fr); }
  .final__text { max-width: calc(100% - 320px); }
  .final__seal { right: -210px; width: 540px; height: 540px; }
}
@media (max-width: 940px) {
  /* The drawer goes under the table, the offer under the drawer. */
  .res__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "hits" "drawer" "strip"; }
  .hits__cols, .hit { grid-template-columns: 52px minmax(0, 1fr) 100px 104px 60px; }
  .hit { grid-template-areas: "cc name st date off" "cc no st date off"; }
  .hits__cols span:nth-child(5), .hit__date { display: block; }
  .rec__office { display: flex; }
}
@media (max-width: 860px) {
  .tabs { display: none; }
  .nav__in { justify-content: space-between; height: 60px; }
  .sec { padding-top: 96px; scroll-margin-top: -84px; }
  .sec__head { grid-template-columns: minmax(0, 1fr); }
  .quad { grid-template-columns: minmax(0, 1fr); }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .js .a { min-height: 0; }
  .final { min-height: 0; margin-top: 96px; padding: 44px 32px 300px; }
  .final__text { max-width: none; }
  .final__seal { right: auto; left: 50%; top: auto; bottom: -260px; width: 520px; height: 520px; translate: -50% 0; }
  .repeat { flex-wrap: wrap; }
  .repeat p { flex-basis: 100%; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 28px; }
  .desk { margin-top: 22px; }
  .ask { flex-wrap: wrap; gap: 10px; }
  .field { flex-basis: 100%; height: 52px; }
  .scopes { width: 100%; gap: 6px; }
  .scopes li { padding: 0 11px; font-size: 14px; }
  .scopes .is-on { padding-left: 9px; }
  .res { padding: 0 10px 10px; }
  .res__head { flex-wrap: wrap; padding: 14px 4px 12px; }
  /* A row becomes three short lines: the name, then number and date, then status and officers. */
  .hits__cols { display: none; }
  .hit { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-rows: auto; grid-template-areas: "cc name name" "cc no date" "cc st off"; column-gap: 12px; row-gap: 3px; height: auto; padding: 11px 14px 12px 12px; }
  .hit .cc { align-self: start; }
  .hit__name, .hit__no { align-self: center; }
  .hit__date { justify-self: end; }
  .hit__st { font-size: 13.5px; }
  .hit__off { font-size: 13px; }
  .hit__off i { display: inline; }
  .hit.is-on .hit__off { color: var(--ink-2); }
  .drawer { padding: 10px; }
  .rec__facts { column-gap: 18px; }
  .rec__office { display: block; }
  .hop { padding-right: 10px; column-gap: 10px; }
  .hop__name { font-size: 14.5px; }
  .redact { width: 56px; }
  .strip { flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 16px; }
  .say { flex-basis: auto; }
  .offer .btn { flex: 1 1 auto; }
  .fact { padding: 22px 16px 16px; }
  .fact > h3, .fact > p { padding: 0 6px; }
  .rows li { padding: 8px 12px; font-size: 14px; }
  .rows:not(.rows--dated) li { flex-wrap: wrap; gap: 2px 12px; }
  .rows--dated li > b { width: 92px; }
  .chain__card { padding: 26px 16px 16px; }
  .chain__card .sec__head { padding: 0 6px; }
  .links { margin-top: 30px; }
  .link { height: 48px; }
  .repeat { margin-top: 24px; padding: 16px; }
  .cover, .only, .cite { padding: 22px 16px 16px; }
  .cover__text, .only h3, .cite h3, .cite > p { padding: 0 6px; }
  .grid { border-spacing: 4px; margin-inline: -4px; width: calc(100% + 8px); }
  .grid th:first-child { width: 42px; }
  .grid thead th { font-size: 12.5px; }
  .only__cols { grid-template-columns: minmax(0, 1fr); }
  .q { min-height: 58px; padding: 0 12px 0 18px; font-size: 16px; }
  .a { padding: 26px 24px 28px; }
  .final { padding: 36px 24px 250px; }
  .final__seal { bottom: -230px; width: 440px; height: 440px; }
  .final__go .btn { width: 100%; }
  .foot { margin-top: 56px; }
  .foot__top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .foot__nav a:first-child { padding-left: 0; }
  .foot__nav a[data-download] { display: none; }
  .foot__notes { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; translate: 0 0; transition: none; }
  .hit, .hit *, .hop, .rec, .trail__h, .regs .cc, .scopes b, .tabs__ink, .q, .q .ico { transition: none; }
  .desk.is-typing .caret, .js .desk.is-done #get { animation: none; }
}

/* ---------- every screen size (added 2026-11-13) ---------- */
@media (min-width: 1600px) { :root { --gutter: max(24px, calc((100vw - min(1240px + (100vw - 1600px) * 1.013, 1798px)) / 2)); } }
@media (min-width: 1600px) {
  h1 { font-size: clamp(60px, 24px + 2.25vw, 75px); }
  h2 { font-size: clamp(46px, 25.3px + 1.294vw, 55.2px); }
  .lede { font-size: clamp(19px, 13.3px + 0.3563vw, 21.85px); }
}
/* ---------- end every screen size ---------- */
