/* Public marketing site theme — "Product-Led": a confident, funded-startup
   SaaS look. Warm-white throughout, one deep emerald accent doing all the
   work (nav CTA, icon badges, the closing CTA band), a rounder geometric
   display face instead of the default Inter/Space Grotesk pick. Distinct
   from dashboard.css, the internal admin shell. */

:root {
  --pe-bg: #FAFBF9;
  --pe-card: #FFFFFF;
  --pe-ink: #15181C;
  --pe-ink-muted: #676D66;
  --pe-accent: #0B6E4F;          /* deep emerald — the one brand color */
  --pe-accent-ink: #FFFFFF;
  --pe-accent-dark: #08543C;
  --pe-accent-soft: rgba(11, 110, 79, 0.08);
  --pe-connector: rgba(11, 110, 79, 0.4);
  --pe-line: rgba(21, 24, 28, 0.10);
  --pe-line-strong: rgba(21, 24, 28, 0.20);
  --pe-good: #0B6E4F;
  --pe-warn: #B5792A;

  --pe-font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --pe-font-body: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.public-site {
  color: var(--pe-ink);
  background: var(--pe-bg);
  font-family: var(--pe-font-body);
  -webkit-font-smoothing: antialiased;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site h4 {
  font-family: var(--pe-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pe-ink);
  text-wrap: balance;
}

.public-site h1 {
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  line-height: 1.12;
}

.public-site h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
}

.public-site h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.public-site p {
  color: var(--pe-ink-muted);
  line-height: 1.7;
}

.public-site .lead {
  font-size: 1.1rem;
  color: var(--pe-ink-muted);
}

.public-site a {
  color: var(--pe-ink);
  text-decoration: underline;
  text-decoration-color: var(--pe-line-strong);
}

.public-site a:hover {
  text-decoration-color: var(--pe-ink);
}

.public-site .stat-value,
.public-site .pricing-price {
  font-variant-numeric: tabular-nums;
}

/* Header */
.public-header {
  background: var(--pe-bg);
  border-bottom: 1px solid var(--pe-line);
}

.public-wordmark {
  font-family: var(--pe-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pe-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.public-nav a {
  color: var(--pe-ink-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.public-nav a:hover {
  color: var(--pe-ink);
}

/* Persistent trial button in the nav -- distinct from the plain text links
   around it, per the "Try It Free" spec: it's the one nav item that should
   never read as just another menu link. */
.public-nav .nav-cta {
  background: var(--pe-accent);
  color: var(--pe-accent-ink) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 150ms ease;
}

.public-nav .nav-cta:hover {
  background: var(--pe-accent-dark);
}

/* Buttons */
.public-site .btn-primary {
  background-color: var(--pe-accent);
  border-color: var(--pe-accent);
  color: var(--pe-accent-ink);
  font-weight: 600;
  border-radius: 5px;
  box-shadow: 0 6px 16px rgba(11, 110, 79, 0.22);
}

.public-site .btn-primary:hover,
.public-site .btn-primary:focus {
  background-color: var(--pe-accent-dark);
  border-color: var(--pe-accent-dark);
  color: var(--pe-accent-ink);
}

.public-site .btn-outline-secondary {
  color: var(--pe-ink);
  border-color: var(--pe-line-strong);
  border-radius: 5px;
}

.public-site .btn-outline-secondary:hover {
  background-color: rgba(21, 24, 28, 0.05);
  border-color: var(--pe-ink-muted);
  color: var(--pe-ink);
}

/* Eyebrow -- a quiet pill badge, not a filled block: the accent should
   read as confident, not shouted. */
.pe-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--pe-accent-soft);
  color: var(--pe-accent);
  padding: 0.35rem 0.7rem;
  border-radius: 5px;
  margin-bottom: 1.1rem;
  display: inline-block;
}

/* Hero -- light, like every other section. The brand's one confident dark
   moment is the closing CTA band instead of a separate dark hero theme. */
.block-hero {
  background: var(--pe-bg);
  border-bottom: 1px solid var(--pe-line);
  overflow: hidden;
}

.block-hero .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
}

.block-hero.has-sample .hero-grid,
.block-hero.has-refinement .hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  text-align: left;
}

.block-hero:not(.has-sample):not(.has-refinement) {
  text-align: center;
}

.block-hero:not(.has-sample):not(.has-refinement) .hero-grid {
  justify-items: center;
}

.block-hero:not(.has-sample):not(.has-refinement) .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Evidence card */
.evidence-card {
  background: var(--pe-card);
  border: 1px solid var(--pe-line);
  border-top: 3px solid var(--pe-accent);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 1px 2px rgba(21, 24, 28, 0.04), 0 8px 24px rgba(21, 24, 28, 0.06);
}

.evidence-card .ec-head {
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--pe-line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.evidence-card .ec-head .biz {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pe-ink);
}

.evidence-card .ec-head .cat {
  font-size: 0.78rem;
  color: var(--pe-ink-muted);
  margin-top: 0.2rem;
}

.evidence-card .ec-score {
  text-align: right;
}

.evidence-card .ec-score .num {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pe-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.evidence-card .ec-score .lbl {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pe-ink-muted);
  margin-top: 0.3rem;
}

.evidence-card .ec-rows {
  padding: 0.4rem 1.3rem 1.1rem;
}

.evidence-card .ec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--pe-line);
  font-size: 0.83rem;
}

.evidence-card .ec-row:last-child {
  border-bottom: none;
}

.evidence-card .ec-row .k {
  color: var(--pe-ink-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.evidence-card .ec-row .v {
  color: var(--pe-ink);
  font-variant-numeric: tabular-nums;
}

.pe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.pe-dot.good {
  background: var(--pe-good);
}

.pe-dot.warn {
  background: var(--pe-warn);
}

/* Generated diagram wraps (Hero refinement-line, Final CTA resolved) */
.pe-refinement-wrap svg,
.final-cta-diagram svg {
  width: 100%;
  height: auto;
}

/* Hero one-line playbook definition, set directly under the subheadline */
.hero-definition {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--pe-ink-muted);
  max-width: 42ch;
  margin: -0.4rem 0 0;
}

/* Pipeline diagrams (10-Second Version, How It Works) */
.pipeline-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.pipeline-wrap svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Animation Layer (Master Copy Strategy, Visual Implementation section) --
   drives the Hero noise/confirmed nodes, the pipeline-diagram sequential
   reveal, and the Final CTA's settled-node pulse. See public.js for the
   JS half; both respect prefers-reduced-motion. */
.noise-node {
  transition: opacity 1.5s ease;
}

.noise-node.resolved {
  opacity: 0;
}

.confirmed-check {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.6s ease;
}

.confirmed-check.drawn {
  stroke-dashoffset: 0;
}

.pipeline-node {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.pipeline-node.active {
  opacity: 1;
}

@keyframes gentle-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.settled-node {
  animation: gentle-pulse 3s ease-in-out infinite;
}

/* Confirmed nodes get the same ongoing pulse once resolved, staggered
   left-to-right so the row reads as continuously "live" rather than a
   one-time flash -- addresses these being easy to miss as animated at
   all when the reveal already happened before you looked. A thin white
   ring gives them a bit more presence against the flat background too. */
#confirmed-nodes circle {
  stroke: #FFFFFF;
  stroke-width: 1.5;
}

#confirmed-nodes .connector-line {
  stroke-width: 2;
}

.confirmed-check.drawn {
  animation: gentle-pulse 2.6s ease-in-out infinite;
}

#confirmed-nodes g:nth-of-type(1) .confirmed-check { animation-delay: 0s; }
#confirmed-nodes g:nth-of-type(2) .confirmed-check { animation-delay: 0.2s; }
#confirmed-nodes g:nth-of-type(3) .confirmed-check { animation-delay: 0.4s; }
#confirmed-nodes g:nth-of-type(4) .confirmed-check { animation-delay: 0.6s; }
#confirmed-nodes g:nth-of-type(5) .confirmed-check { animation-delay: 0.8s; }
#confirmed-nodes g:nth-of-type(6) .confirmed-check { animation-delay: 1s; }

@media (prefers-reduced-motion: reduce) {
  .settled-node,
  .confirmed-check.drawn {
    animation: none;
  }
}

/* CTA Banner -- the page's one bold, solid-color moment, repeating the
   same emerald brand color at full saturation rather than switching to a
   separate dark theme. */
.block-cta-banner {
  background-color: var(--pe-accent);
  color: var(--pe-accent-ink);
}

.block-cta-banner h2 {
  color: var(--pe-accent-ink);
}

.block-cta-banner .btn-primary {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--pe-accent);
  box-shadow: none;
}

.block-cta-banner .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--pe-accent-dark);
}

.cta-diagram-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-diagram-card svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Rich Text -- bordered and given its own background like every other
   section on the page, so consecutive centered text blocks (Problem,
   Solution, Why Choose Us) read as distinct sections, not one block. */
.block-rich-text {
  background: var(--pe-bg);
  border-top: 1px solid var(--pe-line);
}

.rich-text-body h1,
.rich-text-body h2,
.rich-text-body h3 {
  margin-top: 0;
  font-family: var(--pe-font-display);
  font-weight: 700;
  color: var(--pe-ink);
}

.rich-text-body h2 + p,
.rich-text-body h3 + p {
  margin-top: 1rem;
}

.rich-text-body p,
.rich-text-body li {
  color: var(--pe-ink-muted);
}

.rich-text-body a {
  color: var(--pe-ink);
  text-decoration: underline;
  text-decoration-color: var(--pe-line-strong);
}

.rich-text-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.block-rich-text.pe-narrow .rich-text-body {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* Visual scenes above narrow text blocks (Problem/Solution) shouldn't
   stretch to the full container width -- that leaves the dashboard card
   floating in a lot of empty grid space. Match it to a width that frames
   the card comfortably instead. */
.block-rich-text.pe-narrow .ambient-stage,
.block-rich-text.pe-narrow .glass-panel.scene-split {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.public-footer {
  background: var(--pe-bg);
  border-top: 1px solid var(--pe-line);
  color: var(--pe-ink-muted);
}

.public-footer a {
  color: var(--pe-ink-muted);
}

.public-footer a:hover {
  color: var(--pe-ink);
}

/* Feature Grid */
.block-feature-grid {
  border-bottom: 1px solid var(--pe-line);
  background: var(--pe-bg);
}

.feature-row {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--pe-line);
  align-items: start;
}

.feature-row:last-child {
  border-bottom: 1px solid var(--pe-line);
}

.feature-row .feature-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--pe-accent-soft);
  transition: background-color 200ms ease;
}

.feature-row .feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-row:hover .feature-icon {
  background: var(--pe-accent);
}

/* The icon markup sets stroke/fill directly on each path/circle/line (not
   the parent <svg>), so the hover recolor has to target those child
   elements individually -- a rule on the <svg> itself wouldn't reach them,
   since an explicit presentation attribute doesn't inherit from an
   ancestor's CSS property the way an unset one would. */
.feature-row:hover .feature-icon svg path,
.feature-row:hover .feature-icon svg circle,
.feature-row:hover .feature-icon svg line {
  stroke: #FFFFFF;
}

.feature-row:hover .feature-icon svg circle[fill]:not([fill="none"]) {
  fill: #FFFFFF;
}

.feature-code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--pe-accent-soft);
  color: var(--pe-accent);
  display: inline-block;
  padding: 0.3rem 0.55rem;
  border-radius: 5px;
}

/* Stats Band */
.block-stats-band {
  border-bottom: 1px solid var(--pe-line);
  background: var(--pe-bg);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
}

.stat-cell {
  flex: 1 1 0;
  min-width: 8rem;
  padding: 1.5rem 1.5rem 0;
  border-left: 1px solid var(--pe-line);
  text-align: center;
}

.stat-cell:first-child {
  border-left: none;
}

.stat-value {
  font-family: var(--pe-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--pe-ink);
  line-height: 1;
}

.stat-label {
  color: var(--pe-ink-muted);
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

/* Testimonial */
.block-testimonial {
  border-bottom: 1px solid var(--pe-line);
  background: var(--pe-bg);
}

.testimonial-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote p {
  font-family: var(--pe-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pe-ink);
  line-height: 1.5;
}

.testimonial-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-attribution {
  color: var(--pe-ink-muted);
  font-size: 0.85rem;
}

.testimonial-empty-state {
  font-style: italic;
  color: var(--pe-ink-muted);
}

/* Pricing Table */
.block-pricing-table {
  border-bottom: 1px solid var(--pe-line);
  background: var(--pe-bg);
}

.pricing-card {
  background: var(--pe-card);
  border: 1px solid var(--pe-line);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(21, 24, 28, 0.04);
}

.pricing-card h3 {
  font-family: var(--pe-font-display);
}

.pricing-price {
  font-family: var(--pe-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pe-ink);
  margin: 0.5rem 0;
}

.pricing-period {
  font-family: var(--pe-font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--pe-ink-muted);
}

.pricing-quota {
  color: var(--pe-ink-muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--pe-ink-muted);
  font-size: 0.88rem;
  border-top: 1px dashed var(--pe-line);
}

.pricing-features li:first-child {
  border-top: none;
}

/* Image + Text Split */
.block-image-text-split {
  border-bottom: 1px solid var(--pe-line);
  background: var(--pe-bg);
}

.block-image-text-split img {
  border-radius: 8px;
  border: 1px solid var(--pe-line);
}

.founder-photo-slot {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px dashed var(--pe-line-strong);
  background: var(--pe-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pe-ink-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}

/* FAQ Accordion */
.block-faq-accordion {
  background: var(--pe-bg);
}

.block-faq-accordion .accordion-item {
  background-color: transparent;
  border: none;
  border-top: 1px solid var(--pe-line);
}

.block-faq-accordion .accordion-item:last-child {
  border-bottom: 1px solid var(--pe-line);
}

.block-faq-accordion .accordion-button {
  background-color: transparent;
  color: var(--pe-ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.25rem 0;
  box-shadow: none;
  font-family: var(--pe-font-body);
}

.block-faq-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--pe-ink);
  box-shadow: inset 3px 0 0 var(--pe-accent);
  padding-left: 0.85rem;
}

.block-faq-accordion .accordion-button {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23676D66'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2315181C'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
}

.block-faq-accordion .accordion-body {
  padding: 0 0 1.25rem;
  color: var(--pe-ink-muted);
}

/* Mobile -- collapse the two-column hero and wrap the nav instead of
   overflowing the viewport below ~768px. */
@media (max-width: 767.98px) {
  .block-hero .hero-grid,
  .block-hero.has-sample .hero-grid,
  .block-hero.has-refinement .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .block-hero.has-sample .hero-grid > div:first-child,
  .block-hero.has-refinement .hero-grid > div:first-child {
    text-align: center;
  }

  .block-hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .public-header .d-flex {
    flex-wrap: wrap;
    row-gap: 0.6rem;
  }

  .public-nav {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    justify-content: center;
    width: 100%;
  }

  .feature-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

/* ===========================================================================
   Visual scenes: ambient verification grid + glass dashboard panel.
   Replaces the dot-scatter/pipeline diagrams on Hero, Problem, Solution,
   Why Choose Us, and the Final CTA. See public.js for the canvas grid and
   row-cycling logic; all of it respects prefers-reduced-motion.
   =========================================================================== */
.ambient-stage {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  background: radial-gradient(circle at 30% 20%, var(--pe-accent-soft), transparent 55%), var(--pe-bg);
}

.ambient-stage.dim {
  background: radial-gradient(circle at 30% 20%, rgba(21,24,28,0.05), transparent 55%), var(--pe-bg);
}

.ambient-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.glass-panel {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(21, 24, 28, 0.16), 0 2px 6px rgba(21, 24, 28, 0.06);
}

.ambient-stage .glass-dashboard {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.glass-dashboard {
  width: 84%;
  max-width: 380px;
  margin: 0 auto;
  overflow: hidden;
}

.glass-dashboard .gd-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: rgba(237, 237, 232, 0.7);
  border-bottom: 1px solid var(--pe-line);
}

.glass-dashboard .gd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(21, 24, 28, 0.18);
}

.glass-dashboard .gd-live {
  margin-left: auto;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pe-accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.glass-dashboard.gd-unverified .gd-live {
  color: var(--pe-ink-muted);
}

.glass-dashboard .gd-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pe-accent);
  box-shadow: 0 0 0 3px var(--pe-accent-soft);
}

.glass-dashboard.gd-unverified .gd-live .dot {
  background: var(--pe-ink-muted);
  box-shadow: 0 0 0 3px var(--pe-line);
}

.glass-dashboard .gd-body {
  padding: 0.75rem;
  min-height: 190px;
}

/* Status badges: solid and opaque, not glass -- these carry the "9 checks
   passed" / "Reviewed" labels and need to be clearly readable on their own,
   not blended into the ambient background behind them. */
.status-badge {
  position: absolute;
  z-index: 3;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pe-accent);
  box-shadow: 0 10px 24px rgba(21, 24, 28, 0.16);
  border: 1px solid var(--pe-line);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pe-accent);
}

.status-badge.b1 {
  top: 8%;
  left: 3%;
  animation: float-y 5s ease-in-out infinite;
}

.status-badge.b2 {
  bottom: 8%;
  right: 3%;
  animation: float-y 6s ease-in-out infinite 0.6s;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .status-badge.b1,
  .status-badge.b2 {
    animation: none;
  }
}

/* Cycling lead rows inside a glass-dashboard */
.scene-lead-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.4rem;
  border-radius: 7px;
  opacity: 0;
  transform: translateY(8px);
  animation: scene-row-in 0.5s ease forwards;
}

@keyframes scene-row-in {
  to { opacity: 1; transform: translateY(0); }
}

.scene-lead-row .avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--pe-accent-soft);
  color: var(--pe-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.scene-lead-row.unverified .avatar {
  background: var(--pe-line);
  color: var(--pe-ink-muted);
}

.scene-lead-row .info {
  flex: 1;
  min-width: 0;
}

.scene-lead-row .biz {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scene-lead-row .cat {
  font-size: 0.68rem;
  color: var(--pe-ink-muted);
}

.scene-lead-row .score-pill {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 20px;
  background: var(--pe-accent-soft);
  color: var(--pe-accent);
  flex-shrink: 0;
}

.scene-lead-row.unverified .score-pill {
  background: var(--pe-line);
  color: var(--pe-ink-muted);
}

/* Why Choose Us: cluttered volume grid vs. one clean result, side by side */
.scene-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
}

.scene-split .split-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pe-ink-muted);
  margin-bottom: 0.6rem;
  text-align: center;
}

.scene-cluttered {
  background: var(--pe-card);
  border: 1px solid var(--pe-line);
  border-radius: 8px;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
}

.scene-cluttered .mini-dot {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--pe-line-strong);
}

.scene-clean-single {
  background: var(--pe-card);
  border: 1px solid var(--pe-accent);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.scene-clean-single .csl-score {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--pe-accent);
  font-variant-numeric: tabular-nums;
}

.scene-clean-single .csl-label {
  font-size: 0.7rem;
  color: var(--pe-ink-muted);
  margin-top: 0.25rem;
}

/* Use Cases: playbook-match cycler -- a big tag + one matched-criterion
   line, standing in for the lead-row list used everywhere else. This page
   is about which playbook a business matches, not verification, so it
   gets its own content, not a copy of the Home dashboard. */
.playbook-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 170px;
  padding: 1rem;
}

.playbook-tag {
  font-family: var(--pe-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pe-accent);
  margin-bottom: 0.6rem;
  min-height: 1.6em;
}

.playbook-match {
  font-size: 0.85rem;
  color: var(--pe-ink-muted);
  max-width: 30ch;
  min-height: 2.4em;
}

/* Case Studies: an honest empty state instead of a populated fake
   dashboard -- the page's own copy says real results go here once they
   exist, so the visual shouldn't pretend they already do. */
.coming-soon-body {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 150px;
  padding: 1.5rem;
  color: var(--pe-ink-muted);
  font-size: 0.88rem;
  font-style: italic;
}

@media (max-width: 767.98px) {
  .scene-split {
    grid-template-columns: 1fr;
  }

  .status-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.7rem;
  }
}
