/* Domesday landing page. Tokens and fonts live in base.css.
   Frame: an asset-intelligence product for due diligence. The whole first screen is one large
   rounded frame: its top edge is the nav, and inside it sit the pitch with the subject card on
   the left and the sample asset sheet on the right: a plan of parcels over a row of tiles and
   the one big number. Once the frame has scrolled away a compact bar takes over. Below: four
   record cards, the three-step chain in one card, sources and limits, questions in a
   three-column grid, a closing card with the plan in its corner. Cards are radius 12 with a
   1px border; buttons are radius 6 and 50px tall. Flat colour only; blueprint blue is for owned
   parcels, the count and the primary button. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -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: 17px/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; }
i, em { font-style: normal; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: #fff; color: var(--bg); font-weight: 600; }
.skip:focus { left: 12px; }
.sprite { position: absolute; width: 0; height: 0; }
:root { --inset: 16px; --gutter: max(24px, calc((100vw - 1240px) / 2)); --frame: min(100% - 2 * var(--inset), 1680px); }

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

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border: 0; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 600 16px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, transform .15s ease-out; }
.btn:hover { background: #B7D4F5; }
.btn:active { transform: scale(.98); }
.btn svg { flex: none; width: 18px; height: 18px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn--quiet { border: 1px solid var(--line-2); background: none; color: var(--text); }
.btn--quiet:hover { border-color: rgba(255, 255, 255, .36); background: rgba(255, 255, 255, .05); }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: .01em; color: var(--text-2); white-space: nowrap; }
.num { font-family: var(--mono); font-size: .94em; font-variant-numeric: tabular-nums; letter-spacing: -.01em; word-spacing: -.22em; }
.note { font-size: 14px; color: var(--text-3); text-wrap: pretty; }
.note .tag { margin-right: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.logo img { border-radius: 6px; }
.redact { display: inline-block; width: 62px; height: 12px; border-radius: 3px; background: var(--wire); vertical-align: -1px; }
.inapp { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.inapp svg { width: 14px; height: 14px; }

/* ---------- the compact bar ---------- */

.bar { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: var(--bg); visibility: hidden; translate: 0 -100%; transition: translate .25s ease-out, visibility 0s linear .25s; }
.bar.is-on { visibility: visible; translate: 0 0; transition: translate .25s ease-out; }

/* ---------- the frame: nav on its top edge ---------- */

.nav { display: flex; align-items: center; gap: 8px; width: var(--frame); height: 68px; margin: var(--inset) auto 0; padding: 0 14px 0 24px; border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; background: var(--panel); }
.nav__links { display: flex; gap: 2px; margin-left: 28px; margin-right: auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 6px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background-color .15s ease-out, color .15s ease-out; }
.nav__links a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }

.hero { display: grid; grid-template-columns: minmax(0, 464px) minmax(0, 1fr); gap: 44px; width: var(--frame); min-height: min(100svh - 68px - 2 * var(--inset), 860px); margin: 0 auto; padding: 28px 28px 28px 40px; border: 1px solid var(--line); border-radius: 0 0 20px 20px; background: var(--panel); }

/* The pitch: headline and lede at the top, the subject card and the button at the bottom. */
.pitch { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-top: 20px; }
h1 { font-size: clamp(40px, 4.8vw, 70px); line-height: 1.01; letter-spacing: -.028em; font-weight: 650; text-wrap: balance; }
.lede { margin-top: 20px; font-size: 20px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }

.subject { padding: 20px 20px 18px; background: var(--panel-2); }
.subject__k { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--text-2); }
.subject__name { margin-top: 6px; font-size: 28px; line-height: 1.15; font-weight: 650; letter-spacing: -.014em; }
.subject__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; }
.subject__facts dt { font-size: 13.5px; color: var(--text-2); }
.subject__facts dd { font-size: 15.5px; font-weight: 500; }
.regs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.regs li { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px 0 9px; border: 1px solid transparent; border-radius: 6px; background: var(--panel); font-size: 13.5px; font-weight: 600; color: var(--text-2); transition: color .2s ease-out, border-color .2s ease-out; }
.regs li::before { content: ''; width: 8px; height: 8px; margin: 0 3px; border: 1.5px solid var(--text-3); border-radius: 50%; }
.regs svg { display: none; width: 14px; height: 14px; color: var(--text); }
.regs .is-now { border-color: var(--line-2); color: var(--text); }
.regs .is-now::before { border-color: var(--text); background: var(--text); }
.regs .is-read { color: var(--text); }
.regs .is-read::before { display: none; }
.regs .is-read svg { display: block; }
.status { min-height: 2.9em; margin-top: 14px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.cta { display: grid; justify-items: start; gap: 12px; margin-top: 16px; }

/* ---------- the sample asset sheet ---------- */

.sheet { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-width: 0; }
.sheet:focus { outline: none; }   /* focused by script after a replay, never by Tab */
.plan { position: relative; display: grid; min-width: 0; }
/* The plan card: the sheet with the map on it, and the key docked along its bottom edge.
   The map is fitted around the company's parcels, so a wide or a tall sheet shows more of the plan, not less. */
.plan__view { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 420px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; }
.plan__sheet { position: relative; min-height: 0; }
.plan__map { position: absolute; inset: 0; width: 100%; height: 100%; }

.lots polygon { fill: var(--lot, var(--panel)); stroke: var(--lot-line, var(--wire)); stroke-width: 1; }
.grid__line { fill: none; stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.hatch__line { stroke: var(--accent-ink); stroke-width: 1.5; stroke-opacity: .42; }
.nums text { font: 500 7.5px var(--mono); fill: var(--text-3); text-anchor: middle; }
.quay { fill: none; stroke: var(--wire-2); stroke-width: 1.5; }
.roads text { font: 500 9.5px var(--sans); letter-spacing: .03em; fill: var(--text-3); text-anchor: middle; }

/* A parcel registered to the company. Filled is the resting state; site.js empties them and fills them one by one. */
.own polygon { fill: var(--accent); stroke: var(--accent); stroke-width: 1; stroke-linejoin: round; }
.own .hatch { fill: url(#hatch); stroke: none; }
.own text { font: 600 11px var(--mono); fill: var(--accent-ink); text-anchor: middle; paint-order: stroke; stroke: var(--accent); stroke-width: 5px; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.own.is-on polygon { transition: fill .45s ease-out, stroke .45s ease-out, opacity .45s ease-out; }
.own.is-on text { transition: opacity .3s ease-out .3s; }   /* the number lands once the parcel has its colour */
.js .own:not(.is-on) polygon { fill: var(--panel); stroke: var(--wire); }
.js .own:not(.is-on) text, .js .own:not(.is-charged) .hatch { opacity: 0; }

/* The one held through another company: an ordinary parcel until the run ends. */
.via polygon { fill: var(--panel); stroke: var(--wire); stroke-width: 1; }
.via__mark { opacity: 0; }
.via__mark rect, .via__mark path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.via__mark text { font: 600 15px var(--mono); fill: var(--accent); text-anchor: middle; }
.sheet.is-done .via polygon { fill: var(--bg); stroke: var(--accent); stroke-width: 1.75; stroke-dasharray: 7 5; transition: fill .5s ease-out, stroke .5s ease-out; }
.sheet.is-done .via__mark { opacity: 1; transition: opacity .5s ease-out .2s; }

/* Notes pinned to the corners of the plan. */
.plan__tag { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 8px; padding: 5px 11px 5px 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 13px; color: var(--text-2); }
.plan__north { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; }
.plan__north circle { fill: var(--panel); stroke: var(--line-2); stroke-width: 1; }
.plan__north path { fill: var(--text-2); }
.plan__north text { font: 600 9px var(--sans); fill: var(--text-2); text-anchor: middle; }
.key { display: flex; align-items: center; gap: 22px; height: 40px; padding: 0 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.2; color: var(--text-2); white-space: nowrap; }
.key li { display: flex; align-items: center; gap: 8px; }
.key svg, .find__dash { flex: none; width: 14px; height: 14px; }
.key__own { fill: var(--accent); }
.key__hatch { fill: none; stroke: var(--accent-ink); stroke-width: 1.4; stroke-opacity: .6; }
.key__via { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 2.4; }

/* What the run has just found; at the end, the locked record and the offer. */
.find { position: absolute; right: 12px; bottom: 52px; width: 318px; padding: 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel-2); }
.find__src { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.find__src span { display: inline-flex; align-items: center; gap: 8px; }
.find__name { margin-top: 6px; font-size: 21px; line-height: 1.2; font-weight: 650; letter-spacing: -.006em; }
.find__meta { margin-top: 3px; font-size: 14px; color: var(--text-2); }
.find__rows { display: grid; gap: 4px; margin-top: 12px; }
.find__rows div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; padding: 0 10px; border-radius: 6px; background: var(--panel); font-size: 14px; }
.find__rows dt { color: var(--text-2); }
.find__rows dd { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.find__go { display: flex; gap: 8px; margin-top: 14px; }
.find__go .btn { flex: 1 1 auto; padding: 0 14px; }
.sheet.is-done .find__lock { animation: rise .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; translate: 0 8px; } }

/* The tiles under the plan, and the one number. */
.tally { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 10px; }
.total, .tile { border: 1px solid var(--line); border-radius: 12px; }
.total { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n k" "n tags"; column-gap: 16px; align-content: center; padding: 12px 18px 14px; background: var(--bg); }
.total__n { grid-area: n; min-width: 1.14em; font-size: 104px; line-height: .96; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--accent); }
.total dt { grid-area: k; align-self: end; font-size: 17px; line-height: 1.25; font-weight: 600; }
.total__tags { grid-area: tags; align-self: start; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.plus { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border: 1px dashed var(--accent); border-radius: 4px; font-size: 12px; line-height: 1; font-weight: 600; color: var(--text); white-space: nowrap; }
.plus b { font: 600 12px var(--mono); color: var(--accent); }
.sheet:not(.is-done) .plus { visibility: hidden; }
.tile { display: grid; align-content: space-between; gap: 6px; min-height: 136px; padding: 14px 14px 13px; background: var(--panel-2); transition: border-color .2s ease-out; }
.tile dt { font-size: 14px; line-height: 1.25; font-weight: 600; color: var(--text-2); transition: color .2s ease-out; }
.tile__n { margin-top: auto; font-size: 42px; line-height: 1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile__sub { font-size: 13.5px; line-height: 1.25; color: var(--text-2); }
.tile.is-now { border-color: rgba(255, 255, 255, .42); }
.tile.is-now dt { color: var(--text); }

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

.sec { padding: 128px var(--gutter) 0; }
h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -.022em; font-weight: 650; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 650; letter-spacing: -.004em; text-wrap: balance; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: 40px; }
.head p, .chaincard__text p { max-width: 33em; font-size: 19px; line-height: 1.47; color: var(--text-2); text-wrap: pretty; }

/* what the sheet contains: four record cards */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kind { display: grid; grid-template-rows: auto auto 1fr; padding: 28px; }
.kind > p { max-width: 31em; margin-top: 8px; color: var(--text-2); text-wrap: pretty; }
.rec { align-self: end; margin-top: 26px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.rec__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.rec__body { display: grid; min-height: 104px; margin-top: 12px; align-content: center; }
.rec__name { font-size: 19px; line-height: 1.25; font-weight: 650; letter-spacing: -.004em; }
.rec__meta { margin-top: 3px; font-size: 14.5px; color: var(--text-2); }
.rec__body--plot { grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.plot { width: 88px; height: 88px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.plot__grid { fill: none; stroke: rgba(255, 255, 255, .05); }
.plot__lot { fill: none; stroke: var(--wire-2); stroke-width: 1; stroke-linejoin: round; }
.plot__own { fill: var(--accent); }
.rec__body--deal { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.rec__sum { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.shares, .owes { gap: 4px; }
.shares li { display: grid; grid-template-columns: minmax(0, 13em) minmax(24px, 1fr) 3.2em 68px; align-items: center; gap: 12px; min-height: 32px; font-size: 14.5px; }
.shares__name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shares__bar { position: relative; height: 6px; border-radius: 3px; background: var(--panel-2); }
.shares__bar::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--pc); border-radius: 3px; background: var(--text-2); }
.shares b { font-weight: 500; text-align: right; }
.shares em, .owes em, .cover em, .rec__flag em { justify-self: start; padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 12px; line-height: 1.2; font-weight: 600; color: var(--text); white-space: nowrap; }
.owes li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px 14px; min-height: 48px; padding: 6px 12px; border-radius: 6px; background: var(--panel); font-size: 14.5px; }
.owes b { font-weight: 600; }
.owes li > .num { color: var(--text-2); }

/* how the indirect holding is found: one card, three steps */
.chaincard { padding: 44px; }
.chaincard__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; }
.chain { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); margin-top: 44px; }
.node { padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.node__k { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.node__k svg { width: 16px; height: 16px; margin-left: auto; }
.node__k i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1px solid var(--line-2); border-radius: 50%; font: 600 12px/1 var(--mono); color: var(--text); }
.node__name { margin-top: 22px; font-size: 23px; line-height: 1.2; font-weight: 650; letter-spacing: -.008em; }
.node__meta { margin-top: 5px; font-size: 14.5px; color: var(--text-2); }
.node--via { border: 1.5px dashed var(--accent); background: var(--bg); }
.node--via .redact { width: 84px; height: 16px; margin-left: 4px; vertical-align: -1px; }
.link { position: relative; display: grid; grid-template-rows: 1fr 1fr; justify-items: center; width: 208px; padding: 0 16px; text-align: center; }
.link::before { content: ''; position: absolute; inset: 50% 5px auto 0; height: 1.5px; margin-top: -.75px; background: var(--wire-2); }
.link::after { content: ''; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border: solid var(--wire-2); border-width: 1.5px 1.5px 0 0; rotate: 45deg; }
.link b { align-self: end; padding-bottom: 10px; font-size: 14px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.link span { align-self: start; padding-top: 10px; font-size: 13px; color: var(--text-3); }
.chaincard__note { margin-top: 28px; }

/* sources and limits */
.limits { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: 12px; }
.limit { padding: 28px; }
.limit > p, .limit > div > p:not(.note) { margin-top: 8px; color: var(--text-2); text-wrap: pretty; }
.limit--lines { grid-row: 1 / 3; display: grid; grid-template-rows: auto auto 1fr auto; }
.lines, .cover { display: grid; gap: 6px; }
.lines { grid-auto-rows: minmax(46px, 1fr); margin-top: 26px; }
.lines li, .cover li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 15px; }
.lines b { font-weight: 500; }
.lines em { font-size: 13.5px; font-weight: 600; color: var(--text-2); text-align: right; }
.limit .note { margin-top: 16px; }
.limit--cover { grid-column: 2 / 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.cover { gap: 4px; }
.cover li { min-height: 38px; }
.cover .is-off { border-style: dashed; color: var(--text-2); }
.cover .is-off em { border-style: dashed; color: var(--text-2); }

/* questions: a three-column grid of open cards; the last one, the careful one, runs the full width */
.faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qa { padding: 28px; }
.qa p { margin-top: 10px; color: var(--text-2); text-wrap: pretty; }
.qa--wide { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: 28px 0; }
.qa--wide h3 { padding-left: 28px; }
.qa--wide p { grid-column: 2 / 4; margin-top: 0; padding-right: 28px; font-size: 19px; line-height: 1.47; }

/* closing card: the plan, small, in its corner */
.final { position: relative; display: grid; align-content: center; min-height: 420px; margin: 128px var(--gutter) 0; padding: 56px; overflow: hidden; }
.final__text { position: relative; max-width: 30em; }
.final h2 { font-size: clamp(34px, 4.2vw, 58px); letter-spacing: -.026em; }
.final__req { margin-top: 16px; color: var(--text-2); }
.final .btn { margin-top: 28px; }
.final__plan { --lot: var(--panel); position: absolute; right: -1px; bottom: -1px; width: 43%; height: 78%; border: 1px solid var(--line); border-radius: 12px 0 12px 0; background: var(--bg); }
.final__plan .mine { fill: var(--accent); stroke: var(--accent); stroke-linejoin: round; }
.final__plan .theirs { fill: var(--bg); stroke: var(--accent); stroke-width: 1.75; stroke-dasharray: 7 5; }

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

.foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr); gap: 20px 48px; align-items: start; padding: 56px var(--gutter) 64px; font-size: 14px; color: var(--text-3); }
.foot .logo { justify-self: start; color: var(--text); }
.foot p { max-width: 46ch; text-wrap: pretty; }
.foot b { display: block; margin-bottom: 4px; font-weight: 600; color: var(--text-2); }

.js [data-reveal] { opacity: 0; translate: 0 16px; 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 ---------- */

/* Short laptop screens: the frame still has to hold the plan and the count. */
@media (min-width: 1180px) and (max-height: 840px) {
  .hero { padding-top: 24px; padding-bottom: 24px; }
  .pitch { gap: 20px; padding-top: 8px; }
  h1 { font-size: clamp(40px, 4vw, 56px); }
  .lede { margin-top: 14px; font-size: 18px; }
  .subject { padding: 16px 18px 14px; }
  .regs { margin-top: 14px; }
  .status { margin-top: 10px; }
  .plan__view { min-height: 300px; }
  /* The plan is drawn smaller here: the lot numbers go, the title numbers are drawn larger. */
  .nums { display: none; }
  .own text, .via__glyph { scale: 1.2; }
  .tile { min-height: 112px; }
  .total__n { font-size: 84px; }
}
@media (min-width: 1180px) and (max-height: 730px) {
  /* The registers and the status line give way; the status is still read out. The record over the plan keeps only its heading and the buttons. */
  .regs { display: none; }
  .status { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .find { width: 300px; padding: 14px; }
  .find__rows { display: none; }
  .roads { display: none; }
  .own text, .via__glyph { scale: 1.55; }
}
@media (min-width: 1700px) and (min-height: 1000px) {
  .hero { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 52px; padding-left: 48px; }
  h1 { font-size: 80px; }
  .lede { font-size: 22px; }
}
@media (max-width: 1319px) {
  .hero { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 36px; padding-left: 32px; }
  h1 { font-size: clamp(40px, 4.4vw, 58px); }
  .tally { grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 8px; }
  .total { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "n" "tags"; align-content: space-between; padding: 14px 14px 13px; }
  .total dt { align-self: start; font-size: 14px; }
  .total__n { font-size: 60px; }
  .total__tags { margin-top: 0; }
  .total__tags .tag { display: none; }
  .tile { padding: 14px 12px 13px; }
  .tile dt { font-size: 13.5px; letter-spacing: -.01em; }
  .nums { display: none; }
  .link { width: 168px; padding: 0 12px; }
}
@media (max-width: 1179px) {
  /* One column: the pitch across the top, the sheet under it. */
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; padding: 28px; }
  .pitch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "say subject" "cta subject"; gap: 0 36px; padding-top: 6px; }
  .pitch__say { grid-area: say; }
  .pitch__do { display: contents; }
  .subject { grid-area: subject; align-self: start; }
  .cta { grid-area: cta; align-self: end; margin-top: 24px; }
  .plan__view { min-height: 0; aspect-ratio: 3 / 2; }
  .tally { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 10px; }
  .total { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n k" "n tags"; align-content: center; padding: 12px 18px 14px; }
  .total dt { align-self: end; font-size: 17px; }
  .total__n { font-size: 96px; }
  .total__tags { margin-top: 9px; }
  .total__tags .tag { display: inline-flex; }
  .tile { padding: 14px 14px 13px; }
  .head, .chaincard__text { grid-template-columns: minmax(0, 1fr); }
  .head { margin-bottom: 32px; }
  .limits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .limit--lines { grid-row: auto; grid-column: 1 / -1; }
  .limit--cover { grid-column: 1 / -1; }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa--wide { grid-column: auto; display: block; padding: 28px; }
  .qa--wide h3, .qa--wide p { padding: 0; }
  .qa--wide p { margin-top: 10px; font-size: inherit; line-height: inherit; }
  .sec { padding-top: 104px; }
  .final { margin-top: 104px; }
}
@media (max-width: 899px) {
  /* The plan is too narrow to carry the record: it goes under it. */
  .plan { gap: 10px; }
  .find { position: static; width: auto; }
  .find__go .btn { flex: 0 1 auto; padding: 0 22px; }
  .kinds { grid-template-columns: minmax(0, 1fr); }
  /* The chain runs downwards. */
  .chaincard { padding: 32px; }
  .chain { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .link { grid-template-rows: auto auto; justify-items: start; gap: 2px; width: auto; padding: 18px 0 18px 44px; text-align: left; }
  .link::before { inset: 0 auto 4px 21px; width: 1.5px; height: auto; margin: 0; }
  .link::after { right: auto; left: 17.2px; top: auto; bottom: 3px; margin: 0; rotate: 135deg; }
  .link b, .link span { align-self: auto; padding: 0; }
}
@media (max-width: 759px) {
  :root { --inset: 8px; }
  html { scroll-padding-top: 72px; }
  .nav { height: 60px; padding: 0 10px 0 16px; border-radius: 16px 16px 0 0; }
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .bar { padding: 0 16px; }
  .hero { gap: 24px; padding: 24px 15px 15px; border-radius: 0 0 16px 16px; }
  .pitch { display: flex; flex-direction: column; gap: 26px; padding: 0 5px; }
  .pitch__do { display: block; }
  .cta { margin-top: 16px; }
  .lede { margin-top: 14px; font-size: 18px; }
  .subject { padding: 18px 16px 16px; }
  .subject__name { font-size: 25px; }
  .cta { justify-items: stretch; }
  /* The plan keeps its scale and shows less of the sheet; the record goes under it. */
  .plan__view { aspect-ratio: auto; height: 340px; }
  .nums, .roads, .plan__north, .plan__tag i { display: none; }
  /* The plan is drawn at half size here, so what is written on it is drawn larger. */
  .own text, .via__glyph { scale: 1.6; }
  .key { justify-content: space-between; gap: 10px; padding: 0 12px; font-size: 12.5px; }
  .key li { gap: 7px; }
  .find__go .btn { flex: 1 1 auto; padding: 0 14px; }
  .find__live { min-height: 92px; }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .total { grid-column: 1 / -1; padding: 8px 16px 10px; }
  .total__n { font-size: 88px; }
  .tile { min-height: 108px; padding: 12px 14px; }
  .tile__n { font-size: 36px; }
  .sec { padding: 80px 16px 0; }
  .head { margin-bottom: 26px; }
  .head p, .chaincard__text p { font-size: 18px; }
  .kind, .limit, .qa { padding: 22px 20px; }
  .rec { margin-top: 22px; padding: 12px 14px 14px; }
  .rec__body { min-height: 0; }
  .plot { width: 72px; height: 72px; }
  .rec__body--plot { grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .rec__flag { display: none; }
  .rec__body--deal { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .shares li { grid-template-columns: minmax(0, 1fr) 3.2em 68px; min-height: 36px; padding: 3px 0; line-height: 1.3; }
  .shares__name { white-space: normal; }
  .shares__bar { display: none; }
  .owes li { grid-template-columns: minmax(0, 1fr) auto; }
  .owes li > span:first-child { grid-column: 1 / -1; }
  .chaincard { padding: 24px 18px; }
  .node { padding: 18px; }
  .node__name { margin-top: 14px; font-size: 21px; }
  .limits { grid-template-columns: minmax(0, 1fr); }
  .limit--cover { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lines li { align-items: flex-start; flex-direction: column; gap: 2px; padding: 9px 14px; }
  .lines em { text-align: left; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .qa--wide { padding: 22px 20px; }
  .final { min-height: 0; margin: 80px 16px 0; padding: 32px 20px 0; }
  .final__plan { position: static; display: block; width: calc(100% + 40px); height: 190px; margin: 32px -20px 0; border-radius: 0; border-width: 1px 0 0; }
  .final .btn { width: 100%; }
  .foot { grid-template-columns: minmax(0, 1fr); padding: 40px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; translate: 0 0; transition: none; }
  .bar, .bar.is-on, .own.is-on polygon, .own.is-on text, .sheet.is-done .via polygon, .sheet.is-done .via__mark, .regs li, .tile, .tile dt { transition: none; }
  .sheet.is-done .find__lock { 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(70px, 28px + 2.625vw, 87.5px); }
  h2 { font-size: clamp(46px, 25.3px + 1.294vw, 55.2px); }
  .lede { font-size: clamp(20px, 14px + 0.375vw, 23px); }
}

/* The frame is the first screen: it fills the window instead of stopping at 860px. */
@media (min-width: 1101px) and (min-height: 900px) { .hero { min-height: calc(100vh - 68px - 2 * var(--inset)); min-height: calc(100svh - 68px - 2 * var(--inset)); } }
@media (min-width: 1600px) { .hero { grid-template-columns: minmax(0, clamp(464px, 29vw, 620px)) minmax(0, 1fr); gap: clamp(44px, 2.6vw, 64px); padding: clamp(28px, 1.6vw, 40px) clamp(28px, 1.6vw, 40px) clamp(28px, 1.6vw, 40px) clamp(40px, 2.3vw, 56px); } }
/* ---------- end every screen size ---------- */
