/* Gloock, Hanken Grotesk and IBM Plex Mono, SIL Open Font License. Served from this site so visitors make no request to a third party. */
@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gloock-latin-ext-Iurb6YFw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gloock-latin-Iurb6YFw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ieVn2YZD.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-ext--F63fjpt.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin--F63fjpt.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-ext--F6qfjpt.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin--F6qfjpt.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-ext--F6qfjpt.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin--F6qfjpt.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Equami brand system (formerly Plumbline). Palette: ultramarine and apricot on warm paper.
   Concept: the fair friend, square and true. One brass line runs through the page; everything
   else is ink on paper, measured and squared. Layout: an evergreen "vault" band
   (masthead, route calculator, logo wall), then paper sections for the line-up,
   the ledger and the rules. All text pairs meet WCAG AAA (7:1 or better). */
:root {
  /* Paper sections (themed) */
  --bg: #f7f3ec;
  --sheet: #fffdf9;
  --sheet-2: #efeae0;
  --ink: #121433;
  --ink-2: #363957;
  --ink-3: #43465f;
  --line: #e2dccf;
  --line-2: #c9c2b2;
  --brass: #823510;
  --brass-fill: #ffb48a;
  --brass-wash: #fdeee3;
  --keep: #05583a;
  --keep-wash: #e2f3ea;
  --cost: #8a2212;
  --cost-wash: #fbe9e5;
  --info-wash: #eceef8;
  --sel-bg: #0e1650;
  --sel-ink: #fbf5ea;
  --sel-icon: #ffb48a;
  --shadow: 0 1px 2px rgba(18, 20, 51, 0.06), 0 12px 32px -16px rgba(18, 20, 51, 0.22);
  --shadow-lg: 0 2px 4px rgba(18, 20, 51, 0.06), 0 28px 60px -24px rgba(18, 20, 51, 0.35);
  /* Vault band (deliberately dark in both themes) */
  --v-bg: #0e1650;
  --v-bg-2: #141d5e;
  --v-chip: #1b2668;
  --v-line: #2e3a80;
  --v-ink: #fbf5ea;
  --v-ink-2: #cdd1ea;
  --v-brass: #ffb48a;
  /* Factor colours (used for bars, always paired with a text label) */
  --f-cost: #05583a;
  --f-trust: #2a3f9e;
  --f-speed: #823510;
  --f-exp: #6a3b78;
  /* Type */
  --display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070a26; --sheet: #0f1438; --sheet-2: #151b45; --ink: #f3f1ee; --ink-2: #cfd1e6; --ink-3: #aeb1cc;
    --line: #232a58; --line-2: #333b6e; --brass: #ffb48a; --brass-fill: #ffb48a; --brass-wash: #2b1c18;
    --keep: #62d9a0; --keep-wash: #0f2a1f; --cost: #ff9e89; --cost-wash: #2e1712; --info-wash: #141c3c;
    --sel-bg: #ffb48a; --sel-ink: #0e1650; --sel-icon: #0e1650;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 28px 60px -24px rgba(0, 0, 0, 0.8);
    --f-cost: #62d9a0; --f-trust: #8fa6ff; --f-speed: #ffb48a; --f-exp: #c99ad6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070a26; --sheet: #0f1438; --sheet-2: #151b45; --ink: #f3f1ee; --ink-2: #cfd1e6; --ink-3: #aeb1cc;
  --line: #232a58; --line-2: #333b6e; --brass: #ffb48a; --brass-fill: #ffb48a; --brass-wash: #2b1c18;
  --keep: #62d9a0; --keep-wash: #0f2a1f; --cost: #ff9e89; --cost-wash: #2e1712; --info-wash: #141c3c;
    --sel-bg: #ffb48a; --sel-ink: #0e1650; --sel-icon: #0e1650;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 28px 60px -24px rgba(0, 0, 0, 0.8);
  --f-cost: #62d9a0; --f-trust: #8fa6ff; --f-speed: #ffb48a; --f-exp: #c99ad6;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16.5px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--v-bg); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass-fill); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.vault .eyebrow { color: var(--v-brass); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Vault band ===== */
.vault { background: var(--v-bg); color: var(--v-ink); position: relative; overflow: hidden; }
.vault::after { /* the brass line */
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 600px + 44px); width: 1px;
  background: linear-gradient(var(--v-brass), rgba(255, 180, 138, 0.25) 70%, transparent);
  opacity: 0.55; pointer-events: none;
}
.vault .grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 180, 138, 0.07) 1px, transparent 1px); background-size: 22px 22px; }

header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(14, 22, 80, 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--v-line); color: var(--v-ink); }
header.top .wrap { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--v-ink); }
.brand svg { width: 32px; height: 32px; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 25px; letter-spacing: -0.01em; line-height: 1; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--v-brass); margin-top: 3px; }
nav.jump { display: flex; gap: 4px; margin-left: auto; }
nav.jump a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--v-ink-2); padding: 8px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px; }
nav.jump a:hover { color: var(--v-ink); background: var(--v-chip); }

.cats { position: relative; z-index: 1; display: flex; gap: 8px; padding-block: 18px 0; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--v-line); color: var(--v-ink-2); }
.cat.on { background: var(--v-ink); color: var(--v-bg); border-color: var(--v-ink); }
a.cat { text-decoration: none; transition: border-color .15s, color .15s; }
a.cat:not(.on):hover { border-color: var(--v-brass); color: var(--v-ink); }
.cat .new { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--v-brass); color: var(--v-bg); padding: 2px 6px; border-radius: 4px; }
.cat .soon { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--v-brass); display: inline-flex; align-items: center; gap: 4px; }

.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; padding-block: 44px 56px; align-items: start; }
.hero-copy { padding-top: 18px; padding-left: 52px; position: relative; }
.bob { position: absolute; left: 30px; top: 0; width: 28px; height: 40px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.6vw, 76px); line-height: 0.98; letter-spacing: -0.02em; margin-top: 16px; }
.hero h1 span { color: var(--v-brass); display: block; }
.lede { font-size: 19px; line-height: 1.55; color: var(--v-ink-2); max-width: 46ch; margin-top: 22px; }
.lede b { color: var(--v-ink); font-weight: 600; }
.pledges { display: grid; gap: 12px; margin-top: 30px; max-width: 520px; }
.pledge { display: flex; gap: 14px; align-items: flex-start; }
.pledge .tile { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--v-chip); border: 1px solid var(--v-line); display: grid; place-items: center; color: var(--v-brass); }
.pledge .tile .ic { width: 20px; height: 20px; }
.pledge b { display: block; font-size: 16px; color: var(--v-ink); }
.pledge span { font-size: 14.5px; color: var(--v-ink-2); }
.stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--v-ink); }
.stat span { font-size: 13.5px; color: var(--v-ink-2); }

/* Route calculator */
.route { background: var(--sheet); color: var(--ink); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); padding: 22px; display: grid; gap: 18px; }
.route-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.route-h b { font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.route-h .live { font-family: var(--mono); font-size: 11.5px; color: var(--keep); display: inline-flex; align-items: center; gap: 6px; background: var(--keep-wash); padding: 4px 9px; border-radius: 999px; font-weight: 600; }
.legs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.leg { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.leg img { width: 34px; height: 23px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); flex: none; }
.leg small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.leg b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legs .arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--v-bg); color: var(--v-brass); display: grid; place-items: center; }
.field-l { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.flags { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.flag { border: 1px solid var(--line); background: var(--sheet); border-radius: 12px; padding: 8px 4px 7px; display: grid; justify-items: center; gap: 5px; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.15; text-align: center; transition: border-color 0.15s, background 0.15s; }
.flag img { width: 30px; height: 20px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.flag:hover { border-color: var(--line-2); }
.flag[aria-pressed="true"] { border: 2px solid var(--ink); padding: 7px 3px 6px; color: var(--ink); background: var(--sheet-2); }
.amount { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 16px; padding: 6px 8px 6px 16px; background: var(--sheet); }
.amount:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--brass-wash); }
.amount .cur { font-family: var(--display); font-size: 34px; color: var(--ink-3); }
.amount input { font-family: var(--display); font-size: 40px; border: 0; background: transparent; color: var(--ink); width: 100%; min-width: 0; padding: 0; outline: none; font-variant-numeric: tabular-nums; }
.amount .usd { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-3); padding-right: 6px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.quick button { border: 1px solid var(--line); background: var(--sheet); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink-2); font-family: var(--mono); }
.quick button:hover { border-color: var(--ink-2); color: var(--ink); }
.opts { display: grid; gap: 6px; }
.opts.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opts.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.opt { border: 1px solid var(--line); background: var(--sheet); border-radius: 12px; padding: 9px 4px; display: grid; justify-items: center; gap: 4px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.15; text-align: center; }
.opt .ic { width: 20px; height: 20px; }
.opt[aria-pressed="true"] { background: var(--sel-bg); border-color: var(--sel-bg); color: var(--sel-ink); }
.opt[aria-pressed="true"] .ic { color: var(--sel-icon); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.srcs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.src { border: 1px solid var(--line); background: var(--sheet); border-radius: 14px; padding: 10px 12px; text-align: left; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.src .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--ink-3); }
.src b { display: block; font-size: 14px; color: var(--ink); }
.src span { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; display: block; }
.src[aria-pressed="true"] { border: 2px solid var(--ink); padding: 9px 11px; background: var(--sheet-2); }
.src[aria-pressed="true"] .ic { color: var(--keep); }
.src:disabled { opacity: 0.45; cursor: not-allowed; }
.midline { font-size: 13.5px; color: var(--ink-2); background: var(--sheet-2); border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; }
.midline .ic { color: var(--brass); margin-top: 2px; }
.midline b { color: var(--ink); }

/* Logo wall */
.wall { position: relative; z-index: 1; border-top: 1px solid var(--v-line); padding-block: 26px 34px; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; align-items: center; }
.wall p { color: var(--v-ink-2); font-size: 15px; }
.wall p b { display: block; color: var(--v-ink); font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; margin-bottom: 4px; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--v-chip); border: 1px solid var(--v-line); border-radius: 14px; padding: 6px 12px 6px 6px; font-size: 14px; font-weight: 600; color: var(--v-ink); }
.logo-chip img { width: 30px; height: 30px; border-radius: 8px; }
.logo-chip.x { color: var(--v-ink-2); }
.logo-chip.x img { filter: grayscale(1); opacity: 0.7; }

/* ===== Paper sections ===== */
section.band { padding-block: 64px 24px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -0.015em; margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.sec-head h2 img { width: 44px; height: 30px; border-radius: 5px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.sec-head p.sub { color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink-2); }
.badge.good { background: var(--keep-wash); border-color: transparent; color: var(--keep); }
.badge.warn { background: var(--brass-wash); border-color: transparent; color: var(--brass); }
.caveat { display: flex; gap: 12px; align-items: flex-start; background: var(--info-wash); color: var(--ink-2); border-radius: 14px; padding: 13px 16px; font-size: 15px; margin-bottom: 22px; }
.caveat .ic { color: var(--f-trust); margin-top: 2px; width: 20px; height: 20px; }
.caveat b { color: var(--ink); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.card { position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.card.first { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -13px; left: 20px; background: var(--brass-fill); color: #0e1650; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.ribbon .ic { width: 14px; height: 14px; }
.c-top { padding: 24px 20px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.c-logo { position: relative; }
.c-logo img { width: 56px; height: 56px; border-radius: 15px; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 6px 14px -6px rgba(0, 0, 0, 0.35); }
.c-logo .logo-mono { width: 56px; height: 56px; border-radius: 15px; font-size: 26px; }
.c-logo .no { position: absolute; bottom: -7px; right: -7px; width: 26px; height: 26px; border-radius: 50%; background: var(--v-bg); color: var(--v-brass); display: grid; place-items: center; font-family: var(--display); font-size: 15px; border: 2px solid var(--sheet); }
.c-name { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.c-chan { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 5px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.c-chan .ic { width: 15px; height: 15px; color: var(--ink-2); }
.c-chan span { white-space: nowrap; }
.ring { width: 70px; height: 70px; position: relative; }
.ring svg { width: 70px; height: 70px; transform: rotate(-90deg); }
.ring .trk { stroke: var(--line); }
.ring .val { stroke: var(--keep); transition: stroke-dashoffset 0.5s ease; }
.ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1; }
.ring small { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-top: 2px; }

.recv { margin: 0 20px; background: var(--keep-wash); border-radius: 16px; padding: 14px 16px; }
.recv small { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--keep); text-transform: uppercase; letter-spacing: 0.05em; }
.recv small img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.recv b { display: block; font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.1; color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.recv span { font-size: 13.5px; color: var(--ink-2); }
.recv span em { font-style: normal; color: var(--cost); font-weight: 700; }
.recv.gain span em { color: var(--keep); }
.recv.spend { background: var(--sheet-2); }
.recv.spend small { color: var(--ink-2); }

.receipt { padding: 14px 20px 6px; display: grid; gap: 2px; }
.rl { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.rl .ic { color: var(--ink-3); width: 17px; height: 17px; }
.rl span { flex: 1; color: var(--ink-2); }
.rl b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.rl b.neg { color: var(--cost); }
.rl.tot { border-top: 1px dashed var(--line-2); margin-top: 4px; padding-top: 10px; }
.rl.tot span { color: var(--ink); font-weight: 700; }

.factors { padding: 10px 20px 4px; display: grid; gap: 9px; }
.fr { display: grid; grid-template-columns: 18px 64px minmax(0, 1fr) 34px; gap: 8px; align-items: center; font-size: 13.5px; }
.fr .ic { width: 16px; height: 16px; color: var(--c); }
.fr span { color: var(--ink-2); font-weight: 600; }
.fr i { display: block; height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; }
.fr i em { display: block; height: 100%; background: var(--c); border-radius: 4px; }
.fr b { font-family: var(--mono); font-weight: 500; text-align: right; font-size: 13px; }
.fr.na span, .fr.na b { color: var(--ink-3); }
.fr.na i em { background: repeating-linear-gradient(45deg, var(--line-2) 0 4px, transparent 4px 8px); }

.notes { padding: 14px 20px 6px; display: grid; gap: 9px; }
.note { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.note .ic { width: 17px; height: 17px; margin-top: 1px; color: var(--ink-3); }
.note.good .ic { color: var(--keep); }
.note.bad .ic { color: var(--cost); }
details.rec { margin: 6px 20px 0; border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
details.rec summary { cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; list-style: none; }
details.rec summary::-webkit-details-marker { display: none; }
details.rec summary .chev { margin-left: auto; transition: transform 0.2s; }
details.rec[open] summary .chev { transform: rotate(90deg); }
details.rec ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
details.rec li { color: var(--ink-2); line-height: 1.45; padding-left: 12px; border-left: 2px solid var(--line-2); }
details.rec li b { color: var(--ink); }
details.rec li.off { border-left-style: dashed; }
details.rec a { color: var(--ink); font-weight: 600; }
.c-foot { margin-top: auto; padding: 16px 20px 20px; display: grid; gap: 10px; }
.go { display: flex; justify-content: center; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); transition: transform 0.15s; }
.go:hover { transform: translateY(-1px); }
.card:not(.first) .go { background: var(--sheet); color: var(--ink); border: 1.5px solid var(--ink); }
.fine { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; display: flex; gap: 7px; align-items: flex-start; }
.fine .ic { width: 14px; height: 14px; margin-top: 2px; }
.empty { grid-column: 1 / -1; background: var(--sheet); border: 1.5px dashed var(--line-2); border-radius: 22px; padding: 34px; display: flex; gap: 16px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.empty .ic { width: 28px; height: 28px; color: var(--brass); }

/* Tuner */
.tune { margin-top: 26px; background: var(--sheet); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 36px; align-items: center; }
.tune h3 { font-family: var(--display); font-weight: 400; font-size: 26px; display: flex; gap: 10px; align-items: center; }
.tune h3 .ic { color: var(--brass); width: 22px; height: 22px; }
.tune p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.reset { margin-top: 10px; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.sliders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 22px; }
.sl label { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; }
.sl label .ic { color: var(--c); }
.sl label output { margin-left: auto; font-family: var(--mono); font-weight: 500; color: var(--ink-2); }
.sl input { width: 100%; accent-color: var(--ink); margin: 8px 0 2px; }
.sl small { font-size: 12.5px; color: var(--ink-3); }

/* Ledger */
.tablewrap { overflow-x: auto; background: var(--sheet); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 900px; font-size: 14.5px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; vertical-align: middle; }
th { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); background: var(--sheet-2); }
th:nth-child(-n+2), td:nth-child(-n+2) { text-align: left; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--sheet-2); }
td.rk { font-family: var(--display); font-size: 20px; width: 44px; color: var(--ink-3); }
tr.top3 td.rk { color: var(--brass); }
.pv { display: flex; align-items: center; gap: 12px; }
.pv img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.pv b { display: block; font-size: 15px; }
.pv small { display: block; font-size: 12.5px; color: var(--ink-3); }
.costbar { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.costbar i { width: 90px; height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; display: block; }
.costbar i em { display: block; height: 100%; background: var(--cost); border-radius: 4px; }
.costbar.keep i em { background: var(--keep); }
td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.score-pill { display: inline-block; font-family: var(--mono); font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sheet-2); color: var(--ink); }
tr.top3 .score-pill { background: var(--v-bg); color: var(--v-ink); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brass-wash); color: var(--brass); margin-left: 6px; vertical-align: 2px; }
.after-table { margin-top: 16px; display: grid; gap: 12px; }
.after-table .fine { font-size: 13.5px; }
.excl { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.excl h3 { font-size: 15px; display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.excl h3 .ic { color: var(--cost); }
.excl ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.excl li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.excl li img { width: 30px; height: 30px; border-radius: 8px; filter: grayscale(1); opacity: 0.8; flex: none; }
.excl li b { color: var(--ink); }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rule { background: var(--sheet); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.rule .tile { width: 42px; height: 42px; border-radius: 13px; background: var(--v-bg); color: var(--v-brass); display: grid; place-items: center; }
.rule .tile .ic { width: 21px; height: 21px; }
.rule h3 { font-size: 17px; font-weight: 800; margin-top: 4px; }
.rule p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.spec { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; }
.spec-card { background: var(--v-bg); color: var(--v-ink); border-radius: 22px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.spec-card h3 { font-family: var(--display); font-weight: 400; font-size: 26px; }
.spec-card p { color: var(--v-ink-2); font-size: 15px; }
.formula { font-family: var(--mono); font-size: 13.5px; line-height: 1.7; background: var(--v-chip); border: 1px solid var(--v-line); border-radius: 14px; padding: 14px 16px; color: var(--v-ink); overflow-x: auto; white-space: pre; }
.formula em { font-style: normal; color: var(--v-brass); }
.weights { display: flex; gap: 8px; flex-wrap: wrap; }
.weights span { display: inline-flex; align-items: center; gap: 6px; background: var(--v-chip); border: 1px solid var(--v-line); padding: 6px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.weights span b { font-family: var(--mono); color: var(--v-brass); }
.sources { display: grid; gap: 10px; align-content: start; }
.source { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 15px 16px; display: flex; gap: 14px; align-items: flex-start; }
.source .tile { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--sheet-2); color: var(--ink); display: grid; place-items: center; }
.source b { display: block; font-size: 15.5px; }
.source p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.source a { font-weight: 600; color: var(--ink); }

.blind { margin-top: 20px; background: var(--cost-wash); border-radius: 22px; padding: 24px; }
.blind h3 { font-family: var(--display); font-weight: 400; font-size: 26px; display: flex; gap: 10px; align-items: center; }
.blind h3 .ic { color: var(--cost); width: 22px; height: 22px; }
.blind > p { color: var(--ink-2); margin-top: 6px; }
.blind ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.blind li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.blind li .ic { color: var(--cost); margin-top: 3px; width: 16px; height: 16px; }
.blind li b { color: var(--ink); }

.next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nx { border: 1.5px dashed var(--line-2); border-radius: 20px; padding: 20px; display: grid; gap: 8px; align-content: start; }
a.nx.live { border-style: solid; border-color: var(--brass); text-decoration: none; color: inherit; background: var(--brass-wash); }
a.nx.live span { color: var(--brass); }
a.nx.live:hover { box-shadow: 0 0 0 2px var(--brass); }
.nx .ic.big { width: 30px; height: 30px; color: var(--brass); }
.nx h3 { font-size: 18px; font-weight: 800; }
.nx p { font-size: 14.5px; color: var(--ink-2); }
.nx span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }

footer.vault { margin-top: 70px; }
footer .wrap { position: relative; z-index: 1; padding-block: 44px 54px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 30px 60px; }
footer .tag-line { font-family: var(--display); font-size: 30px; line-height: 1.15; margin-top: 16px; color: var(--v-ink); }
footer .tag-line span { color: var(--v-brass); }
footer .legal { display: grid; gap: 10px; font-size: 13.5px; color: var(--v-ink-2); align-content: start; }
footer .legal b { color: var(--v-ink); }

@media (max-width: 1260px) { .vault::after { left: 64px; } }
@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 30px 40px; }
  .route { max-width: 620px; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .tune { grid-template-columns: minmax(0, 1fr); }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .wall { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  nav.jump { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .vault::after { left: 30px; }
  .hero-copy { padding-left: 34px; }
  .bob { left: 12px; width: 22px; height: 32px; }
  .lede { font-size: 17.5px; }
  .stats { gap: 22px; }
  .stat b { font-size: 32px; }
  .route { padding: 16px; border-radius: 20px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .srcs { grid-template-columns: minmax(0, 1fr); }
  .rules, .next, .blind ul { grid-template-columns: minmax(0, 1fr); }
  .sliders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-top, .receipt, .factors, .notes, .c-foot { padding-left: 16px; padding-right: 16px; }
  .recv, details.rec { margin-left: 16px; margin-right: 16px; }
  .legs { grid-template-columns: minmax(0, 1fr); }
  .flags { gap: 5px; }
  .flag { font-size: 10.5px; letter-spacing: -0.01em; padding-inline: 1px; }
  .flag[aria-pressed="true"] { padding-inline: 0; }
  .legs .arrow { display: none; }
  section.band { padding-block: 48px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .card { animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .card:nth-child(2) { animation-delay: 0.06s; }
  .card:nth-child(3) { animation-delay: 0.12s; }
  @keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Sticky summary ("peek") bar: appears once the calculator scrolls away ---- */
.peek { display: none; position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 25; background: rgba(14, 22, 80, 0.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--v-line); box-shadow: 0 8px 20px -12px rgba(0,0,0,.5); }
.peek > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
.peek.on { display: block; animation: peek-in .18s ease-out; }
@keyframes peek-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.peek-t { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--v-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-t img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; }
.peek-t .ic { color: var(--v-brass); flex: none; }
.peek-t em { font-style: normal; color: var(--v-ink-2); font-weight: 500; }
.peek-b { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--v-brass); color: var(--v-bg); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.peek-b:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 2px; }

/* ---- List header: what the order means and when data was checked ---- */
.order-note { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.order-note span { display: inline-flex; align-items: center; gap: 6px; }
.order-note .ic { color: var(--keep); }

/* ---- Key figures (mobile card summary) and breakdown toggle ---- */
.kf { display: none; }
.more-btn { display: none; }
.swipe { display: none; }

@media (max-width: 680px) {
  body { font-size: 17px; }
  .quick button { min-height: 44px; padding-inline: 14px; }
  .opt { min-height: 56px; }
  .peek-t { font-size: 13px; }
  /* Cards: a short summary first, the full breakdown on request */
  .kf { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 16px 0; }
  .kf div { border: 1px solid var(--line); border-radius: 12px; padding: 7px 10px; display: grid; gap: 0; }
  .kf small { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
  .kf b { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); }
  .kf b.neg { color: var(--cost); }
  .card:not(.open) .more { display: none; }
  .card:not(.open) .note:not(:first-child):not(.bad) { display: none; }
  .more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 4px 16px 0; border-radius: 12px; border: 1px dashed var(--line-2); background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
  .more-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
  .card.open .more-btn { border-style: solid; }
  /* Ledger: rank and name stay put while the numbers swipe */
  .swipe { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); margin: 0 0 8px; }
  table { min-width: 760px; font-size: 14px; }
  th:nth-child(1), td:nth-child(1) { position: sticky; left: 0; z-index: 1; background: var(--sheet); width: 40px; min-width: 40px; padding-inline: 10px 4px; }
  th:nth-child(2), td:nth-child(2) { position: sticky; left: 40px; z-index: 1; background: var(--sheet); box-shadow: 6px 0 8px -6px rgba(0,0,0,.25); max-width: 170px; white-space: normal; }
  th:nth-child(1), th:nth-child(2) { background: var(--sheet-2); }
  td:nth-child(2) .pv small, td:nth-child(2) .tag { display: none; }
  .costbar i { display: none; }
  th, td { padding: 10px 10px; }
}
#calc { scroll-margin-top: 84px; }

/* ==== Mobile-first layer (2026-11-06) ====
   Phones and tablets get a quick-answer card above the fold, the full options
   folded away, a bottom summary bar in the thumb zone, and brand illustrations. */
:root { --art-line: #0e1650; --art-fill: #ffb48a; --art-soft: #e9e6f6; --art-paper: #fffdf9; }
:root[data-theme="dark"] { --art-line: #cfd1e6; --art-fill: #ffb48a; --art-soft: #1b2668; --art-paper: #0f1438; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --art-line: #cfd1e6; --art-fill: #ffb48a; --art-soft: #1b2668; --art-paper: #0f1438; } }
.art .l { fill: none; stroke: var(--art-line); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.art .f { fill: var(--art-fill); }
.art .s { fill: var(--art-soft); }
.art .p { fill: var(--art-paper); }

/* Hero line-art: a fair world in orbit, behind the headline */
.hero-art { position: absolute; z-index: 0; pointer-events: none; right: -70px; top: 150px; width: 400px; height: 400px; opacity: 0.38; }
.hero-art .mid { display: none; }
.hero-art .l { stroke: var(--v-brass); stroke-width: 1.2; }
.hero-art .f { fill: var(--v-brass); }
.hero-copy > *:not(.hero-art):not(.bob) { position: relative; z-index: 1; }

/* Quick answer card (phones and tablets only) */
.qa { display: none; }
.trust { display: none; }
.fold-b { display: none; }

/* How Equami ranks: three illustrated steps */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.step { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 20px; box-shadow: var(--shadow); }
.step .art { width: 100%; height: auto; max-width: 180px; display: block; margin: 0 auto 10px; }
.step .no { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.15; margin: 4px 0 6px; }
.step p { font-size: 15px; color: var(--ink-2); }

@media (max-width: 1040px) {
  .qa { display: grid; gap: 12px; margin-top: 18px; background: var(--sheet); color: var(--ink); border-radius: 22px; padding: 14px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06); max-width: 620px; }
  .qa-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 8px; }
  .qa-in.seg-on { grid-template-columns: minmax(0, 1fr); }
  .qa-f { display: grid; gap: 2px; border: 1px solid var(--line-2); border-radius: 16px; padding: 8px 12px 8px; background: var(--sheet); min-width: 0; position: relative; }
  .qa-f:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--brass-wash); }
  .qa-f small { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
  .qa-amt { display: flex; align-items: baseline; gap: 2px; font-family: var(--display); font-size: 30px; line-height: 1.1; color: var(--ink-3); }
  .qa-amt input { font: inherit; color: var(--ink); border: 0; background: transparent; width: 100%; min-width: 0; padding: 0; outline: none; font-variant-numeric: tabular-nums; }
  .qa-sel { display: flex; align-items: center; gap: 8px; min-height: 33px; }
  .qa-sel img { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
  .qa-sel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: 16px; text-overflow: ellipsis; font-weight: 700; color: var(--ink); width: 100%; min-width: 0; padding: 4px 22px 4px 0; outline: none; cursor: pointer; }
  .qa-sel .chev { position: absolute; right: 10px; bottom: 15px; width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; transform: rotate(90deg); }
  .qa-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--sheet-2); border-radius: 14px; padding: 4px; }
  .qa-seg button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; }
  .qa-seg button[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-ink); }
  .qa-seg button[aria-pressed="true"] .ic { color: var(--sel-icon); }
  .qa-best { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: var(--keep-wash); border-radius: 16px; padding: 10px 12px; min-height: 68px; }
  .qa-best > img, .qa-best .logo-mono { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
  .qa-best .who small { white-space: nowrap; display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--keep); }
  .qa-best .who b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qa-best .val { text-align: right; }
  .qa-best .val small { display: block; font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
  .qa-best .val b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .qa-best.none { grid-template-columns: minmax(0, 1fr); background: var(--sheet-2); font-size: 14.5px; color: var(--ink-2); }
  .qa-acts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .qa-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; background: var(--v-bg); color: var(--v-ink); font-weight: 700; font-size: 16px; text-decoration: none; }
  .qa-go .ic { color: var(--v-brass); }
  .qa-more { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--sheet); color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
  .qa-go:focus-visible, .qa-more:focus-visible, .qa-seg button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
  .trust { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .trust::-webkit-scrollbar { display: none; }
  .trust span { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--v-ink-2); border: 1px solid var(--v-line); border-radius: 999px; padding: 6px 12px; }
  .trust .ic { color: var(--v-brass); width: 16px; height: 16px; }
  .hero .lede, .hero .pledges, .hero .stats { display: none; }
  .hero h1 { font-size: clamp(36px, 9.6vw, 56px); margin-top: 10px; }
  .hero h1 span { display: inline; }
  .hero { padding-block: 18px 28px; gap: 22px; }
  .hero-art { width: 300px; height: 300px; right: -120px; top: -70px; opacity: 0.5; }
  .hero-art .mid { display: none; }
  /* The full form folds into "More options" */
  .fold-b { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--sheet); color: var(--ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
  .fold-b .ic { transition: transform .2s; transform: rotate(90deg); }
  .route.closed { gap: 0; }
  .route.closed > :not(.route-h) { display: none; }
  .route:not(.closed) .fold-b .ic { transform: rotate(-90deg); }
  .route-h .live { display: none; }
  .route:not(.closed) .route-h .live { display: inline-flex; }
  .route-h b small { font-weight: 500; color: var(--ink-3); font-size: 13px; }
  /* Logo wall: one swipeable row */
  .wall { padding-block: 18px 22px; }
  .wall p { font-size: 14px; }
  .wall p b { font-size: 19px; }
  .logos { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .logos::-webkit-scrollbar { display: none; }
  .logo-chip { flex: none; }
  .how { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .step { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; }
  .step .art { margin: 0; max-width: 112px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 14.5px; }
}
@media (max-width: 680px) {
  .hero-copy { padding-left: 26px; }
  .vault::after { left: 22px; }
  .bob { left: 4px; }
  .qa { margin-left: -10px; margin-right: -2px; }
  .qa-amt { font-size: 26px; }
  .qa-in:not(.seg-on) { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
  .qa-f { padding-inline: 10px; }
  .qa-sel { gap: 6px; }
  .qa-sel select { padding-right: 18px; }
  .qa-sel .chev { right: 8px; }
  /* Summary bar moves to the bottom, where the thumb is */
  .peek { top: auto; bottom: 0; border-bottom: 0; border-top: 1px solid var(--v-line); box-shadow: 0 -10px 24px -14px rgba(0,0,0,.55); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .peek > .wrap { padding-block: 10px; }
  .peek-b { min-height: 46px; padding: 0 18px; }
  @keyframes peek-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  body { padding-bottom: 0; }
  footer.vault { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 340px) {
  .qa-in { grid-template-columns: minmax(0, 1fr); }
  .qa-best { grid-template-columns: 40px minmax(0, 1fr); }
  .qa-best .val { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
}

/* Static answers and questions, added to the public build by build_public.py */
.answers table { min-width: 620px; }
.answers th, .answers td { text-align: left; white-space: normal; }
.answers td small { display: block; color: var(--ink-3); font-size: 13px; }
.answers td b { font-weight: 700; }
.answers-note { margin: 12px 4px 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 24px; color: var(--ink); }
.faq p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.55; }
.spec-card .eyebrow { color: var(--v-brass); }
