/* GENERATED by scripts/build-stylesheet.mjs from reference/contract-v3/calculators.html — DO NOT EDIT.
 *
 * Visual Contract v3: this sheet is the calculators surface's oracle stylesheet VERBATIM. Refresh
 * the contract file and run `npm run css`; the release gate runs `--check` and fails on drift.
 */
/* CoreVecta Atlas — contract-v4 canonical token sheet (Wave R0, card atlas-redesign-flagship-2026-08-05)
   ONE token generation for all surfaces. Derived from the designers' system
   (/home/sali/atlasv2/redesign/, Calculatordetail generation) with the ratified red-line
   corrections applied. Dark = brand default; light fully covered. Every oracle embeds this
   block verbatim at the top of its stylesheet. */

:root {
  color-scheme: dark;
  /* surfaces */
  --bg: #07110e;
  --bg-elevated: #0b1713;
  --surface: #10201a;
  --surface-2: #142820;
  --surface-3: #193229;
  --surface-soft: rgba(255, 255, 255, .035);
  /* text */
  --text: #f4f8f5;
  --text-soft: #c0ccc5;
  --text-muted: #8fa198;
  /* lines */
  --line: rgba(216, 239, 225, .13);
  --line-strong: rgba(216, 239, 225, .22);
  /* accent — the reader's color: interactive, CTA, active states */
  --accent: #a7f36d;
  --accent-strong: #86df45;
  --accent-ink: #10200b;          /* text ON accent fills */
  --accent-soft: rgba(167, 243, 109, .12);
  --accent-fill: #a7f36d;         /* non-text graphics: bars, chart strokes, fills */
  /* semantic */
  --teal: #77e7cc;                /* engine/verified secondary */
  --warn: #ffd166;
  --danger: #ff8e8e;
  --blue: #8fc7ff;
  --violet: #c7a8ff;
  /* elevation */
  --shadow: 0 24px 64px rgba(0, 0, 0, .30);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, .18);
  /* geometry */
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 72px;
  --max: 1380px;
  /* type — Inter first-in-stack ONLY (no webfont, gate law NO REMOTE FONT) */
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7f2;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f7f1;
  --surface-3: #ebf1e9;
  --surface-soft: rgba(10, 34, 22, .035);
  --text: #102018;
  --text-soft: #3d5146;
  --text-muted: #5c6f64;          /* corrected from #687c71 — 4.98:1 on --bg (was 4.13 FAIL) */
  --line: rgba(15, 42, 27, .12);
  --line-strong: rgba(15, 42, 27, .20);
  --accent: #37791b;              /* corrected from #5dbf2f — 5.37:1 on white as text (was 2.34 FAIL) */
  --accent-strong: #2f6a15;       /* hover/emphasis — 6.58:1 */
  --accent-ink: #ffffff;          /* white on #37791b = 5.37:1 (was 2.34 FAIL) */
  --accent-soft: rgba(82, 181, 38, .12);
  --accent-fill: #4ca224;         /* graphics-only (>=3:1); NEVER as text in light theme */
  --teal: #157d69;                /* 5.04:1 as text — ok */
  --warn: #8f5a00;                /* darkened from #b46f00 (4.03 marginal) for small-text use */
  --danger: #bd3e3e;              /* 5.35:1 — ok */
  --blue: #226dac;
  --violet: #6d4fb0;
  --shadow: 0 24px 64px rgba(41, 63, 49, .13);
  --shadow-soft: 0 14px 36px rgba(41, 63, 49, .09);
}

/* ============ base (390px mobile-first) ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 13% -8%, color-mix(in srgb, var(--teal) 11%, transparent), transparent 32rem),
    radial-gradient(circle at 88% 5%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
h1, h2, h3 { font-weight: 800; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: fixed; left: 8px; top: 8px; z-index: 1000;
  transform: translateY(-160%);
  padding: 12px 16px; border-radius: var(--radius-xs);
  background: var(--accent); color: var(--accent-ink); font-weight: 800;
}
.skip:focus { transform: none; }


/* ======================================================================
   SHARED SHELL — canonical, byte-identical across all eight v4 oracles.
   Normalized from calculator.html (THE SHELL IS ONE SHELL, v4). Refresh
   the shell here and re-run the normalizer; drift fails the css build.
   ====================================================================== */

/* ======================================================================
   SHARED SHELL — canonical, byte-identical across all eight v4 oracles.
   Normalized from calculator.html (THE SHELL IS ONE SHELL, v4). Refresh
   the shell here and re-run the normalizer; drift fails the css build.
   ====================================================================== */

/* ======================================================================
   SHARED SHELL — canonical, byte-identical across all eight v4 oracles.
   Normalized from calculator.html (THE SHELL IS ONE SHELL, v4). Refresh
   the shell here and re-run the normalizer; drift fails the css build.
   ====================================================================== */
.skip-link {
  position: fixed; top: 8px; left: 8px; transform: translateY(-150%); z-index: 999;
  padding: 12px 16px; border-radius: var(--radius-xs); background: var(--accent); color: var(--accent-ink); font-weight: 800;
}
.skip-link:focus { transform: none; }
.oracle-note { color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.commercial-slot:empty { display: none; }
.shell-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
}
.header-inner {
  width: min(var(--max), calc(100% - 32px)); height: 100%; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--teal));
  color: var(--accent-ink);
}
.brand-copy { display: grid; line-height: 1; gap: 4px; }
.brand-copy strong { font-size: 17px; letter-spacing: -.015em; font-weight: 800; }
.brand-copy span { display: none; color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: none; align-items: center; gap: 4px; }
.nav-link { padding: 10px 13px; border-radius: 11px; color: var(--text-soft); font-size: 15px; font-weight: 700; }
.nav-link:hover { background: var(--surface-soft); color: var(--text); }
.nav-link.active { background: var(--accent-soft); color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 8px; justify-self: end; }
.tool-btn, .search-btn {
  min-height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--text-soft); font-weight: 700;
  transition: border-color .2s;
}
.tool-btn { width: 42px; padding: 0; }
.tool-btn:hover, .search-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.search-btn { width: 42px; padding: 0; }
.search-btn kbd {
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px;
  color: var(--text-muted); font-size: 12px; background: var(--surface); font-family: var(--font);
}
.mobile-bottom-nav {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70;
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg-elevated); box-shadow: var(--shadow-soft);
}
.mobile-bottom-nav a {
  min-height: 52px; display: grid; place-items: center; align-content: center; gap: 3px;
  border-radius: 12px; color: var(--text-muted); font-size: 11px; font-weight: 650;
}
.mobile-bottom-nav svg { width: 20px; height: 20px; }
.mobile-bottom-nav a.active { background: var(--accent-soft); color: var(--accent); }
.page { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 18px 0 24px; }
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  color: var(--text-muted); font-size: 14px; font-weight: 650; margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb strong { color: var(--text-soft); font-weight: 650; }
.crumb-sep { opacity: .5; }
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-elevated); }
.refnote { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.search-btn .search-label, .search-btn kbd { display: none; }
.lang-chip { width: auto; padding: 0 12px; font-size: 14px; font-weight: 800; }
.footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 40px 0 120px; display: grid; gap: 28px; }
.footer-copy { color: var(--text-muted); max-width: 480px; font-size: 14px; margin: 14px 0 0; }
.footer-col strong { display: block; margin-bottom: 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 700; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-soft); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
@media (min-width: 720px) {
.header-inner { width: min(var(--max), calc(100% - 40px)); gap: 28px; }
.brand-copy span { display: block; }
.search-btn { width: auto; padding: 0 13px; }
.page { width: min(var(--max), calc(100% - 40px)); padding-top: 26px; }
.search-btn .search-label, .search-btn kbd { display: inline-block; }
.footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
.primary-nav { display: flex; }
.mobile-bottom-nav { display: none; }
.footer-inner { grid-template-columns: 1.4fr repeat(3, .6fr); gap: 36px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
.skip-link { transition: none; }
}
@media print {
.site-footer { margin-top: 12pt; background: none; border-top: 0; }
.refnote { border-top: 1px solid var(--line); }
.page, .footer-inner { width: 100%; padding: 0; }
}
/* ==== end shared shell ==== */






































/* ==== end shared shell ==== */




































/* ==== end shared shell ==== */


/* ============ shared shell — header ============ */



















/* ============ page frame + breadcrumb ============ */





/* ============ hero: finder + route recommendation ============ */
.calc-hero { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
.hero-main, .route-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-main {
  padding: 26px 20px;
  background: linear-gradient(126deg, color-mix(in srgb, var(--teal) 8%, transparent), transparent 49%), var(--surface-soft);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-main::after {
  content: ""; position: absolute; right: -220px; top: -190px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  box-shadow: 0 0 0 54px color-mix(in srgb, var(--accent) 3%, transparent),
              0 0 0 108px color-mix(in srgb, var(--accent) 2%, transparent);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  color: var(--accent); font-size: 13px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.eyebrow-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-fill); box-shadow: 0 0 0 6px var(--accent-soft);
}
h1 {
  margin: 0; max-width: 850px;
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02;
  letter-spacing: -.04em; text-wrap: balance;
}
.hero-lede {
  max-width: 800px; margin: 18px 0 0;
  color: var(--text-soft); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.55;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.pill {
  min-height: 37px; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 12px; border: 1px solid var(--line); border-radius: 99px;
  background: var(--surface-soft); color: var(--text-soft); font-size: 13px; font-weight: 650;
}
.pill svg { color: var(--accent); }

.hero-search { position: relative; z-index: 2; margin-top: 26px; }
.search-shell {
  display: grid; grid-template-columns: 1fr; gap: 8px; padding: 7px;
  border: 1px solid var(--line-strong); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.search-input-wrap { display: flex; align-items: center; gap: 12px; padding-left: 13px; }
.search-input-wrap svg { color: var(--text-muted); flex: 0 0 auto; }
.search-shell input {
  width: 100%; height: 54px; min-width: 0;
  border: 0; background: transparent; color: var(--text);
  font-size: 17px; font-weight: 700; outline: none;
}
.search-shell input::placeholder { color: var(--text-muted); font-weight: 400; }
.find-btn {
  min-height: 52px; min-width: 118px; border: 0; border-radius: 13px;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink); font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 16%, transparent);
}
.quick-links {
  display: flex; gap: 8px; overflow-x: auto; margin-top: 11px; padding-bottom: 2px;
  scrollbar-width: none;
}
.quick-links::-webkit-scrollbar { display: none; }
.quick-link {
  flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 14px; border: 1px solid var(--line); border-radius: 99px;
  background: var(--surface-soft); color: var(--text-soft); font-size: 13px; font-weight: 650;
}
.quick-link:hover { border-color: var(--line-strong); color: var(--text); }

.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 26px;
}
.hero-stat {
  padding: 14px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}
.hero-stat strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.hero-stat span { display: block; margin-top: 2px; color: var(--text-muted); font-size: 12px; font-weight: 650; }

/* route-recommendation card */
.route-card { padding: 20px; background: var(--surface); display: flex; flex-direction: column; }
.route-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.route-kicker {
  color: var(--teal); font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.route-head h2 { margin: 5px 0 0; font-size: 26px; line-height: 1.16; letter-spacing: -.035em; }
.verified-chip {
  min-height: 31px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px;
  border-radius: 99px; background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent);
}
.route-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
  margin: 20px 0 16px; padding: 5px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2);
}
.route-tab {
  min-height: 47px; display: grid; place-items: center;
  border-radius: 10px; color: var(--text-muted); font-size: 12px; font-weight: 800;
}
.route-tab:hover { color: var(--text); }
.route-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); }
.route-recommend {
  padding: 20px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(130deg, var(--accent-soft), transparent 65%), var(--surface-2);
}
.rec-top { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.rec-domain {
  color: var(--accent); font-size: 12px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}
.rec-time { color: var(--text-muted); font-size: 12px; font-weight: 650; }
.route-recommend h3 { font-size: 22px; line-height: 1.22; letter-spacing: -.03em; margin: 12px 0 8px; }
.route-recommend p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.rec-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.btn {
  min-height: 46px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-soft);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 14px; font-weight: 800; cursor: pointer;
}
.btn:hover { background: var(--surface-3); }
.btn.primary {
  border-color: transparent;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
}
.route-list { display: grid; gap: 8px; margin-top: 16px; }
.route-item {
  min-height: 57px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft);
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px;
}
.route-item:hover { border-color: var(--line-strong); background: var(--surface-2); }
.route-icon {
  width: 36px; height: 36px; border-radius: var(--radius-xs);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  background: var(--accent-soft); color: var(--accent);
}
.route-item strong { font-size: 14px; line-height: 1.25; font-weight: 700; }
.route-item small { display: block; color: var(--text-muted); font-size: 12px; }
.route-item .chev { color: var(--text-muted); }
.route-note {
  display: flex; gap: 10px; margin-top: auto; padding-top: 16px;
  color: var(--text-muted); font-size: 12px; line-height: 1.5;
}
.route-note svg { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }

/* ============ sections ============ */
.section { margin-top: 64px; }
.section-head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  margin-bottom: 22px;
}
.section-copy { max-width: 820px; min-width: 0; }
.section-kicker {
  color: var(--accent); font-size: 13px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
}
.section h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3.3vw, 46px); line-height: 1.08;
  letter-spacing: -.04em; text-wrap: balance;
}
.section-copy p { margin: 12px 0 0; color: var(--text-soft); font-size: 16px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--accent); font-size: 14px; font-weight: 800; white-space: nowrap;
}

/* ============ domain browse — per-domain tint carried IN TOKENS via --domain ============ */
.tint-construction { --domain: var(--teal); }
.tint-finance { --domain: var(--blue); }
.tint-energy { --domain: var(--warn); }
.tint-expanding { --domain: var(--violet); }

.domain-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.domain-card {
  position: relative; min-height: 280px; padding: 21px;
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--domain) 10%, transparent), transparent 48%), var(--surface);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.domain-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--domain) 35%, var(--line)); }
.domain-card::after {
  content: ""; position: absolute; width: 190px; height: 190px;
  border: 1px solid color-mix(in srgb, var(--domain) 20%, transparent);
  border-radius: 50%; right: -85px; top: -78px;
}
.domain-head { display: flex; justify-content: space-between; align-items: center; }
.domain-icon {
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--domain) 13%, transparent); color: var(--domain);
}
.domain-count { font-size: 13px; font-weight: 800; color: var(--domain); }
.domain-card h3 { font-size: 28px; letter-spacing: -.04em; margin: 22px 0 7px; }
.domain-card > p { margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.domain-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.domain-topics span {
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px;
  color: var(--text-muted); font-size: 11px; font-weight: 650;
}
.domain-footer {
  margin-top: auto; padding-top: 20px;
  display: flex; justify-content: space-between;
  color: var(--domain); font-size: 13px; font-weight: 800;
}
.expanding-strip {
  margin-top: 14px; padding: 17px 18px;
  border: 1px dashed var(--line-strong); border-radius: 18px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: var(--surface-soft);
}
.expanding-strip strong { font-size: 14px; font-weight: 700; }
.expanding-strip p { margin: 2px 0 0; color: var(--text-muted); font-size: 13px; }
.expanding-list { display: flex; gap: 7px; overflow-x: auto; width: 100%; scrollbar-width: none; }
.expanding-list::-webkit-scrollbar { display: none; }
.expanding-list span {
  flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px;
  color: var(--text-muted); font-size: 11px; font-weight: 650;
}

/* ============ featured shelf ============ */
.featured-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-card {
  --domain: var(--accent);
  min-height: 260px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.feature-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.feature-domain {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-soft);
}
.feature-letter {
  width: 32px; height: 32px; border-radius: var(--radius-xs);
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--domain) 13%, transparent); color: var(--domain);
  font-size: 13px; font-weight: 800;
}
.verified-flag { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 11px; font-weight: 800; }
.verified-flag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-fill); }
.feature-card h3 { font-size: 19px; line-height: 1.24; letter-spacing: -.025em; margin: 16px 0 8px; }
.feature-card > p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.feature-actions { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; }
.feature-actions a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 800; color: var(--accent);
}
.feature-actions a.secondary { color: var(--text-soft); }

/* ============ commercial slots ============ */


/* ============ quick-check utility band (engine mount, pre-intent) ============ */
.utility-band {
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(140deg, color-mix(in srgb, var(--teal) 10%, transparent), transparent 50%), var(--surface);
}
.utility-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.utility-copy h2 {
  font-size: clamp(28px, 3vw, 42px); margin: 7px 0 12px;
  line-height: 1.08; letter-spacing: -.04em;
}
.utility-copy > p { margin: 0; color: var(--text-soft); }
.utility-points { display: grid; gap: 10px; margin-top: 22px; }
.utility-point { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: start; }
.utility-point > span {
  width: 34px; height: 34px; border-radius: var(--radius-xs);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.utility-point strong { font-size: 14px; font-weight: 700; }
.utility-point small { display: block; color: var(--text-muted); font-size: 12px; }

.utility-card {
  border: 1px solid var(--line); border-radius: 21px;
  background: var(--bg-elevated); padding: 16px;
}
.mount-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mount-kicker {
  color: var(--teal); font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.mount-head h3 { margin: 5px 0 0; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.utility-mount-region { margin-top: 16px; }
.mount-form { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--text-soft); font-size: 12px; font-weight: 800; }
.field input {
  width: 100%; height: 54px;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--surface-2); color: var(--text);
  padding: 0 12px; font-size: 16px; font-weight: 700; outline: none;
}
.field input::placeholder { color: var(--text-muted); font-weight: 400; }
.field input:focus { border-color: var(--accent); }
.mount-btn {
  height: 54px; border: 0; border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink); font-weight: 800; cursor: pointer;
}
.mount-result {
  margin-top: 14px; padding: 16px;
  border: 1px solid var(--line); border-radius: 15px;
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--surface-2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center;
}
.mount-result .result-label { color: var(--text-muted); font-size: 12px; font-weight: 650; }
.result-value {
  display: block; margin-top: 2px;
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 27px; font-weight: 700; letter-spacing: -.02em;
}
.result-unit { color: var(--text-muted); font-size: 14px; font-weight: 650; }
.status-chip {
  min-height: 31px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px;
  border-radius: 99px; background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.mount-note { margin: 12px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; }

/* ============ full directory ============ */
.library-shell {
  border: 1px solid var(--line); border-radius: 26px;
  background: var(--surface); overflow: hidden;
}
.library-tools { padding: 15px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.library-top { display: flex; flex-direction: column; gap: 12px; }
.library-search {
  height: 54px; flex: 1;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
}
.library-search svg { color: var(--text-muted); flex: 0 0 auto; }
.library-search input {
  width: 100%; min-width: 0; border: 0; background: transparent;
  color: var(--text); font-size: 16px; font-weight: 700; outline: none;
}
.library-search input::placeholder { color: var(--text-muted); font-weight: 400; }
.library-count { min-width: max-content; color: var(--text-muted); font-size: 13px; font-weight: 800; padding-left: 2px; }
.filter-row { display: flex; gap: 7px; overflow-x: auto; margin-top: 12px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip {
  min-height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center;
  padding: 0 13px; border: 1px solid var(--line); border-radius: 99px;
  background: var(--surface); color: var(--text-muted); font-size: 12px; font-weight: 800;
}
.filter-chip:hover { color: var(--text); border-color: var(--line-strong); }
.filter-chip.active {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  color: var(--accent);
}

/* the 1px-line gutter trick: the grid's own background paints the hairlines */
.directory-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); }
.dir-band {
  grid-column: 1 / -1; scroll-margin-top: 96px;
  min-height: 56px; padding: 12px 17px;
  background: var(--surface-2);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px;
}
.dir-band b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.dir-band span { font-size: 12px; font-weight: 650; color: var(--text-soft); white-space: nowrap; }
/* repeated rows: NO pseudo-element decoration (paint cost on a 103-row surface) */
.dir-row {
  min-height: 112px; padding: 17px; background: var(--surface);
  display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start;
}
.dir-row:hover { background: var(--surface-2); }
.dir-letter {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--domain) 13%, transparent); color: var(--domain);
  font-size: 13px; font-weight: 800;
}
.dir-main { min-width: 0; }
.dir-row h3 { margin: 1px 0 5px; font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.dir-meta { display: flex; flex-wrap: wrap; gap: 5px; color: var(--text-muted); font-size: 11px; font-weight: 650; }
.dir-side { display: grid; justify-items: end; gap: 6px; }
.mini-badge {
  font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800;
  background: var(--accent-soft); color: var(--accent);
  padding: 5px 7px; border-radius: 99px;
}
.dir-side .chev { color: var(--text-muted); font-size: 18px; justify-self: end; }
.directory-foot { padding: 14px 17px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.directory-foot .oracle-note { margin: 0; }

/* ============ principles ============ */
.principles {
  display: grid; grid-template-columns: 1fr; gap: 24px; padding: 21px;
  border: 1px solid var(--line); border-radius: 27px; background: var(--surface);
}
.principles-copy h2 {
  font-size: clamp(28px, 3vw, 42px); margin: 8px 0 12px;
  line-height: 1.1; letter-spacing: -.04em;
}
.principles-copy p { margin: 0; color: var(--text-soft); }
.principle-list { display: grid; gap: 10px; }
.principle {
  min-height: 91px; padding: 16px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft);
  display: grid; grid-template-columns: 42px 1fr; gap: 13px;
}
.principle > span {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.principle h3 { margin: 0 0 3px; font-size: 16px; }
.principle p { margin: 0; color: var(--text-muted); font-size: 13px; }

/* ============ apps banner ============ */
.apps-banner {
  margin-top: 64px; padding: 23px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(130deg, var(--accent-soft), transparent 55%), var(--surface);
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
.apps-banner h2 {
  margin: 8px 0 0; font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.08; letter-spacing: -.04em; text-wrap: balance;
}
.apps-banner p { margin: 12px 0 0; max-width: 830px; color: var(--text-soft); }
.apps-actions { display: grid; gap: 9px; min-width: 0; }

/* ============ shared shell — footer ============ */










/* ============ shared shell — mobile bottom nav (solid, no blur) ============ */





/* ============ >=720px ============ */
@media (min-width: 720px) {
  body { font-size: 17px; }
  
  
  
  
  
  .hero-main { padding: 36px; }
  .route-card { padding: 25px; }
  .search-shell { grid-template-columns: 1fr auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .route-tabs { grid-template-columns: repeat(4, 1fr); }
  .rec-actions { flex-direction: row; }
  .section { margin-top: 88px; }
  .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
  .section-copy p { font-size: 18px; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .domain-card:last-child { grid-column: 1 / -1; }
  .domain-card { min-height: 315px; padding: 25px; }
  .expanding-strip { flex-direction: row; align-items: center; gap: 15px; }
  .expanding-strip .expanding-list { width: auto; margin-left: auto; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { padding: 22px; }
  .utility-band { padding: 28px; }
  .utility-card { padding: 20px; }
  .mount-form { grid-template-columns: repeat(2, 1fr); }
  .mount-form .full { grid-column: 1 / -1; }
  .library-tools { padding: 20px; }
  .library-top { flex-direction: row; align-items: center; gap: 14px; }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-row { min-height: 122px; }
  .principles { grid-template-columns: 1fr; padding: 30px; }
  .apps-banner { margin-top: 88px; padding: 32px; grid-template-columns: 1fr auto; }
  .apps-actions { min-width: 230px; }
  
  
  
}

/* ============ >=1080px ============ */
@media (min-width: 1080px) {
  
  
  .calc-hero { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 24px; }
  .hero-main { min-height: 568px; padding: 44px; }
  .route-card { min-height: 568px; }
  .section { margin-top: 102px; }
  .domain-grid { grid-template-columns: repeat(3, 1fr); }
  .domain-card:last-child { grid-column: auto; }
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .utility-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; }
  .directory-grid { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; }
  .apps-banner { margin-top: 102px; }
  
  
  
  
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .domain-card:hover, .feature-card:hover { transform: none; }
}
