/*
 * Results AI marketing site: v2 look.
 *
 * Brings the public pages in line with the v2 dashboard (live since 2026-11-25).
 * Colour, shadow, radius and motion values come from /v2/tokens.css, which is
 * scoped to #v2-root, so each page sets id="v2-root" on <html> and loads
 * tokens.css before this file. Nothing here changes copy or layout structure.
 *
 * Every rule is prefixed with #v2-root so it outranks the per-page inline
 * <style> blocks without !important, whatever order the files load in.
 */

/* ---------- 1. Map the old page tokens onto the v2 tokens ---------- */
#v2-root {
  --color-bg: var(--v2-bg);
  --color-surface: var(--v2-surface);
  --color-surface-2: var(--v2-sunken);
  --color-border: var(--v2-border);
  --color-border-strong: #CBD6D1;
  --color-text: var(--v2-text);
  --color-text-muted: var(--v2-muted);
  /* --v2-faint is too light for body-size text on white, so faint copy uses muted. */
  --color-text-faint: var(--v2-muted);
  --color-green: var(--v2-brand-ink);
  --color-teal: var(--v2-brand-ink);
  --color-blue: var(--v2-info);
  --color-accent: var(--v2-brand-ink);
  --gradient-brand: linear-gradient(135deg, var(--v2-brand-ink), var(--v2-brand-ink));
  --gradient-brand-hover: linear-gradient(135deg, #096A52, #096A52);
  --gradient-bg-subtle: linear-gradient(180deg, var(--v2-sunken), var(--v2-sunken));
  --gradient-text: var(--gradient-brand);
  --gradient: var(--gradient-brand);
  /* links.html uses its own names for a few of these. */
  --color-bg-2: var(--v2-surface-2);
  --color-card: var(--v2-surface);
  --color-card-hover: var(--v2-surface);
  --color-border-hover: var(--v2-brand-ink);
  --gradient-soft: linear-gradient(135deg, var(--v2-brand-soft), var(--v2-brand-soft));
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --radius-sm: var(--v2-radius-sm);
  --radius-md: var(--v2-radius-sm);
  --radius-lg: var(--v2-radius-md);
  --radius-xl: var(--v2-radius);
  --radius-2xl: var(--v2-radius);
  --transition-interactive: var(--v2-dur) var(--v2-ease);
  --shadow-sm: var(--v2-shadow-sm);
  --shadow-md: var(--v2-shadow);
  --shadow-lg: var(--v2-shadow-lg);
  background: var(--v2-bg);
}

#v2-root body { background: var(--v2-bg); color: var(--v2-text); }
#v2-root .link { box-shadow: var(--v2-shadow-sm); }
#v2-root .link:hover { box-shadow: var(--v2-shadow); }
#v2-root ::selection { background: rgba(95, 215, 179, 0.35); color: var(--v2-text); }
#v2-root :focus-visible { outline: 2px solid var(--v2-brand-ink); outline-offset: 2px; box-shadow: var(--v2-focus); }
#v2-root h1, #v2-root h2 { letter-spacing: -0.02em; }

/* ---------- 2. Dark band: nav and footer, like the app sidebar ---------- */
#v2-root .nav,
#v2-root .nav__mobile-menu,
#v2-root .footer {
  --color-text: #E6EFEB;
  --color-text-muted: var(--v2-side-text);
  --color-text-faint: var(--v2-side-faint);
  --color-border: rgba(197, 211, 205, 0.12);
  --color-border-strong: rgba(197, 211, 205, 0.28);
  --color-surface: var(--v2-side-2);
  --color-surface-2: var(--v2-side-3);
  --color-teal: var(--v2-brand);
  --color-green: var(--v2-brand);
  --color-accent: var(--v2-brand);
  --gradient-brand: linear-gradient(135deg, var(--v2-brand), var(--v2-brand));
  --gradient-brand-hover: linear-gradient(135deg, #7FE2C4, #7FE2C4);
  color: var(--v2-side-text);
}
#v2-root .nav { background: rgba(11, 22, 19, 0.94); border-bottom-color: rgba(197, 211, 205, 0.1); }
#v2-root .nav.scrolled { box-shadow: 0 6px 20px rgba(13, 27, 22, 0.18); }
#v2-root .nav__mobile-menu { background: var(--v2-side); }
#v2-root .nav__mobile-toggle span { background: var(--v2-side-text); }
#v2-root .footer { background: var(--v2-side); border-top: 0; }
#v2-root .footer__social-link { background: var(--v2-side-2); border-color: var(--v2-side-3); }

/* Primary buttons on the dark band: mint fill, dark ink text (as in the app). */
#v2-root .nav .btn--primary,
#v2-root .nav__mobile-menu .btn--primary,
#v2-root .footer .btn--primary { color: var(--v2-side) !important; box-shadow: none; }

/* ---------- 3. Buttons ---------- */
#v2-root .btn { font-weight: 650; border-radius: 10px; }
#v2-root .btn--large { border-radius: var(--v2-radius-md); }
#v2-root .btn--primary,
#v2-root .btn-primary,
#v2-root .cta-btn {
  background: var(--v2-brand-ink);
  color: #fff;
  border: 1px solid var(--v2-brand-ink);
  box-shadow: var(--v2-shadow-sm);
}
#v2-root .btn--primary:hover,
#v2-root .btn-primary:hover,
#v2-root .cta-btn:hover { background: #096A52; border-color: #096A52; box-shadow: var(--v2-shadow); }
#v2-root .nav .btn--primary,
#v2-root .nav__mobile-menu .btn--primary,
#v2-root .footer .btn--primary { background: var(--v2-brand); border-color: var(--v2-brand); }
#v2-root .nav .btn--primary:hover,
#v2-root .footer .btn--primary:hover { background: #7FE2C4; border-color: #7FE2C4; }
#v2-root .btn--secondary { background: var(--v2-surface); color: var(--v2-text); border: 1px solid var(--v2-border); }
#v2-root .btn--secondary:hover { border-color: var(--v2-brand-ink); color: var(--v2-brand-ink); }
#v2-root .nav .btn--secondary,
#v2-root .nav__mobile-menu .btn--secondary { background: transparent; color: #E6EFEB; border-color: rgba(197, 211, 205, 0.28); }
#v2-root .nav .btn--secondary:hover,
#v2-root .nav__mobile-menu .btn--secondary:hover { border-color: var(--v2-brand); color: var(--v2-brand); }

/* ---------- 4. Cards: white surface, hairline border, 16px radius, soft shadow, 1px lift ---------- */
#v2-root :is(.feature-card, .finding-card, .audit-card, .prompt-card, .belief-card, .number-card,
  .industry-card, .ind-card, .ind-audit-card, .stat-card, .preview-card, .pricing-card, .tier-card,
  .blog-card, .featured-card, .post-card, .post-aside__card, .cs-quote, .cs-kpi__card,
  .cta-box, .snap-step, .snap-audience__item, .snap-sample__preview, .snap-benefit, .snap-trust,
  .contact__form, .ind-callout, .problem__prompts, .matrix-wrap, .card, .hero__dashboard,
  .industry-cta__inner, .about-cta__inner, .ind-cta__inner, .industries-cta__inner, .reason-card, .pillar-card) {
  /* Background, border colour and radius already follow the remapped tokens above. */
  box-shadow: var(--v2-shadow);
  transition: transform var(--v2-dur) var(--v2-ease), box-shadow var(--v2-dur) var(--v2-ease), border-color var(--v2-dur) var(--v2-ease);
}
#v2-root :is(.feature-card, .finding-card, .audit-card, .prompt-card, .belief-card, .number-card,
  .industry-card, .ind-card, .ind-audit-card, .stat-card, .blog-card, .featured-card, .post-card,
  .reason-card, .pillar-card, .tier-card, .pricing-card):hover {
  transform: translateY(-1px);
  border-color: #CBD6D1;
  box-shadow: 0 1px 2px rgba(13, 27, 22, 0.05), 0 10px 28px rgba(13, 27, 22, 0.09);
}
#v2-root :is(.tier-card--featured, .pricing-card--featured) { border-color: var(--v2-brand); box-shadow: 0 0 0 1px var(--v2-brand), var(--v2-shadow); }
/* The coloured strips some cards draw along their top edge read as noise on white; keep them mint and thin. */
#v2-root :is(.finding-card, .audit-card, .belief-card, .number-card, .industry-card, .ind-card, .reason-card)::before,
#v2-root :is(.audit-card, .number-card)::after { background: var(--v2-brand); }
#v2-root :is(.industry-cta__inner, .about-cta__inner, .industries-cta__inner)::after { background: var(--v2-brand); }

/* Icon tiles and tags: mint-soft chips instead of cyan glows. */
#v2-root :is(.finding-card__icon, .belief-card__icon, .industry-card__icon, .ind-card__icon,
  .prompt-card__icon, .contact__detail-icon, .feature-card__icon, .reason-card__number) {
  background: var(--v2-brand-soft);
  border: 1px solid rgba(11, 122, 94, 0.14);
  color: var(--v2-brand-ink);
}
#v2-root :is(.post-hero__tag, .hero__badge, .prompt-chip, .contact__plan-banner, .email-box) {
  background: var(--v2-brand-soft);
  border: 1px solid rgba(11, 122, 94, 0.16);
  color: var(--v2-brand-ink);
}
#v2-root :is(.post-hero__tag, .hero__badge, .prompt-chip) { border-radius: 999px; font-weight: 650; }
#v2-root .reason-card__fix { background: var(--v2-good-bg); border-color: rgba(11, 122, 94, 0.16); }

/* Section labels and accent text: solid brand ink (gradient text is gone). */
#v2-root :is(.section-label, .problem__label, .origin__sidebar-label) {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--v2-brand-ink);
  font-weight: 650;
  letter-spacing: 0.06em;
}

/* Soft glows behind heroes become a faint mint wash. */
#v2-root :is(.post-hero, .industry-hero, .about-hero, .page-hero, .ind-hero, .post-cta,
  .industry-cta__inner, .about-cta__inner, .industries-cta__inner)::before {
  background: radial-gradient(ellipse, rgba(95, 215, 179, 0.14) 0%, transparent 65%);
}
#v2-root .problem { background: transparent; }

/* ---------- 5. Tables ---------- */
#v2-root :is(.post-table, .compare-table, .cs-table) th,
#v2-root .matrix thead th {
  background: var(--v2-surface-2);
  color: var(--v2-muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
}
#v2-root .post-table tr:nth-child(even) td { background: var(--v2-surface-2); }
#v2-root .compare-table th.col-seo { background: var(--v2-info-bg); color: var(--v2-info); }
#v2-root .compare-table th.col-aeo { background: var(--v2-brand-soft); color: var(--v2-brand-ink); }
#v2-root .compare-table td.col-seo { background: rgba(230, 237, 253, 0.45); }
#v2-root .compare-table td.col-aeo { background: rgba(227, 247, 240, 0.55); }
#v2-root .info-box--seo .info-box__label { color: var(--v2-info); }

/* ---------- 6. Status colours that were tuned for a dark background ---------- */
#v2-root :is(.matrix-yes, .snap-sample__status--cited, .billing-toggle__badge) { color: var(--v2-good); }
#v2-root .snap-sample__status--partial, #v2-root .partial { color: var(--v2-warn); }
#v2-root .snap-sample__status--missed { color: var(--v2-muted); }
#v2-root .form-status.success { background: var(--v2-good-bg); border-color: rgba(11, 122, 94, 0.25); color: var(--v2-good); }
#v2-root .form-status.error, #v2-root .resend-status.error { background: var(--v2-bad-bg); border-color: rgba(180, 35, 24, 0.25); color: var(--v2-bad); }
#v2-root .status-Strong { background: var(--v2-good-bg); color: var(--v2-good); border-color: rgba(11, 122, 94, 0.25); }
#v2-root .status-Moderate { background: var(--v2-info-bg); color: var(--v2-info); border-color: rgba(47, 91, 211, 0.25); }
#v2-root .status-Low { background: var(--v2-warn-bg); color: var(--v2-warn); border-color: rgba(161, 92, 7, 0.25); }
#v2-root .status-Weak { background: var(--v2-bad-bg); color: var(--v2-bad); border-color: rgba(180, 35, 24, 0.25); }
#v2-root .checkout-modal__optional { color: var(--v2-muted); }
#v2-root .billing-toggle__btn--active .billing-toggle__badge { background: rgba(255, 255, 255, 0.2); color: inherit; }

/* Links that were light cyan on dark. */
#v2-root :is(.legal-content a:hover, .case-body a:hover, .cs-table a:hover, .footer-note a, .email-box strong) { color: var(--v2-brand-ink); }
#v2-root .post-body a { text-decoration-color: rgba(11, 122, 94, 0.35); }

/* Dark panels that sat on the old slate background. */
#v2-root .checkout-modal { background: rgba(11, 22, 19, 0.55); }
#v2-root .steps { background: var(--v2-surface); border-color: var(--v2-border); }

#v2-root :is(.snap-benefit, .snap-trust) { background: var(--v2-surface); }
#v2-root :is(.pricing-cta__inner, .score-block, .cta) { background: var(--v2-brand-soft); border-color: rgba(11, 122, 94, 0.14); }

/* Engine dots in the homepage hero dashboard use the app's engine colours. */
#v2-root .hero__platform-icon[style*="10a37f"] { background: var(--v2-chatgpt) !important; }
#v2-root .hero__platform-icon[style*="4285f4"] { background: var(--v2-gemini) !important; }
#v2-root .hero__platform-icon[style*="20b2aa"] { background: var(--v2-perplexity) !important; }

/* ---------- 7. Inputs ---------- */
#v2-root :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-radius: 9px;
  border-color: var(--v2-border);
  background-color: var(--v2-surface);
  color: var(--v2-text);
}
#v2-root :is(input, select, textarea):focus { border-color: var(--v2-brand-ink); box-shadow: var(--v2-focus); outline: none; }
#v2-root :is(input, textarea)::placeholder { color: var(--v2-faint); }

/* ---------- 8. Homepage preview widgets ---------- */
#v2-root .faq-item { border-color: var(--v2-border); }
#v2-root .how-it-works__steps::before { background: var(--v2-brand); opacity: 0.6; }
#v2-root .hero__bar[style*="22c55e"] { background: var(--v2-chatgpt) !important; }
#v2-root .hero__bar[style*="06b6d4"] { background: var(--v2-perplexity) !important; }
#v2-root .hero__bar[style*="3b82f6"] { background: var(--v2-gemini) !important; }
#v2-root .preview-bar-row:nth-child(1) .preview-bar-row__fill { background: var(--v2-perplexity); }
#v2-root .preview-bar-row:nth-child(2) .preview-bar-row__fill { background: var(--v2-gemini); }
#v2-root .preview-bar-row:nth-child(3) .preview-bar-row__fill { background: var(--v2-chatgpt); }
#v2-root .preview-bar-row__track { background: var(--v2-sunken); }
#v2-root .hero__platform-status.partial,
#v2-root .preview-gauge__label,
#v2-root .preview-gauge__score,
#v2-root [style*="color:#f59e0b"] { color: var(--v2-warn) !important; }
#v2-root .hero__platform-status.missing { color: var(--v2-bad); }

/* The full-width "free snapshot" band used an inline green/cyan/blue wash. */
#v2-root [style*="rgba(34,197,94,0.1), rgba(6,182,212,0.1), rgba(30,64,175,0.1)"] {
  background: var(--v2-brand-soft) !important;
  border-color: rgba(11, 122, 94, 0.14) !important;
}

/* Pricing checkout modal: already a light panel, just align the greys. */
#v2-root :is(.checkout-modal__close, .checkout-modal__legal, .checkout-modal__subtitle) { color: var(--v2-muted); }
#v2-root .checkout-modal__legal a { color: var(--v2-brand-ink); }
#v2-root .preview-gauge__score { background: none; -webkit-text-fill-color: currentColor; letter-spacing: -0.03em; }

/* Pricing matrix: featured (Growth) column uses brand-soft, not cyan. */
#v2-root .matrix__col--featured { background: rgba(227, 247, 240, 0.6) !important; }
#v2-root .matrix thead th.matrix__col--featured { background: var(--v2-brand-soft) !important; color: var(--v2-brand-ink); }
#v2-root .matrix tbody tr:hover :is(th, td) { background: var(--v2-surface-2); }

/* ---------- 9. Free AI Snapshot page ---------- */
#v2-root .snap-hero__copy h1 .accent,
#v2-root .snap-sample__metric-num { background: none; -webkit-text-fill-color: currentColor; color: var(--v2-brand-ink); }
#v2-root .snap-form-card::before { background: linear-gradient(135deg, rgba(95, 215, 179, 0.55), rgba(95, 215, 179, 0.15)); }
#v2-root .snap-step__num { background: var(--v2-brand-ink); color: #fff; }
#v2-root .snap-benefit__icon { background: var(--v2-brand-soft); color: var(--v2-brand-ink); }
#v2-root .snap-sample__bullets li::before { background: var(--v2-brand); }
#v2-root .snap-sample__dot--cited { background: var(--v2-good); box-shadow: 0 0 0 2px var(--v2-good-bg); }
#v2-root .snap-sample__dot--partial { background: #D9911F; box-shadow: 0 0 0 2px var(--v2-warn-bg); }
#v2-root .snap-sample__dot--missed { background: var(--v2-faint); box-shadow: 0 0 0 2px var(--v2-neutral-bg); }
#v2-root .snap-upsell { background: var(--v2-brand-soft); }
#v2-root .snap-hero::before { background: radial-gradient(ellipse at top, rgba(95, 215, 179, 0.16), transparent 60%); }
#v2-root .snap-hero__grid > * { min-width: 0; }
#v2-root .snap-hero__platforms { flex-wrap: wrap; }

/* ---------- 10. Leftover pale-cyan tints ---------- */
/* Growth plan card: mint wash instead of cyan. */
#v2-root .tier-card--featured {
  background: linear-gradient(180deg, var(--v2-brand-soft) 0%, var(--v2-surface) 60%);
  border-color: var(--v2-brand);
  box-shadow: 0 0 0 1px var(--v2-brand), var(--v2-shadow);
}
#v2-root .tier-card__badge { box-shadow: 0 4px 14px -2px rgba(11, 122, 94, 0.28); }
#v2-root .pricing-card--featured {
  background: linear-gradient(180deg, var(--v2-brand-soft) 0%, var(--v2-surface) 60%);
}

/* "Not sure which plan fits" and similar CTA boxes: brand-soft, no cyan/blue wash. */
#v2-root .pricing-cta__inner,
#v2-root .cta-section,
#v2-root .score-block,
#v2-root .cta,
#v2-root .cs-cta,
#v2-root .snap-upsell {
  background: var(--v2-brand-soft);
  border-color: rgba(11, 122, 94, 0.14);
}

/* Header / hero glows: faint mint, not cyan. */
#v2-root :is(.hero, .blog-hero, .post-hero, .industry-hero, .about-hero, .page-hero, .ind-hero, .post-cta,
  .industry-cta__inner, .about-cta__inner, .industries-cta__inner, .ind-cta__inner, .cta-section, .snap-hero)::before {
  background: radial-gradient(ellipse, rgba(95, 215, 179, 0.16) 0%, transparent 65%);
}
#v2-root .hero__dashboard { box-shadow: var(--v2-shadow-lg); }
#v2-root .cta-section::before { background: radial-gradient(ellipse, rgba(95, 215, 179, 0.16) 0%, transparent 60%); }
#v2-root .badge--featured { background: var(--v2-brand-soft); color: var(--v2-brand-ink); border-color: rgba(11, 122, 94, 0.16); }
#v2-root .cs-eyebrow { color: var(--v2-brand-ink); }
#v2-root .snap-sample__badge { background: var(--v2-brand-soft); color: var(--v2-brand-ink); border-color: rgba(11, 122, 94, 0.16); }
#v2-root .featured-card__icon-bg { background: var(--v2-brand-soft); }
#v2-root .featured-card__icon-bg::after { background: var(--v2-brand); }
#v2-root .link:hover { border-color: var(--v2-brand-ink); }
#v2-root .ind-callout { border-color: rgba(11, 122, 94, 0.16); background: var(--v2-brand-soft); }

/* ---------- 11. v2 dashboard views (homepage hero + dashboard section) ----------
 * Static replicas of real v2 app components. Values are copied from
 * public/v2/shell.css (.v2-card, .v2-card-head, .v2-pill-*, .v2-gauge,
 * .v2-kpi, .v2-engine-*, .v2-bar, .v2-next-*). shell.css itself is not loaded
 * here because it carries global #v2-root rules meant for the app shell.
 * All sample figures are labelled "Sample report" in the markup.
 */
#v2-root .v2-dash { margin: 0; font-feature-settings: "cv11", "ss01"; color: var(--v2-text); }
#v2-root .v2-dash .v2-card {
  background: var(--v2-surface);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  box-shadow: var(--v2-shadow);
  overflow: hidden;
  transition: transform var(--v2-dur) var(--v2-ease), box-shadow var(--v2-dur) var(--v2-ease);
}
#v2-root .v2-dash .v2-card:hover { transform: translateY(-1px); }
#v2-root .v2-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--v2-hair);
}
#v2-root .v2-card-head h3 { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: 0; line-height: 1.3; }
#v2-root .v2-dash-title { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 13.5px; font-weight: 650; }
#v2-root .v2-dash-title img { display: block; width: 70px; height: auto; }
#v2-root .v2-dash-title span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#v2-root .v2-muted-sm { color: var(--v2-muted); font-size: 12px; white-space: nowrap; }

#v2-root .v2-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 650; white-space: nowrap; line-height: 1; }
#v2-root .v2-pill-good { background: var(--v2-good-bg); color: var(--v2-good); }
#v2-root .v2-pill-warn { background: var(--v2-warn-bg); color: var(--v2-warn); }
#v2-root .v2-pill-bad { background: var(--v2-bad-bg); color: var(--v2-bad); }
#v2-root .v2-pill-info { background: var(--v2-info-bg); color: var(--v2-info); }
#v2-root .v2-pill-neutral { background: var(--v2-neutral-bg); color: var(--v2-muted); }

/* Gauge: same geometry and type as the app's audit-report gauge. */
#v2-root .v2-gauge { position: relative; width: 190px; height: 170px; flex: none; }
#v2-root .v2-gauge svg { display: block; width: 100%; height: 100%; overflow: visible; max-width: none; }
#v2-root .v2-gauge-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 4px; }
#v2-root .v2-gauge-val b { font-size: 50px; line-height: 1; letter-spacing: -0.04em; font-weight: 750; font-variant-numeric: tabular-nums; }
#v2-root .v2-gauge-val span { color: var(--v2-muted); font-size: 12px; margin-top: 4px; }
#v2-root .v2-gauge--sm { width: 150px; height: 136px; }
#v2-root .v2-gauge--sm .v2-gauge-val b { font-size: 40px; }

#v2-root .v2-hero-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; padding: 18px 20px 8px; align-items: center; }
#v2-root .v2-hero-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
#v2-root .v2-hero-line { margin: 0; max-width: none; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; color: var(--v2-text); font-weight: 500; }
#v2-root .v2-hero-line b { font-weight: 700; }

/* Engine rows: mark, name, delta, bar, rate. */
#v2-root .v2-engine-list { display: grid; gap: 2px; padding: 6px 12px 14px; }
#v2-root .v2-engine-list--card { padding: 10px 12px 14px; }
#v2-root .v2-engine-line { display: grid; grid-template-columns: 30px minmax(0, 1fr) 56px; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
#v2-root .v2-engine-line:hover { background: var(--v2-surface-2); }
#v2-root .v2-engine-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--c); font-weight: 700; font-size: 12px; }
#v2-root .v2-engine-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; }
#v2-root .v2-engine-top b { font-weight: 650; }
#v2-root .v2-delta { display: inline-flex; align-items: center; gap: 3px; font-weight: 650; font-size: 12px; white-space: nowrap; }
#v2-root .v2-delta span { font-size: 9px; }
#v2-root .v2-delta.up { color: var(--v2-good); }
#v2-root .v2-delta.down { color: var(--v2-bad); }
#v2-root .v2-bar { height: 8px; border-radius: 8px; background: var(--v2-sunken); overflow: hidden; margin: 7px 0 5px; }
#v2-root .v2-bar i { display: block; height: 100%; border-radius: 8px; background: var(--c); }
#v2-root .v2-engine-foot { color: var(--v2-muted); font-size: 12px; }
#v2-root .v2-engine-rate { font-size: 26px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
#v2-root .v2-engine-rate small { font-size: 14px; color: var(--v2-muted); font-weight: 550; margin-left: 1px; }

/* Score card KPI tiles. */
#v2-root .v2-score-body { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 18px 18px; }
#v2-root .v2-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
#v2-root .v2-kpi { padding: 12px 14px; border: 1px solid var(--v2-border); border-radius: 12px; background: var(--v2-surface-2); display: flex; flex-direction: column; gap: 6px; }
#v2-root .v2-kpi-label { color: var(--v2-muted); font-size: 12.5px; }
#v2-root .v2-kpi-val { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
#v2-root .v2-kpi-val small { font-size: 14px; color: var(--v2-muted); font-weight: 550; margin-left: 2px; }
#v2-root .v2-kpi-text { font-size: 18px; color: var(--v2-warn); }

/* Next steps list, like the customer home "Your next 3 steps" card. */
#v2-root .v2-next-rows { list-style: none; margin: 0; padding: 4px 0; }
#v2-root .v2-next-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--v2-hair); max-width: none; }
#v2-root .v2-next-row:last-child { border-bottom: 0; }
#v2-root .v2-next-row b { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.35; }
#v2-root .v2-next-row div span { display: block; color: var(--v2-muted); font-size: 12px; margin-top: 2px; }
#v2-root .v2-step { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--v2-brand-soft); color: var(--v2-brand-ink); font-size: 12px; font-weight: 700; }

#v2-root .v2-dash-cap { margin: 10px 4px 0; color: var(--v2-muted); font-size: 12px; max-width: none; }
#v2-root .v2-dash-cap--center { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; text-align: center; }

/* Homepage dashboard section grid: equal-height v2 cards with 16px gaps. */
#v2-root .v2-dash--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
#v2-root .v2-dash--hero { max-width: 540px; margin-left: auto; width: 100%; }

@media (max-width: 1020px) {
  #v2-root .v2-dash--grid { grid-template-columns: 1fr 1fr; }
  #v2-root .v2-dash--grid > .v2-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  #v2-root .v2-dash--hero { margin: 0 auto; }
}
@media (max-width: 640px) {
  #v2-root .v2-dash--grid { grid-template-columns: 1fr; }
  #v2-root .v2-hero-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 16px 16px 4px; gap: 8px; }
  #v2-root .v2-hero-tags { justify-content: center; }
  #v2-root .v2-hero-line { font-size: 15.5px; }
  #v2-root .v2-gauge { width: 160px; height: 144px; }
  #v2-root .v2-gauge-val b { font-size: 42px; }
  #v2-root .v2-engine-line { grid-template-columns: 28px minmax(0, 1fr) 50px; gap: 10px; }
  #v2-root .v2-engine-rate { font-size: 22px; }
  #v2-root .v2-dash-title span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #v2-root .v2-dash .v2-card:hover { transform: none; }
}

/* ---------- 12. Free AI Snapshot sample preview: v2 status pills ---------- */
#v2-root .snap-sample__status { border: 0; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; }
#v2-root .snap-sample__status--cited { background: var(--v2-good-bg); color: var(--v2-good); }
#v2-root .snap-sample__status--partial { background: var(--v2-warn-bg); color: var(--v2-warn); }
#v2-root .snap-sample__status--missed { background: var(--v2-neutral-bg); color: var(--v2-muted); }
#v2-root .snap-sample__badge { border-radius: 999px; background: var(--v2-info-bg); color: var(--v2-info); border-color: transparent; font-weight: 650; }
#v2-root .snap-sample__metric { background: var(--v2-surface-2); border: 1px solid var(--v2-border); border-radius: 12px; }
/* On narrow screens keep the headline first; the sample dashboard follows it. */
@media (max-width: 900px) { #v2-root .hero__visual { order: 0; } }
