/* ==========================================================================
   Rightlander, polish layer (Nov 2026)
   Loaded last on every page. Tightens type, spacing, cards and labels
   without changing brand tokens (royal blue #1164D4, restrained yellow,
   navy ink, Inter). Keep rules here small and global; page-specific
   fixes stay in their own files.
   ========================================================================== */

/* ---------- 1. Type: tighter display, cleaner wrapping ---------- */
h1, h2, h3,
.hero-title, .inner-title {
  text-wrap: balance;
}
.hero-title, .inner-title { letter-spacing: -0.035em; }
h2 { letter-spacing: -0.025em; }
h3, h4 { letter-spacing: -0.012em; }
p, li, blockquote { text-wrap: pretty; }

.hero-sub,
.inner-lede,
.section-lede,
.section-head p,
.section-header p {
  max-width: 62ch;
}
.hero-sub { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; }

/* ---------- 2. Labels: one eyebrow style, Inter not mono ---------- */
:root { --tracking-eyebrow: 0.1em; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  gap: 8px;
}
.eyebrow::before {
  width: 6px;
  height: 6px;
  box-shadow: none;
  opacity: 0.9;
}
/* Small UI labels read as chrome, not data: use the body face. */
.section-head-compact .eyebrow,
.hub-card-eyebrow,
.product-tagline,
.panel-kicker,
.quiz-teaser-eyebrow,
.news-card-tag,
.team-role,
.contact-role,
.partner-type,
.job-meta,
.clients-hero-stats .stat-label,
.story-card .story-meta,
.quote-card footer span,
.quote-card cite span,
.quote-card-hero figcaption span {
  font-family: var(--font-body) !important;
  letter-spacing: 0.06em;
}

/* ---------- 3. Home hero ---------- */
/* Decorative "live" chips removed from markup; guard against cached copies. */
.hero .hero-float { display: none !important; }
.btn-pulse::before { display: none !important; animation: none !important; }
.hero-cta-sub { margin-top: 14px; font-size: 14px; }

/* ---------- 4. Hero stat strips (split heroes on inner pages) ---------- */
.clients-hero-stats {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 20px 28px;
}
.brand-hero-copy .clients-hero-stats .stat-num,
.uc-hero-stats .stat-num {
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: -0.03em;
}
.clients-hero-stats .stat-label {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
}

/* ---------- 5. Section heads: ledes align with their headings ---------- */
.feature-grid-section .section-lede,
.faq-section .section-lede,
.how-it-works .section-head:not(.is-centered):not(.section-head--centered) .section-lede {
  margin-inline: 0;
}

/* ---------- 6. Cards: one radius, one border, one hover ---------- */
.feature-card,
.quote-card,
.hub-card,
.uc-hub-card,
.pr-hub-card,
.news-card {
  border-radius: 16px;
}
.feature-card,
.hub-card,
.uc-hub-card {
  border-color: var(--color-divider);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.feature-card:hover,
.hub-card:hover,
.uc-hub-card:hover,
.quote-card:hover {
  border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-divider));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
[data-theme='dark'] .quote-card:hover {
  border-color: color-mix(in srgb, #4e92ff 45%, transparent);
}

/* ---------- 7. Quotes: one opening mark, not two ---------- */
.quote-card blockquote::before { display: none !important; }
.quote-card::before {
  position: static;
  display: block;
  content: "\201C";
  font-size: 44px;
  line-height: 0.7;
  height: 22px;
  opacity: 1;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.featured-quote blockquote {
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.38;
  letter-spacing: -0.015em;
}

/* ---------- 8. Grids: no orphan cards on desktop ---------- */
@media (min-width: 900px) {
  /* 4 cards: 2 x 2 instead of 3 + 1 */
  .feature-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* 5 cards: 3 on top, 2 wide below */
  .hub-cards:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .hub-cards:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .hub-cards:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
}

/* ---------- 9. Buttons: consistent weight ---------- */
.btn { font-weight: 600; letter-spacing: -0.005em; }
.btn-lg { min-height: 48px; }

/* ---------- 10. Mobile ---------- */
@media (max-width: 640px) {
  .hero-sub { font-size: 16px; }
  .clients-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .featured-quote blockquote { font-size: 19px; }
}

/* Quote cards: keep the mark close to the quote */
.quote-card > blockquote,
.quote-card > p:first-of-type { margin-top: 0; }
.quote-card { gap: 14px; }

/* FAQ lists line up with their left-aligned headings */
.faq-section .faq-list { margin-inline: 0; }

/* Home hero stats: label style matches inner heroes; compact row on phones */
.hero-stat .label { text-transform: none; letter-spacing: 0.01em; font-weight: 500; font-size: 13px; margin-top: 4px; }
@media (max-width: 640px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .hero-stat .num { font-size: 22px; }
  .hero-stat .label { font-size: 12px; line-height: 1.35; }
}

/* Official event logos on events hub cards */
.news-card-media--event-logo img { max-width: 72%; max-height: 72px; height: auto; }
.news-card-media--event-logo img[src*="igb-affiliate"],
.news-card-media--event-logo img[src*="igb-live-logo"],
.news-card-media--event-logo img[src*="affilifest"] { max-height: 140px; }
.news-card-media--event-logo img[src*="g2e"] { max-height: 80px; }
.news-card-media--event-logo img[src*="ice-logo"] { max-height: 60px; }
.news-card-media--plate-dark { background: #0b1a2e; }
[data-theme="dark"] .news-card-media--plate-dark { background: #16304f !important; }

/* ==========================================================================
   Whitespace pass (2026-11-16): one tighter vertical rhythm site-wide.
   Section padding stacked to 200-250px between blocks on desktop.
   ========================================================================== */
:root {
  --section-y: clamp(48px, 5.5vw, 80px);
  --section-y-sm: clamp(32px, 4vw, 56px);
  --section-pad-y: clamp(40px, 4.5vw, 64px);
}
.feature-grid-section, .feature-split, .feature-list-section, .how-it-works,
.faq-section, .regulators, .pi-home, .uc-outcomes, .uc-pillars,
.engine-section, .verticals-section, .two-paths {
  padding-block: var(--section-y);
}
section.section-sm { padding-block: var(--section-y-sm); }
.trust-bar.section-sm { padding-block: clamp(28px, 3vw, 40px); }
.funnel { padding-block: var(--section-y-sm) var(--section-y); }
.cta-band, .inner-cta { padding-block: clamp(40px, 4vw, 64px); }
.section-head, .section-head-compact { margin-bottom: clamp(20px, 2.4vw, 32px); }

/* Product heroes: screenshot beside the copy, not under it */
@media (min-width: 1024px) {
  .product-hero:has(.product-hero-shot) > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 4vw, 64px);
    align-items: start;
  }
  .product-hero:has(.product-hero-shot) > .container > *:not(.product-hero-shot) { grid-column: 1; }
  .product-hero:has(.product-hero-shot) .product-hero-shot {
    grid-column: 2; grid-row: 1 / span 12; align-self: center;
    margin: 0; max-width: 600px; justify-self: end;
  }
}

/* FAQs: heading left, questions right, instead of one narrow column */
@media (min-width: 1024px) {
  .faq-section > .container:has(> .faq-list) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    column-gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }
  .faq-section > .container:has(> .faq-list) > .section-head {
    position: sticky; top: 104px; margin-bottom: 0;
  }
  .faq-section > .container:has(> .faq-list) > .faq-list { max-width: none; width: 100%; }
  .faq-section > .container:has(> .faq-list) > :not(.section-head):not(.faq-list) { grid-column: 1 / -1; }
}

/* Inline links inside feature-list items were splitting into flex columns */
.feature-list-section .feature-list li { display: block; }
/* Quiz teaser strip sits between two padded sections; do not add a third gap */
section[data-quiz-teaser] { padding-block: 0; }

/* News articles: restore bullets and numbering (base.css resets all lists) */
.article-body .prose ul:not([class]), .article-body .content-section ul:not([class]) { list-style: disc outside; padding-inline-start: 1.4em; margin-block: 1em; }
.article-body .prose ol:not([class]), .article-body .content-section ol:not([class]) { list-style: decimal outside; padding-inline-start: 1.6em; margin-block: 1em; }
.article-body .prose ul:not([class]) ul:not([class]) { list-style-type: circle; margin-block: .4em; }
.article-body .prose li::marker { color: var(--color-primary, #1164D4); }
/* Cover image fills its frame: no inherited prose image margin */
.article-hero-figure img, .article-hero-figure picture { margin: 0 !important; }

/* News category bar */
.news-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(20px, 2.4vw, 32px); }
.news-cat { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--color-border, #d5dae3); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--color-text, #0f1e33); background: var(--color-surface, #fff); text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.news-cat:hover { border-color: var(--color-primary, #1164D4); color: var(--color-primary, #1164D4); }
.news-cat[aria-current="page"] { background: var(--color-primary, #1164D4); border-color: var(--color-primary, #1164D4); color: #fff; }
@media (max-width: 640px) {
  .news-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--container-pad, 16px)); padding-inline: var(--container-pad, 16px); scrollbar-width: none; }
  .news-cats::-webkit-scrollbar { display: none; }
  .news-cat { flex: 0 0 auto; }
}
a.eyebrow--link { text-decoration: none; }
a.eyebrow--link:hover { text-decoration: underline; }
/* In-article demo CTA: prose link colour was making the button text blue on blue */
.prose a.rl-convert__cta, .rl-convert a.rl-convert__cta { color: #fff !important; text-decoration: none !important; }
.prose a.rl-convert__cta:hover { color: #fff !important; }
/* Body-copy links: brand blue, not the neon accent (which failed contrast on white) */
.prose a:not(.btn):not(.btn-pill):not(.rl-convert__cta) { color: var(--color-primary, #1164D4); text-underline-offset: 2px; }
.prose a:not(.btn):not(.btn-pill):not(.rl-convert__cta):hover { color: var(--color-primary-hover, #0E55B8); }

/* Cross-link rows (internal linking) */
.xlink-row { padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--color-divider, #e6e9ef); }
.xlink-row .xlink-group + .xlink-group { margin-top: var(--space-4, 16px); }
.xlink-row .xlink-label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted, #5b6676); }
.xlink-row .news-cats { margin: 0; }
@media (max-width: 640px) {
  .xlink-row .news-cats { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* Site search (Nov 2026): visible header box, palette results, /search page */
.nav-search-trigger { min-height: 36px; min-width: 168px; justify-content: flex-start; cursor: text; }
.nav-search-trigger .nav-search-label { flex: 1; text-align: left; font-size: 13px; }
.nav-search-trigger .nav-search-kbd { margin-left: auto; }
@media (max-width: 1499px) { .nav-search-trigger { min-width: 0; } .nav-search-trigger .nav-search-label { display: none; } }
@media (max-width: 1279px) {
  .nav-cta .nav-search-trigger { display: inline-flex !important; min-width: 44px; min-height: 44px; justify-content: center; padding: 0; background: transparent; border-color: transparent; color: var(--color-text); }
}
.cmdk-form { margin: 0; }
.cmdk-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cmdk-item-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmdk-item-kind { flex: 0 0 auto; min-width: 72px; text-align: center; }
.cmdk-item.is-active { background: rgba(17, 100, 212,0.08); }
.cmdk-more { display: block; margin-top: 4px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--color-primary); text-decoration: none; }
.cmdk-more:hover { background: rgba(17, 100, 212,0.08); }
.cmdk-empty a { color: var(--color-primary); font-weight: 600; }
@media (max-width: 640px) {
  .cmdk-overlay { padding-top: 8px; }
  .cmdk { width: calc(100vw - 16px); }
  .cmdk-list { max-height: 65vh; }
  .cmdk-item { min-height: 44px; }
  .cmdk-footer { display: none; }
}
.site-search { display: flex; gap: 8px; max-width: 680px; margin: var(--space-5, 24px) 0 0; }
.site-search input[type="search"] { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--color-text); background: var(--color-surface, #fff); border: 1px solid var(--color-border, #d5dae3); border-radius: 10px; }
.site-search input[type="search"]:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.site-search .btn { min-height: 48px; }
.search-results { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.search-results li { padding: 18px 0; border-bottom: 1px solid var(--color-divider); }
.search-results .sr-kind { display: inline-block; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--color-text-muted); }
.search-results a { font-size: 18px; font-weight: 600; color: var(--color-text); text-decoration: none; }
.search-results a:hover { color: var(--color-primary); text-decoration: underline; }
.search-results p { margin: 6px 0 0; color: var(--color-text-muted); font-size: 15px; }
.search-count { color: var(--color-text-muted); margin: 0 0 8px; }

/* Article FAQs (no .section-head): one column, same width as the article text */
.article-faq > .container.prose { display: block; max-width: 760px; }
.article-faq .faq-list { max-width: none; width: 100%; margin-inline: 0; }
/* Pillar CTA buttons keep white text on blue */
.prose .rl-pillar-cta__actions a.btn-pill--primary,
.prose .rl-pillar-cta__actions a.btn-pill--primary:hover { color: #fff; text-decoration: none; }

/* News listing "Show more" (js/news-more.js) */
.news-more { display: flex; justify-content: center; margin-top: var(--space-8, 2rem); }
.news-more .btn { min-height: 44px; }
.news-grid > article.news-card[hidden] { display: none !important; }

/* Mobile header: brand + search + Book a demo + menu needed ~405px, so the
   menu button sat off-screen on 390px phones. Tighten the row, and below
   375px drop the header demo button (it stays in the menu drawer). */
@media (max-width: 480px) {
  .site-header .nav { gap: 12px; }
  .site-header .nav-brand img, .site-header .brand-logo { height: auto; width: 120px; }
  .site-header .nav-cta { gap: 6px; }
  .site-header .nav-search-trigger { width: 40px; min-width: 40px; }
  .site-header .nav-cta .btn-primary.btn-sm { padding-inline: 12px; }
  .site-header .nav-mobile-toggle { width: 44px; min-width: 44px; height: 44px; flex: 0 0 44px; }
}
@media (max-width: 374px) {
  .site-header .nav-cta .btn-primary.btn-sm { display: none; }
}

/* Beta: two-product line-up on the homepage */
.product-lineup.product-lineup--two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:880px;margin-inline:auto}
@media (max-width:640px){.product-lineup.product-lineup--two{grid-template-columns:1fr}}

/* Beta icon system (Nov 2026)
   1. Product marks: solid tile, one icon per product, used on home, products hub and pricing.
   2. Feature tiles: one size, one tint, one icon colour across solutions, use cases and outcomes. */
.product-mark{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:var(--color-primary,#1164D4);color:#fff;flex-shrink:0}
.product-mark svg{width:24px;height:24px}
.hub-card .product-mark{margin-bottom:1rem}
.section-head .product-mark{display:flex;margin-bottom:1rem}
.product-lineup--two .product-tile{display:grid;gap:.6rem;padding:1.5rem}
.product-lineup--two .product-tile h4{font-size:1.125rem;display:flex;align-items:center;gap:.5rem;margin-top:.35rem}
.product-lineup--two .product-tile p{font-size:.9375rem}
.product-lineup--two .product-tile .badge{font-size:10px;padding:2px 7px}

.feature-icon,.outcome-icon,.pillar-icon,.coverage-icon{width:44px;height:44px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:rgba(250, 247, 7,0.14);color:var(--color-primary,#1164D4);flex-shrink:0}
.feature-icon svg,.outcome-icon svg,.pillar-icon svg,.coverage-icon svg{width:22px;height:22px}
[data-theme='dark'] .feature-icon,[data-theme='dark'] .outcome-icon,[data-theme='dark'] .pillar-icon,[data-theme='dark'] .coverage-icon{background:rgba(250, 247, 7,0.18);color:#FAF707}

/* Beta footer bottom bar (Nov 2026): copyright, legal links and social on one aligned row,
   address on its own line underneath. Previously the right-hand group was centred against
   the three-line left block, so it lined up with nothing. */
.footer-bottom{display:grid;grid-template-columns:1fr auto;grid-template-areas:"copy right" "addr addr";column-gap:var(--space-8,32px);row-gap:6px;align-items:center}
.footer-bottom__left{display:contents}
.footer-bottom__left > div:first-child{grid-area:copy;color:rgba(255,255,255,0.6)}
.footer-bottom__address{grid-area:addr;line-height:1.5}
.footer-bottom__right{grid-area:right;display:flex;align-items:center;gap:var(--space-5,20px)}
.footer-legal{gap:var(--space-5,20px)}
.footer-legal a{line-height:20px}
.footer-social a{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;margin:0}
@media (max-width:760px){
  .footer-bottom{grid-template-columns:1fr;grid-template-areas:"copy" "addr" "right";row-gap:var(--space-2,8px)}
  .footer-bottom__right{width:100%;justify-content:space-between;margin-top:var(--space-3,12px)}
}
@media (max-width:600px){
  .footer-bottom{margin-top:var(--space-6,24px)}
}

/* ===== Sharp visuals (Nov 2026 beta) =====
   Replaces clip-art heroes, old Workbench screenshots and the constellation background.
   Hairline borders, small radii, mono metadata, severity colour only where it means something. */
:root,[data-theme='light'],[data-theme='dark']{--bg-net:none;--bg-rings:none}
.rlv{--v-bg:#f4f6fa;--v-grid:rgba(11,26,46,.06);--v-card:#ffffff;--v-line:#d5dae3;--v-line2:#e6e9ef;--v-ink:#0b1a2e;--v-mute:#5b6b82;--v-skel:#e3e7ee;--v-blue:#1164D4;--v-hi:#d93a2f;--v-md:#b98700;--v-lo:#1164D4;--v-ok:#0f7a4a;--v-shadow:0 18px 40px -18px rgba(11,26,46,.28)}
[data-theme='dark'] .rlv{--v-bg:#08101f;--v-grid:rgba(255,255,255,.045);--v-card:#0b1528;--v-line:#24375c;--v-line2:#18284a;--v-ink:#eef3fa;--v-mute:#8392ab;--v-skel:#1b2a46;--v-blue:#4e92ff;--v-hi:#ff6b5f;--v-md:#FAF707;--v-lo:#4e92ff;--v-ok:#4cc58a;--v-shadow:0 24px 50px -18px rgba(0,0,0,.8)}
.rlv{position:relative;width:100%;border:1px solid var(--v-line);border-radius:8px;overflow:hidden;color:var(--v-ink);font-size:13px;line-height:1.35;
  background:linear-gradient(var(--v-grid) 1px,transparent 1px) 0 0/32px 32px,linear-gradient(90deg,var(--v-grid) 1px,transparent 1px) 0 0/32px 32px,var(--v-bg)}
.rlv *{box-sizing:border-box}
.rlv-stage{position:relative;height:340px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(12,minmax(0,1fr));padding:24px}
.rlv-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10.5px;letter-spacing:.02em;color:var(--v-mute)}
.rlv-card{background:var(--v-card);border:1px solid var(--v-line);border-radius:6px;box-shadow:var(--v-shadow);min-width:0}
/* capture window */
.rlv-win{grid-area:1/1/11/10;overflow:hidden}
.rlv-bar{display:flex;align-items:center;gap:5px;padding:7px 10px;border-bottom:1px solid var(--v-line2)}
.rlv-bar i{width:6px;height:6px;border-radius:50%;background:var(--v-line)}
.rlv-bar .rlv-mono{margin-left:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rlv-pg{padding:14px}
.rlv-sk{height:6px;border-radius:2px;background:var(--v-skel);margin:8px 0}
.rlv-sk.w9{width:90%}.rlv-sk.w7{width:70%}.rlv-sk.w5{width:50%}.rlv-sk.w4{width:40%}
.rlv-h{font-weight:700;font-size:14px;margin:2px 0 8px;letter-spacing:-.01em}
.rlv-hit{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;padding:10px 11px;border:1px solid var(--v-line);border-radius:4px;font-weight:600}
.rlv-hit::after{content:'';position:absolute;inset:-5px;border:1.5px solid var(--v-hi);border-radius:6px}
.rlv-hit.md::after{border-color:var(--v-md)}
.rlv-hit .rlv-cta{font-size:10.5px;font-weight:600;padding:4px 7px;border-radius:3px;background:var(--v-skel);white-space:nowrap}
.rlv-mark{background:color-mix(in srgb,var(--v-hi) 18%,transparent);box-shadow:0 0 0 1.5px var(--v-hi);border-radius:2px;padding:0 2px}
/* social post */
.rlv-post{display:grid;grid-template-columns:28px 1fr;gap:9px}
.rlv-av{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,var(--v-blue),var(--v-md))}
.rlv-post b{font-size:12.5px}.rlv-post p{margin:4px 0 0;font-size:12.5px}
/* search ad */
.rlv-ad .rlv-adl{font-size:10px;font-weight:700;margin-right:6px}
.rlv-ad .rlv-adt{color:var(--v-blue);font-weight:600;font-size:14px;margin:3px 0}
/* chain */
.rlv-chain{display:flex;flex-direction:column;gap:6px}
.rlv-node{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--v-line);border-radius:4px;font-weight:600;font-size:12px}
.rlv-node.hit{border-color:var(--v-hi);box-shadow:0 0 0 1px var(--v-hi)}
.rlv-link{width:1px;height:10px;background:var(--v-line);margin-left:16px}
/* alert card */
.rlv-alert{grid-area:7/5/13/13;align-self:end;padding:12px 13px;border-left:2px solid var(--v-hi);z-index:2}
.rlv-alert.md{border-left-color:var(--v-md)}.rlv-alert.lo{border-left-color:var(--v-lo)}
.rlv-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rlv-sev{font:600 9.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;padding:4px 6px;border-radius:3px;border:1px solid color-mix(in srgb,var(--v-hi) 45%,transparent);color:var(--v-hi);white-space:nowrap}
.md .rlv-sev,.rlv-sev.md{color:var(--v-md);border-color:color-mix(in srgb,var(--v-md) 45%,transparent)}
.lo .rlv-sev,.rlv-sev.lo{color:var(--v-lo);border-color:color-mix(in srgb,var(--v-lo) 45%,transparent)}
.ok .rlv-sev,.rlv-sev.ok{color:var(--v-ok);border-color:color-mix(in srgb,var(--v-ok) 45%,transparent)}
.rlv-t{font-weight:650;font-size:13.5px;margin:8px 0 3px;letter-spacing:-.005em}
.rlv-btns{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.rlv-btn{font-size:11px;font-weight:600;padding:5px 9px;border-radius:4px;border:1px solid var(--v-line);white-space:nowrap}
.rlv-btn.p{background:var(--v-blue);border-color:var(--v-blue);color:#fff}
/* feed / list */
.rlv-feed{grid-area:1/1/13/13;align-self:center;justify-self:center;width:min(460px,100%);overflow:hidden}
.rlv-fh{display:flex;align-items:center;gap:8px;padding:10px 13px;border-bottom:1px solid var(--v-line2);font-weight:650;font-size:12.5px}
.rlv-fh .sp{flex:1}
.rlv-live{width:7px;height:7px;border-radius:50%;background:var(--v-ok);box-shadow:0 0 0 3px color-mix(in srgb,var(--v-ok) 22%,transparent)}
.rlv-it{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:10px 13px;border-bottom:1px solid var(--v-line2);border-left:2px solid transparent}
.rlv-it:last-child{border-bottom:0}
.rlv-it.hi{border-left-color:var(--v-hi);background:color-mix(in srgb,var(--v-hi) 6%,transparent)}.rlv-it.md{border-left-color:var(--v-md)}.rlv-it.lo{border-left-color:var(--v-lo)}.rlv-it.ok{border-left-color:var(--v-ok)}
.rlv-it .rlv-sev{text-align:center}
.rlv-it .rlv-t{margin:0;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rlv-it .rlv-mono{display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rlv-it.hi .rlv-btn{background:var(--v-blue);border-color:var(--v-blue);color:#fff}
/* scores */
.rlv-score{grid-area:1/1/11/11;overflow:hidden}
.rlv-sr{display:grid;grid-template-columns:minmax(0,1fr) 92px 30px;gap:10px;align-items:center;padding:9px 13px;border-bottom:1px solid var(--v-line2);font-size:12px}
.rlv-sr:last-child{border-bottom:0}
.rlv-sr b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rlv-meter{height:5px;border-radius:3px;background:var(--v-skel);overflow:hidden}
.rlv-meter i{display:block;height:100%;background:var(--v-ok)}
.rlv-meter i.md{background:var(--v-md)}.rlv-meter i.hi{background:var(--v-hi)}
.rlv-sr .n{font:600 11px ui-monospace,monospace;text-align:right}
.rlv-score + .rlv-alert{grid-area:8/6/13/13}
/* people */
.rlv-people{grid-area:1/1/13/13;align-self:center;justify-self:center;width:min(440px,100%);overflow:hidden}
.rlv-pp{display:grid;grid-template-columns:36px 1fr auto;gap:11px;align-items:center;padding:9px 13px;border-bottom:1px solid var(--v-line2)}
.rlv-pp:last-child{border-bottom:0}
.rlv-pp img{width:36px;height:36px;border-radius:50%;object-fit:cover;display:block;filter:grayscale(.15)}
.rlv-pp b{display:block;font-size:12.5px}
/* quiz */
.rlv-opt{display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid var(--v-line);border-radius:4px;margin-top:7px;font-weight:600;font-size:12.5px}
.rlv-opt i{width:12px;height:12px;border-radius:50%;border:1.5px solid var(--v-line);flex-shrink:0}
.rlv-opt.on{border-color:var(--v-blue);box-shadow:0 0 0 1px var(--v-blue)}.rlv-opt.on i{border-color:var(--v-blue);background:radial-gradient(circle,var(--v-blue) 45%,transparent 50%)}
/* host overrides */
.brand-hero-visual:has(.rlv){max-height:none;overflow:visible;border-radius:0;margin-top:0}
.hero-inner .rlv-home{position:relative;z-index:1}
.hero-inner .rlv-home .rlv-stage{height:400px}
.sol-card-thumb.rlv{aspect-ratio:16/9;height:auto;border-radius:6px}
.sol-card-thumb.rlv .rlv-stage{height:100%;padding:14px}
.sol-card-thumb.rlv .rlv-win{grid-area:1/1/13/13}
/* Body visuals that replaced old product screenshots (10_body_visuals.py) */
.product-hero-shot:has(.rlv),.product-shot:has(.rlv),.stage-visual:has(.rlv),.feature-split-media:has(.rlv){border:0;background:none;box-shadow:none;border-radius:0;overflow:visible}
.stage-visual:has(.rlv){max-width:560px}
.uc-hub-thumb.rlv{height:180px;border:0;border-bottom:1px solid var(--v-line);border-radius:0}
.uc-hub-thumb.rlv .rlv-stage{height:100%;padding:14px}
.uc-hub-thumb.rlv .rlv-win{grid-area:1/1/13/13}
@media (max-width:860px){
  .brand-hero-visual:has(.rlv){order:0;max-height:none}
  .rlv-stage{height:300px;padding:16px}
  .hero-inner .rlv-home .rlv-stage{height:auto;padding:16px}
  .hero-inner .rlv-home .rlv-feed{width:100%}
}
@media (max-width:600px){
  .rlv-stage{display:flex;flex-direction:column;height:auto;padding:14px}
  .rlv-win,.rlv-score{width:94%}
  .rlv-alert,.rlv-score + .rlv-alert{width:86%;align-self:flex-end;margin-top:-22px}
  .rlv-feed,.rlv-people{width:100%}
  .uc-hub-thumb.rlv .rlv-stage,.sol-card-thumb.rlv .rlv-stage{display:grid;height:100%}
  .uc-hub-thumb.rlv .rlv-win,.sol-card-thumb.rlv .rlv-win{width:auto}
  .rlv-it{grid-template-columns:38px minmax(0,1fr)}.rlv-it .rlv-btn{display:none}
  .sol-card-thumb.rlv .rlv-win{width:100%}
}
/* sharper icon tiles */
.feature-icon,.outcome-icon,.pillar-icon,.coverage-icon{width:40px;height:40px;border-radius:6px;background:var(--color-primary-soft,#ecf2fd);border:1px solid color-mix(in srgb,var(--color-primary,#1164D4) 28%,transparent);color:var(--color-primary,#1164D4)}
.feature-icon svg,.outcome-icon svg,.pillar-icon svg,.coverage-icon svg{width:20px;height:20px;stroke-width:1.5}
[data-theme='dark'] .feature-icon,[data-theme='dark'] .outcome-icon,[data-theme='dark'] .pillar-icon,[data-theme='dark'] .coverage-icon{background:#0d1a30;border-color:#24406e;color:#5b9bff}
.product-mark{border-radius:8px}
.product-mark svg{stroke-width:1.75}
.sol-card-thumb.rlv .rlv-cta{display:none}.sol-card-thumb.rlv .rlv-hit{font-size:12px;padding:8px 9px;margin:8px 0 6px}.sol-card-thumb.rlv .rlv-pg{padding:10px}.sol-card-thumb.rlv .rlv-stage{padding:10px}

/* ===== Sharper iconography, pass 2 (Nov 2026 beta) =====
   Thinner strokes everywhere, small radii, hairline borders instead of soft tinted blobs.
   PI keeps its agent colour coding (k-*) but loses the pastel pill look. */
main svg[stroke-width="2"],.site-header svg[stroke-width="2"],.nav-drawer svg[stroke-width="2"],.site-footer svg[stroke-width="2"]{stroke-width:1.75}
.feature-icon svg,.outcome-icon svg,.pillar-icon svg,.coverage-icon svg,.card-icon svg,.panel-icon svg,.step-icon svg,.capability-icon svg,.service-icon svg,.trust-icon svg,.solution-icon svg,.nav-panel-icon svg,.option-icon svg,.integration-card-icon svg,.pi-scope .i svg,.pi-scope .av svg,.pi-scope .fc-ic svg{stroke-width:1.5}
.card-icon,.panel-icon,.step-icon,.capability-icon,.service-icon,.trust-icon,.solution-icon{width:40px;height:40px;border-radius:6px;background:var(--color-primary-soft,#ecf2fd);border:1px solid color-mix(in srgb,var(--color-primary,#1164D4) 28%,transparent);color:var(--color-primary,#1164D4)}
[data-theme='dark'] :is(.card-icon,.panel-icon,.step-icon,.capability-icon,.service-icon,.trust-icon,.solution-icon){background:#0d1a30;border-color:#24406e;color:#5b9bff}
.trust-pillar .pillar-icon{width:40px;height:40px;border-radius:6px;background:var(--color-primary-soft,#ecf2fd);border:1px solid color-mix(in srgb,var(--color-primary,#1164D4) 28%,transparent);color:var(--color-primary,#1164D4)}
[data-theme='dark'] .trust-pillar .pillar-icon{background:#0d1a30;border-color:#24406e;color:#5b9bff}
.nav-panel-icon{border-radius:6px;background:transparent;border:1px solid color-mix(in srgb,var(--color-primary) 30%,transparent)}
.funnel-option .option-icon{border-radius:6px;border:1px solid var(--color-border)}
.integration-card-icon{border-radius:6px;background:var(--color-primary-soft,#ecf2fd);border:1px solid color-mix(in srgb,var(--color-primary,#1164D4) 28%,transparent);color:var(--color-primary,#1164D4)}
[data-theme='dark'] .integration-card-icon{background:#0d1a30;border-color:#24406e;color:#5b9bff}
.focus-card .focus-icon{border-radius:6px}
.pi-scope .i,.pi-scope .eyebrow .av{border-radius:6px!important;box-shadow:inset 0 0 0 1px var(--cbd,rgba(127,140,160,.35))}
.pi-scope .fc-ic{border-radius:4px;box-shadow:inset 0 0 0 1px var(--cbd,rgba(127,140,160,.35))}
.pi-scope .agents .i{width:34px;height:34px}
/* comparison tables: line marks instead of filled circles */
span.tick[aria-label],span.cross[aria-label]{display:inline-block;width:18px;height:18px;border-radius:0;background:currentColor;font-size:0;line-height:0;vertical-align:middle;
  -webkit-mask:var(--m) center/18px 18px no-repeat;mask:var(--m) center/18px 18px no-repeat}
span.tick[aria-label]{color:var(--color-success,#0f7a4a);--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
span.cross[aria-label]{color:var(--color-text-muted,#7b8aa3);opacity:.7;--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E")}
