/* RankOps v2 design system — dark, one accent, no framework. */
:root {
  --bg: #090D0B;
  --bg-raise: #121A15;
  --line: #20302A;
  --text: #F2F5EF;
  --text-dim: #B2BDB3;
  --accent: #A8FF3E;          /* neon green: CTAs, bars, large emphasis (dominant) */
  --accent-press: #8FE62E;
  --accent-ink: #8FE66A;      /* toned green for small text / links (avoids halation) */
  --on-accent: #04170C;       /* ink on a green button */
  --gold: #C7A461;            /* restrained, sparse decoration only */
  --gold-dim: rgba(199,164,97,.4);
  --danger: #f87171;
  --warn: #fbbf24;            /* functional status only, never decoration */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem; --space-5: 4rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  --line-strong: #5F6F65;     /* input borders: >= 3:1 against the field and the card (WCAG 1.4.11) */
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; font-size: 1.0625rem; }
.wrap { max-width: 67.5rem; margin: 0 auto; padding: 0 var(--space-3); }
main { display: block; }
img { max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.25; margin-bottom: var(--space-2); }
h3 { font-size: 1.15rem; }
p + p { margin-top: var(--space-2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9,13,11,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: .6rem var(--space-3); }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--text); }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: var(--space-3); align-items: center; }
.nav-links a { color: var(--text-dim); font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn-primary { color: var(--on-accent); font-weight: 700; }
.nav-links a.btn-primary:hover { color: var(--on-accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; min-width: 2.75rem; min-height: 2.75rem; }
/* phone CTA beside the menu button, so the free map is one tap away after the hero; hidden where the map is no use */
.nav-row .nav-cta-m { display: none; }
@media (max-width: 56em) {
  .nav-row { gap: .5rem; }
  .nav-row .nav-cta-m { display: inline-block; margin-left: auto; padding: .72rem .9rem; font-size: .9rem; line-height: 1.5; white-space: nowrap; }
  .no-nav-cta .nav-row .nav-cta-m { display: none; }
}
@media (max-width: 24em) { .nav-cta-long { display: none; } }
@media (max-width: 56em) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-raise); padding: var(--space-3); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
}

/* buttons — ONE primary weight; it is THE cta */
.btn-primary { display: inline-block; background: var(--accent); color: var(--on-accent); font-family: inherit; font-weight: 700; padding: .9rem 1.6rem; border-radius: var(--radius); border: 0; cursor: pointer; font-size: 1.05rem; }
.btn-primary:hover { background: var(--accent-press); text-decoration: none; }
.btn-sm { padding: .62rem 1rem; font-size: .95rem; line-height: 1.6; }
.btn-ghost { display: inline-block; color: var(--text-dim); padding: .9rem 1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* sections + components */
section { padding: var(--space-5) 0; }
.hero { padding: var(--space-5) 0 var(--space-4); }
.eyebrow { color: var(--accent-ink); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.lead { font-size: 1.2rem; color: var(--text-dim); max-width: 46rem; margin-top: var(--space-2); }
.speakable { font-size: 1.05rem; }
.card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.grid-3 { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.proof-band { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-3); background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); }
.proof-band strong { color: var(--accent); font-size: 1.3rem; display: block; }
.price { font-size: 2.2rem; font-weight: 800; }
.price small { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: .4rem 0 .4rem 1.7rem; position: relative; }
.check-list li::before { content: "✓"; color: var(--accent-ink); position: absolute; left: 0; font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); padding: var(--space-2) 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin-top: var(--space-1); color: var(--text-dim); }
.note { color: var(--text-dim); font-size: .9rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .7rem; border-bottom: 1px solid var(--line); }
th { color: var(--text-dim); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }

/* forms */
input, select, textarea { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: .8rem; font-size: 1rem; width: 100%; font-family: var(--font); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
input::placeholder, textarea::placeholder { color: #8A968D; opacity: 1; }
.code-out { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; overflow-x: auto; font-size: .8rem; max-height: 320px; white-space: pre-wrap; word-break: break-word; }
.faq-row { display: flex; gap: .5rem; margin: .5rem 0; align-items: flex-start; }
.faq-row input, .faq-row textarea { flex: 1; }
.row-del { background: none; border: 0; color: var(--danger); font-size: 1.3rem; cursor: pointer; }
.check-form { display: grid; gap: var(--space-2); max-width: 30rem; }
.nl-form { display: flex; gap: var(--space-1); margin-top: var(--space-1); }

/* score gauge + reveal (track page) */
.gauge-wrap { display: grid; place-items: center; padding: var(--space-3); }
.gauge { position: relative; width: 180px; height: 180px; }
.gauge svg { transform: rotate(-90deg); }
.gauge-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; }
.tier-badge { display: inline-block; padding: .25rem .8rem; border-radius: 99px; background: var(--bg-raise); border: 1px solid var(--accent); color: var(--accent); font-weight: 700; }
.check-row { display: flex; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.check-row.pass::before { content: "✓"; color: var(--accent); font-weight: 700; }
.check-row.gated { color: var(--text-dim); font-style: italic; }
.check-row.gated::before { content: "🔒"; }
.kpi-row { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.kpi { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-2); text-align: center; }
.kpi strong { display: block; font-size: 1.8rem; color: var(--accent); }
.kpi span { color: var(--text-dim); font-size: .85rem; }
.hidden { display: none !important; }
.status-cited { color: var(--accent); font-weight: 600; }
.status-miss { color: var(--danger); font-weight: 600; }
.status-retry { color: var(--warn); font-weight: 600; }
/* The AI's answer under each tracked prompt: clamped to 3 lines, click to
   toggle the full text. */
.ai-answer { margin: .35rem 0 0; color: var(--text-dim); font-size: .85rem; line-height: 1.5; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ai-answer.open { display: block; overflow: visible; }
.ai-answer:hover { color: var(--text); }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: var(--space-5); padding: var(--space-4) 0 var(--space-2); color: var(--text-dim); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
/* five columns on desktop, so the last column never wraps to a row of its own */
@media (min-width: 64em) { .footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); gap: var(--space-3); } }
/* Footer signup: in the narrow fifth column the button wraps under the email box instead of squeezing it to "you@". */
.footer-grid .nl-form { flex-wrap: wrap; }
.footer-grid .nl-form input { flex: 1 1 9rem; min-width: 0; }
.footer-grid a { display: block; color: var(--text-dim); padding: .15rem 0; }
.footer-h { font-weight: 700; color: var(--text); margin-bottom: var(--space-1); }
.footer-legal { margin-top: var(--space-4); padding-top: var(--space-2); border-top: 1px solid var(--line); font-size: .85rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: all .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── lead board (/track/) ──────────────────────────────────────────────── */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.board-section { padding-top: var(--space-4); }
.board-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.board-title-row .lead { margin-top: .6rem; font-size: 1.05rem; }
.board-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; padding-bottom: .3rem; }
.btn-outline { border: 1px solid var(--line); border-radius: 8px; padding: .55rem 1rem; min-height: 2.75rem; font-size: .95rem; color: var(--text-dim); background: var(--bg-raise); cursor: pointer; font-family: var(--font); }
.btn-outline:hover { color: var(--text); border-color: var(--text-dim); text-decoration: none; }
.tab-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); margin: 0 .35rem 0 .1rem; vertical-align: middle; }

/* summary tiles */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; margin-bottom: var(--space-2); }
.stat { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; }
.stat strong { display: block; font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat span { color: var(--text-dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
#st-hot { color: var(--warn); }
#st-sold { color: var(--accent); }

/* toolbar */
.board-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: .8rem; }
.toolbar-right { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.chip-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { background: var(--bg-raise); border: 1px solid var(--line); color: var(--text-dim); border-radius: 99px; padding: .35rem .85rem; font-size: .88rem; cursor: pointer; font-family: var(--font); }
.chip em { font-style: normal; opacity: .7; margin-left: .25rem; font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: rgba(168,255,62,.12); border-color: var(--accent); color: var(--accent); }
#board-search { max-width: 16rem; padding: .5rem .9rem; font-size: .92rem; border-radius: 99px; }

/* the table */
/* The board is wider than the page, so it scrolls sideways on desktop. Nobody
   discovers that on their own: .board-scroller is the positioned parent for a
   right-edge fade, toggled by updateBoardScroll() in track.js, paired with the
   #board-hint line. Below 760px the table stops being a table (see the mobile
   block) and neither cue applies. */
.board-scroller { position: relative; }
.board-scroller::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 3rem; pointer-events: none; opacity: 0; transition: opacity .2s ease; border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(to right, rgba(18,26,21,0), rgba(18,26,21,.95)); }
.board-scroller.can-scroll-x::after { opacity: 1; }
.board-hint { margin-top: .5rem; }
.board-sort { display: none; }
.board-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: 65vh; background: var(--bg-raise); }
table.board { font-size: .93rem; }
/* Only the 11-column Lead Board needs the wide min-width; the war-room tables
   (2-col leaderboard, tracked prompts) should fit their container instead of
   forcing horizontal scroll that hides the count column. */
#board-table { min-width: 1080px; }
#wr-leaderboard td:first-child { white-space: normal; word-break: break-word; }
.board thead th { position: sticky; top: 0; background: var(--bg-raise); z-index: 2; border-bottom: 1px solid var(--line); padding: 0; }
.board thead th button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text-dim); font-family: var(--font); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .65rem .7rem; cursor: pointer; white-space: nowrap; }
.board thead th button:hover { color: var(--text); }
.board th.sort-asc button::after { content: " ↑"; color: var(--accent); }
.board th.sort-desc button::after { content: " ↓"; color: var(--accent); }
.board td { padding: .45rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.board tbody tr:hover { background: rgba(255,255,255,.025); }
.board tbody tr:last-child td { border-bottom: 0; }
.board td.num { text-align: right; font-variant-numeric: tabular-nums; }
.board th.num button { text-align: right; }
.board .dim { color: var(--text-dim); }
.board .issue { max-width: 15rem; overflow: hidden; text-overflow: ellipsis; }
.board .site-link { color: var(--text-dim); }
.board .site-link:hover { color: var(--accent); }
.board-none { padding: var(--space-3); }
.linklike { background: none; border: 0; color: var(--text); font: inherit; font-family: var(--font); font-weight: 600; cursor: pointer; padding: 0; }
.linklike:hover { color: var(--accent); }

/* score + status pills */
.score-pill { display: inline-block; min-width: 2.5rem; text-align: center; padding: .12rem .5rem; border-radius: 99px; font-weight: 700; font-variant-numeric: tabular-nums; border: 1px solid var(--line); }
.score-pill.s-low { color: var(--danger); border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.1); }
.score-pill.s-mid { color: var(--warn); border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.1); }
.score-pill.s-high { color: var(--accent); border-color: rgba(168,255,62,.4); background: rgba(168,255,62,.1); }
.score-pill.s-none { color: var(--text-dim); }
select.status-pill { width: auto; padding: .28rem .6rem; font-size: .85rem; font-weight: 600; border-radius: 99px; background: var(--bg); cursor: pointer; }
select.status-pill[data-status="hot"] { color: var(--warn); border-color: rgba(251,191,36,.55); }
select.status-pill[data-status="pending"] { color: var(--text-dim); }
select.status-pill[data-status="completed"] { color: var(--text); border-color: var(--text-dim); }
select.status-pill[data-status="sold"] { color: var(--accent); border-color: rgba(168,255,62,.55); }
select.status-pill option { color: var(--text); background: var(--bg-raise); }

/* inline-edit cells */
.cell-edit { background: transparent; border: 1px solid transparent; padding: .3rem .5rem; font-size: .9rem; border-radius: 6px; width: 11rem; }
.cell-edit:hover { border-color: var(--line); }
.cell-edit:focus { background: var(--bg); }
.cell-edit::placeholder { color: var(--text-dim); opacity: .55; font-style: italic; }

/* row menu */
.actions-col { width: 2.6rem; }
.row-actions { text-align: right; }
.row-menu { position: relative; display: inline-block; }
.row-menu summary { list-style: none; cursor: pointer; color: var(--text-dim); padding: .1rem .55rem; border-radius: 6px; font-weight: 700; user-select: none; }
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu summary:hover { color: var(--text); background: rgba(255,255,255,.05); }
/* fixed, not absolute: escapes .board-wrap's overflow:auto instead of being
   clipped by it; JS sets left/top from the summary's real viewport rect. */
.row-menu .menu { position: fixed; z-index: 95; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 8px; padding: .3rem; min-width: 10.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.row-menu .menu button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: .45rem .7rem; border-radius: 6px; cursor: pointer; font-size: .9rem; font-family: var(--font); }
.row-menu .menu button:hover { background: rgba(255,255,255,.06); }
.row-menu .menu button.danger { color: var(--danger); }
.row-menu .menu-confirm { padding: .4rem .7rem .55rem; margin: 0; font-size: .85rem; color: var(--text-dim); white-space: normal; }

/* audit panel + lead drawer */
.check-panel { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.check-panel.inline { max-width: 34rem; margin-top: var(--space-2); }
.check-panel.over { position: fixed; top: 0; right: 0; bottom: 0; width: min(26rem, 100%); z-index: 70; border-radius: 0; border: 0; border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; overflow-y: auto; }
.check-panel.over.open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-2); }
.panel-close { background: none; border: 0; color: var(--text-dim); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.panel-close:hover { color: var(--text); }
.field-2 { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
.prospect-toggle { display: flex; gap: .5rem; align-items: center; }
.prospect-toggle input { width: auto; }
.empty-intro { max-width: 34rem; margin-top: var(--space-3); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(28rem, 100%); z-index: 80; background: var(--bg-raise); border-left: 1px solid var(--line); overflow-y: auto; padding: var(--space-3); transform: translateX(100%); transition: transform .25s ease; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.drawer-head h2 { margin-bottom: .2rem; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60; }
/* Sticky, not just last-in-the-drawer: on a phone the results ended in nothing
   to do, and the page's "Citation Tracker" button sits behind the backdrop
   while the drawer is open. Negative margins bleed it through .drawer's padding. */
/* bottom is the negative of .drawer's padding, not 0: sticky measures from the
   scrollport's padding edge, so bottom:0 parks it 1.5rem short of the drawer's
   real bottom and leaves a gap under the buttons. */
.drawer-cta { position: sticky; bottom: calc(-1 * var(--space-3)); display: grid; gap: .6rem; margin: var(--space-3) calc(-1 * var(--space-3)) calc(-1 * var(--space-3)); padding: var(--space-3); background: var(--bg-raise); border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .board-title-row { align-items: flex-start; }
  #board-search { max-width: 100%; flex: 1; }
  .field-2 { grid-template-columns: 1fr; }
  .toolbar-right { width: 100%; }
  .board-sort { display: block; width: auto; }

  /* No sideways scrolling on a phone: the 11-column board becomes one stacked
     card per lead, every field labelled in place from its td[data-label] (set
     in buildRow). Scoped to #board-table so the war-room leaderboard and the
     tracked-prompts table stay real tables. */
  .board-scroller::after { display: none; }
  /* only the lead board's wrap sheds its frame — the war-room tables keep theirs */
  .board-scroller .board-wrap { overflow: visible; max-height: none; border: 0; background: none; border-radius: 0; }
  #board-table { min-width: 0; display: block; font-size: 1rem; }
  #board-table thead { display: none; }
  #board-table tbody { display: block; }
  #board-table tbody tr { display: block; position: relative; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: .3rem .9rem .5rem; margin-bottom: .7rem; }
  #board-table tbody tr:hover { background: var(--bg-raise); }
  /* separators go between the stacked fields (border-top), not after the last
     one, so no card ends in a dangling rule */
  #board-table td { display: grid; grid-template-columns: 6.2rem 1fr; gap: .5rem; align-items: center; white-space: normal; overflow-wrap: anywhere; padding: .38rem 0; line-height: 1.4; text-align: left; border-bottom: 0; }
  #board-table td + td { border-top: 1px solid var(--line); }
  #board-table td::before { content: attr(data-label); color: var(--text-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
  #board-table td:first-child { padding-right: 2.5rem; }
  #board-table td.num { text-align: left; }
  #board-table td.issue { max-width: none; overflow: visible; text-overflow: clip; }
  #board-table .cell-edit { width: 100%; border-color: var(--line); }
  /* the ⋯ menu pins to the card's top-right instead of taking a labelled row */
  #board-table td.row-actions { position: absolute; top: .5rem; right: .5rem; display: block; padding: 0; border: 0; }
  #board-table td.row-actions::before { content: none; }
  /* tracked prompts on the tracker dashboard: also no sideways scroll */
  #db-prompts td { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .drawer, .check-panel.over { transition: none; } }

/* ── citation tracker war room ───────────────────────────────────────────── */
.wr-you-row td { color: var(--accent); font-weight: 700; }
.src-row { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.src-row:last-child { border-bottom: 0; }
.evt-row { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.5; }
.evt-row:last-child { border-bottom: 0; }
.wr-history { display: flex; gap: .28rem; align-items: center; }
.wr-dot { width: .5rem; height: .5rem; border-radius: 50%; flex: none; display: inline-block; }
.wr-dot.cited { background: var(--accent); }
.wr-dot.miss { background: var(--danger); opacity: .6; }
.wr-dot.error { background: var(--warn); opacity: .6; }
.wr-spark-empty { margin-top: .5rem; }

/* ===================================================================
   Refresh 2026-09-11: accessibility states, interaction polish, and the
   marketing component library (ported from the prior sandbox increment,
   retokenized to the new palette). Green dominant, gold sparse, amber
   functional-status only.
   =================================================================== */

/* focus-visible everywhere it matters (was only on form fields) */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-outline:focus-visible,
.chip:focus-visible, .nav-toggle:focus-visible, summary:focus-visible,
select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm);
}
/* button interaction states */
.btn-primary:active { background: var(--accent-press); }
.btn-primary:disabled, button:disabled, .btn-primary[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
/* form validation feedback */
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: .9rem; margin-top: var(--space-1); }
.form-ok { color: var(--accent-ink); font-weight: 600; margin-top: var(--space-1); }
/* mobile nav: lock scroll while open, show the active link, keep a tall menu scrollable */
body.nav-open { overflow: hidden; }
.nav-links a[aria-current="page"] { color: var(--text); }
@media (max-width: 56em) { .nav-links { max-height: calc(100vh - 4rem); overflow-y: auto; } }
h4 { font-size: 1rem; line-height: 1.3; }

/* ── hero with a supporting image ─────────────────────────────────────────── */
.hero-split { display: grid; gap: var(--space-4); grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero-split .hero-art { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.hero-split .hero-art img { display: block; width: 100%; height: auto; }
/* On phones the form stays FIRST and the screenshot follows it. The art used to take
   order:-1 here, which pushed the signup below a tall image: the exact "it shoves
   everything down" problem the boxed stat band had. Conversion first, proof second. */
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } }

/* ── homepage hero: what we do and the website box left; the offers, the five stages and a small
   dashboard preview right ──
   From 60em: two top-aligned columns. Below 60em it is one column (headline, website box, offers).
   Since 2026-11-22 no proof strip sits in the hero (Tyler: "push the surfaced line of stuff below the
   fold its distracting"): the dated proof is the #independent-proof section further down.
   Sized in rem/em only, so it is the same design at the 16px default (Chrome) and at a
   20px default (Comet), and the headline, website box and offers fit above the fold at
   1920x950 in either. Every class here is used only by the homepage; shared rules
   (.hero, .lead, .map-card) are overridden under .home-hero (one class more specific
   than the shared rule that comes later), never edited. */
/* Graphite surfaces and one precise lime, for the first screen and the dashboard. */
.home-hero, .hl-lab { --bg-raise: #15191B; --line: #2B3236; --g-raise-2: #1C2226; --g-wash: rgba(168,255,62,.08); --g-amber: #F5C451; }
.home-hero { position: relative; padding: 1.5rem 0 2.25rem; background: radial-gradient(56rem 26rem at 88% -12%, rgba(168,255,62,.07), transparent 62%); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.home-hero h1 { font-size: clamp(2.2rem, 1.15rem + 3vw, 3.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.034em; text-wrap: balance; overflow-wrap: break-word; }
.home-hero .hero-h1-accent { color: var(--accent); }
.home-hero .hh-sub { margin-top: .85rem; font-size: 1.2rem; font-weight: 500; line-height: 1.35; color: var(--text); text-wrap: pretty; }
.home-hero .lead { margin-top: .7rem; font-size: .95rem; line-height: 1.5; color: var(--text-dim); text-wrap: pretty; }
/* the website box: one field, and the green button is the focal point of the first screen */
.hl-check { display: grid; gap: .45rem; margin-top: 1.1rem; }
.hl-check-label { font-size: .875rem; font-weight: 600; color: var(--text); }
.hl-check-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.hl-check input { flex: 1 1 11rem; width: auto; min-width: 0; height: 3.25rem; padding: 0 .95rem; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 1.05rem; }
.hl-check button { flex: 0 1 auto; min-height: 3.25rem; padding: .6rem 1.2rem; border-radius: 12px; font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.hl-check-error { font-size: .875rem; color: var(--danger); }
.hl-check-micro { font-size: .88rem; line-height: 1.4; color: var(--text-dim); }
.hl-check-alt { font-size: .88rem; line-height: 1.4; color: var(--text-dim); }
.hl-check-micro + .hl-check-alt { margin-top: -.25rem; }
.hl-check--lab { max-width: 34rem; margin-top: 2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); }
.hl-check--lab .hl-check-label { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }

/* the offers on the first screen: what it is, what it costs, and little else */
.hl-card { display: grid; margin: 0; outline: none; scroll-margin-top: 5rem; }
.hl-card p + p { margin-top: 0; }
.hl-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 0; list-style: none; }
.hl-offer { display: flex; flex-direction: column; gap: .5rem; min-width: 0; padding: 1rem 1.05rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); }
.hl-offer--build { border-color: rgba(168,255,62,.6); background: linear-gradient(180deg, var(--g-wash), transparent 55%), var(--bg-raise); }
.hl-offer-name { font-size: 1.12rem; font-weight: 800; line-height: 1.2; letter-spacing: -.012em; }
.hl-offer-name a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(168,255,62,.5); text-underline-offset: .2em; }
.hl-offer-name a:hover { color: var(--accent); }
.hl-offer-what { margin-top: -.3rem; font-size: .92rem; line-height: 1.3; color: var(--text-dim); }
.hl-offer-own { margin-top: auto; font-size: .92rem; font-weight: 600; line-height: 1.35; color: var(--text); }
.hl-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin: 0; }
.hl-price b { font-size: clamp(1.75rem, 1.3rem + 1.1vw, 2.35rem); font-weight: 800; line-height: 1.08; letter-spacing: -.034em; font-variant-numeric: tabular-nums; color: var(--text); }
.hl-price span { font-size: .92rem; font-weight: 600; line-height: 1.25; color: var(--text-dim); }
.hl-offer--build .hl-price b { color: var(--accent); }
.hl-chip { justify-self: start; width: fit-content; padding: .05rem .55rem; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: .76rem; font-weight: 600; line-height: 1.5; color: var(--text-dim); }
.hl-foot { display: grid; gap: .45rem; margin-top: .7rem; }
.hl-rail { display: none; margin: 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 600; color: var(--text); }
.hl-rail li { position: relative; display: flex; align-items: center; gap: .55rem; padding: .17rem 0; }
.hl-rail span { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 auto; width: 1.45rem; height: 1.45rem; border: 1.5px solid var(--accent); border-radius: 50%; background: var(--bg); color: var(--accent); font-size: .76rem; font-weight: 800; }
.hl-rail li:not(:last-child)::before { content: ""; position: absolute; left: .69rem; top: 50%; height: 100%; width: 1.5px; background: rgba(168,255,62,.5); }
.hl-foot p + p { margin-top: 0; }
/* the small dashboard beside the five stages (Tyler, 2026-11-22: "add a smaller dashboard preview in that space"). Wide screens
   only. Each status sits on its stage's row: the stage list and the card share the foot's rows (subgrid), and the "How we work"
   line becomes the stage list's caption, level with the card's view buttons. home-lab.js fills it
   from the same model as the full dashboard, for its made-up example, in the view picked. */
.hl-mini { display: none; }
.hl-mini p + p { margin-top: 0; }
.hl-mini-views { display: flex; flex-wrap: wrap; gap: .25rem; }
.hl-mini-view { padding: .16rem .55rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-dim); font-family: inherit; font-size: .74rem; font-weight: 700; line-height: 1.35; cursor: pointer; }
.hl-mini-view:hover { border-color: var(--text-dim); color: var(--text); }
.hl-mini-view[aria-pressed="true"] { border-color: var(--accent); background: var(--g-wash); color: var(--accent-ink); }
.hl-mini-lanes { margin: 0; padding: 0; list-style: none; }
.hl-mini-lanes li { display: flex; align-items: center; min-width: 0; }
.hl-mini-status { display: flex; align-items: center; gap: .4rem; min-width: 0; font-size: .82rem; font-weight: 600; line-height: 1.25; color: var(--text-dim); }
.hl-mini-status::before { content: ""; flex: 0 0 auto; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.hl-mini-status--missing { color: var(--danger); }
.hl-mini-status--found, .hl-mini-status--added, .hl-mini-status--growth { color: var(--accent-ink); }
.hl-mini-status--assess { color: var(--g-amber); }
.hl-mini-foot { display: grid; gap: .15rem; padding-top: .45rem; border-top: 1px solid var(--line); }
.hl-mini-stats { display: flex; flex-wrap: wrap; gap: 0 .7rem; margin: 0; padding: 0; list-style: none; font-size: .8rem; color: var(--text-dim); }
.hl-mini-stat b { font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); }
.hl-mini-stat--missing b { color: var(--danger); }
.hl-mini-stat--added b { color: var(--accent); }
.hl-mini-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .6rem; font-size: .76rem; line-height: 1.35; color: var(--text-dim); }
.hl-mini-note a { white-space: nowrap; }
.hl-mini-note a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .18em; }
@media (min-width: 60em) {
  .hl-foot { grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(.9rem, 1.6vw, 1.4rem); row-gap: 0; }
  /* contain: inline-size keeps the caption from widening the stage column: it wraps inside it instead */
  .hl-foot > .hl-foot-method { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: .45rem; contain: inline-size; text-wrap: balance; }
  .hl-foot > .hl-rail { grid-column: 1; grid-row: 2 / span 5; display: grid; grid-template-rows: subgrid; }
  .hl-foot > .hl-mini { grid-column: 2; grid-row: 1 / span 7; display: grid; grid-template-rows: subgrid; min-width: 0; padding: .55rem .8rem .6rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); }
  .hl-mini-views { grid-row: 1; align-self: start; align-items: center; padding-bottom: .4rem; }
  .hl-mini-lanes { grid-row: 2 / span 5; display: grid; grid-template-rows: subgrid; }
  .hl-mini-foot { grid-row: 7; margin-top: .4rem; }
}
.hl-own { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--text); }
.hl-scores summary { width: fit-content; font-size: .88rem; color: var(--accent-ink); cursor: pointer; }
.hl-scores-list { display: grid; gap: .15rem; margin: .4rem 0 .35rem; }
.hl-scores-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.hl-scores-list dt { color: var(--text-dim); }
.hl-scores-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.hl-scores-note { font-size: .82rem; line-height: 1.45; color: var(--text-dim); }

.hl-views { display: grid; gap: .5rem; margin-top: 1.1rem; }
.hl-views-choose { display: grid; gap: .25rem; }
.hl-views-label { font-size: .88rem; font-weight: 700; color: var(--text); }
.hl-views-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.hl-view { min-height: 3.35rem; padding: .5rem .9rem; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-raise); color: var(--text); font-family: inherit; font-size: 1.02rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; text-align: left; cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
.hl-view small { display: block; margin-top: .05rem; font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--text-dim); }
.hl-view:hover { border-color: var(--text-dim); }
.hl-view[aria-pressed="true"] { border-color: var(--accent); background: var(--g-wash); box-shadow: inset 0 0 0 1px var(--accent); }
.hl-view[aria-pressed="true"] small { color: var(--accent-ink); }
.hl-view--before { width: fit-content; min-width: 9rem; }

/* a visitor's own result takes the offers' place */
.hh-graphic.is-personal > .hl-card, .hh-graphic.is-personal > .hl-foot { display: none; }
.hl-result { display: grid; gap: .5rem; min-width: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); outline: none; scroll-margin-top: 5rem; }
.hl-result p + p { margin-top: 0; }
.hl-result-head { display: grid; gap: .05rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.hl-result-host { font-size: 1.2rem; font-weight: 800; line-height: 1.25; letter-spacing: -.012em; overflow-wrap: anywhere; }
.hl-result-meta { font-size: .85rem; color: var(--text-dim); }
.hl-verdict { padding: .6rem .75rem; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--g-wash); font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.hl-verdict--blocked { border-left-color: var(--danger); background: rgba(248,113,113,.08); }
.hl-result-h { margin-top: .35rem; font-size: 1rem; font-weight: 800; }
.hl-result-copy, .hl-result-pages { font-size: .86rem; line-height: 1.4; color: var(--text-dim); }
.hl-result-copy a, .hl-result-pages a, .hl-result-map { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .18em; }
.hl-result-strengths { font-size: .88rem; line-height: 1.4; color: var(--text); }
.hl-result-next .btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; border-color: var(--accent); color: var(--accent-ink); font-weight: 700; text-align: center; }
.hl-finding-text { display: block; font-weight: 600; }
.hl-chain { display: block; margin-top: .06rem; font-size: .82rem; line-height: 1.34; color: var(--text-dim); }
.hl-chain-k { font-weight: 700; color: var(--text); }
.hl-you-facts { min-width: 0; }
.hl-you-ask { flex: 0 0 auto; font-size: .82rem; color: var(--text-dim); white-space: nowrap; }
.hl-you-does { margin: 0; font-size: .85rem; line-height: 1.38; color: var(--text-dim); overflow-wrap: anywhere; }
.hl-findings { display: grid; gap: .42rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.36; }
.hl-findings li { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: .3rem; overflow-wrap: anywhere; }
.hl-glyph { display: inline-grid; place-items: center; flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-right: .25rem; border-radius: 50%; font-size: .7rem; font-weight: 800; line-height: 1; }
.hl-findings .hl-glyph { margin: .12em 0 0; }
.hl-glyph--found { background: rgba(168,255,62,.14); color: var(--accent); }
.hl-glyph--missing { background: rgba(248,113,113,.17); color: var(--danger); }
.hl-glyph--unknown { background: rgba(178,189,179,.16); color: var(--text-dim); }
.hl-glyph--added { background: var(--accent); color: var(--on-accent); }
.hl-glyph--notchecked { background: rgba(178,189,179,.16); color: var(--text-dim); }
.hl-glyph--assess { background: rgba(245,196,81,.17); color: var(--g-amber); }
.hl-glyph--growth { border: 1px solid rgba(168,255,62,.6); color: var(--accent); }
.hl-glyph--optional { border: 1px solid var(--line-strong); color: var(--text-dim); font-size: .62rem; }
.hl-glyph--notincluded { background: rgba(178,189,179,.1); color: var(--text-dim); }
.hl-you { padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.hl-you-k { font-size: .8rem; font-weight: 700; color: var(--text-dim); }
.hl-you-row { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.hl-you-read { min-width: 0; font-size: .92rem; font-weight: 600; overflow-wrap: anywhere; }
.hl-you-edit { flex: 0 0 auto; padding: .1rem .2rem; border: 0; background: none; color: var(--accent-ink); font-family: inherit; font-size: .86rem; text-decoration: underline; cursor: pointer; }
.hl-you-form { display: grid; gap: .3rem; margin-top: .4rem; }
.hl-you-form input { height: 2.75rem; padding: 0 .6rem; font-size: .95rem; }
.hl-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.hl-opt { display: flex; flex-direction: column; gap: .25rem; min-width: 0; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 14px; background: var(--g-raise-2); }
.hl-opt-title { font-size: 1.05rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.hl-opt-title a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(168,255,62,.5); text-underline-offset: .18em; }
.hl-opt-title a:hover { color: var(--accent); }
.hl-opt-name { margin: 0; font-size: .82rem; font-weight: 700; color: var(--accent-ink); }
.hl-opt-line { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--text-dim); }
.hl-opt-line--strong { font-weight: 700; color: var(--text); }
.hl-opt-prices { display: grid; gap: .1rem; margin-top: auto; padding-top: .35rem; }
.hl-opt-cta { margin-top: .35rem; }
.hl-opt-cta .btn-outline { display: inline-flex; align-items: center; min-height: 2.75rem; border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.hl-opt-cta .btn-outline:hover { color: var(--accent); }
/* after a result, the next step is the work, and checking another site is the quieter choice */
.hl-lab.is-personal .hl-check--lab button { border: 1px solid var(--line-strong); background: none; color: var(--text); }
.hl-lab.is-personal .hl-check--lab button:hover { border-color: var(--accent); color: var(--accent); }
.hl-opt .hl-price b { font-size: 1.5rem; }
.hl-back { justify-self: start; padding: .2rem 0; border: 0; background: none; color: var(--text-dim); font-family: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }

/* Phones and tablets, one column: what we do, then the website box, then the offers. */
@media (max-width: 59.99em) {
  .home-hero { padding: .75rem 0 1.75rem; }
  .home-hero-grid { row-gap: .6rem; }
  .home-hero .hh-head, .home-hero .hh-graphic { display: contents; }
  .home-hero h1 { order: 1; }
  .home-hero .hh-sub { order: 2; margin-top: -.3rem; font-size: 1.08rem; line-height: 1.32; }
  .home-hero .hl-result { order: 3; }
  .home-hero .hl-check { order: 4; margin-top: 0; }
  .home-hero .hl-card { order: 5; }
  .home-hero .hl-foot { order: 6; margin-top: 0; }
  .home-hero .lead { order: 7; margin-top: 0; }
  .home-hero .hl-check-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .home-hero .hl-check button { flex: 1 1 100%; }
  .home-hero .hl-check input { flex: 1 1 100%; height: 3rem; }
  .home-hero .hl-check button { min-height: 3rem; }
  .home-hero .hl-check-row { gap: .35rem; }
  .hl-offer { padding: .75rem .8rem; gap: .35rem; }
  .hl-offer-name { font-size: 1.02rem; }
  .hl-offer-what, .hl-offer-own { font-size: .84rem; }
  .hl-price b { font-size: 1.6rem; }
  .hl-price span { font-size: .84rem; }
  .hl-options--result { grid-template-columns: minmax(0, 1fr); }
  .hl-wide-only { display: none; }
}
@media (max-width: 26em) {
  .home-hero h1 { font-size: 1.95rem; }
  .hl-offer-own { font-size: .82rem; line-height: 1.3; }
}
@media (min-width: 40em) and (max-width: 59.99em) { .home-hero { padding-top: 2rem; } }
@media (min-width: 60em) {
  .home-hero { padding: 1.75rem 0 2rem; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head graphic"; column-gap: clamp(1.75rem, 3.5vw, 3rem); row-gap: 1.1rem; align-items: start; }
  .home-hero .hh-head { grid-area: head; }
  .home-hero .hh-graphic { grid-area: graphic; display: grid; }
  /* a visitor's own result gets the wider column */
  .home-hero-grid:has(.hh-graphic.is-personal) { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .hl-opt-prices { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
}
/* short laptop screens: tighten the vertical rhythm so the website box and the offers stay above the fold */
@media (min-width: 60em) and (max-height: 42em) {
  .home-hero { padding: .75rem 0 1.1rem; }
  .home-hero-grid { row-gap: .55rem; }
  .home-hero h1 { font-size: 2.45rem; }
  .home-hero .hh-sub { margin-top: .55rem; font-size: 1.05rem; }
  .home-hero .lead { margin-top: .4rem; font-size: .88rem; line-height: 1.4; }
  .hl-check { margin-top: .7rem; gap: .3rem; }
  .hl-check input, .hl-check button { height: 2.85rem; min-height: 2.85rem; }
  .hl-check-micro, .hl-check-alt { font-size: .8rem; }
  .hl-offer { padding: .7rem .85rem; gap: .35rem; }
  .hl-price b { font-size: 1.75rem; }
}
/* shorter still (e.g. 1440x780 at a 20px default): tighter again */
@media (min-width: 60em) and (max-height: 40em) {
  .home-hero { padding-top: .5rem; }
  .home-hero h1 { font-size: 2.1rem; }
  .home-hero .lead { font-size: .84rem; line-height: 1.35; }
  .hl-price b { font-size: 1.55rem; }
}

/* ── the dashboard: the Moncrieff Method, for the example first, then for a visitor's own site ── */
.hl-lab { border-top: 1px solid var(--line); scroll-margin-top: 4.5rem; }
.hl-lab h2 { font-size: clamp(1.65rem, 1.15rem + 1.7vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.028em; }
.hl-lab .hl-lab-lead { max-width: none; font-size: 1rem; line-height: 1.5; }
.hl-lab-mode { margin-top: .85rem; overflow-wrap: anywhere; }
.hl-scope { display: grid; gap: .5rem .9rem; margin-top: .85rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raise); }
.hl-scope[hidden] { display: none; }
.hl-coverage { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; margin: 0; padding: 0; border: 0; }
.hl-coverage legend { float: left; margin-right: 1rem; padding: 0; font-size: .9rem; font-weight: 700; }
.hl-coverage label { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; font-size: .95rem; cursor: pointer; }
.hl-coverage input { width: auto; accent-color: var(--accent); }
.hl-units { display: flex; align-items: center; gap: .45rem; }
.hl-units-k { margin-right: .35rem; font-size: .9rem; font-weight: 700; }
.hl-unit-btn { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--g-raise-2); color: var(--text); font-family: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1; cursor: pointer; }
.hl-unit-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.hl-unit-btn:disabled { opacity: .4; cursor: default; }
.hl-unit-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hl-units-n { min-width: 1.6rem; font-size: 1.35rem; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.hl-units-line { grid-column: 1 / -1; margin: 0; font-size: .92rem; line-height: 1.4; color: var(--text-dim); }
@media (max-width: 59.99em) { .hl-coverage legend { float: none; width: 100%; margin: 0 0 .15rem; } }
@media (min-width: 60em) { .hl-scope { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* the big numbers for this view */
.hl-stats { display: flex; flex-wrap: wrap; gap: .3rem 1.9rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.hl-stats:empty { display: none; }
.hl-stat { display: flex; align-items: baseline; gap: .4rem; min-width: 0; }
.hl-stat b { font-size: clamp(1.65rem, 1.25rem + 1.2vw, 2.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.034em; font-variant-numeric: tabular-nums; color: var(--text); }
.hl-stat span { font-size: .92rem; font-weight: 600; color: var(--text-dim); }
.hl-stat--missing b { color: var(--danger); }
.hl-stat--added b { color: var(--accent); }
.hl-stat--assess b { color: var(--g-amber); }
.hl-stat--unknown b, .hl-stat--notchecked b { color: var(--text-dim); }

.hl-board { margin-top: .7rem; display: grid; gap: .6rem; }
.hl-diagram-hint { margin: 0; font-size: .88rem; color: var(--text-dim); }
.hl-canvas { position: relative; min-width: 0; }
.hl-canvas--lab { padding: 0; }
.hl-d-root { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; padding: .55rem .8rem; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--g-raise-2); }
.hl-d-root .hl-icon { align-self: center; width: 22px; height: 22px; color: var(--accent); }
.hl-d-root-label { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.hl-d-root-sub { font-size: .88rem; color: var(--text-dim); }
.hl-lanes { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: var(--bg-raise); }
.hl-lanes--static { border-radius: 14px; }
.hl-lane { position: relative; min-width: 0; }
.hl-lane-head { position: relative; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: .5rem; align-items: start; width: 100%; padding: .7rem .65rem .6rem; border: 0; background: none; color: var(--text); font-family: inherit; text-align: left; }
button.hl-lane-head { cursor: pointer; }
button.hl-lane-head:hover .hl-lane-name { color: var(--accent); }
button.hl-lane-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.hl-lane.is-picked { background: rgba(168,255,62,.035); }
.hl-lane.is-picked .hl-lane-head { box-shadow: inset 0 -2px 0 var(--accent); }
.hl-lane-num { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1.5px solid var(--accent); border-radius: 50%; background: var(--bg); color: var(--accent); font-size: .9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hl-lane.is-picked .hl-lane-num { background: var(--accent); color: var(--on-accent); }
.hl-lane-text { display: grid; gap: .08rem; min-width: 0; }
.hl-lane-name { font-size: .98rem; font-weight: 800; line-height: 1.18; letter-spacing: -.012em; }
.hl-lane-supports { font-size: .68rem; font-weight: 700; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim); }
.hl-lane-status { font-size: .8rem; font-weight: 600; line-height: 1.25; color: var(--text-dim); }
.hl-lane-status--missing { color: var(--danger); }
.hl-lane-status--found, .hl-lane-status--added, .hl-lane-status--growth { color: var(--accent-ink); }
.hl-lane-status--assess { color: var(--g-amber); }
.hl-lane-purpose { margin: 0; padding: 0 .65rem .65rem; font-size: .85rem; line-height: 1.38; color: var(--text-dim); }
.hl-lane-does { margin: 0; padding: .45rem .7rem 0; font-size: .85rem; line-height: 1.35; color: var(--text); }
.hl-lane-body { padding: .45rem .5rem .6rem; }

/* one look for each kind of thing: a strength is quiet, a gap and an addition stand out, an unknown is dashed */
.hl-node { position: relative; display: flex; align-items: center; gap: .4rem; width: 100%; height: 100%; min-width: 0; padding: .35rem .45rem; border: 1px solid var(--line); border-radius: 10px; background: var(--g-raise-2); color: var(--text); font-family: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
.hl-node:hover { border-color: var(--text-dim); }
.hl-node:focus-visible, .hl-badge:focus-visible, .hl-view:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hl-node[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
.hl-node--found { border-color: rgba(168,255,62,.28); background: none; }
.hl-node--plain { border-color: transparent; }
.hl-node--plain:hover { border-color: rgba(168,255,62,.4); }
.hl-node--added { border-color: var(--accent); background: var(--g-wash); }
.hl-node--missing { border-color: rgba(248,113,113,.75); background: rgba(248,113,113,.09); }
.hl-node--unknown { border: 1px dashed var(--line-strong); background: none; }
.hl-node--notchecked { border: 1px dashed var(--line); background: none; color: var(--text-dim); }
.hl-node--assess { border: 1px dashed rgba(245,196,81,.65); background: rgba(245,196,81,.05); }
.hl-node--growth { border: 1px dashed rgba(168,255,62,.6); background: none; }
.hl-node--optional { border: 1px solid var(--line); background: none; }
.hl-node--notincluded { border: 1px solid var(--line); background: none; color: var(--text-dim); }
.hl-node--hub { border-width: 1.5px; }
.hl-node--hub .hl-node-label { font-size: .92rem; font-weight: 800; }
.hl-icon { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--text-dim); }
.hl-node--missing .hl-icon { color: var(--danger); }
.hl-node--added .hl-icon, .hl-node--growth .hl-icon { color: var(--accent); }
.hl-node--assess .hl-icon { color: var(--g-amber); }
.hl-node-text { display: grid; min-width: 0; }
.hl-node-label { font-size: .86rem; font-weight: 600; line-height: 1.22; overflow-wrap: break-word; }
.hl-node-status { display: flex; align-items: flex-start; font-size: .76rem; line-height: 1.28; color: var(--text-dim); }
.hl-node-status .hl-glyph { width: .9rem; height: .9rem; margin: .05rem .22rem 0 0; font-size: .58rem; }
.hl-badge { border: 1px solid var(--line-strong); border-radius: 9px; background: var(--g-raise-2); color: var(--text); font-family: inherit; font-size: .74rem; font-weight: 700; line-height: 1.15; cursor: pointer; }
.hl-badge:hover { border-color: var(--accent); color: var(--accent); }

/* the connected website: one root, a branch for each stage, hubs that open into their pages */
.hl-d-root--hq { position: relative; margin-bottom: 1.3rem; border: 1.5px solid var(--accent); border-radius: 14px; background: var(--g-wash); }
.hl-lanes--hq { position: relative; gap: .6rem; border: 0; border-radius: 0; background: none; }
.hl-lanes--hq .hl-lane { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raise); }
.hl-lanes--hq .hl-lane.is-picked { border-color: rgba(168,255,62,.55); }
.hl-lanes--hq .hl-lane.is-picked .hl-lane-head { box-shadow: none; }
.hl-base { display: grid; gap: .5rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.hl-base .hl-node { min-height: 2.9rem; }
.hl-tree, .hl-tree ul { margin: 0; padding: 0; list-style: none; }
.hl-tree { display: grid; gap: .3rem; }
.hl-tree .hl-tree { position: relative; margin: .3rem 0 0 .55rem; padding-left: .6rem; border-left: 1.5px solid rgba(168,255,62,.32); }
.hl-tree .hl-tree > li { position: relative; }
.hl-tree .hl-tree > li::before { content: ""; position: absolute; top: 1.35rem; left: -.6rem; width: .5rem; height: 1.5px; background: rgba(168,255,62,.32); }
.hl-tree-row { position: relative; display: flex; align-items: stretch; gap: .25rem; }
.hl-tree-row .hl-node { flex: 1 1 auto; min-width: 0; min-height: 2.75rem; height: auto; }
.hl-tree-row .hl-badge { align-self: stretch; flex: 0 0 2.75rem; min-height: 2.75rem; padding: 0 .15rem; }

/* what changed between views moves a little, and nothing else does */
@keyframes hl-changed { from { box-shadow: 0 0 0 2px rgba(168,255,62,.7); opacity: .55; transform: translateY(3px); } to { box-shadow: 0 0 0 0 rgba(168,255,62,0); opacity: 1; transform: none; } }
@keyframes hl-rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.is-changed { animation: hl-changed .5s ease-out; }
.hl-stats.is-new .hl-stat { animation: hl-rise .32s ease-out both; }
.is-moved .hl-lanes--hq .hl-lane, .is-moved .hl-d-root--hq { animation: hl-rise .32s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .is-changed, .hl-stats.is-new .hl-stat, .is-moved .hl-lanes--hq .hl-lane, .is-moved .hl-d-root--hq { animation: none; }
  .hl-view, .hl-node { transition: none; }
}

.hl-inspect { min-width: 0; padding: .65rem .95rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raise); }
.hl-inspect p + p { margin-top: 0; }
.hl-inspect-title { font-size: 1.05rem; font-weight: 800; }
.hl-inspect-status { display: flex; align-items: center; margin-top: .2rem; font-size: .85rem; color: var(--text-dim); }
.hl-inspect-k { margin-top: .5rem !important; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); }
.hl-inspect-v { font-size: .93rem; line-height: 1.45; }
/* Empty, it stays on the page out of sight, so a screen reader follows it when a box is picked. */
.hl-inspect:empty { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
.hl-key { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: .8rem 0 0; padding: 0; list-style: none; font-size: .85rem; color: var(--text-dim); }
.hl-key li { display: flex; align-items: center; }
.hl-key li[hidden] { display: none; }

.hl-detail { min-width: 0; }
.hl-detail p { margin: 0; }
.hl-detail-body { display: grid; gap: .5rem; padding: .75rem .95rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raise); }
.hl-detail-name { font-size: 1.08rem; font-weight: 800; line-height: 1.25; letter-spacing: -.012em; }
.hl-detail-purpose { margin-top: .1rem !important; font-size: .9rem; line-height: 1.4; color: var(--text-dim); }
.hl-detail-cols { display: grid; gap: .7rem; }
/* the stage row states the chain: found, the Fix, the Build. The reasons are in the box a visitor picks, and in all findings. */
.hl-detail .hl-m-why { display: none; }
.hl-detail .hl-m-cell-k { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin-bottom: .3rem !important; color: var(--accent-ink); }

.hl-panels { margin-top: .85rem; }
.hl-panel { padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); }
.hl-panel h3 { margin-bottom: .35rem; font-size: 1.22rem; font-weight: 800; letter-spacing: -.016em; }
.hl-panel h4 { margin: .7rem 0 .25rem; font-size: .98rem; font-weight: 700; }
.hl-panel p { color: var(--text-dim); }
.hl-panel [data-hl-panel-body] > p + p { margin-top: .4rem; }
.hl-panel .check-list { margin-top: .4rem; }
.hl-panel .check-list--add li::before { content: "+"; }
.hl-panel .check-list--assess li::before { content: "…"; color: var(--g-amber); }
.hl-panel .hl-own { margin-top: .6rem; color: var(--text); }
.hl-panel .hl-price b { color: var(--text); }
.hl-panel-small { margin-top: .45rem; font-size: .92rem; line-height: 1.5; }
.hl-panel-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.hl-panel-cta .btn-outline, .hl-panel-cta .btn-primary { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem 1.05rem; font-size: .98rem; }
.hl-panel-cta[hidden] { display: none; }
.hl-panel-links { margin-top: .6rem; }
.hl-panel-links span[hidden] { display: none; }
.hl-panel .note { margin-top: .5rem; }
.hl-delivery { display: grid; gap: .6rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.hl-delivery-card { display: flex; flex-direction: column; gap: .35rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--g-raise-2); }
.hl-delivery-card .btn-outline { align-self: flex-start; display: inline-flex; align-items: center; margin-top: auto; color: var(--text); border-color: var(--line-strong); }
.hl-delivery-card .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.hl-delivery-card .btn-outline[hidden] { display: none; }
.hl-delivery-k { font-size: .98rem; font-weight: 800; color: var(--text) !important; }
.hl-delivery-how { margin: 0 0 .35rem; font-size: .93rem; line-height: 1.45; }
.hl-build-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-top: .7rem; }
.hl-build-head .hl-price b { color: var(--accent); font-size: clamp(2rem, 1.5rem + 1.3vw, 2.7rem); }
.hl-one-time { margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--text) !important; }
.hl-growth { margin-top: .75rem; padding-top: .6rem; border-top: 1px solid var(--line); font-size: .93rem; line-height: 1.45; }
.hl-growth a, .hl-panel .hl-foot-note a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .18em; }
.hl-tech, .hl-page-kinds { margin-top: .7rem; }
.hl-tech > summary, .hl-page-kinds > summary { width: fit-content; min-height: 2.4rem; font-size: .95rem; font-weight: 600; color: var(--accent-ink); cursor: pointer; }
.hl-tech > p { margin-top: .5rem; font-size: .92rem; line-height: 1.5; }
.hl-facts { display: grid; gap: .6rem; margin: .5rem 0 0; }
.hl-facts dt { font-size: .95rem; font-weight: 800; color: var(--text); }
.hl-facts dd { margin: .05rem 0 0; font-size: .92rem; line-height: 1.48; color: var(--text-dim); }
.hl-panel .check-list li { padding: .22rem 0 .22rem 1.5rem; }
.hl-arch { display: grid; gap: .45rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.hl-arch li { position: relative; display: grid; gap: .1rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 12px; background: var(--g-raise-2); }
.hl-arch b { font-size: .95rem; font-weight: 800; color: var(--text); }
.hl-arch span { font-size: .86rem; line-height: 1.4; color: var(--text-dim); }
.hl-coverage-copy { margin-top: .6rem; font-size: .95rem; }
.hl-tech + .hl-tech, .hl-tech + .hl-page-kinds { margin-top: .15rem; }
.hl-pages { display: grid; gap: .55rem; margin: 0; }
.hl-page-kinds .hl-pages { margin-top: .6rem; }
.hl-pages dt { font-weight: 700; }
.hl-pages dd { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--text-dim); }
.hl-pages b { color: var(--text); font-weight: 600; }
.hl-panel .hl-options--result { margin: .5rem 0 .6rem; }
.hl-foot-note { font-size: .9rem; line-height: 1.42; color: var(--text-dim); }
.hl-panel .hl-foot-note { margin-top: .35rem; }
.hl-foot-method { font-size: .88rem; line-height: 1.35; color: var(--text-dim); }
.hl-foot-method a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .18em; }
@media (min-width: 60em) {
  .hl-pages, .hl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.5rem; }
  .hl-rail { display: block; }
  /* long lists of fixes sit side by side, so the offer does not push all findings far down the page */
  .hl-panel .check-list { columns: 2; column-gap: 1.5rem; }
  .hl-panel .check-list li { break-inside: avoid; }
  /* Sentences, not a list of short items. */
  .hl-panel .check-list--assess { columns: 1; }
  .hl-delivery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-arch { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
  .hl-arch li:not(:last-child)::after { content: ""; position: absolute; top: 1.05rem; right: -.75rem; width: .5rem; height: .5rem; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); }
}

/* how it works: four cards, and prices that can carry a word */
.path-step .path-price small { font-size: .95rem; font-weight: 600; color: var(--text-dim); }
.path-step .path-call + .path-call { margin-top: .4rem; }
@media (min-width: 48em) { #how-it-works .path { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the free map form, after the dashboard */
.hl-map-request { border-top: 1px solid var(--line); }
.hl-map-request-inner { display: grid; gap: 1.5rem; }
.hl-map-request-form .map-card { max-width: none; }
@media (min-width: 60em) { .hl-map-request-inner { grid-template-columns: minmax(0, 1fr) minmax(22rem, 27rem); gap: 3rem; align-items: start; } }

/* the real map, moved from the hero to sit under the sample email */
.hl-real-map { margin-top: 2.5rem; }
.hl-real-map-note { max-width: 46rem; margin-bottom: .85rem; color: var(--text-dim); }

/* ── all findings: one row per stage, today and the two ways forward side by side ── */
.hl-chip--sample { border-color: var(--g-amber); color: var(--g-amber); }
.hl-finding-why { display: block; margin-top: .05rem; font-size: .84rem; line-height: 1.38; color: var(--text-dim); }
.hl-method-host { margin-top: .6rem; }
.hl-method { border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); overflow: hidden; }
.hl-method p { margin: 0; }
.hl-m-head, .hl-m-foot { display: grid; gap: .6rem; padding: .8rem .9rem; }
.hl-m-head { background: var(--g-raise-2); }
.hl-m-rows { margin: 0; padding: 0; list-style: none; }
.hl-m-row { display: grid; gap: .6rem; padding: .8rem .9rem; border-top: 1px solid var(--line); }
.hl-m-foot { border-top: 1px solid var(--line); background: var(--g-raise-2); }
.hl-m-corner { font-size: .84rem; font-weight: 700; color: var(--accent-ink); }
.hl-m-title { font-size: 1.02rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--text); }
.hl-m-sub { font-size: .8rem; font-weight: 700; color: var(--accent-ink); }
.hl-m-sum { margin-top: .25rem !important; font-size: .87rem; line-height: 1.4; color: var(--text-dim); }
.hl-m-stage { position: relative; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: .55rem; }
.hl-m-num { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1.5px solid var(--accent); border-radius: 50%; background: var(--bg); color: var(--accent); font-size: .9rem; font-weight: 800; }
.hl-m-name { margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.25; }
.hl-m-purpose { margin-top: .15rem !important; font-size: .85rem; line-height: 1.4; color: var(--text-dim); }
.hl-m-cell-k { margin-bottom: .25rem !important; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--text-dim); }
.hl-m-list { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; font-size: .87rem; line-height: 1.36; }
.hl-m-item { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: .3rem; overflow-wrap: anywhere; }
.hl-m-item .hl-glyph { margin: .12em 0 0; }
.hl-m-item--notchecked, .hl-m-item--unknown, .hl-m-item--notincluded, .hl-m-item--optional { color: var(--text-dim); }
.hl-m-why { display: block; margin-top: .03rem; font-size: .8rem; line-height: 1.32; color: var(--text-dim); }
.hl-m-link { display: inline-block; margin-top: .15rem; color: var(--accent-ink); font-size: .87rem; text-decoration: underline; text-underline-offset: .18em; }
.hl-m-text > .hl-m-link { display: block; }
.hl-m-price { font-size: .9rem; font-weight: 700; line-height: 1.35; color: var(--text); }
.hl-m-price--note { font-weight: 400; color: var(--text-dim); }
.hl-method-note { display: grid; gap: .3rem; margin-top: .65rem; padding: .55rem .85rem; border-left: 3px solid var(--line-strong); font-size: .88rem; line-height: 1.42; color: var(--text-dim); }
.hl-method-note p + p { margin-top: 0; }
.hl-method-note strong { color: var(--text); }
.hl-m-fork { display: none; font-size: .84rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.hl-pages-line { margin: .6rem 0 0; font-size: .9rem; line-height: 1.45; color: var(--text-dim); }
.hl-pages-line:empty { display: none; }
.hl-all-findings { margin-top: .85rem; }
.hl-all-findings > summary { width: fit-content; min-height: 2.75rem; padding: .55rem .95rem; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-raise); font-weight: 800; color: var(--text); cursor: pointer; }
.hl-all-findings > summary:hover { border-color: var(--accent); }
.hl-all-findings > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hl-all-findings .hl-scores { margin-top: .75rem; }
@media (min-width: 60em) {
  .hl-m-head, .hl-m-row, .hl-m-foot { grid-template-columns: minmax(10.5rem, .8fr) repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
  .hl-m-head { row-gap: .35rem; }
  .hl-m-fork { display: block; grid-column: 3 / 5; padding-bottom: .3rem; border-bottom: 1px solid var(--line-strong); text-align: center; }
  .hl-m-row { align-items: stretch; }
  .hl-m-cell-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* the stages run in order: a line joins each number to the next */
  .hl-m-row:not(:last-child) .hl-m-stage::after { content: ""; position: absolute; left: .9rem; top: 1.8rem; bottom: -.85rem; width: 1px; background: rgba(168,255,62,.45); }
  /* today, then a clear gap before the two alternatives */
  .hl-m-cell[data-col="repair"], .hl-m-h[data-col="repair"], .hl-m-price[data-col="repair"] { padding-left: .85rem; border-left: 1px solid var(--line-strong); }
  .hl-m-cell[data-col="build"], .hl-m-h[data-col="build"], .hl-m-price[data-col="build"] { padding-left: .85rem; border-left: 1px dashed var(--line-strong); }
}
@media (max-width: 59.99em) {
  .hl-m-corner { display: none; }
  .hl-m-foot .hl-m-corner { display: block; }
  .is-switched .hl-all-findings .hl-m-cell-k { display: none; }
}
@media (min-width: 60em) {
  .hl-views { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: .75rem; }
  .hl-lanes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  /* a strength is quiet, and small on a desktop too; a thumb still gets a full-size box on a phone */
  .hl-tree-row .hl-node--plain { min-height: 2rem; padding-block: .15rem; }
  .hl-tree .hl-tree .hl-tree-row .hl-node { min-height: 1.95rem; padding-block: .12rem; }
  .hl-tree .hl-tree .hl-node-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hl-tree .hl-tree > li::before { top: .95rem; }
  .hl-lane + .hl-lane { border-left: 1px solid var(--line); }
  /* the stages run in order: an arrow leads from each one into the next */
  .hl-lanes:not(.hl-lanes--hq) .hl-lane:not(:last-child) .hl-lane-head::after { content: ""; position: absolute; top: 1.1rem; right: -.34rem; z-index: 1; width: .55rem; height: .55rem; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); }
  .hl-detail-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .hl-detail-cols .hl-m-cell[data-col="repair"] { padding-left: .85rem; border-left: 1px solid var(--line-strong); }
  .hl-detail-cols .hl-m-cell[data-col="build"] { padding-left: .85rem; border-left: 1px dashed var(--line-strong); }
  /* the new website's branches: wider where the hubs are, each joined to the root */
  .hl-lanes--hq { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, .95fr); }
  /* the two narrowest branches put the badge under the hub, so a long name is not squeezed */
  .hl-lanes--hq .hl-lane[data-stage="audit"] .hl-tree-row, .hl-lanes--hq .hl-lane[data-stage="entity"] .hl-tree-row { flex-direction: column; }
  .hl-lanes--hq .hl-lane[data-stage="audit"] > .hl-lane-body > .hl-tree > li > .hl-tree-row > .hl-badge, .hl-lanes--hq .hl-lane[data-stage="entity"] > .hl-lane-body > .hl-tree > li > .hl-tree-row > .hl-badge { flex: 0 0 auto; align-self: stretch; min-height: 2rem; }
  .hl-lanes--hq .hl-lane + .hl-lane { border-left: 1px solid var(--line); }
  .hl-lanes--hq .hl-lane.is-picked + .hl-lane { border-left-color: var(--line); }
  .hl-d-root--hq::after { content: ""; position: absolute; left: 50%; bottom: calc(-.65rem - 1.5px); width: 1.5px; height: .65rem; background: var(--accent); }
  .hl-lanes--hq .hl-lane::before { content: ""; position: absolute; top: -.65rem; left: 50%; width: 1.5px; height: .65rem; background: var(--accent); }
  .hl-lanes--hq .hl-lane::after { content: ""; position: absolute; top: -.65rem; left: -.35rem; right: -.35rem; height: 1.5px; background: var(--accent); }
  .hl-lanes--hq .hl-lane:first-child::after { left: 50%; }
  .hl-lanes--hq .hl-lane:last-child::after { right: 50%; }
  .hl-lanes--hq .hl-lane:last-child::before { background: none; border-left: 1.5px dashed var(--accent); }
  .hl-base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phones and tablets: the five stages stack in order with their names, and the picked one opens under its own header. */
@media (max-width: 59.99em) {
  .hl-lanes:not(.hl-lanes--static):not(.hl-lanes--hq) .hl-lane + .hl-lane { border-top: 1px solid var(--line); }
  .hl-lanes:not(.hl-lanes--static) .hl-lane-body { display: none; }
  .hl-lanes:not(.hl-lanes--static) .hl-lane.is-picked .hl-lane-body { display: block; }
  .hl-lane-head { min-height: 3rem; }
  /* the new website's branches hang off one line down the left */
  .hl-d-root--hq { margin-bottom: .55rem; }
  .hl-lanes--hq { padding-left: .85rem; gap: .5rem; }
  .hl-lanes--hq::before { content: ""; position: absolute; top: -.55rem; bottom: 1.6rem; left: .1rem; width: 1.5px; background: var(--accent); }
  .hl-lanes--hq .hl-lane::before { content: ""; position: absolute; top: 1.45rem; left: -.78rem; width: .72rem; height: 1.5px; background: var(--accent); }
  .hl-lab.is-switched[data-view="before"] [data-col]:not([data-col="before"]),
  .hl-lab.is-switched[data-view="repair"] [data-col]:not([data-col="repair"]),
  .hl-lab.is-switched[data-view="build"] [data-col]:not([data-col="build"]) { display: none; }
}

/* ── Who builds it: the founder on the first screen, and the section that introduces him ── */
.hl-narrow-only { display: none; }
.home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(168,255,62,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(168,255,62,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 75% at 80% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(60% 75% at 80% 0%, #000 0%, transparent 70%); }
.home-hero > .wrap { position: relative; }
.hh-founder { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.hh-founder-photo { flex: 0 0 auto; width: 4.25rem; height: 4.25rem; border-radius: 50%; object-fit: cover; background: var(--bg-raise); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent), 0 0 24px rgba(168,255,62,.32); }
.hh-founder-text { min-width: 0; }
.hh-founder-text p + p { margin-top: .05rem; }
.hh-founder-name { font-size: 1.02rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--text); }
.hh-founder-name a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(168,255,62,.5); text-underline-offset: .2em; }
.hh-founder-name a:hover { color: var(--accent); }
.hh-founder-role { font-size: .9rem; line-height: 1.35; color: var(--text-dim); }
.home-hero .hh-founder + .hl-check { margin-top: 1rem; }
/* The first screen ends with the hero (Tyler, 2026-11-22: "can you push that down or add something else right there that isn't too
   distracting"). On wide screens the hero fills the window under the 4rem header, so the dashboard section starts at the fold, and
   one quiet link at the hero's foot points down to it. Taller content just grows the hero, and the link always follows it. */
.hh-more { display: none; }
@media (min-width: 60em) {
  .home-hero { display: flex; flex-direction: column; min-height: min(calc(100vh - 4rem), 64rem); }
  /* with room to spare, a third of it goes above the content and the rest above the link (three auto margins share it) */
  .home-hero > .wrap { width: 100%; margin-block: auto; }
  .hh-more { display: flex; flex-direction: column; align-items: center; gap: .05rem; align-self: center; margin-top: auto; padding-top: 1.25rem;
    font-size: .82rem; font-weight: 600; color: var(--text-dim); text-decoration: none; }
  .hh-more span { font-size: 1.05rem; line-height: 1; color: var(--accent-ink); }
  .hh-more:hover, .hh-more:focus-visible { color: var(--text); }
  /* after a check the result card has its own dashboard button */
  .home-hero:has(.hh-graphic.is-personal) .hh-more { display: none; }
}
@media (max-width: 59.99em) {
  .hl-narrow-only { display: inline; }
  .home-hero { padding-top: .5rem; }
  .home-hero-grid { row-gap: .5rem; }
  .home-hero .hh-founder { order: 3; margin-top: 0; gap: .65rem; }
  .hh-founder-photo { width: 40px; height: 40px; }
  .hh-founder-name { font-size: .95rem; }
  .hh-founder-role { font-size: .84rem; }
}
@media (min-width: 60em) and (max-height: 42em) {
  .hh-founder { margin-top: .6rem; }
  .hh-founder-photo { width: 3.5rem; height: 3.5rem; }
  .home-hero .hh-founder + .hl-check { margin-top: .6rem; }
}

.founder-block { border-top: 1px solid var(--line); background: radial-gradient(48rem 24rem at 12% 0%, rgba(168,255,62,.06), transparent 65%); }
.founder-grid { display: grid; gap: 2rem; align-items: start; }
.founder-media { display: grid; justify-items: center; gap: 1.1rem; }
.founder-portrait { width: min(280px, 72vw); height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px rgba(168,255,62,.35), 0 0 60px rgba(168,255,62,.18); }
.founder-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; max-width: 30rem; margin: 0; padding: 0; list-style: none; }
.founder-badges li { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-raise); font-size: .8rem; line-height: 1.3; color: var(--text-dim); text-align: center; }
.founder-copy h2 { margin-top: .35rem; }
.founder-copy .lead { margin-top: .75rem; }
.founder-copy .lead a, .founder-links a { color: var(--accent-ink); }
.founder-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.founder-stats li { display: grid; align-content: start; gap: .25rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raise); }
.founder-stats b { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.founder-stats span { font-size: .9rem; line-height: 1.4; color: var(--text-dim); }
.founder-copy h3 { margin-top: 1.6rem; font-size: 1.1rem; }
.founder-ways { display: grid; gap: .5rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.founder-ways li { position: relative; padding-left: 1.4rem; line-height: 1.5; color: var(--text-dim); }
.founder-ways li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--accent); }
.founder-ways b { color: var(--text); }
.founder-quote { margin: 1.4rem 0 0; padding: .9rem 1.1rem; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--bg-raise); }
.founder-quote p { font-size: 1rem; line-height: 1.55; color: var(--text); }
.founder-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.founder-links { margin-top: .9rem; font-size: .92rem; line-height: 1.6; color: var(--text-dim); }
@media (max-width: 34em) { .founder-stats { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 60em) {
  .founder-grid { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 3rem; }
  .founder-media { position: sticky; top: 6rem; }
}
/* the real emailed map: every box links to how that signal is scored */
#map-sample .hh-map { display: flex; margin: 0; flex-direction: column; border: 1px solid color-mix(in srgb, var(--line) 55%, var(--line-strong)); border-radius: 16px; background: var(--bg-raise); overflow: hidden; }
#map-sample .hh-mail-head { display: flex; align-items: center; gap: .7rem; padding: .55rem .9rem; border-bottom: 1px solid var(--line); }
#map-sample .hh-mail-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 1px solid rgba(0,230,92,.35); border-radius: 50%; background: #000; color: #00E65C; font-size: .8rem; font-weight: 800; }
#map-sample .hh-mail-avatar svg { display: block; width: 64%; height: 64%; }
#map-sample .hh-mail-lines { flex: 1; min-width: 0; }
#map-sample .hh-mail-from { font-size: .78rem; line-height: 1.3; color: var(--text-dim); }
#map-sample .hh-mail-from b { color: var(--text); font-weight: 700; }
#map-sample .hh-mail-subject { margin-top: .12rem; font-size: .82rem; font-weight: 600; line-height: 1.3; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#map-sample .hh-mail-score { flex: 0 0 auto; text-align: right; }
#map-sample .hh-mail-num { font-size: 1.2rem; font-weight: 800; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
#map-sample .hh-mail-num span { font-size: .72rem; font-weight: 600; color: var(--text-dim); }
#map-sample .hh-tier { display: inline-block; margin-top: .3rem; padding: .1rem .5rem; border: 1px solid rgba(251,191,36,.35); border-radius: var(--radius-pill); color: #E2C26B; font-size: .7rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
#map-sample .hh-graph-wrap { position: relative; flex: 1; display: grid; place-items: center; padding: .55rem .6rem; background: linear-gradient(rgba(168,255,62,.03) 1px, transparent 1px) 0 0 / 1.4rem 1.4rem, linear-gradient(90deg, rgba(168,255,62,.03) 1px, transparent 1px) 0 0 / 1.4rem 1.4rem, var(--bg); }
#map-sample .hh-graph { position: relative; font-size: .72rem; width: min(100%, 45.8em); height: 11.8em; }
#map-sample .hh-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
#map-sample .hh-lines line { stroke: rgba(168,255,62,.34); stroke-width: 1; vector-effect: non-scaling-stroke; }
#map-sample .hh-lines .hh-line--gemini { stroke: rgba(178,189,179,.4); }
#map-sample .hh-lines .hh-line--gap { stroke: rgba(248,113,113,.45); stroke-dasharray: 3 3; }
#map-sample .hh-lines .hh-line--strong { stroke: rgba(168,255,62,.7); }
#map-sample .hh-node { position: absolute; z-index: 2; transform: translate(-50%, -50%); padding: .28em .76em; border: 1px solid rgba(168,255,62,.34); border-radius: .55em; background: var(--bg-raise); color: var(--text); font-size: 1em; font-weight: 600; line-height: 1.2; white-space: nowrap; }
#map-sample .hh-node--l { transform: translate(-100%, -50%); }
#map-sample .hh-node--r { transform: translate(0, -50%); }
#map-sample .hh-node--gemini { border-color: rgba(178,189,179,.45); }
#map-sample .hh-node--gap { border: 1px dashed rgba(248,113,113,.55); background: #1E1414; color: #EDB3B3; }
#map-sample .hh-node--strong { border: 1px solid var(--accent); background: #1B2A12; color: #D9FFB0; }
#map-sample .hh-node--main { display: grid; place-items: center; width: 6.1em; height: 6.1em; padding: .42em; border: 1.5px solid var(--accent); border-radius: 50%; background: radial-gradient(circle, #1B2A12, var(--bg-raise) 72%); box-shadow: 0 0 0 .55em rgba(168,255,62,.05), 0 0 1.5em rgba(168,255,62,.14); font-size: .97em; font-weight: 700; line-height: 1.15; text-align: center; white-space: normal; }
#map-sample .hh-nowrap { white-space: nowrap; }
#map-sample .hh-legend { position: absolute; top: .5rem; left: .65rem; z-index: 3; display: grid; gap: .22rem; margin: 0; padding: 0; list-style: none; font-size: .66rem; line-height: 1.2; color: var(--text-dim); }
#map-sample .hh-legend li { display: flex; align-items: center; gap: .35rem; }
#map-sample .hh-legend li::before { content: ""; flex: 0 0 auto; width: .75rem; height: .45rem; border: 1px solid rgba(168,255,62,.6); border-radius: .15rem; background: var(--bg-raise); }
#map-sample .hh-legend li.hh-legend--gap::before { border: 1px dashed rgba(248,113,113,.7); background: #1E1414; }
#map-sample .hh-legend li.hh-legend--gem::before { border-color: rgba(178,189,179,.6); }
#map-sample .hh-legend li.hh-legend--strong::before { border-color: var(--accent); background: #1B2A12; }
#map-sample a.hh-node { text-decoration: none; }
#map-sample a.hh-node:hover, #map-sample a.hh-node:focus-visible { border-color: var(--accent); background: #18261a; outline: none; }
#map-sample a.hh-node--gap:hover, #map-sample a.hh-node--gap:focus-visible { border-color: rgba(248,113,113,.95); background: #2a1818; }
#map-sample a.hh-node:focus-visible { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
#map-sample .hh-mail-num a { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(178,189,179,.5); }
#map-sample .hh-mail-num a:hover, #map-sample .hh-mail-num a:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
#map-sample .hh-tier-p { margin: 0; }
#map-sample a.hh-tier { text-decoration: none; }
#map-sample a.hh-tier:hover, #map-sample a.hh-tier:focus-visible { border-color: rgba(251,191,36,.8); color: #F1D58A; }
#map-sample .hh-tier--strong { border-color: rgba(168,255,62,.4); color: var(--accent); }
#map-sample a.hh-tier--strong:hover, #map-sample a.hh-tier--strong:focus-visible { border-color: var(--accent); color: var(--accent); }
#map-sample .hh-tier--danger { border-color: rgba(248,113,113,.45); color: var(--danger); }
#map-sample a.hh-tier--danger:hover, #map-sample a.hh-tier--danger:focus-visible { border-color: var(--danger); color: var(--danger); }
#map-sample .hh-map--wrap .hh-lines { display: none; }
#map-sample .hh-map--wrap .hh-graph-wrap { display: flex; flex-direction: column; }
#map-sample .hh-map--wrap .hh-legend { position: static; display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-bottom: .55rem; }
#map-sample .hh-map--wrap .hh-graph { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; width: auto; height: auto; }
#map-sample .hh-map--wrap .hh-node { position: static; transform: none; }
#map-sample .hh-map--wrap .hh-node--main { width: auto; height: auto; padding: .28em .9em; border-radius: var(--radius-pill); }
#map-sample .hh-map--wrap .hh-node--main br { display: none; }
#map-sample .hh-map--wrap .hh-hint { position: static; order: 2; align-self: flex-end; margin-top: .45rem; }
#map-sample .hh-hint { position: absolute; right: .65rem; bottom: .45rem; z-index: 3; margin: 0; font-size: .66rem; line-height: 1.2; color: var(--accent-ink); }
#map-sample .hh-map-cap { padding: .45rem .9rem; border-top: 1px solid var(--line); font-size: .76rem; line-height: 1.45; color: color-mix(in srgb, var(--text-dim) 80%, var(--text)); text-wrap: balance; }
@media (max-width: 63.99em) {
  #map-sample .hh-map .hh-lines { display: none; }
  #map-sample .hh-map .hh-graph-wrap { display: flex; flex-direction: column; }
  #map-sample .hh-map .hh-legend { position: static; display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-bottom: .55rem; }
  #map-sample .hh-map .hh-graph { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; width: auto; height: auto; font-size: .8rem; }
  #map-sample .hh-map .hh-node { position: static; transform: none; }
  #map-sample .hh-map .hh-node--main { width: auto; height: auto; padding: .28em .9em; border-radius: var(--radius-pill); }
  #map-sample .hh-map .hh-node--main br { display: none; }
  #map-sample .hh-map .hh-hint { position: static; margin-top: .5rem; text-align: center; }
}
@media (min-width: 64em) and (max-width: 74.99em) { #map-sample .hh-mail-subject { white-space: normal; text-wrap: balance; } }
@media (max-width: 26em) {
  #map-sample .hh-mail-avatar { display: none; }   /* room for the sender line next to the score */
  #map-sample .hh-mail-lines { flex: 1 1 auto; min-width: 0; }
}

/* ── free map form card (shared partial: homepage hero and /ai-visibility/) ── */
.map-card { max-width: 32rem; gap: .85rem; padding: 1.25rem; border: 1px solid rgba(168,255,62,.35); border-radius: 20px; background: linear-gradient(180deg, #131C16, #0C120E); box-shadow: 0 0 0 1px rgba(168,255,62,.08), 0 24px 60px rgba(0,0,0,.5); }
.hh-form .map-card { max-width: 38rem; }
.map-card-title { font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
.map-card-sub { margin-top: .35rem; font-size: .95rem; line-height: 1.45; color: var(--text-dim); }
.map-card label { font-size: .95rem; }
.map-card input[type="text"], .map-card input[type="email"] { height: 3.25rem; padding: 0 .95rem; font-size: 1rem; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; }
.map-card input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); box-shadow: 0 0 18px rgba(168,255,62,.3); }
/* next-step glow (Tyler, 2026-10-12): the field to fill next carries a soft neon ring, the website first, then the
   email, then the button once both are valid. box-shadow only, so nothing moves. It pulses only for visitors who
   have not asked to reduce motion; for everyone else the ring is steady. The :has() rules sit in their own blocks,
   so a browser without :has() still gets the first ring. Once a visitor has left a field invalid, its red
   error border (input:user-invalid) shows instead of the glow. */
.free-map-form input[name="website"]:invalid:not(:focus):not(:user-invalid),
#shopify-fit-review input[name="name"]:invalid:not(:focus):not(:user-invalid) { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(168,255,62,.5), 0 0 16px rgba(168,255,62,.25); }
.free-map-form:has(input[name="website"]:valid) input[name="email"]:invalid:not(:focus):not(:user-invalid),
#shopify-fit-review:has(input[name="name"]:valid) input[name="email"]:invalid:not(:focus):not(:user-invalid) { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(168,255,62,.5), 0 0 16px rgba(168,255,62,.25); }
.free-map-form:not(:has(input:invalid)) button[type="submit"],
#shopify-fit-review:not(:has(input:invalid)) button[type="submit"] { box-shadow: 0 0 0 2px rgba(168,255,62,.45), 0 0 24px rgba(168,255,62,.4); }
@media (prefers-reduced-motion: no-preference) {
  .free-map-form input[name="website"]:invalid:not(:focus):not(:user-invalid),
  #shopify-fit-review input[name="name"]:invalid:not(:focus):not(:user-invalid) { animation: next-step 2.4s ease-in-out infinite; }
  .free-map-form:has(input[name="website"]:valid) input[name="email"]:invalid:not(:focus):not(:user-invalid),
  #shopify-fit-review:has(input[name="name"]:valid) input[name="email"]:invalid:not(:focus):not(:user-invalid) { animation: next-step 2.4s ease-in-out infinite; }
  .free-map-form:not(:has(input:invalid)) button[type="submit"],
  #shopify-fit-review:not(:has(input:invalid)) button[type="submit"] { animation: next-step-btn 2.4s ease-in-out infinite; }
  @keyframes next-step { 0%, 100% { box-shadow: 0 0 0 2px rgba(168,255,62,.45), 0 0 12px rgba(168,255,62,.18); } 50% { box-shadow: 0 0 0 2px rgba(168,255,62,.9), 0 0 24px rgba(168,255,62,.4); } }
  @keyframes next-step-btn { 0%, 100% { box-shadow: 0 0 0 2px rgba(168,255,62,.35), 0 0 18px rgba(168,255,62,.28); } 50% { box-shadow: 0 0 0 2px rgba(168,255,62,.7), 0 0 30px rgba(168,255,62,.5); } }
}
.map-card .free-map-hint { margin-top: -.45rem; font-size: .875rem; color: var(--text-dim); }
.map-card button { width: 100%; min-height: 3.5rem; margin-top: .2rem; padding: .85rem 1rem; font-size: 1.05rem; font-weight: 800; }
.map-card .map-card-micro { margin-top: 0; font-size: .875rem; line-height: 1.5; color: var(--text-dim); text-align: center; }
.map-card .map-card-alt { margin-top: .1rem; padding-top: .85rem; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.5; color: var(--text-dim); }
.map-card-alt a { font-weight: 600; }
/* dated launch offer panel (/build/): restrained, one accent edge */
.offer-panel { margin-top: 1.5rem; max-width: 46rem; padding: 1rem 1.15rem; border: 1px solid rgba(168,255,62,.45); border-radius: 12px; background: rgba(168,255,62,.05); }
.offer-panel p { margin: 0; }
.offer-panel p + p { margin-top: .45rem; }
.offer-panel .offer-panel-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.offer-panel .offer-panel-note { font-size: .9rem; color: var(--text-dim); }
/* dated run tables on the results pages */
.run-table { min-width: 34rem; font-size: .93rem; }
.run-table th, .run-table td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.run-table th { color: var(--text-dim); font-weight: 600; font-size: .85rem; }
.run-table td:nth-child(2), .run-table td:nth-child(3) { white-space: nowrap; }
@media (max-width: 40em) {
  .run-table { min-width: 0; }
  .run-table thead { display: none; }
  .run-table tr { display: grid; grid-template-columns: auto auto 1fr; gap: .2rem 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
  .run-table td { padding: 0; border: 0; }
  .run-table td:nth-child(1) { font-weight: 600; color: var(--text); }
  .run-table td:nth-child(2)::before { content: "Score "; color: var(--text-dim); }
  .run-table td:nth-child(3)::before { content: "Named "; color: var(--text-dim); }
  .run-table td:nth-child(4) { grid-column: 1 / -1; }
}
#map-timeline, #october, #area-not-found { scroll-margin-top: 5rem; }
/* "request received" pages (/map-requested/, /fit-review-requested/) */
.mr-guess { margin-top: 1.5rem; max-width: 30rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); }
.mr-guess label { display: block; font-weight: 600; }
.mr-guess output { color: var(--accent); font-weight: 800; font-size: 1.15rem; }
.mr-guess input[type="range"] { margin-top: .6rem; padding: 0; border: 0; background: transparent; accent-color: var(--accent); }
.mr-guess .note { margin-top: .5rem; }
.mr-steps { list-style: none; counter-reset: mr; display: grid; gap: .6rem; max-width: 46rem; margin: 1.25rem 0 0; padding: 0; }
.mr-steps li { counter-increment: mr; position: relative; padding: .8rem 1rem .8rem 3.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); }
.mr-steps li::before { content: counter(mr); position: absolute; left: 1rem; top: .85rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--accent-ink); border-radius: 50%; color: var(--accent-ink); font-size: .8rem; font-weight: 800; }
.mr-steps strong { display: block; color: var(--text); }
.mr-steps span { display: block; margin-top: .15rem; font-size: .92rem; color: var(--text-dim); }
.mr-bars { display: flex; align-items: flex-end; gap: .4rem; max-width: 40rem; height: 9rem; margin-top: 1.25rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.mr-bar { position: relative; flex: 1; min-width: .6rem; border-radius: 6px 6px 0 0; background: var(--line-strong); }
.mr-bar.is-named { background: var(--accent); }
.mr-bar[data-label]::after { content: attr(data-label); position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: .35rem; font-size: .72rem; color: var(--text-dim); white-space: nowrap; }
.mr-bars-key { margin-top: .6rem; font-size: .85rem; color: var(--text-dim); }
.mr-key { display: inline-block; width: .8rem; height: .8rem; margin: 0 .35rem 0 .9rem; border-radius: 3px; vertical-align: -1px; }
.mr-key:first-child { margin-left: 0; }
.mr-key--off { background: var(--line-strong); }
.mr-key--on { background: var(--accent); }
.mr-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; margin: 1.25rem 0 .75rem; }
.mr-rubric { max-width: 46rem; margin-top: 1.5rem; }
.mr-rubric summary { font-weight: 600; cursor: pointer; }
.mr-rubric ul { margin-top: .75rem; }
/* /map-requested/ live status and the map itself (site.js) */
/* The top: the request and its live status beside the how-to-read video, which plays straight away (Tyler, 2026-10-23) */
.mr-hero { padding-top: 2.5rem; }
.mr-hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.25rem; align-items: start; }
.mr-watch .note { margin-top: .25rem; }
.mr-watch .mr-video { margin-top: .6rem; }
.mr-sound { margin-left: .4rem; padding: .15rem .6rem; border: 1px solid var(--accent-ink); border-radius: var(--radius-pill); background: transparent; color: var(--accent-ink); font: inherit; font-weight: 600; cursor: pointer; }
.mr-sound:hover { background: rgba(168, 255, 62, .08); }
.mr-video-later .mr-watch { max-width: 48rem; }
.mr-progress { padding-top: 0; }
.mr-progress .mr-side-card { margin-top: 0; }
.mr-build { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.mr-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.mr-live { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.5rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.mr-live-dot { flex: none; width: .75rem; height: .75rem; border-radius: 50%; background: var(--line-strong); }
.mr-live.is-live .mr-live-dot { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .mr-live.is-live:not(.is-done) .mr-live-dot { animation: mr-pulse 1.4s ease-in-out infinite; } }
.mr-live-text { flex: 1 1 14rem; min-width: 0; }
.mr-live.is-live { border-color: var(--accent-ink); }
.mr-live.is-done { border-color: var(--accent); }
.mr-track { list-style: none; counter-reset: tr; display: grid; gap: .5rem; margin: .85rem 0 0; padding: 0; }
.mr-track li { counter-increment: tr; position: relative; padding: .55rem .8rem .55rem 2.7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-dim); font-size: .95rem; }
.mr-track li::before { content: counter(tr); position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 1px solid var(--line-strong); border-radius: 50%; font-size: .75rem; font-weight: 700; color: var(--text-dim); }
.mr-track li.is-now { color: var(--text); border-color: var(--accent-ink); }
.mr-track li.is-now::before { border-color: var(--accent); color: var(--accent); }
.mr-track li.is-done { color: var(--text); }
.mr-track li.is-done::before { content: "\2713"; border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
@media (prefers-reduced-motion: no-preference) { .mr-track li.is-now::before { animation: mr-pulse 1.4s ease-in-out infinite; } }
@keyframes mr-pulse { 50% { box-shadow: 0 0 0 .3rem rgba(168, 255, 62, .18); } }
.mr-live-cta { margin: 0; }
.mr-side-card { margin-top: 1.5rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.mr-side-card .mr-guess { margin: 0; padding: 0; border: 0; background: none; max-width: none; }
.mr-gets { margin-top: 1rem; font-size: .95rem; }
.mr-video { display: block; width: 100%; height: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #000; }
.mr-transcript { margin-top: 1rem; }
.mr-transcript summary { font-weight: 600; cursor: pointer; }
.mr-transcript ol { margin-top: .75rem; display: grid; gap: .6rem; color: var(--text-dim); }
.mr-dash { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; margin-top: 1.25rem; }
.mr-graph { border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--bg); background-image: linear-gradient(rgba(168, 255, 62, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 255, 62, .035) 1px, transparent 1px); background-size: 2rem 2rem; }
.mr-graph svg { display: block; width: 100%; height: auto; }
/* Category strength (Tyler, 2026-10-23: "medium needs to be yellow and good needs to be green"): green strong, yellow medium,
   red emerging, dashed red missing. The video uses the same. */
.is-strong { --sc: var(--accent-ink); }
.is-medium { --sc: var(--warn); }
.is-emerging, .is-missing { --sc: var(--danger); }
.mr-spoke { stroke: var(--sc); stroke-width: 2; stroke-opacity: .55; }
.mr-node rect { fill: var(--bg-raise); stroke: var(--sc); stroke-width: 2.5; }
.mr-node:hover rect { fill: #182219; }
.mr-node .k { fill: var(--text); font-weight: 650; }
.mr-node .v { fill: var(--sc); font-weight: 700; }
.mr-spoke.is-missing, .mr-node.is-missing rect { stroke-dasharray: 8 7; }
.mr-hub-ring { fill: none; stroke: var(--accent); stroke-opacity: .18; stroke-width: 2; }
.mr-hub { fill: var(--bg-raise); stroke: var(--accent); stroke-width: 3.5; }
.mr-hub-name { fill: var(--text); font-weight: 700; }
.mr-hub-score { fill: var(--accent); font-weight: 800; }
.mr-dash-side .mr-score { margin-top: 0; }
.mr-guessed { margin-top: .5rem; }
.mr-legend-k { margin-top: 1.25rem; }
.mr-legend { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .75rem; padding: 0; list-style: none; font-size: .85rem; color: var(--text-dim); }
.mr-legend li { display: flex; align-items: center; gap: .45rem; }
.mr-legend--one { grid-template-columns: 1fr; }
.mr-legend--one li { align-items: flex-start; }
.mr-legend--one .mr-dot { margin-top: .3em; }
.mr-dot { flex: none; width: .8rem; height: .8rem; border-radius: 50%; box-sizing: border-box; background: var(--sc); }
.mr-dot.is-missing { background: transparent; border: 2px dashed var(--sc); }
.mr-dash-side .mr-signals { margin-top: .4rem; }
@media (max-width: 56rem) { .mr-top, .mr-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 64rem) { .mr-dash { grid-template-columns: 1fr; } }
@media (min-width: 64.01rem) { .mr-graph { position: sticky; top: 5.5rem; } }   /* the map stays in view beside the signal read */
@media (max-width: 40rem) { .mr-graph { display: none; } }
@media (max-width: 25rem) { .mr-legend { grid-template-columns: 1fr; } }
.mr-live-k { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.mr-live-state { margin-top: .2rem; font-weight: 600; color: var(--text); }
.mr-has-map .mr-progress, .mr-has-map .mr-wait { display: none; }
.mr-has-map .mr-hero-grid { grid-template-columns: 1fr; }
.mr-result .final-cta-box { margin-top: 2.5rem; }
.mr-score { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.mr-score-k { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .5rem; }
.mr-score-num { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--text); }
.mr-score-num small { font-size: 1rem; font-weight: 600; color: var(--text-dim); }
.mr-pill { display: inline-block; white-space: nowrap; padding: .2rem .65rem; border: 1px solid currentColor; border-radius: var(--radius-pill); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.mr-headline { max-width: 46rem; margin-top: 1rem; }
.mr-sub { margin-top: 2rem; }
.tone-accent { color: var(--accent-ink); }
.tone-warn { color: var(--warn); }
.tone-danger { color: var(--danger); }
.mr-signals, .mr-answers, .mr-fixes { display: grid; gap: .8rem; max-width: 46rem; margin-top: .9rem; padding: 0; list-style: none; }
.mr-signal-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.mr-signal-score { white-space: nowrap; color: var(--text-dim); }
.mr-strength { font-size: .78rem; font-weight: 700; color: var(--sc); }
.mr-signal-bar { height: .45rem; margin-top: .35rem; border-radius: var(--radius-pill); background: var(--line); overflow: hidden; }
.mr-signal-bar span { display: block; height: 100%; background: var(--sc, var(--accent-ink)); }
.mr-signals .note { margin-top: .3rem; font-size: .82rem; }
.mr-answers li { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.mr-q { color: var(--text); }
.mr-a { margin-top: .35rem; font-size: .92rem; color: var(--text-dim); }
.mr-a.tone-accent { color: var(--accent-ink); }
.mr-fixes { counter-reset: fx; }
.mr-fixes li { counter-increment: fx; position: relative; padding: .8rem 1rem .8rem 3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.mr-fixes li::before { content: counter(fx); position: absolute; left: 1rem; top: .8rem; font-weight: 800; color: var(--accent-ink); }
.mr-fixes strong, .mr-fixes span { display: block; }
.mr-fixes span { margin-top: .2rem; font-size: .92rem; color: var(--text-dim); }
.mr-more { max-width: 46rem; margin-top: 1rem; }
.mr-more summary { font-weight: 600; cursor: pointer; }
.mr-more ul { margin-top: .6rem; }
@media (prefers-reduced-motion: no-preference) {
  .mr-steps:not(.mr-steps--static) li { animation: mr-step 12s ease-in-out infinite; }
  .mr-steps:not(.mr-steps--static) li:nth-child(2) { animation-delay: 2s; }
  .mr-steps:not(.mr-steps--static) li:nth-child(3) { animation-delay: 4s; }
  .mr-steps:not(.mr-steps--static) li:nth-child(4) { animation-delay: 6s; }
  .mr-steps:not(.mr-steps--static) li:nth-child(5) { animation-delay: 8s; }
  .mr-steps:not(.mr-steps--static) li:nth-child(6) { animation-delay: 10s; }
  @keyframes mr-step { 0%, 17%, 100% { border-color: var(--line); box-shadow: none; } 3%, 14% { border-color: rgba(168,255,62,.6); box-shadow: 0 0 18px rgba(168,255,62,.16); } }
  .mr-bar { transform-origin: bottom; animation: mr-grow .9s ease-out both; }
  @keyframes mr-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
/* "the map starts the work" (Tyler, 2026-10-11): under the button, the free map is the start and the fixes are optional */
.map-card .map-card-next { margin-top: .1rem; padding: .7rem .85rem; border: 1px solid rgba(168,255,62,.22); border-radius: 10px; background: rgba(168,255,62,.04); font-size: .875rem; line-height: 1.5; color: var(--text-dim); }
.map-card .map-card-next p { margin: 0; }
.map-card .map-card-next .map-card-next-title { margin-bottom: .2rem; font-size: .92rem; font-weight: 700; color: var(--text); text-wrap: balance; }
@media (min-width: 40em) { .map-card { padding: 1.75rem; } .map-card button { font-size: 1.1rem; } }
/* very narrow screens (or large text on a phone): drop the sub-line so the submit button stays in the first screen */
@media (max-width: 24em) { .map-card-sub { display: none; } }

/* ── the RankOps AI Visibility Rubric: shared navigation on the rubric hub and its 8 category pages ── */
.rubric-nav { margin-top: 1rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raise); }
.rubric-nav-title { font-weight: 700; }
.rubric-nav-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .45rem 1.5rem; margin: .9rem 0 0; padding-left: 1.3rem; }
.rubric-nav-list span { color: var(--text-dim); font-size: .85rem; white-space: nowrap; }
/* category pages: one sub-section per signal; the homepage map links straight to these headings */
.rubric-signals h3 { margin-top: 1.75rem; }
.rubric-signals h3 + p { margin-top: .35rem; }
.rubric-signals h3[id], #tiers { scroll-margin-top: 5rem; }
.rubric-signals h3:target { color: var(--accent-ink); }
.rubric-nav-cta { margin-top: 1.1rem; }

/* ── pricing page (2026-10-31, Tyler: "easier to follow for visitors"): a 3-step strip, the four ladder cards, a "which one is
   for me" list, then other offers. The AI HQ Build stays its own dashed card, never a ladder step (Tyler, 2026-10-23). ── */
.pricing-hero { padding-top: 2rem; padding-bottom: 1rem; }
.pricing-hero .lead { max-width: 52rem; }
.pr-section { padding-top: 1rem; }
.pr-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.pr-flow li { display: grid; grid-template-columns: auto 1fr; gap: .15rem .75rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); }
.pr-flow-n { grid-row: span 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.pr-flow-t { color: var(--text-dim); font-size: .92rem; }
.pr-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.pr-card { display: flex; flex-direction: column; padding: 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); scroll-margin-top: 5rem; }
.pr-card--free { border-color: var(--accent); background: #0F190D; }
.pr-card h3 { margin: .25rem 0 0; font-size: 1.2rem; }
.pr-h { margin: 0 0 .8rem; }
.pr-note { margin: -.3rem 0 1rem; max-width: 52rem; color: var(--text-dim); }
.pr-cards--two { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); max-width: 52rem; }
.pr-k { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.pr-price { margin: .15rem 0 .5rem; color: var(--text); font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pr-card--free .pr-price { color: var(--accent); }
.pr-for { margin: 0 0 .5rem; color: var(--text-dim); font-size: .95rem; }
.pr-card .check-list { margin: 0 0 1rem; font-size: .93rem; }
.pr-card .check-list li { padding: .25rem 0 .25rem 1.5rem; }
.pr-cta { margin: auto 0 .4rem; }
.pr-card .pr-cta .btn-primary, .pr-card .pr-cta .btn-outline { display: flex; align-items: center; justify-content: center; padding-left: .8rem; padding-right: .8rem; white-space: nowrap; text-decoration: none; }
.pr-small { margin: 0; color: var(--text-dim); font-size: .85rem; }
.pr-pick { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .5rem; }
.pr-pick a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); color: var(--text-dim); text-decoration: none; }
.pr-pick a:hover, .pr-pick a:focus-visible { border-color: var(--accent); color: var(--text); }
.pr-pick b { color: var(--accent-ink); }
.pr-other .grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.pr-other .card { display: flex; flex-direction: column; scroll-margin-top: 5rem; }
.pr-other h3 { margin: .25rem 0 .2rem; }
.pr-other .pr-price { font-size: 1.3rem; }
.pr-other p:not(.pr-k):not(.pr-price) { color: var(--text-dim); font-size: .93rem; }
.pr-other .pr-cta { margin-top: auto; padding-top: .6rem; }
.pr-own { border-style: dashed; }
.pr-list { list-style: none; margin: .2rem 0 1rem; padding: 0; font-size: .92rem; }
.pr-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.pr-list b { white-space: nowrap; }

/* ── the path: map, then fix, then grow and track; no website goes to the build ── */
.path { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.path-step { position: relative; display: flex; flex-direction: column; padding: 1.35rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
/* connector between steps: vertical on phones, horizontal from 60em (decorative) */
.path-step + .path-step::before { content: ""; position: absolute; left: 2.2rem; top: -1rem; width: 2px; height: 1rem; background: rgba(168,255,62,.45); }
.path-step--free { border-style: dashed; border-color: rgba(168,255,62,.45); }
.path-step--fix { border-color: rgba(168,255,62,.3); }
.path-kicker { display: flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.path-num { flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 1px solid rgba(168,255,62,.5); border-radius: 50%; background: var(--bg); color: var(--accent); font-size: .9rem; letter-spacing: 0; }
.path-step h3 { margin-top: .8rem; font-size: 1.25rem; }
.path-step .path-price { margin-top: .1rem; font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.path-step .path-desc { margin-top: .5rem; font-size: .95rem; color: var(--text-dim); }
.path-step .check-list { margin-top: .75rem; font-size: .92rem; }
.path-step .check-list li { padding: .25rem 0 .25rem 1.5rem; }
.path-cta { margin-top: auto; padding-top: 1.1rem; display: grid; gap: .6rem; }
.path-cta .btn-primary, .path-cta .btn-outline { width: 100%; text-align: center; }
.path-cta .note { font-size: .875rem; }
.path-cta p + p { margin-top: 0; }
.path-call { display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; font-size: 1rem; font-weight: 700; color: var(--text); border-color: rgba(168,255,62,.55); text-decoration: none; }
.path-call:hover { border-color: var(--accent); text-decoration: none; }
/* arriving from the map email (/#entity-fix): the card lights up and the call button is the green one */
#entity-fix:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 48px rgba(168,255,62,.12); }
#entity-fix:target .path-call { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.path-row { margin-top: .75rem; }
.path-row + .path-row { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.path-row-name { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; font-weight: 700; color: var(--text); }
.path-row-name b { font-variant-numeric: tabular-nums; }
.path-row .path-row-desc { margin-top: .3rem; font-size: .92rem; color: var(--text-dim); }
.path-row a, .path-side a { display: inline-block; padding: .6rem 0; font-weight: 600; }
.path-side { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--bg-raise); }
.path-side p { flex: 1 1 26rem; margin: 0; font-size: .95rem; color: var(--text-dim); }
.path-side strong { color: var(--text); }
@media (min-width: 60em) {
  .path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path-step + .path-step::before { left: -1rem; top: 2.3rem; width: 1rem; height: 2px; }
}

/* ── what lands in your inbox: the list, then a sample of the real email ── */
.inbox-grid { display: grid; gap: 2rem; margin-top: 2rem; align-items: start; }
.inbox-list-title { font-size: 1.1rem; font-weight: 800; }
.inbox-items { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .9rem; counter-reset: inbox; }
.inbox-items li { position: relative; padding-left: 2.6rem; counter-increment: inbox; font-size: .98rem; line-height: 1.5; color: var(--text-dim); }
.inbox-items li::before { content: counter(inbox); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border: 1px solid rgba(168,255,62,.4); border-radius: 50%; background: rgba(168,255,62,.1); color: var(--accent); font-size: .9rem; font-weight: 800; }
.inbox-items strong { display: block; color: var(--text); }
.inbox-list .note { margin-top: .9rem; }
.sample-email { margin: 0; padding: 1rem; border: 1px dashed rgba(178,189,179,.4); border-radius: 20px; background: linear-gradient(180deg, rgba(18,26,21,.96), rgba(9,13,11,.98)); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.sample-email-kicker { margin-bottom: .75rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sample-email-body { padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.se-brand { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.sample-email-body .se-biz { margin-top: .2rem; font-size: 1.35rem; font-weight: 800; }
.sample-email-body .se-meta { margin-top: .1rem; font-size: .82rem; color: var(--text-dim); }
.se-score { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin: 1rem 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); }
.se-label { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.sample-email-body .se-tier { display: inline-block; margin-top: .45rem; padding: .2rem .6rem; border: 1px solid var(--warn); border-radius: var(--radius-pill); color: var(--warn); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.se-num { font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.se-num span { font-size: .9rem; font-weight: 600; color: var(--text-dim); }
.se-answers { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.se-answers li { padding: .6rem 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-dim); }
.se-answers q { display: block; margin-bottom: .2rem; font-size: .9rem; color: var(--text); }
.se-miss { margin-right: .3rem; color: var(--danger); font-weight: 700; }
.se-hit { color: var(--accent-ink); font-weight: 700; }
.se-fixes { margin: .5rem 0 0; padding-left: 1.3rem; display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.se-fixes li::marker { color: var(--accent-ink); font-weight: 800; }
.sample-email-body .se-more { margin-top: .6rem; font-size: .8rem; color: var(--text-dim); }
.sample-email-body .se-offer { margin-top: 1rem; padding: .8rem 1rem; border: 1px dashed rgba(168,255,62,.45); border-radius: 12px; font-size: .88rem; color: var(--text-dim); }
.se-offer b { color: var(--text); }
.sample-email-cap { margin-top: .75rem; font-size: .8rem; line-height: 1.5; color: var(--text-dim); }
@media (min-width: 60em) { .inbox-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; } }

/* ── proof: the review and the founder beside the independent report ── */
.proof-grid { display: grid; gap: 2rem; margin-top: 2rem; align-items: start; }
.proof-side .note { margin-top: .9rem; }
.founder-strip { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.founder-strip-k { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.founder-strip .founder-strip-name { margin-top: .35rem; font-size: 1.15rem; font-weight: 800; }
.founder-strip .founder-strip-role { margin-top: .1rem; font-size: .9rem; color: var(--text-dim); }
.founder-strip .founder-strip-quote { margin-top: .75rem; font-size: .98rem; line-height: 1.55; color: var(--text); }
.founder-strip .founder-strip-links { margin-top: .4rem; font-size: .92rem; }
.founder-strip-links a { display: inline-block; padding: .6rem 0; }
.proof-pages { margin-top: 1.75rem; }
@media (min-width: 60em) { .proof-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; } }

/* ── final ask ── */
.final-cta-box { padding: 3rem 1.5rem; text-align: center; border: 1px solid rgba(168,255,62,.3); border-radius: 24px; background: radial-gradient(ellipse at 50% 0%, rgba(168,255,62,.08), transparent 65%), var(--bg-raise); }
.final-cta-box h2 { max-width: 34rem; margin: 0 auto 1rem; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); line-height: 1.15; text-wrap: balance; }
.final-cta-box .lead { max-width: 36rem; margin: 0 auto 1.75rem; }
.final-cta-box .note { margin-top: 1.1rem; }
.final-cta-box .check-cta, .final-cta-box .hl-check--final { max-width: 34rem; margin: 0 auto; text-align: left; }
/* Crops a screenshot's stale top chrome (old nav) inside the bordered frame without
   touching the data below it. Percentage keeps the crop proportional as the frame scales. */
.hero-art.crop-chrome { overflow: hidden; }
.hero-art.crop-chrome img { margin-top: -5.8%; }

/* pill row */
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--space-3); }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: var(--radius-pill); background: var(--bg-raise); border: 1px solid var(--line); font-size: .85rem; color: var(--text-dim); }
.pill.gold { border-color: var(--gold-dim); color: var(--gold); }
.pill.accent { border-color: rgba(168,255,62,.4); color: var(--accent-ink); }

/* full-width banner image */
.banner { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.banner img { display: block; width: 100%; height: auto; }

/* framed screenshot / figure */
.figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-raise); }
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption { padding: .8rem 1rem; color: var(--text-dim); font-size: .88rem; border-top: 1px solid var(--line); }
.figure-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.eyebrow.gold { color: var(--gold); }

/* numbered stage strip */
.stage-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stage { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; position: relative; }
.stage .n { font-size: .72rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.stage h3, .stage h4 { font-size: .98rem; margin: .2rem 0 .35rem; line-height: 1.3; }
.stage p { font-size: .82rem; color: var(--text-dim); line-height: 1.45; margin: 0; }
.state { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: var(--radius-pill); border: 1px solid var(--line); }
.stage .state { margin-top: .6rem; }
.state.ok { color: var(--accent-ink); border-color: rgba(168,255,62,.45); background: rgba(168,255,62,.08); }
.state.ready { color: var(--gold); border-color: var(--gold-dim); background: rgba(199,164,97,.08); }
.state.open { color: var(--warn); border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.1); }
.state.locked { color: var(--text-dim); border-color: var(--line); }
.state.miss { color: var(--danger); border-color: rgba(248,113,113,.45); background: rgba(248,113,113,.08); }

/* tracked-prompt mini list */
.prompt-list { display: grid; gap: .6rem; }
.prompt-item { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.prompt-item .q { font-weight: 600; }
.prompt-item .a { color: var(--text-dim); font-size: .88rem; margin-top: .3rem; max-width: 34rem; }
.prompt-item .meta { text-align: right; font-size: .78rem; color: var(--text-dim); white-space: nowrap; }
.prompt-item .meta .state { display: inline-block; margin: 0 0 .3rem; }

/* scorecards row */
.score-row { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.score-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; }
.score-card span { display: block; color: var(--text-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.score-card strong { display: block; font-size: 1.7rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin-top: .2rem; }
.score-card.good strong { color: var(--accent); }
.score-card.warn strong { color: var(--warn); }
.score-card.hold strong { color: var(--danger); }

/* fail-closed safety gates */
.gate-panel { display: grid; gap: var(--space-3); grid-template-columns: minmax(220px, .8fr) 1.2fr; align-items: start; }
.gate-lead { background: #000; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.gate-lead .eyebrow { color: var(--danger); }
.gate-list { display: grid; gap: .5rem; grid-template-columns: 1fr 1fr; }
.gate { display: flex; justify-content: space-between; gap: .5rem; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .55rem .8rem; font-size: .9rem; }
.gate b { color: var(--text-dim); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .gate-panel { grid-template-columns: 1fr; } .gate-list { grid-template-columns: 1fr; } }

/* visibility loop / process band */
.loop { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: var(--space-2); }
.loop span { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .45rem .9rem; font-size: .9rem; font-weight: 600; }
.loop .arw { color: var(--accent); font-weight: 700; }

/* claim / boundary callouts */
.callout { border-left: 3px solid var(--accent); background: var(--bg-raise); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.2rem; }
.callout.warn { border-left-color: var(--warn); }
.callout h2, .callout h3, .callout h4 { margin: 0 0 .3rem; font-size: 1rem; line-height: 1.3; }
.callout p { margin: 0; color: var(--text-dim); }

/* project cards */
.project { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project .thumb { background: #000; border-bottom: 1px solid var(--line); }
.project .thumb img { display: block; width: 100%; height: auto; }
.project .body { padding: var(--space-3); }
.project .tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); font-weight: 700; }
.project h3 { margin: .3rem 0 .5rem; }
.project p { color: var(--text-dim); font-size: .95rem; }

/* founder row */
.founder { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-3); align-items: center; }
.founder img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; text-align: center; } .founder img { margin: 0 auto; } }

/* founder / expert pull quote (restrained gold accent, adds a cited quotation) */
.pullquote { border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1.5rem; margin: 0; max-width: 46rem; }
.pullquote p { font-size: 1.35rem; line-height: 1.45; color: var(--text); font-weight: 500; margin: 0 0 .7rem; }
.pullquote cite { color: var(--accent-ink); font-style: normal; font-weight: 600; font-size: .95rem; }

/* two-column offer comparison (Guided vs Managed, path A/B) */
.compare-2 { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.offer { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); display: flex; flex-direction: column; }
.offer.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.offer .tier { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); font-weight: 700; }
.offer h3 { margin: .3rem 0 .2rem; }
.offer .price { font-size: 1.9rem; }
.offer .price small { font-size: .95rem; color: var(--text-dim); font-weight: 500; }
.offer .who { font-size: .85rem; color: var(--accent-ink); font-weight: 600; margin: .2rem 0 .6rem; }
.offer .cta { margin-top: auto; padding-top: var(--space-2); }

/* ===================================================================
   Entity graph card (eg-), added 2026-09-22 for the free AI Entity Map
   homepage. Namespaced so it never touches the tracker .score-pill or the
   .emap page styles on /ai-visibility/entity-mapping/. Colours come from
   the site tokens above; nothing here redeclares a site token.
   Two required modifiers keep labels honest:
   .eg-card--illustrative  dashed border + "Sample view" kicker (the one disclosure)
   .eg-card--real          solid border + "Measured" kicker + source line
   =================================================================== */
.eg-card { position: relative; margin: 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(18,26,21,.96), rgba(9,13,11,.98)); box-shadow: 0 20px 70px rgba(0,0,0,.45); overflow: hidden; }
.eg-card--illustrative { border-style: dashed; border-color: rgba(178,189,179,.35); max-width: 560px; margin-inline: auto; width: 100%; }
.eg-card--real { border-style: solid; border-color: rgba(168,255,62,.35); }
.eg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.eg-head p { margin: 0; }
.eg-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.eg-card--illustrative .eg-kicker { color: var(--gold); }
.eg-card--real .eg-kicker { color: var(--accent-ink); }
.eg-card--real .eg-kicker::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .45rem; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.eg-title { font-weight: 700; font-size: 1rem; color: var(--text); margin-top: .15rem; }
.eg-source { font-size: .78rem; color: var(--text-dim); margin-top: .25rem; line-height: 1.4; }
.eg-score { flex: 0 0 auto; padding: .4rem .7rem; border-radius: var(--radius-pill); border: 1px solid rgba(168,255,62,.4); background: rgba(168,255,62,.06); color: var(--accent-ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* the graph canvas: nodes are placed by their centre point, and the svg lines
   use the same percentages, so a line always ends inside its node */
.eg-graph { position: relative; height: 360px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: linear-gradient(rgba(168,255,62,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(168,255,62,.035) 1px, transparent 1px), var(--bg); background-size: 28px 28px; }
.eg-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.eg-lines line { stroke: rgba(168,255,62,.45); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.eg-lines .eg-line--strong { stroke: rgba(199,164,97,.6); }
.eg-lines .eg-line--weak { stroke: rgba(248,113,113,.55); stroke-dasharray: 4 4; }
.eg-node { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; text-align: center; max-width: 38%; padding: .4rem .7rem; border: 1px solid rgba(168,255,62,.3); border-radius: var(--radius-pill); background: var(--bg-raise); color: var(--text); font-size: 12px; font-weight: 700; line-height: 1.25; }
.eg-node--main { left: 50%; top: 50%; width: 116px; height: 116px; max-width: none; padding: 0; border-radius: 50%; border-color: var(--accent); background: radial-gradient(circle at 35% 25%, rgba(168,255,62,.22), var(--bg) 75%); color: var(--text); font-size: 14px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 0 55px rgba(168,255,62,.18); }
.eg-node--strong { border-color: var(--gold-dim); border-width: 2px; background: rgba(199,164,97,.1); color: #E8D3A6; }
.eg-node--weak { border-color: rgba(248,113,113,.55); border-style: dashed; background: rgba(248,113,113,.08); color: #FFC7C1; }
.eg-n1 { left: 21%; top: 24%; }
.eg-n2 { left: 79%; top: 24%; }
.eg-n3 { left: 21%; top: 76%; }
.eg-n4 { left: 79%; top: 76%; }
.eg-n5 { left: 50%; top: 9%; }
.eg-n6 { left: 50%; top: 92%; }

.eg-legend { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .75rem; color: var(--text-dim); }
.eg-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.eg-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(168,255,62,.5); background: var(--bg-raise); }
.eg-swatch--strong { border: 2px solid var(--gold); background: rgba(199,164,97,.15); }
.eg-swatch--weak { border: 1px dashed var(--danger); background: rgba(248,113,113,.12); }
.eg-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .8rem; }
.eg-metric { padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.eg-metric b { display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.eg-metric span { display: block; font-size: .72rem; color: var(--text-dim); line-height: 1.3; }
.eg-caption { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-dim); line-height: 1.5; }

/* measured variant: stat tiles plus a simple two-bar comparison */
.eg-stats { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.eg-stat { padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.eg-stat b { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.eg-stat span { display: block; margin-top: .3rem; font-size: .82rem; color: var(--text-dim); line-height: 1.45; }
.eg-bars { margin-top: .9rem; padding: .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.eg-bars-title { margin: 0 0 .6rem; font-size: .78rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.eg-bar-row { display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr auto; align-items: center; gap: .7rem; font-size: .88rem; }
.eg-bar-row + .eg-bar-row { margin-top: .5rem; }
.eg-bar-label { font-weight: 700; color: var(--text); }
.eg-bar { display: block; height: 10px; border-radius: var(--radius-pill); background: var(--bg-raise); border: 1px solid var(--line); overflow: hidden; }
.eg-bar i { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--accent); }
.eg-bar-value { font-variant-numeric: tabular-nums; color: var(--text); }
.eg-bar-row--muted .eg-bar-label, .eg-bar-row--muted .eg-bar-value { color: var(--text-dim); font-weight: 600; }
.eg-bar-row--muted .eg-bar i { background: var(--text-dim); opacity: .55; }

/* homepage offer ladder: free map, fix, build, growth */
.eg-ladder { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: var(--space-3); }
.eg-tier { display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.eg-tier--free { border-style: dashed; border-color: rgba(168,255,62,.4); }
.eg-tier--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 40px rgba(168,255,62,.08); }
.eg-tier .eg-tier-step { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.eg-tier--featured .eg-tier-step { color: var(--accent-ink); }
.eg-tier h3 { margin: .3rem 0 .1rem; font-size: 1.1rem; }
.eg-tier .eg-tier-price { font-size: 1.6rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; margin: .1rem 0 .5rem; }
.eg-tier-price small { font-size: .9rem; color: var(--text-dim); font-weight: 500; }
.eg-tier p { font-size: .92rem; color: var(--text-dim); margin: 0; }
.eg-tier p + p { margin-top: .6rem; }
.eg-tier .check-list { margin: .6rem 0 0; font-size: .9rem; }
.eg-tier .check-list li { padding: .25rem 0 .25rem 1.5rem; }
.eg-tier-cta { margin-top: auto; padding-top: 1rem; display: grid; gap: .5rem; }
.eg-tier-cta .btn-primary { text-align: center; font-size: 1rem; padding: .8rem 1rem; }
.eg-tier-cta .note { font-size: .8rem; }
.eg-tier-cta p + p { margin-top: 0; }

/* free map form: the partial wraps each input in its label */
.free-map-form label { display: block; font-weight: 600; font-size: .95rem; color: var(--text); }
.free-map-form label input { margin-top: .35rem; font-weight: 400; }
.free-map-form label[hidden] { display: none; }
.free-map-form .free-map-hint { margin-top: -.45rem; font-size: .875rem; }
/* anchor targets clear the sticky nav */
#check, #free-entity-map, #entity-fix, #independent-proof, #how-it-works, #map-sample, #faq { scroll-margin-top: 5rem; }

@media (max-width: 620px) {
  .eg-card { padding: .85rem; }
  .eg-graph { height: 300px; }
  .eg-node { font-size: 11px; padding: .35rem .6rem; }
  .eg-node--main { width: 96px; height: 96px; padding: 0; font-size: 13px; }
}
/* narrow phones: drop the top and bottom satellites and their lines so the
   remaining nodes never overlap between 320 and 480px */
@media (max-width: 480px) {
  .eg-n5, .eg-n6, .eg-lines .eg-l5, .eg-lines .eg-l6 { display: none; }
  .eg-n1, .eg-n2 { top: 22%; }
  .eg-n3, .eg-n4 { top: 78%; }
}
@media (max-width: 400px) {
  .eg-graph { height: 280px; }
  .eg-node--main { width: 84px; height: 84px; font-size: 12px; }
  .eg-node { max-width: 40%; }
  .eg-node--main { max-width: none; }
  .eg-foot { gap: .35rem; }
  .eg-metric { padding: .5rem; }
  .eg-bar-row { grid-template-columns: 1fr auto; }
  .eg-bar-row .eg-bar { grid-column: 1 / -1; grid-row: 2; }
}
/* motion only for visitors who have not asked the OS to reduce it */
@media (prefers-reduced-motion: no-preference) {
  .eg-node--main { animation: eg-pulse 4s ease-in-out infinite; }
  @keyframes eg-pulse { 0%, 100% { box-shadow: 0 0 40px rgba(168,255,62,.14); } 50% { box-shadow: 0 0 64px rgba(168,255,62,.26); } }
  .eg-tier { transition: border-color .2s ease, transform .2s ease; }
  .eg-tier:hover { transform: translateY(-2px); }
}

/* The website box on every page but the homepage (Tyler, 2026-11-11: the main calls to action send business owners to the
   homepage website check). site.js hands the website to the homepage in sessionStorage, and home-lab.js runs the check (without
   JavaScript the form's GET lands on the homepage box). Not .hl-*:
   those are homepage-only. .check-band is the centred closing band of the generated pages. */
.check-cta { display: grid; gap: .5rem; max-width: 34rem; margin: 1rem 0 1.5rem; text-align: left; }
.check-cta-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.check-cta-field { display: block; flex: 1 1 13rem; min-width: 0; }
.check-cta input { height: 3.25rem; padding: 0 .95rem; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 1.05rem; }
.check-cta button { flex: 0 1 auto; min-height: 3.25rem; padding: .6rem 1.2rem; border-radius: 12px; font-weight: 800; white-space: nowrap; }
.check-cta-micro { margin: 0; font-size: .88rem; line-height: 1.4; color: var(--text-dim); }
.check-band .wrap { text-align: center; }
.check-band .check-cta, .wrap[style*="text-align:center"] > .check-cta { margin-inline: auto; }
@media (max-width: 30em) { .check-cta button { flex: 1 1 100%; } }
/* /map-requested/: the same options for every map (2026-11-11). */
.mr-options { display: grid; gap: .6rem; max-width: 42rem; margin: 1.25rem auto 0; padding: 0; list-style: none; text-align: left; }
.mr-options li { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font-size: .95rem; line-height: 1.5; }
.mr-options b { color: var(--text); }

/* ── Homepage, 2026-11-12 (Tyler: "make the box to insert it glow with the same green color with a diagnose your website",
   "get rid of a lot of the bloat down below", "the desktop seems very blocky"). Phones keep their layout: everything that
   restyles the page for desktop sits in min-width queries below. ── */
/* the website box glows in the button green, and stops pulsing for anyone who asked for less motion */
@keyframes hl-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(168,255,62,.55), 0 0 16px rgba(168,255,62,.2); }
  50% { box-shadow: 0 0 0 1px rgba(168,255,62,.9), 0 0 30px rgba(168,255,62,.38); }
}
.hl-check--glow .hl-check-label { color: var(--accent); font-size: .95rem; font-weight: 800; letter-spacing: -.005em; }
.hl-check--glow input { border-color: var(--accent); animation: hl-glow 2.8s ease-in-out infinite; }
.hl-check--glow input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 0 30px rgba(168,255,62,.42); animation: none; }
.hl-check--glow button { box-shadow: 0 0 22px rgba(168,255,62,.32); }
.home-hero .hl-check--glow .hl-check-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
/* what happens when you press the button, in three short steps */
.hl-steps { display: grid; gap: .28rem; margin: .15rem 0 0; padding: 0; list-style: none; counter-reset: hl-step; font-size: .86rem; line-height: 1.38; color: var(--text-dim); }
.hl-steps li { position: relative; padding-left: 1.7rem; counter-increment: hl-step; }
.hl-steps li::before { content: counter(hl-step); position: absolute; left: 0; top: .02em; display: grid; place-items: center; width: 1.22rem; height: 1.22rem; border: 1px solid rgba(168,255,62,.6); border-radius: 50%; color: var(--accent); font-size: .7rem; font-weight: 800; line-height: 1; }
.hl-steps b { color: var(--text); font-weight: 700; }
.hl-steps a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .18em; }
.hl-steps--final { margin-top: .35rem; }
@media (prefers-reduced-motion: reduce) { .hl-check--glow input, .hl-check--glow .hl-check-row { animation: none; } }
/* on desktop the whole pill pulses, and only for visitors who have not asked for less motion */
@media (min-width: 60em) and (prefers-reduced-motion: no-preference) { .hl-check--glow .hl-check-row { animation: hl-glow 2.8s ease-in-out infinite; } }

/* the answer after a check: what needs fixing first, then one button to the dashboard */
.hl-result-h--fix { margin-top: .1rem; font-size: 1.1rem; }
.hl-fixes li { padding: .42rem .6rem; border: 1px solid rgba(248,113,113,.3); border-radius: 12px; background: rgba(248,113,113,.06); }
.hl-fixes .hl-finding-text { font-weight: 600; color: var(--text); }
.hl-result-next .hl-result-dash { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3rem; padding: .7rem 1rem; border-radius: 12px; font-size: 1rem; line-height: 1.3; text-align: center; box-shadow: 0 0 22px rgba(168,255,62,.28); }
.hl-price b.is-quote { font-size: 1.15rem; letter-spacing: -.01em; }

/* how the options stack, inside the dashboard (it replaces the old How it works cards) */
.hl-stack { margin-top: 2rem; scroll-margin-top: 5rem; }
.hl-stack-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.016em; }
.hl-stack-lead { margin-top: .3rem; color: var(--text-dim); }
.hl-stack-list { display: grid; gap: .8rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.hl-stack-card { display: flex; flex-direction: column; gap: .5rem; min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); scroll-margin-top: 5rem; }
.hl-stack-card p + p { margin-top: 0; }
.hl-stack-card h4 { font-size: 1.18rem; font-weight: 800; letter-spacing: -.014em; }
.hl-stack-card--build { border-color: rgba(168,255,62,.5); }
.hl-stack-card--growth { border-style: dashed; }
.hl-stack-k { display: flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.hl-stack-num { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: .74rem; letter-spacing: 0; }
.hl-stack-price { font-size: .92rem; color: var(--text-dim); }
.hl-stack-price b { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.hl-stack-card--build .hl-stack-price b { color: var(--accent); }
.hl-stack-desc { font-size: .92rem; line-height: 1.5; color: var(--text-dim); }
.hl-stack-units { padding: .6rem .75rem; border: 1px dashed rgba(168,255,62,.45); border-radius: 12px; font-size: .9rem; line-height: 1.45; color: var(--text-dim); }
.hl-stack-units b { color: var(--text); }
.hl-stack-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .2rem; }
.hl-stack-links .btn-outline { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem .95rem; font-size: .93rem; color: var(--text); }
.hl-stack-card .note { font-size: .85rem; line-height: 1.45; }
.hl-stack-foot { margin-top: .9rem; line-height: 1.6; }

/* the email step that closes the dashboard (#free-entity-map) */
.hl-send { margin-top: 2rem; padding: 1.2rem 1.15rem; border: 1px solid rgba(168,255,62,.5); border-radius: 18px; background: linear-gradient(180deg, rgba(168,255,62,.08), rgba(168,255,62,.015) 60%), var(--bg-raise); scroll-margin-top: 5rem; }
.hl-send p + p { margin-top: 0; }
.hl-send-k { color: var(--accent-ink); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hl-send-title { margin-top: .25rem; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.hl-send-lead { margin-top: .4rem !important; font-size: 1rem; line-height: 1.5; color: var(--text); }
.hl-send-gets { display: grid; gap: .35rem; margin: .7rem 0 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.45; color: var(--text-dim); scroll-margin-top: 6rem; }
.hl-send-gets b { color: var(--text); }
.hl-send-gets a { color: var(--accent-ink); }
.hl-send-body { margin-top: .9rem; min-width: 0; }
.hl-send-first, .hl-send-form { display: grid; gap: .45rem; }
.hl-send-first[hidden], .hl-send-form[hidden], .hl-send-fallback[hidden], .hl-send-row[hidden] { display: none; }
.hl-send-first > p:first-child { color: var(--text); }
.hl-send-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.hl-send-maponly { padding: .3rem 0; border: 0; background: none; color: var(--accent-ink); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.hl-send-for { font-size: .88rem; color: var(--text-dim); overflow-wrap: anywhere; }
.hl-send-label { font-size: .92rem; font-weight: 700; color: var(--text); }
.hl-send-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.hl-send-row input { flex: 1 1 13rem; width: auto; min-width: 0; height: 3.1rem; padding: 0 .95rem; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 1.02rem; }
.hl-send-row button { flex: 0 1 auto; min-height: 3.1rem; padding: .6rem 1.3rem; border-radius: 12px; font-weight: 800; white-space: nowrap; }
.hl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hl-send-status { font-size: .95rem; line-height: 1.45; }
.hl-send-status:empty { display: none; }
.hl-send-status--sending { color: var(--text-dim); }
.hl-send-status--done { padding: .75rem .9rem; border: 1px solid rgba(168,255,62,.55); border-radius: 12px; background: rgba(168,255,62,.08); color: var(--text); font-weight: 600; }
.hl-send-status--error { color: var(--danger); }
.hl-send-micro { font-size: .82rem; line-height: 1.45; color: var(--text-dim); }
.hl-send-micro a { color: var(--accent-ink); }
.hl-send-fallback .map-card { max-width: none; margin-top: .4rem; }
.hl-send-fallback-copy:empty { display: none; }

/* dated proof, our own accounts and businesses */
.hl-proof { border-top: 1px solid var(--line); }
.hl-proof-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.hl-proof-side { display: grid; gap: 1rem; align-content: start; }
.hl-proof-card { min-width: 0; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raise); }
.hl-proof-card--lead { border-color: rgba(168,255,62,.45); }
.hl-proof-card--own { border-style: dashed; }
.hl-proof-k { font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); }
.hl-proof-card--own .hl-proof-k { color: var(--gold); }
.hl-proof-n { margin-top: .35rem !important; font-size: 1.02rem; line-height: 1.4; color: var(--text); }
.hl-proof-n b { display: block; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.hl-proof-facts { display: grid; gap: .3rem; margin: .6rem 0 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.45; color: var(--text-dim); }
.hl-proof-facts li { position: relative; padding-left: .95rem; }
.hl-proof-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--accent); }
.hl-proof-shot { display: block; max-width: 21rem; margin-top: .9rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.hl-proof-shot img { display: block; width: 100%; height: auto; }
.hl-proof-link { margin-top: .6rem !important; font-size: .9rem; color: var(--text-dim); }
.hl-proof-caveat { max-width: 62rem; margin-top: 1.2rem; line-height: 1.55; }
.hl-proof-caveat b { color: var(--text); }
.hl-proof-client { display: grid; gap: .5rem; max-width: 46rem; margin-top: 1.75rem; }
.hl-proof-client .pullquote p { font-size: 1.15rem; }
.founder-block--compact .founder-portrait { width: min(200px, 52vw); }

/* ── desktop: one calm two-column hero, soft layered cards, the dashboard as an app panel ── */
@media (min-width: 60em) {
  .home-hero { background: radial-gradient(38rem 22rem at 20% 70%, rgba(168,255,62,.055), transparent 70%), radial-gradient(56rem 26rem at 88% -12%, rgba(168,255,62,.07), transparent 62%); }
  .home-hero-grid { column-gap: clamp(2.25rem, 4.5vw, 4.25rem); }
  .home-hero h1, .hl-lab h2, .hl-lab h3, .hl-proof h2, .founder-block h2, #faq h2 { text-wrap: balance; }
  /* the box: input and button as one pill */
  .hl-check--glow .hl-check-row { flex-wrap: nowrap; gap: 0; padding: .28rem; border: 1px solid var(--accent); border-radius: 999px; background: rgba(6,10,8,.78); }
  .hl-check--glow .hl-check-row:focus-within { box-shadow: 0 0 0 2px var(--accent), 0 0 34px rgba(168,255,62,.45); animation: none; }
  /* min-width: 0 lets the input give way when the column narrows (after a check the result card takes the wider column) */
  .hl-check--glow input { flex: 1 1 auto; min-width: 0; height: 2.95rem; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; box-shadow: none; animation: none; }
  .hl-check--glow input:focus, .hl-check--glow input:focus-visible { outline: none; box-shadow: none; }
  .hl-check--glow button { flex: 0 0 auto; min-height: 2.95rem; padding: .5rem 1.35rem; border-radius: 999px; white-space: nowrap; }
  /* the form is sized by its column, never by the pill, so a narrower column (after a check) can be measured below */
  .hl-check--glow { grid-template-columns: minmax(0, 1fr); container-type: inline-size; }
  .home-hero .hl-steps { margin-top: .25rem; gap: .18rem; line-height: 1.32; }
  /* soft, layered surfaces instead of hard boxes */
  .hl-offer, .hl-result, .hl-panel, .hl-stack-card, .hl-proof-card, .hl-inspect, .hl-detail-body, .hl-scope { border-color: rgba(255,255,255,.085); border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 22px 44px -30px rgba(0,0,0,.8); }
  .hl-offer--build, .hl-stack-card--build, .hl-proof-card--lead { border-color: rgba(168,255,62,.42); background: linear-gradient(180deg, rgba(168,255,62,.085), rgba(168,255,62,.012) 62%); }
  .hl-proof-card--own, .hl-stack-card--growth { border-style: dashed; }
  .hl-result { padding: 1.05rem 1.2rem; }
  /* the dashboard: one framed panel */
  .hl-lab { padding-top: 1.5rem; border-top: 0; }
  .hl-lab > .wrap { padding: 2.25rem clamp(1.5rem, 3vw, 2.75rem) 2.5rem; border: 1px solid rgba(255,255,255,.085); border-radius: 28px; background: radial-gradient(50rem 18rem at 50% -8%, rgba(168,255,62,.055), transparent 70%), linear-gradient(180deg, #121719, #0D1113); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 40px 80px -44px rgba(0,0,0,.85); }
  .hl-lanes, .hl-d-root { border-color: rgba(255,255,255,.085); }
  .hl-lanes { border-radius: 0 0 18px 18px; }
  .hl-d-root { border-radius: 18px 18px 0 0; }
  .hl-lanes--static { border-radius: 18px; }
  /* its views as a segmented control: Today, then the two options side by side */
  .hl-views { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: .9rem; margin-top: 1.4rem; }
  .hl-views-choose { gap: .35rem; }
  .hl-views-label { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
  .hl-views-pair { display: inline-flex; width: fit-content; gap: .3rem; padding: .3rem; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.03); }
  .hl-view--before { padding: .5rem 1.1rem; margin-bottom: .3rem; }
  .hl-views-pair .hl-view { min-width: 13.5rem; border-color: transparent; border-radius: 14px; background: transparent; }
  .hl-view { border-color: rgba(255,255,255,.12); border-radius: 14px; }
  .hl-view:hover { border-color: rgba(168,255,62,.45); }
  .hl-view[aria-pressed="true"], .hl-views-pair .hl-view[aria-pressed="true"] { border-color: var(--accent); background: linear-gradient(180deg, rgba(168,255,62,.14), rgba(168,255,62,.05)); box-shadow: inset 0 0 0 1px var(--accent), 0 10px 26px -14px rgba(168,255,62,.55); }
  .hl-stats { gap: .5rem 2.4rem; margin-top: 1.1rem; }
  .hl-stack-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .82fr); gap: 1rem; }
  .hl-send { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.25rem; align-items: start; padding: 1.75rem 2rem; border-radius: 24px; }
  .hl-send-body { margin-top: 0; }
  /* proof and the founder, compact */
  .hl-proof { border-top: 0; }
  .hl-proof-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 1.25rem; }
  .hl-proof-card--lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 13rem); column-gap: 1.25rem; align-content: start; }
  .hl-proof-card--lead > * { grid-column: 1; }
  .hl-proof-card--lead .hl-proof-shot { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .founder-block--compact { border-top: 0; }
  .founder-block--compact .founder-grid { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 2.75rem; align-items: center; }
  .founder-block--compact .founder-media { position: static; }
  .founder-block--compact .founder-portrait { width: 200px; }
  #faq .faq { max-width: 52rem; }
  #faq .faq details { padding: 1rem 1.25rem; margin-top: .55rem; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: rgba(255,255,255,.02); }
  .final-cta-box { padding: 3.5rem 2rem; border-radius: 32px; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
}
/* short laptop screens: the pill and the steps tighten so the hero still closes the fold */
@media (min-width: 60em) and (max-height: 42em) {
  .hl-check--glow input, .hl-check--glow button { height: 2.6rem; min-height: 2.6rem; }
  .hl-steps { gap: .15rem; font-size: .8rem; line-height: 1.32; }
  .hl-steps li::before { width: 1.1rem; height: 1.1rem; font-size: .64rem; }
  .home-hero .hl-steps { margin-top: .15rem; }
}

/* After a check the result card takes the wider column and the box's column narrows. Below 430px the pill would squeeze the
   input, so it becomes a rounded box with the button under the input, as on phones. Before a check the pill is unchanged. */
@container (max-width: 430px) {
  .hl-check--glow .hl-check-row { flex-wrap: wrap; row-gap: .32rem; border-radius: 1.25rem; }
  .hl-check--glow input { flex: 1 1 100%; }
  .hl-check--glow button { flex: 1 1 100%; }
}

/* ── Globe hero art, Text Me in the nav, and the agency advisory page (Tyler, 2026-11-20) ──────────
   Art: /images/hero/rankops-globe-hero.webp, Tyler's globe image cropped so no baked-in text sits behind
   a headline. It is a background on ::before, so it never moves the measured fold. */
.home-hero { isolation: isolate; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(100deg, var(--bg) 0%, rgba(9,13,11,.92) 34%, rgba(9,13,11,.5) 62%, rgba(9,13,11,.22) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(9,13,11,0) 38%),
    url("/images/hero/rankops-globe-hero.webp") right center / auto 100% no-repeat; }
@media (max-width: 60em) {
  .home-hero::before { background:
    linear-gradient(rgba(9,13,11,.8), rgba(9,13,11,.93) 60%, var(--bg)),
    url("/images/hero/rankops-globe-hero.webp") right top / auto 62% no-repeat; }
}

.nav-links a.nav-text { color: var(--text); font-weight: 700; border-color: var(--accent); }
.nav-links a.nav-text:hover { color: var(--text); border-color: var(--accent); }
.nav-text .nav-links a.nav-text { background: var(--accent); color: var(--on-accent); }
.nav-text .nav-links a.nav-check { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.nav-row .nav-text-m { display: none; }
@media (max-width: 56em) {
  .nav-text .nav-row .nav-cta-m { display: none; }
  .nav-text .nav-row .nav-text-m { display: inline-block; margin-left: auto; padding: .72rem .9rem; font-size: .9rem; line-height: 1.5; white-space: nowrap; }
}
@media (min-width: 56.01em) and (max-width: 72em) { .nav-links { gap: 1rem; } }

.ag-hero { --ag-gold: #F5C451; position: relative; isolation: isolate; overflow: hidden; padding: 3.5rem 0 3.25rem; }
.ag-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(9,13,11,.95) 0%, rgba(9,13,11,.8) 44%, rgba(9,13,11,.3) 78%, rgba(9,13,11,.15) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(9,13,11,.15) 40%),
    url("/images/hero/rankops-globe-hero.webp") right center / auto 112% no-repeat; }
@media (max-width: 48em) {
  .ag-hero::before { background:
    linear-gradient(rgba(9,13,11,.78), rgba(9,13,11,.92) 65%, var(--bg)),
    url("/images/hero/rankops-globe-hero.webp") right top / auto 75% no-repeat; }
}
.ag-hero h1 { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; max-width: 15em; text-wrap: balance; }
.ag-accent { color: var(--accent); }
.ag-sub { margin-top: .9rem; max-width: 30em; color: var(--ag-gold); font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.ag-hero .lead { max-width: 38em; margin-top: .9rem; }
.ag-founder { margin-top: 1rem; font-size: .9rem; color: var(--text-dim); }
.ag-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.25rem; }
.ag-note { margin-top: .9rem; color: var(--accent-ink); font-weight: 600; font-size: .95rem; }
.ag-switch { margin-top: .5rem; font-size: .9rem; color: var(--text-dim); }
.ag-fit, .ag-gets { margin-top: 1.25rem; }
.ag-x-list { list-style: none; padding: 0; }
.ag-x-list li { position: relative; padding: .4rem 0 .4rem 1.7rem; color: var(--text-dim); }
.ag-x-list li::before { content: "✕"; position: absolute; left: 0; color: var(--text-dim); font-weight: 700; }
.ag-gets { grid-template-columns: 1fr; }
@media (min-width: 40em) { .ag-gets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .ag-gets { grid-template-columns: repeat(3, 1fr); } }
.ag-offers { display: grid; gap: var(--space-3); grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 40em) { .ag-offers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .ag-offers { grid-template-columns: repeat(4, 1fr); } }
.ag-offer { display: flex; flex-direction: column; gap: .5rem; }
.ag-offer > .btn-primary, .ag-offer > .btn-outline { margin-top: auto; text-align: center; }
.ag-offer .check-list { margin: .25rem 0 .75rem; font-size: .92rem; }
.ag-featured { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ag-tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.ag-price { font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: var(--text); }
.ag-price span { font-size: .9rem; font-weight: 500; color: var(--text-dim); }
.ag-perclient { margin-top: 1.25rem; }
.ag-glance { display: grid; grid-template-columns: 1fr; margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
@media (min-width: 48em) { .ag-glance { grid-template-columns: repeat(2, 1fr); } }
.ag-glance > div { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.ag-glance dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.ag-glance dd { margin: .2rem 0 0; color: var(--text); }
.ag-final { max-width: 46em; text-align: center; }
.ag-final .ag-cta { justify-content: center; }

/* ── Hero polish (Tyler, 2026-11-21: "make my above the fold look amazing ... make it pop"). Paint only: colours, gradients,
   shadows, filters and transforms. No size, spacing or border-width change, so the measured fold does not move. ── */
.home-hero { overflow: clip; }
@media (min-width: 60.01em) {
  .home-hero::before {
    background:
      linear-gradient(100deg, var(--bg) 0%, rgba(9,13,11,.86) 30%, rgba(9,13,11,.34) 58%, rgba(9,13,11,.04) 100%),
      linear-gradient(to top, var(--bg) 0%, rgba(9,13,11,0) 30%),
      url("/images/hero/rankops-globe-hero.webp") right center / auto 100% no-repeat;
    filter: saturate(1.25) brightness(1.15) contrast(1.05);
    transform-origin: 78% 45%;
  }
}
@keyframes ro-globe-drift { from { transform: scale(1); } to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); } }
@keyframes ro-sheen { from { background-position: 0% 50%; } to { background-position: -200% 50%; } }
@media (prefers-reduced-motion: no-preference) {
  .home-hero::before { animation: ro-globe-drift 26s ease-in-out infinite alternate; }
  .home-hero .hero-h1-accent { animation: ro-sheen 9s linear infinite; }
}
.home-hero h1 { text-shadow: 0 2px 28px rgba(0,0,0,.55); }
.home-hero .hero-h1-accent {
  background: linear-gradient(100deg, #A8FF3E 0%, #DBFF8E 25%, #5CF29A 50%, #A8FF3E 75%, #DBFF8E 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; text-shadow: none;
  filter: drop-shadow(0 0 22px rgba(168,255,62,.28));
}
.home-hero .hh-founder-photo { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent), 0 0 26px rgba(168,255,62,.5); }
.home-hero .hl-offer {
  border-color: transparent;
  background:
    linear-gradient(165deg, rgba(30,37,41,.86), rgba(12,16,18,.78)) padding-box,
    linear-gradient(140deg, rgba(168,255,62,.5), rgba(168,255,62,.06) 42%, rgba(255,255,255,.1)) border-box;
  -webkit-backdrop-filter: blur(12px) saturate(1.25); backdrop-filter: blur(12px) saturate(1.25);
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-hero .hl-offer--build {
  background:
    linear-gradient(165deg, rgba(168,255,62,.16), rgba(12,16,18,.8) 58%) padding-box,
    linear-gradient(140deg, #C6FF6B, rgba(168,255,62,.22) 48%, rgba(92,242,154,.7)) border-box;
  box-shadow: 0 26px 60px -26px rgba(168,255,62,.42), inset 0 1px 0 rgba(255,255,255,.08);
}
@media (hover: hover) {
  .home-hero .hl-offer:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -26px rgba(0,0,0,.95), 0 0 0 1px rgba(168,255,62,.35), inset 0 1px 0 rgba(255,255,255,.08); }
  .home-hero .hl-offer--build:hover { box-shadow: 0 32px 70px -24px rgba(168,255,62,.55), inset 0 1px 0 rgba(255,255,255,.1); }
}
.home-hero .hl-price b { background: linear-gradient(180deg, #FFFFFF 20%, #C9D3CD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .hl-offer--build .hl-price b {
  background: linear-gradient(100deg, #E2FF9C, #A8FF3E 45%, #5CF29A); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(168,255,62,.3));
}
/* the dashboard preview: frosted like the offer cards, with a quieter edge so the AI HQ Build card stays the one that glows */
.home-hero .hl-mini {
  border-color: transparent;
  background:
    linear-gradient(165deg, rgba(30,37,41,.86), rgba(12,16,18,.78)) padding-box,
    linear-gradient(140deg, rgba(168,255,62,.36), rgba(168,255,62,.05) 42%, rgba(255,255,255,.1)) border-box;
  -webkit-backdrop-filter: blur(12px) saturate(1.25); backdrop-filter: blur(12px) saturate(1.25);
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06);
}

/* ── Small phones and large text (320px at 16px, 390px at a 20px default): the website box and the header fit the screen and
   never push the page sideways. The box's column can no longer grow past its container, its button may wrap, and the phone
   header tightens a little on the narrowest screens. ── */
.hl-check--glow { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 30em) {
  .hl-check--glow .hl-check-row > input, .hl-check--glow .hl-check-row > button { flex: 1 1 100%; }
  .hl-check--glow button { white-space: normal; text-wrap: balance; }
  .final-cta-box { padding-inline: 1rem; }
}
@media (max-width: 22em) {
  .nav-row { gap: .3rem; }
  .brand { font-size: 1.1rem; }
  .nav-row .nav-cta-m, .nav-text .nav-row .nav-text-m { padding-inline: .6rem; font-size: .85rem; }
}
