@font-face { font-family: "Gloock"; src: url(/fonts/gloock-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(/fonts/albert-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(/fonts/albert-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(/fonts/albert-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url(/fonts/azeret-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url(/fonts/azeret-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f1ede4; --paper2: #e7e1d3; --card: #fbf9f4; --ink: #16171b; --ink2: #4a4950; --line: #cdc4b2;
  --cyan: #0a6a8c; --cyan2: #17a3cc; --mag: #b8285a; --amber: #8f5600; --green: #2b6f45; --note: #66656b;
  --display: "Gloock", Georgia, serif; --body: "Albert Sans", system-ui, sans-serif; --mono: "Azeret Mono", ui-monospace, monospace;
  --sys: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--cyan); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan2); outline-offset: 2px; }
.defs { position: absolute; }

/* header */
.top { position: relative; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 26px/1 var(--display); color: var(--ink); text-decoration: none; }
.brand-small { font-size: 19px; gap: 8px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 10px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--paper2); }
.x-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink) !important; border: 1px solid var(--line); padding: 0 !important; }

/* buttons and fields */
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 600 16px/1 var(--body); text-decoration: none; transition: transform .15s var(--ease), background .15s; }
.btn:hover { background: #000; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }

.field { display: grid; gap: 5px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink2); letter-spacing: .01em; }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(23, 163, 204, .2); }

/* hero */
.hero { position: relative; padding: 18px 0 72px;
  background:
    radial-gradient(circle at 1px 1px, rgba(22, 23, 27, .09) 1px, transparent 1.4px) 0 0 / 14px 14px,
    var(--paper); }
.crop-marks { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); pointer-events: none; stroke: var(--ink2); stroke-width: 1; fill: none; opacity: .5; }
.hero-in { position: relative; display: grid; gap: 34px; }
.kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; font-weight: 500; }
.hero h1 { font-size: clamp(40px, 7.4vw, 86px); max-width: 13ch; }
.lede { margin-top: 18px; font-size: clamp(17px, 2vw, 20px); color: var(--ink2); max-width: 56ch; }

.bench-grid { display: grid; gap: 22px; align-items: start; }
.inputs { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 1px 0 #fff inset, 0 18px 40px -28px rgba(22, 23, 27, .35); }
.mode { display: grid; gap: 14px; }
.mode[hidden] { display: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper2); border-radius: 12px; padding: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--ink2); transition: background .2s var(--ease), color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--cyan2); outline-offset: 2px; }
.pair { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.drop-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.drop { position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--cyan); background: #f4fafc; }
.drop:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(23, 163, 204, .2); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-thumb { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--paper2); overflow: hidden; display: grid; place-items: center; }
.drop-thumb::before { content: "+"; font: 400 22px/1 var(--mono); color: var(--ink2); }
.drop.has .drop-thumb::before { content: none; }
.drop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop-wide .drop-thumb { width: 54px; height: 18px; border-radius: 4px; }
.drop-wide .drop-thumb::before { font-size: 16px; }
.drop-text { display: grid; line-height: 1.2; min-width: 0; }
.drop-text b { font-size: 15px; }
.drop-text small { color: var(--note); font-size: 12.5px; }
.more summary { cursor: pointer; font-weight: 600; font-size: 15px; padding: 6px 0; color: var(--ink2); list-style: none; display: flex; align-items: center; gap: 8px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s var(--ease); }
.more[open] summary::before { transform: rotate(45deg); }
.more[open] { display: grid; gap: 12px; }
.file-link { position: relative; font-size: 14.5px; font-weight: 600; color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; padding: 6px 0; }
.file-link input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-link:focus-within { outline: 2px solid var(--cyan2); outline-offset: 2px; border-radius: 4px; }
.hint { font-size: 13.5px; color: var(--note); }
.status { font-size: 14.5px; min-height: 0; }
.status:empty { display: none; }
.status[data-kind=error] { color: var(--mag); }
.status[data-kind=ok] { color: var(--green); }

/* bench + loupe */
.bench { position: relative; padding: 26px 18px 40px; border-radius: 22px; background: #d9d2c2; touch-action: none;
  background-image: linear-gradient(rgba(22, 23, 27, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 23, 27, .07) 1px, transparent 1px);
  background-size: 24px 24px; box-shadow: inset 0 0 0 1px rgba(22, 23, 27, .12); overflow: hidden; }
.bench-plate { position: relative; max-width: 420px; margin-inline: auto; cursor: crosshair; }
.plate-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); margin-bottom: 8px; }
.loupe { position: absolute; left: 0; top: 0; width: 168px; height: 168px; cursor: grab; z-index: 3; touch-action: none; will-change: transform; }
.loupe.glide { transition: transform .25s var(--ease); }
.loupe.dragging { cursor: grabbing; }
.loupe-glass { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #101114; border: 7px solid var(--ink);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55) inset, 0 14px 28px -10px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .3); }
.loupe-glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse 34% 22% at 32% 22%, rgba(255, 255, 255, .16), transparent 70%), radial-gradient(circle at 50% 50%, transparent 66%, rgba(23, 163, 204, .18)); }
.loupe-view { position: absolute; inset: 0; }
.loupe-view > div { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.loupe-handle { position: absolute; width: 18px; height: 70px; border-radius: 9px; background: linear-gradient(90deg, #2a2b31, #16171b 60%); right: -2px; bottom: -50px; transform: rotate(-45deg); transform-origin: 50% 0; z-index: -1; }
.loupe:focus-visible { outline: none; }
.loupe:focus-visible .loupe-glass { box-shadow: 0 0 0 3px var(--cyan2), 0 14px 28px -10px rgba(0, 0, 0, .55); }
.bench-hint { position: absolute; right: 16px; bottom: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); transition: opacity .4s; }
.bench.used .bench-hint { opacity: 0; }

/* ---------- mockups (system font, the way apps draw them) ---------- */
.mock, .plate-body, .loupe-view { font-family: var(--sys); }
.mock { transform-origin: 0 0; }
.w360 { width: 360px; } .w480 { width: 480px; } .w560 { width: 560px; }
.scaler { position: relative; }
.scaler > .mock { position: absolute; left: 0; top: 0; }
.ic { --s: 40px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: #3a3c45; color: #e9e9ee; font: 600 calc(var(--s) * .44)/1 var(--sys); }
.light .ic-empty { background: #dfe0e5; color: #50525b; }
.ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s16 { --s: 16px; } .s20 { --s: 20px; } .s24 { --s: 24px; } .s32 { --s: 32px; } .s40 { --s: 40px; } .s48 { --s: 48px; } .s56 { --s: 56px; }
.s64 { --s: 64px; } .s72 { --s: 72px; } .s96 { --s: 96px; } .s128 { --s: 128px; } .s160 { --s: 160px; }
.ic.sq { border-radius: 8px; } .ic.sq0 { border-radius: 14px; }
.ic.ring { box-shadow: 0 0 0 4px #15161b; }
.fallback { font-style: normal; opacity: .55; }
.sk { display: block; height: 10px; border-radius: 5px; background: currentColor; opacity: .14; }
.cut { box-shadow: inset 0 -2px 0 #ff4f7e; }
.light .cut { box-shadow: inset 0 -2px 0 var(--mag); }

.dark { background: #111216; color: #f2f2f5; }
.light { background: #fff; color: #16171b; }
.phone-strip { border-radius: 16px; padding: 6px 16px; }
.phone-strip + .phone-strip { margin-top: 10px; }
.w-row { display: flex; align-items: center; gap: 12px; height: 64px; }
.w-mid { flex: 1; min-width: 0; display: grid; gap: 3px; }
.w-name { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.w-sub { display: flex; align-items: center; gap: 6px; font-size: 13.5px; opacity: .62; min-width: 0; }
.w-sym { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 96px; }
.sk-amt { width: 38px; flex: none; }
.w-right { display: grid; gap: 7px; justify-items: end; width: 84px; flex: none; }
.sk-val { width: 64px; } .sk-chg { width: 42px; }
.ghost { opacity: .7; }
.sk-ic { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.sk-n { width: 55%; } .sk-s { width: 30%; }
.pick { margin: 6px 0 4px; }
.pick-in { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.p-sym { font-size: 15px; white-space: nowrap; }
.p-name { font-size: 13.5px; opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 150px; }
.mini-ladder { display: flex; align-items: flex-end; gap: 16px; padding: 12px 2px 8px; }
.ml, .lad { display: grid; justify-items: center; gap: 6px; }
.ml small, .lad small { font: 500 10px/1 var(--mono); opacity: .55; }

.picker { padding: 12px 16px; }
.pk-search { display: block; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); padding: 15px 14px; }
.sk-search { width: 46%; }
.pk-row { display: flex; align-items: center; gap: 12px; height: 60px; }
.pk-sym { font-size: 16px; }
.pk-name { font-size: 13.5px; opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.phone { border-radius: 26px; padding: 14px 20px 22px; }
.ph-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .7; }
.ph-head { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 6px 0 14px; }
.ph-name { font-size: 22px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 6px; }
.ph-sym { font-size: 14px; opacity: .6; }
.ph-chart { height: 74px; border-radius: 14px; background: rgba(255, 255, 255, .04); padding: 30px 18px; }
.sk-chart { width: 100%; height: 12px; }
.ph-about { margin-top: 16px; display: grid; gap: 6px; font-size: 14px; }
.ph-about b { font-size: 15px; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; opacity: .78; line-height: 1.45; overflow-wrap: anywhere; }
.more { color: #8fb7ff; font-weight: 600; }
.ph-links, .agg-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13.5px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-weight: 600; }
.chip.dark { background: rgba(255, 255, 255, .09); }
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.chip svg .fill { fill: currentColor; stroke: none; }

.ex { border-radius: 12px; padding: 18px 20px; border: 1px solid #e3e4e8; }
.ex-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #ececf0; }
.ex-name { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.ex-sym { font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: #eef0f4; color: #4a4d57; white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.ex-tab { display: grid; grid-template-columns: 130px 1fr; margin: 6px 0 0; font-size: 13.5px; }
.ex-tab dt, .ex-tab dd { padding: 8px 0; border-bottom: 1px solid #f0f0f3; margin: 0; min-width: 0; }
.ex-tab dt { color: #6b6e78; }
.ex-tab dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-tab code { font: 12.5px/1.2 ui-monospace, Menlo, Consolas, monospace; }
.dash { color: #9a9ca5; }

.agg { border-radius: 14px; overflow: hidden; padding-bottom: 16px; }
.agg-banner { aspect-ratio: 3 / 1; background: linear-gradient(120deg, #1d1f26, #262a33); overflow: hidden; }
.agg-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agg-head { display: flex; align-items: flex-end; gap: 12px; padding: 0 18px; margin-top: -28px; }
.agg-t { display: grid; min-width: 0; padding-bottom: 2px; }
.agg-name { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agg-pair { font-size: 13.5px; opacity: .65; white-space: nowrap; }
.agg-links { padding: 0 18px; margin-top: 12px; }

.share { display: flex; height: 251px; border: 1px solid #e3e4e8; border-radius: 14px; overflow: hidden; }
.sh-img { flex: none; width: 210px; display: grid; place-items: center; background: #f3f4f7; }
.sh-t { padding: 22px 20px; display: grid; align-content: center; gap: 6px; min-width: 0; }
.sh-host { font-size: 12.5px; color: #6b6e78; }
.sh-name { font-size: 19px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sh-sym { font-weight: 500; color: #6b6e78; }
.sh-desc { font-size: 14px; color: #4a4d57; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

.ladder { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 18px; border-radius: 12px; }
.ladder + .ladder { margin-top: 10px; }

/* ---------- sections ---------- */
.sec-head { max-width: 680px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(32px, 5vw, 54px); }
.sec-head > p:not(.kicker) { margin-top: 14px; color: var(--ink2); }
.sheet { padding: 84px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proofs { display: grid; gap: 34px 28px; }
.proof { margin: 0; position: relative; padding: 16px; min-width: 0; }
.proof::before, .proof::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; border-color: var(--ink2); border-style: solid; opacity: .55; }
.proof::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.proof::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.proof figcaption { font-weight: 600; font-size: 15px; margin-bottom: 14px; display: flex; gap: 10px; align-items: baseline; }
.proof figcaption .mono { font-size: 12px; color: var(--cyan); font-weight: 500; }
.frame { min-width: 0; }

.check { padding: 84px 0; }
.tally { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; margin-top: 18px !important; }
.tally:empty { display: none; }
.tally span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.t-fix { color: var(--mag); } .t-fix::before { background: var(--mag); }
.t-warn { color: var(--amber); } .t-warn::before { background: var(--amber); }
.t-ok { color: var(--green); } .t-ok::before { background: var(--green); }
.results { display: grid; gap: 26px; }
.group h3 { font-size: 24px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.group ul { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 22px 74px 1fr; gap: 4px 10px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: start; animation: rise .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .item { animation: none; } }
.mark { width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 2px solid currentColor; position: relative; }
.lv { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; font-weight: 500; }
.it { display: grid; gap: 2px; min-width: 0; }
.it b { font-weight: 600; }
.it span { color: var(--ink2); font-size: 15.5px; overflow-wrap: anywhere; }
.lv-fix { color: var(--mag); } .lv-fix .mark { background: var(--mag); }
.lv-warn { color: var(--amber); } .lv-warn .mark { background: linear-gradient(90deg, var(--amber) 50%, transparent 50%); }
.lv-note { color: var(--note); }
.lv-ok { color: var(--green); } .lv-ok .mark::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.item .it b { color: var(--ink); }
.empty { display: flex; gap: 18px; align-items: center; padding: 26px; border: 1.5px dashed var(--line); border-radius: 16px; color: var(--ink2); max-width: 680px; }
.empty svg { width: 56px; height: 56px; flex: none; fill: none; stroke: var(--ink2); stroke-width: 2.4; stroke-linecap: round; }
.empty svg .dash { stroke: var(--cyan2); stroke-dasharray: 3 3; }

.reads { padding: 84px 0; background: var(--paper2); border-top: 1px solid var(--line); }
.fields { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: f; border-top: 1px solid var(--line); }
.fields li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0 18px 46px; border-bottom: 1px solid var(--line); position: relative; counter-increment: f; }
.fields li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 20px; font: 500 12px/1 var(--mono); color: var(--cyan); }
.fields code { font: 500 16px/1.3 var(--mono); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; justify-self: start; display: inline-block; margin-right: 6px; }
.fields span { color: var(--ink2); }
.fields .keys { color: inherit; display: flex; flex-wrap: wrap; gap: 6px; }
.fields .keys code { margin: 0; }

.close { background: var(--ink); color: var(--paper); padding: 84px 0; position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; border: 14px solid rgba(241, 237, 228, .08); }
.close-in { position: relative; display: grid; gap: 18px; justify-items: start; }
.close h2 { font-size: clamp(32px, 5vw, 56px); max-width: 16ch; }
.close p { color: #c9c4b8; max-width: 52ch; }

.foot { padding: 26px 0 34px; background: var(--ink); color: #b9b4a8; border-top: 1px solid #2c2d33; font-size: 14.5px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.foot .brand { color: var(--paper); }
.foot .x-link { color: var(--paper) !important; border-color: #3a3b42; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.proofs .reveal:nth-child(2n) { transition-delay: .08s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* 404 */
.center-msg { padding: 120px 0 140px; display: grid; gap: 18px; justify-items: start; }
.center-msg h1 { font-size: clamp(40px, 7vw, 72px); }

/* layout */
@media (max-width: 899px) {
  .bench { order: -1; }
}
@media (max-width: 560px) {
  .crop-marks { display: none; }
  .nav-wide { display: none; }
  .nav a { padding: 10px 7px; font-size: 14.5px; }
  .brand { font-size: 23px; }
  .wrap { width: calc(100% - 32px); }
  .inputs { padding: 14px; }
  .pair { grid-template-columns: 1fr 104px; }
  .drop-row { grid-template-columns: 1fr; }
  .bench { padding: 20px 12px 38px; }
  .loupe { width: 140px; height: 140px; }
  .proof { padding: 12px 0; }
  .proof::before, .proof::after { display: none; }
  .item { grid-template-columns: 20px 1fr; }
  .item .it { grid-column: 2; }
  .empty { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .nav a[href="#sheet"] { display: none; }
}
@media (min-width: 900px) {
  .hero { padding-bottom: 96px; }
  .hero-in { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); grid-template-areas: "copy bench" "form bench"; gap: 30px 48px; align-items: start; }
  .hero-copy { grid-area: copy; }
  .hero h1 { font-size: clamp(44px, 4.6vw, 66px); }
  .lede { font-size: 18px; }
  .bench-grid { display: contents; }
  .inputs { grid-area: form; }
  .bench { grid-area: bench; position: sticky; top: 20px; min-height: 560px; display: grid; align-content: center; padding: 44px 30px 50px; }
  .proofs { grid-template-columns: 1fr 1fr; }
  .p-ladder { grid-column: 1 / -1; }
  .check-in { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
  .check-in .sec-head { position: sticky; top: 24px; }
  .reads-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
  .fields li { grid-template-columns: 230px 1fr; align-items: baseline; }
}
