/* Layout: a chip seen from the top down. Graphite "die" bands alternate with wafer-silver bands; mask-layer
   colours (metal 1, metal 2, poly, diffusion, metal 3) appear only where the content is about layers.
   Copper is the single action colour. One deliberate look, so colours are set explicitly for every host theme. */
:root {
  color-scheme: dark;
  --graphite: #0d1015;
  --graphite-2: #141920;
  --graphite-3: #1b222b;
  --rule: #2a333e;
  --text: #e6ebf0;
  --muted: #8f9baa;
  --wafer: #e3e7eb;
  --wafer-2: #d2d8de;
  --ink: #10151b;
  --ink-muted: #4c5764;
  --copper: #e2843f;
  --copper-hi: #f4a66b;
  --copper-deep: #a9541b;
  --m1: #4f8cf7;
  --m2: #b370e0;
  --poly: #e35d5b;
  --diff: #3db283;
  --m3: #e7b53c;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--graphite); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 18px; height: 6px; background: currentColor; }
h2 { font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: clamp(38px, 6vw, 72px); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; margin: 0 0 20px; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.6vw, 19px); max-width: 62ch; color: var(--muted); margin: 0; }
.band-light { background: var(--wafer); color: var(--ink); }
.band-light .lede { color: var(--ink-muted); }
.band-light .eyebrow { color: var(--copper-deep); }
section { padding-block: clamp(72px, 10vw, 128px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--graphite) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.brand svg { width: 34px; height: 34px; }
.wordmark { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: 0.04em; line-height: 1; }
.wordmark small { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: 0.12em; color: var(--copper); margin-left: 6px; vertical-align: 2px; font-stretch: normal; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--body); padding: 14px 20px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.btn-copper { background: var(--copper); color: var(--ink); }
.btn-copper:hover { background: var(--copper-hi); }
.btn-ghost { border-color: var(--rule); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.nav .btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) 0; border-bottom: 1px solid var(--rule); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 62%); mask-image: linear-gradient(90deg, transparent 18%, #000 62%); }
.hero .wrap { position: relative; }
.hero h1 { font-family: var(--display); font-stretch: 68%; font-weight: 900; text-transform: uppercase; font-size: clamp(60px, 10.5vw, 150px); line-height: 0.86; letter-spacing: -0.015em; margin: 0 0 28px; max-width: 9ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero p.lede { color: #b3bdc8; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.statusbar { position: relative; margin-top: clamp(56px, 8vw, 104px); background: var(--graphite-2); border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.statusbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 26px; padding-block: 12px; }
.statusbar b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.statusbar .ok { color: var(--diff); }
.statusbar span { white-space: nowrap; }
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; }
  .hero .wrap { order: 1; }
  .hero canvas { order: 2; position: relative; height: 220px; margin-top: 36px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .statusbar { order: 3; margin-top: 0; }
}

/* ---------- stack (cross-section) ---------- */
.stack-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
@media (max-width: 860px) { .stack-head { grid-template-columns: minmax(0, 1fr); } }
.xsec { border-top: 2px solid var(--ink); }
.layer { display: grid; grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px 28px; align-items: start; padding-block: 18px; border-bottom: 1px solid var(--wafer-2); }
.swatch { height: 44px; position: relative; border: 1.5px solid var(--c); background: repeating-linear-gradient(135deg, var(--c) 0 1.5px, transparent 1.5px 7px); }
.swatch span { position: absolute; left: 6px; bottom: -1px; transform: translateY(100%); font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted); padding-top: 4px; }
.layer h3 { font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: 19px; line-height: 1.2; margin: 0; }
.layer p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.mods { display: flex; flex-wrap: wrap; gap: 6px; }
.mods code { font-family: var(--mono); font-size: 12px; background: var(--wafer-2); color: var(--ink); padding: 2px 7px; }
.mods .road { background: transparent; border: 1px dashed var(--ink-muted); color: var(--ink-muted); }
@media (max-width: 860px) {
  .layer { grid-template-columns: 56px minmax(0, 1fr); }
  .layer p, .layer .mods { grid-column: 2; }
  .swatch span { display: none; }
}
.xsec-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); margin-top: 14px; }

/* ---------- workspaces ---------- */
.ws { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; margin-top: 56px; }
@media (max-width: 960px) { .ws { grid-template-columns: minmax(0, 1fr); } }
.ws-tabs { display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 960px) { .ws-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; gap: 6px; } }
.ws-tab { all: unset; cursor: pointer; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 4px 10px; padding: 11px 14px; color: var(--muted); border-left: 2px solid transparent; }
.ws-tab:hover { color: var(--text); background: var(--graphite-2); }
.ws-tab[aria-selected="true"] { color: var(--text); background: var(--graphite-3); border-left-color: var(--copper); }
.ws-tab:focus-visible { outline: 2px solid var(--copper); outline-offset: -2px; }
.ws-tab .k { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ws-tab[aria-selected="true"] .k { color: var(--copper); }
.ws-tab .n { font-weight: 500; font-size: 15px; }
@media (max-width: 960px) { .ws-tab { flex: none; border-left: 0; border-bottom: 2px solid transparent; } .ws-tab[aria-selected="true"] { border-bottom-color: var(--copper); } }
.frame { min-width: 0; border: 1px solid var(--rule); background: var(--graphite-2); }
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.frame-bar i { width: 9px; height: 9px; border: 1.5px solid var(--rule); border-radius: 50%; }
.frame-bar b { color: var(--text); font-weight: 500; }
.frame-img { aspect-ratio: 1600 / 952; background: #1e1e1e; overflow: hidden; max-width: 100%; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.frame-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 18px 20px; align-items: start; }
.frame-cap p { margin: 0; color: #b3bdc8; max-width: 72ch; }
.frame-cap ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 320px; }
.frame-cap li { font-family: var(--mono); font-size: 11.5px; border: 1px solid var(--rule); padding: 2px 8px; color: var(--muted); }
@media (max-width: 700px) { .frame-cap { grid-template-columns: minmax(0, 1fr); } .frame-cap ul { justify-content: flex-start; } }

/* ---------- advancing ---------- */
.ladder { margin-top: 56px; border: 1px solid var(--wafer-2); background: #eef1f3; padding: clamp(20px, 3vw, 36px); }
.ladder h3 { font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: 22px; margin: 0 0 6px; }
.ladder > p { margin: 0 0 28px; color: var(--ink-muted); max-width: 70ch; }
.rungs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); align-items: end; gap: 6px; overflow-x: auto; }
.rung { display: flex; flex-direction: column; gap: 8px; min-width: 84px; }
.rung .bar { background: repeating-linear-gradient(135deg, var(--ink-muted) 0 1px, transparent 1px 6px); border: 1px solid var(--ink-muted); }
.rung.done .bar { background: var(--ink); border-color: var(--ink); }
.rung.now .bar { background: var(--copper); border-color: var(--copper-deep); }
.rung.next .bar { border-style: dashed; }
.rung code { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.rung small { font-size: 12px; line-height: 1.35; color: var(--ink-muted); }
.rung-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; font-size: 13px; color: var(--ink-muted); }
.rung-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 7px; vertical-align: -1px; border: 1px solid var(--ink-muted); }
.rung-legend .l1::before { background: var(--ink); border-color: var(--ink); }
.rung-legend .l2::before { background: var(--copper); border-color: var(--copper-deep); }
.rung-legend .l3::before { border-style: dashed; background: repeating-linear-gradient(135deg, var(--ink-muted) 0 1px, transparent 1px 6px); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 2px solid var(--ink); }
@media (max-width: 900px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.pillar { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--wafer-2); }
.pillar:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--wafer-2); }
@media (max-width: 900px) { .pillar, .pillar:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } }
.pillar .tag { font-family: var(--mono); font-size: 11.5px; color: var(--copper-deep); }
.pillar h3 { font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: 21px; line-height: 1.2; margin: 8px 0 10px; text-wrap: balance; }
.pillar p { margin: 0; color: var(--ink-muted); font-size: 15.5px; }
.results { margin-top: 56px; overflow-x: auto; }
.results table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.results caption { text-align: left; font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: 22px; padding-bottom: 4px; }
.results .sub { caption-side: bottom; }
.results th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 2px solid var(--ink); padding: 14px 16px 10px 0; }
.results td { border-bottom: 1px solid var(--wafer-2); padding: 12px 16px 12px 0; vertical-align: top; }
.results td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.results td code { font-family: var(--mono); font-size: 13px; }
.results .note { font-size: 13px; color: var(--ink-muted); margin-top: 12px; }

/* ---------- IP library ---------- */
.ip-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
@media (max-width: 860px) { .ip-head { grid-template-columns: minmax(0, 1fr); } }
.ip-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.ip-figs div { padding: 14px 14px 0 0; }
.ip-figs b { display: block; font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.ip-figs span { font-size: 12.5px; color: var(--muted); line-height: 1.3; display: block; margin-top: 6px; }
@media (max-width: 520px) { .ip-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; } }
.floor-wrap { margin-top: 48px; }
.floor-cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.floor { position: relative; width: 100%; aspect-ratio: 2 / 1; border: 2px solid var(--muted); padding: 0; background: var(--graphite-2); max-width: 100%; }
@media (max-width: 700px) { .floor { aspect-ratio: 4 / 5; } }
.floor .ring { position: absolute; inset: 6px; }
.blk { all: unset; position: absolute; box-sizing: border-box; cursor: pointer; overflow: hidden; border: 1px solid var(--graphite); padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; background-color: var(--graphite-3); background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 34%, transparent) 0 1px, transparent 1px 7px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); transition: box-shadow .15s, background-color .15s; }
.blk:hover { background-color: color-mix(in srgb, var(--c) 16%, var(--graphite-3)); }
.blk[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--copper); background-color: color-mix(in srgb, var(--copper) 14%, var(--graphite-3)); }
.blk:focus-visible { outline: 2px solid var(--copper); outline-offset: -3px; }
.blk .bn { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 13.5px; line-height: 1.15; color: var(--text); text-wrap: balance; }
.blk .bc { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.blk .bc i { flex: 1; height: 3px; background: var(--rule); position: relative; max-width: 80px; }
.blk .bc i u { position: absolute; inset: 0 auto 0 0; background: var(--diff); }
.blk.tiny .bn { font-size: 11.5px; }
.ip-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; align-items: center; }
.ip-tools input, .ip-tools select { font: inherit; font-size: 15px; background: var(--graphite-2); color: var(--text); border: 1px solid var(--rule); padding: 10px 12px; min-width: 0; border-radius: 0; }
.ip-tools input { flex: 1 1 280px; }
.ip-tools input:focus-visible, .ip-tools select:focus-visible { outline: 2px solid var(--copper); outline-offset: 0; }
.chipf { all: unset; cursor: pointer; font-size: 13px; padding: 6px 12px; border: 1px solid var(--rule); color: var(--muted); }
.chipf:hover { color: var(--text); }
.chipf:focus-visible { outline: 2px solid var(--copper); }
.ip-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; margin: 18px 0 8px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ip-list { border-top: 1px solid var(--rule); }
.ip-row { border-bottom: 1px solid var(--rule); }
.ip-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 12px 4px; }
.ip-row summary::-webkit-details-marker { display: none; }
.ip-row summary:hover { background: var(--graphite-2); }
.ip-row summary:focus-visible { outline: 2px solid var(--copper); outline-offset: -2px; }
.ip-id { font-family: var(--mono); font-size: 13px; color: var(--copper-hi); overflow-wrap: anywhere; }
.ip-t { font-weight: 500; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill { font-family: var(--mono); font-size: 11px; padding: 1px 8px; border: 1px solid var(--rule); color: var(--muted); white-space: nowrap; }
.pill.sim { border-color: var(--diff); color: var(--diff); }
.pill.t3 { border-color: var(--poly); color: var(--poly); }
@media (max-width: 640px) { .ip-row summary { grid-template-columns: minmax(0, 1fr); } .pills { justify-content: flex-start; } }
.ip-body { padding: 4px 4px 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 12px 32px; }
@media (max-width: 760px) { .ip-body { grid-template-columns: minmax(0, 1fr); } }
.ip-body p { margin: 0; color: #b3bdc8; max-width: 72ch; }
.ip-body dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; font-size: 13.5px; }
.ip-body dt { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 2px; }
.ip-body dd { margin: 0; overflow-wrap: anywhere; }
.ip-body code { font-family: var(--mono); font-size: 12.5px; background: var(--graphite-3); padding: 2px 6px; overflow-wrap: anywhere; }
.more { all: unset; cursor: pointer; display: block; text-align: center; padding: 16px; margin-top: 12px; border: 1px solid var(--rule); color: var(--text); font-weight: 500; }
.more:hover { border-color: var(--muted); }
.more:focus-visible { outline: 2px solid var(--copper); }
.ip-empty { padding: 32px 4px; color: var(--muted); }

/* ---------- partners ---------- */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 2px solid var(--ink); }
@media (max-width: 900px) { .aud { grid-template-columns: minmax(0, 1fr); } }
.aud > div { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--wafer-2); }
.aud > div + div { padding-left: 28px; border-left: 1px solid var(--wafer-2); }
@media (max-width: 900px) { .aud > div + div { padding-left: 0; border-left: 0; } }
.aud h3 { font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: 21px; margin: 0 0 10px; }
.aud ul { margin: 0; padding-left: 18px; color: var(--ink-muted); font-size: 15px; }
.aud li + li { margin-top: 6px; }
.form-shell { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 32px 64px; }
@media (max-width: 960px) { .form-shell { grid-template-columns: minmax(0, 1fr); } }
.form-aside h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); line-height: 0.95; margin: 0 0 16px; }
.form-aside p { color: var(--ink-muted); margin: 0 0 14px; }
.form-aside .addr { font-family: var(--mono); font-size: 14px; color: var(--ink); background: var(--wafer-2); padding: 3px 8px; user-select: all; }
form.pf { background: var(--graphite); color: var(--text); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 640px) { form.pf { grid-template-columns: minmax(0, 1fr); } }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label, .fld legend { font-size: 13px; font-weight: 500; color: #c3ccd6; }
.fld label .req, .fld legend .req { color: var(--copper); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 15px; background: var(--graphite-2); color: var(--text); border: 1px solid var(--rule); padding: 11px 12px; border-radius: 0; min-width: 0; width: 100%; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 2px solid var(--copper); outline-offset: 0; border-color: var(--copper); }
.fld input[aria-invalid="true"] { border-color: var(--poly); }
fieldset.fld { border: 0; padding: 0; margin: 0; }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 4px; }
.role { position: relative; }
.role input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.role span { display: block; border: 1px solid var(--rule); padding: 11px 12px; font-size: 14px; line-height: 1.3; height: 100%; }
.role span b { display: block; font-weight: 600; }
.role span small { color: var(--muted); font-size: 12.5px; }
.role input:checked + span { border-color: var(--copper); background: color-mix(in srgb, var(--copper) 12%, var(--graphite-2)); }
.role input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 1px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 16px; margin-top: 4px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 400; color: var(--text); cursor: pointer; }
.checks input { accent-color: var(--copper); width: 16px; height: 16px; margin-top: 4px; flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 18px; }
.form-foot p { margin: 0; font-size: 13px; color: var(--muted); max-width: 52ch; }
.form-err { grid-column: 1 / -1; margin: 0; color: var(--poly); font-size: 14px; }
.sent { grid-column: 1 / -1; display: grid; gap: 14px; }
.sent h4 { font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 26px; margin: 0; }
.sent pre { margin: 0; background: var(--graphite-2); border: 1px solid var(--rule); padding: 14px; font-family: var(--mono); font-size: 12.5px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 280px; overflow: auto; color: #c3ccd6; }
.sent .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- footer ---------- */
footer { background: var(--graphite); border-top: 1px solid var(--rule); padding-block: 56px 40px; font-size: 14px; color: var(--muted); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 800px) { .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot > :first-child { grid-column: 1 / -1; } }
.foot h4 { font-family: var(--display); font-stretch: 125%; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .brand { margin-bottom: 14px; }
.legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.legal p { margin: 0; max-width: 80ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
