/* GENERATED by scripts/build-stylesheet.mjs from reference/contract-v3/domains.html — DO NOT EDIT.
 *
 * Visual Contract v3: this sheet is the domains 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);
}

/* ============================================================================================
   Per-domain tint scoping — every tint is a token alias, never a new color. The soft variant
   is derived with color-mix so BOTH themes stay legible (task red-line: token palette only).
   ============================================================================================ */
.tint-teal   { --tint: var(--teal);   --tint-soft: color-mix(in srgb, var(--teal) 12%, transparent); }
.tint-blue   { --tint: var(--blue);   --tint-soft: color-mix(in srgb, var(--blue) 12%, transparent); }
.tint-violet { --tint: var(--violet); --tint-soft: color-mix(in srgb, var(--violet) 12%, transparent); }
.tint-warn   { --tint: var(--warn);   --tint-soft: color-mix(in srgb, var(--warn) 12%, transparent); }

/* ============================================================================================
   Base — authored mobile-first at 390px, built UP with min-width 720 / 1080 (/ 1360 polish).
   ============================================================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; min-width: 320px;
  background:
    radial-gradient(circle at 13% -8%, color-mix(in srgb, var(--teal) 10%, transparent), transparent 32rem),
    radial-gradient(circle at 88% 5%, color-mix(in srgb, var(--accent) 8%, 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;
  padding-bottom: 104px; /* clears the mobile bottom-nav island */
}
button, input, select { font: inherit; }
input { font-size: 16px; } /* inputs >=16px always */
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }


/* ======================================================================
   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 ==== */





/* Commercial slot — zero height until filled; placement never needs a second design change. */



/* ============================================================================================
   Shared shell — header
   ============================================================================================ */







 /* shown >=1080 */







 /* label + "/" hint appear >=720 */




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





/* ============================================================================================
   Page frame + breadcrumb (breadcrumb WRAPS — the clipped crumb is a named defect)
   ============================================================================================ */





/* ============================================================================================
   1 — Finder hero (real GET form) + goal navigator (real links)
   ============================================================================================ */
.finder-hero { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
.hero-main, .goal-navigator {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); 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: -150px; width: 360px; height: 360px;
  border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 16%, 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: 14px;
  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: 860px;
  font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; line-height: 1.02;
  letter-spacing: -.04em; text-wrap: balance;
}
.hero-lede { max-width: 800px; margin: 17px 0 0; color: var(--text-soft); font-size: 17px; line-height: 1.55; }
.trust-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.pill {
  min-height: 36px; 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: 12px; font-weight: 700;
}
.pill svg { color: var(--accent); }

.finder { position: relative; z-index: 2; margin-top: 26px; }
.finder-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);
}
.finder-input-wrap { display: flex; align-items: center; gap: 12px; padding-left: 10px; }
.finder-input-wrap svg { color: var(--text-muted); flex: 0 0 auto; }
.finder-shell input {
  width: 100%; height: 54px; min-width: 0; border: 0; background: transparent;
  color: var(--text); font-size: 17px; font-weight: 700; outline: none;
}
.finder-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-size: 16px; font-weight: 800; cursor: pointer;
  transition: opacity .2s;
}
.find-btn:hover { opacity: .92; }
.finder-chips {
  display: flex; gap: 8px; overflow-x: auto; margin-top: 11px; padding-bottom: 2px;
  scrollbar-width: none; /* intentional chip-row scroller */
}
.finder-chips::-webkit-scrollbar { display: none; }
.finder-chip {
  flex: 0 0 auto; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px;
  background: var(--surface-soft); color: var(--text-soft); font-size: 13px; font-weight: 700; cursor: pointer;
  transition: border-color .2s;
}
.finder-chip:hover { border-color: var(--line-strong); color: var(--text); }

.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.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:last-child { grid-column: 1 / -1; }
.hero-stat strong {
  display: block; font-size: 21px; letter-spacing: -.03em;
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
}
.hero-stat span { display: block; margin-top: 2px; color: var(--text-muted); font-size: 12px; font-weight: 650; }

.goal-navigator { padding: 20px; background: var(--surface); display: flex; flex-direction: column; }
.navigator-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.nav-kicker { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.goal-navigator h2 { margin: 5px 0 0; font-size: 25px; font-weight: 800; line-height: 1.16; letter-spacing: -.035em; }
.live-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;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent); }
.goal-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 20px 0 16px; }
.goal-tab {
  min-height: 58px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface-2); color: var(--text-muted); font-size: 13px; font-weight: 800;
  display: flex; flex-direction: column; justify-content: center; transition: border-color .2s;
}
.goal-tab small { display: block; font-size: 11px; font-weight: 650; opacity: .8; }
.goal-tab:hover { border-color: var(--line-strong); color: var(--text-soft); }
.goal-tab.active { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--accent-soft); color: var(--accent); }
.recommendation {
  flex: 1; padding: 18px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(145deg, var(--surface-soft), transparent);
}
.recommendation-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.recommendation-domain { font-size: 12px; font-weight: 800; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.recommendation-count { font-size: 12px; font-weight: 800; color: var(--accent); }
.recommendation h3 { margin: 10px 0 8px; font-size: 23px; font-weight: 800; line-height: 1.15; letter-spacing: -.035em; }
.recommendation p { margin: 0; color: var(--text-soft); font-size: 15px; }
.recommendation-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
.btn {
  min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 15px; border-radius: 12px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 800; transition: border-color .2s, opacity .2s;
}
.btn-primary { border-color: transparent; background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .92; }
.btn-secondary { background: var(--surface-2); color: var(--text-soft); }
.btn-secondary:hover { border-color: var(--line-strong); color: var(--text); }
.mini-routes { display: grid; gap: 7px; margin-top: 12px; }
.mini-route {
  min-height: 54px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft);
  transition: border-color .2s;
}
.mini-route:hover { border-color: var(--line-strong); }
.mini-icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--tint-soft, var(--accent-soft)); color: var(--tint, var(--accent)); font-size: 13px; font-weight: 800;
}
.mini-route strong { display: block; font-size: 14px; line-height: 1.2; }
.mini-route small { display: block; color: var(--text-muted); font-size: 12px; font-weight: 650; }
.mini-route > span:last-child { color: var(--text-muted); font-size: 20px; }

/* ============================================================================================
   Section frame
   ============================================================================================ */
.surface-section { padding-top: 64px; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-bottom: 18px; }
.section-kicker { margin-bottom: 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.section-lede { max-width: 680px; margin: 10px 0 0; color: var(--text-soft); font-size: 16px; }
.text-link { color: var(--accent); font-size: 14px; font-weight: 800; white-space: nowrap; }
.text-link:hover { color: var(--accent-strong); }

/* ============================================================================================
   2 — Featured domains (giant-letter backdrop via attr(data-letter))
   ============================================================================================ */
.featured-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.featured-card {
  position: relative; overflow: hidden; min-height: 340px; padding: 21px;
  border: 1px solid var(--line); border-radius: 23px; background: var(--surface);
  display: flex; flex-direction: column;
}
.featured-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tint); }
.featured-card::after {
  content: attr(data-letter); position: absolute; right: -8px; bottom: -62px;
  color: var(--tint-soft); font-size: 220px; font-weight: 800; line-height: 1; pointer-events: none;
}
.featured-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.domain-icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--tint-soft); color: var(--tint); font-size: 19px; font-weight: 800;
}
.maturity { padding: 6px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 800; }
.featured-card h3 { position: relative; z-index: 1; margin: 20px 0 8px; font-size: 26px; font-weight: 800; line-height: 1.13; letter-spacing: -.04em; }
.featured-card > p { position: relative; z-index: 1; margin: 0; color: var(--text-soft); font-size: 15px; }
.surface-cells { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 18px 0 20px; }
.surface-cell { padding: 9px 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
.surface-cell strong { display: block; font-size: 14px; }
.surface-cell span { display: block; color: var(--text-muted); font-size: 11px; font-weight: 650; }
.featured-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.featured-actions a {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; border-radius: 11px; font-size: 13px; font-weight: 800; transition: border-color .2s, opacity .2s;
}
/* Red-line fix: the mockup put #08130f text on per-domain color fills — illegible in light
   theme. The primary action is the reader's accent CTA (accent-ink is theme-corrected);
   domain identity stays in the top bar, icon tile and letter backdrop. */
.action-primary { background: var(--accent); color: var(--accent-ink); }
.action-primary:hover { opacity: .92; }
.action-secondary { border: 1px solid var(--line); background: var(--surface-soft); color: var(--text-soft); }
.action-secondary:hover { border-color: var(--line-strong); color: var(--text); }

/* ============================================================================================
   3 — Complete domain map (1px-line gutters; every card is a real anchor)
   ============================================================================================ */
.map-shell { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.map-toolbar { padding: 14px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.map-filter {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
}
.filter-input {
  display: flex; align-items: center; gap: 11px; padding: 0 14px; min-width: 0;
  border: 1px solid var(--line); border-radius: 13px; background: var(--bg-elevated);
}
.filter-input svg { color: var(--text-muted); flex: 0 0 auto; }
.filter-input input { width: 100%; height: 52px; min-width: 0; border: 0; background: transparent; color: var(--text); outline: none; font-weight: 700; }
.filter-input input::placeholder { color: var(--text-muted); font-weight: 400; }
.filter-submit {
  min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface-2); color: var(--text-soft); font-size: 14px; font-weight: 800; cursor: pointer;
  transition: border-color .2s;
}
.filter-submit:hover { border-color: var(--line-strong); color: var(--text); }
.domain-map-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); }
.domain-card {
  min-height: 188px; padding: 20px; background: var(--surface);
  display: flex; flex-direction: column; transition: border-color .2s;
}
.domain-card:hover { background: var(--surface-2); }
.domain-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.domain-letter {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--tint-soft); color: var(--tint); font-weight: 800;
}
.domain-status { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); text-align: right; }
.domain-card h3 { margin: 15px 0 7px; font-size: 19px; font-weight: 800; line-height: 1.18; letter-spacing: -.028em; }
.domain-card p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.48; }
.domain-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; }
.domain-meta span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--text-soft); font-size: 11px; font-weight: 700; }
.domain-meta .meta-live { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--accent-soft); color: var(--accent); }
.domain-meta .meta-open { color: var(--accent); }

/* ============================================================================================
   4 — Master-detail preview (list rows are real anchors; panel = one static example)
   ============================================================================================ */
.preview-shell { display: grid; grid-template-columns: 1fr; gap: 12px; }
.preview-list {
  border: 1px solid var(--line); border-radius: 22px; background: var(--surface);
  padding: 10px; display: grid; gap: 5px; align-content: start;
}
.preview-row {
  min-height: 61px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px;
  padding: 8px 10px; border-radius: 13px; transition: border-color .2s;
}
.preview-row:hover { background: var(--surface-soft); }
.preview-row.active { background: var(--accent-soft); }
.preview-row .domain-letter { width: 40px; height: 40px; flex-basis: 40px; }
.preview-row strong { display: block; font-size: 14px; line-height: 1.2; color: var(--text); }
.preview-row small { display: block; color: var(--text-muted); font-size: 11px; font-weight: 650; }
.preview-row > span:last-child { color: var(--text-muted); font-size: 20px; }
.preview-panel {
  position: relative; overflow: hidden; padding: 22px 18px;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(145deg, var(--tint-soft), transparent 48%), var(--surface);
}
.preview-panel::after {
  content: attr(data-letter); position: absolute; right: -16px; top: -48px;
  color: var(--tint-soft); font-size: 245px; font-weight: 800; line-height: 1; pointer-events: none;
}
.preview-head { position: relative; z-index: 1; }
.preview-title-row { display: flex; align-items: center; gap: 15px; }
.preview-title-row .domain-letter { width: 55px; height: 55px; flex-basis: 55px; font-size: 21px; }
.preview-title-row h3 { margin: 0; font-size: 29px; font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
.preview-title-row p { margin: 5px 0 0; color: var(--text-muted); font-size: 14px; }
.preview-badge {
  display: inline-flex; margin-top: 12px; padding: 7px 11px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 800;
}
.preview-copy { position: relative; z-index: 1; max-width: 760px; margin: 22px 0 0; color: var(--text-soft); font-size: 16px; }
.preview-surfaces { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 22px; }
.preview-surface {
  min-height: 104px; padding: 15px; border: 1px solid var(--line); border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.preview-surface span { display: block; color: var(--tint); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.preview-surface strong { display: block; margin-top: 6px; font-size: 17px; line-height: 1.25; }
.preview-surface small { display: block; margin-top: 4px; color: var(--text-muted); font-size: 12px; }
.resource-list { position: relative; z-index: 1; display: grid; gap: 8px; margin-top: 20px; }
.resource {
  min-height: 64px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px;
  padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 74%, transparent); transition: border-color .2s;
}
.resource:hover { border-color: var(--line-strong); }
.resource-type {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--tint-soft); color: var(--tint); font-size: 11px; font-weight: 800;
}
.resource strong { display: block; font-size: 14px; }
.resource small { display: block; color: var(--text-muted); font-size: 12px; }
.resource > span:last-child { color: var(--text-muted); font-size: 20px; }
.related-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.related-row > strong { font-size: 13px; margin-right: 3px; }
.related-chip {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 99px; background: var(--surface-soft);
  color: var(--text-soft); font-size: 12px; font-weight: 700; transition: border-color .2s;
}
.related-chip:hover { border-color: var(--line-strong); color: var(--text); }

/* ============================================================================================
   5 — Cross-domain journeys
   ============================================================================================ */
.journey-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.journey-card {
  min-height: 245px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); display: flex; flex-direction: column;
}
.journey-number { color: var(--text-muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.journey-card h3 { margin: 15px 0 8px; font-size: 21px; font-weight: 800; line-height: 1.18; letter-spacing: -.033em; }
.journey-card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.journey-domains { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.journey-domains span {
  padding: 6px 9px; border-radius: 8px; background: var(--surface-soft); border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; color: var(--text-soft);
}
.journey-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; min-height: 44px; color: var(--accent); font-size: 13px; font-weight: 800; }
.journey-link:hover { color: var(--accent-strong); }

/* ============================================================================================
   6 — Principles split
   ============================================================================================ */
.principles-split { display: grid; grid-template-columns: 1fr; gap: 14px; }
.principle-lead, .principle-grid { border: 1px solid var(--line); border-radius: 23px; background: var(--surface); }
.principle-lead { padding: 26px 22px; background: linear-gradient(145deg, var(--accent-soft), transparent 55%), var(--surface); }
.principle-lead h3 { margin: 0; font-size: 29px; font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.principle-lead p { margin: 16px 0 0; color: var(--text-soft); }
.principle-grid { padding: 13px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.principle { min-height: 150px; padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-soft); }
.principle span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.principle h4 { margin: 10px 0 6px; font-size: 18px; font-weight: 700; }
.principle p { margin: 0; color: var(--text-muted); font-size: 13px; }

/* ============================================================================================
   7 — Handoff to CoreVecta apps
   ============================================================================================ */
.handoff {
  margin-top: 64px; padding: 26px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, color-mix(in srgb, var(--teal) 12%, transparent), transparent 42%), var(--surface);
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 22px;
}
.handoff-kicker { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.handoff h2 { max-width: 900px; margin: 8px 0 0; font-size: clamp(28px, 3vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.handoff p { max-width: 850px; margin: 13px 0 0; color: var(--text-soft); }
.handoff-cta {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px;
  border-radius: 13px; background: var(--accent); color: var(--accent-ink);
  font-size: 14px; font-weight: 800; white-space: nowrap; transition: opacity .2s;
}
.handoff-cta:hover { opacity: .92; }

/* ============================================================================================
   Shared shell — footer
   ============================================================================================ */








/* ============================================================================================
   >=720 — two-column rhythm
   ============================================================================================ */
@media (min-width: 720px) {
  body { font-size: 17px; }
  
  
  
  
  
  .hero-main { padding: 36px; }
  .finder-shell { grid-template-columns: 1fr auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat:last-child { grid-column: auto; }
  .recommendation-actions { grid-template-columns: auto auto; justify-content: start; }
  .surface-section { padding-top: 84px; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
  .section-lede { font-size: 17px; }
  .map-toolbar { padding: 18px; }
  .map-filter { grid-template-columns: minmax(260px, 1fr) auto; }
  .domain-map-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-surfaces { grid-template-columns: repeat(3, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  
  
}

/* ============================================================================================
   >=1080 — full map layout
   ============================================================================================ */
@media (min-width: 1080px) {
  body { padding-bottom: 0; }
  
  
  .finder-hero { grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr); gap: 24px; }
  .hero-main { padding: 44px; min-height: 584px; }
  .hero-main::after { right: -145px; }
  .goal-navigator { padding: 25px; min-height: 584px; }
  .goal-navigator h2 { font-size: 29px; }
  .featured-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .featured-card { min-height: 372px; padding: 25px; }
  .featured-card h3 { font-size: 29px; }
  .domain-map-grid { grid-template-columns: repeat(4, 1fr); }
  .domain-card { min-height: 222px; }
  .preview-shell { grid-template-columns: minmax(260px, .34fr) minmax(0, .66fr); gap: 15px; }
  .preview-panel { min-height: 580px; padding: 33px; }
  .preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
  .preview-badge { margin-top: 0; }
  .preview-title-row h3 { font-size: 35px; }
  .preview-copy { font-size: 17px; }
  .journey-grid { grid-template-columns: repeat(4, 1fr); gap: 13px; }
  .journey-card { min-height: 292px; }
  .principles-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
  .principle-lead { padding: 32px; }
  .principle-lead h3 { font-size: 34px; }
  .handoff { padding: 38px; grid-template-columns: 1fr auto; gap: 30px; }
  
  
}

/* ============================================================================================
   >=1360 — wide polish
   ============================================================================================ */
@media (min-width: 1360px) {
  .featured-card { padding: 28px; }
  .preview-panel { padding: 36px; }
}

/* ============================================================================================
   Reduced motion — no animated movement anywhere
   ============================================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
