/* ============================================================
   Homepage only (landing/index.html). Loaded after style.css.
   style.css is shared by every landing page, so nothing here
   restyles a shared class outside `body.hp`.
   Colours come from the landing tokens in style.css plus the
   product's status and speaker tokens (BRAND_GUIDELINES.md §3).
   ============================================================ */

:root {
  --hp-pass:        #2d6e4a;
  --hp-pass-bg:     #e8f5e8;
  --hp-review:      #7a5a06;   /* brand #b8860b darkened for AA on --hp-review-bg */
  --hp-review-bg:   #fef3e0;
  --hp-fail:        var(--fail);
  --hp-fail-bg:     var(--fail-bg);
  --hp-agent:       #2d6e4a;
  --hp-customer:    #5a5a8a;
  --hp-tag-bg:      #eef2ee;
  --hp-field:       var(--primary-light);
  --hp-accent:      #388157;   /* brand green deepened to clear 4.5:1 on white and page */
  --hp-radius:      10px;
  --hp-radius-btn:  8px;
  --hp-shadow:      0 1px 2px rgba(26, 46, 26, 0.06), 0 4px 8px -4px rgba(26, 46, 26, 0.10);
  --hp-section-y:   clamp(64px, 3.5rem + 2.5vw, 104px);
}

:root[data-theme="dark"] {
  --hp-pass:        #5cc08a;
  --hp-pass-bg:     #16301f;
  --hp-review:      #d6a838;
  --hp-review-bg:   #332714;
  --hp-agent:       #5cc08a;
  --hp-customer:    #9a9ad0;
  --hp-tag-bg:      #222b25;
  --hp-accent:      #57ab7a;
  --hp-shadow:      0 1px 2px rgba(0, 0, 0, 0.45), 0 4px 8px -4px rgba(0, 0, 0, 0.5);
}

/* ---------- Browser surfaces ---------- */
.hp ::selection { background: var(--primary-light); color: var(--text-primary); }
:root[data-theme="dark"] .hp ::selection { background: #2d4a36; }
.hp a:focus-visible,
.hp button:focus-visible,
.hp summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.hp .hp-num { font-variant-numeric: tabular-nums; }

/* ---------- Shared button, homepage overrides ---------- */
.hp .btn-primary,
.hp .btn-primary:hover { color: #ffffff; }

/* ---------- Shared type ---------- */
.hp-h2 {
  font-size: clamp(1.875rem, 1.25rem + 1.9vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 20ch;
}
.hp-h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.hp-lede {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 36em;
  text-wrap: pretty;
  margin: 20px 0 0;
}
.hp-body {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 62ch;
  text-wrap: pretty;
  margin: 10px 0 0;
}
.hp-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color 160ms ease;
}
.hp-link:hover { text-decoration-color: currentColor; }
.hp-link svg { display: block; width: 16px; height: 16px; margin-left: 6px; flex: none; }
.hp-body .hp-link, .hp-faq .hp-body .hp-link { min-height: 0; display: inline; white-space: nowrap; }

.hp-section { padding: 96px 0; padding-block: var(--hp-section-y); }
.hp-section + .hp-section { border-top: 1px solid var(--border-light); }
.hp-section--white { background: var(--section-alt); }

/* ---------- Hero ---------- */
.hp-hero {
  background: var(--hp-field);
  padding: 88px 0 104px;
  padding-block: clamp(56px, 3rem + 4vw, 120px) clamp(64px, 3rem + 5vw, 132px);
}
.hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hp-h1 {
  font-size: clamp(2.375rem, 1.35rem + 2.6vw, 3.125rem);
  line-height: 1.03;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.hp-hero .hp-lede { color: var(--text-secondary); max-width: 46ch; margin-top: 24px; }
.hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 36px;
}
.hp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 32px 0 0;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.hp-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hp-trust svg { width: 16px; height: 16px; color: var(--primary-dark); flex: none; }
.hp-trust a { display: inline-block; padding-block: 10px; margin-block: -10px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.hp-trust a:hover { color: var(--text-primary); text-decoration-color: currentColor; }

/* ---------- Product surfaces (verdict panel, sale, reconciliation) ---------- */
.hp-panel {
  margin: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  overflow: hidden;
  font-size: 0.875rem;
}
.hp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.hp-panel-title { font-weight: 600; color: var(--text-primary); font-size: 0.9375rem; }
.hp-panel-meta { color: var(--text-muted); font-size: 0.8125rem; margin-top: 2px; }
.hp-caption {
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Status pills: text plus a drawn glyph, never colour alone */
.hp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.hp-pill svg { width: 13px; height: 13px; flex: none; }
.hp-pill--pass   { background: var(--hp-pass-bg);   color: var(--hp-pass); }
.hp-pill--fail   { background: var(--hp-fail-bg);   color: var(--hp-fail); }
.hp-pill--review { background: var(--hp-review-bg); color: var(--hp-review); }
.hp-pill--neutral { background: var(--hp-tag-bg); color: var(--text-secondary); }

.hp-criteria { list-style: none; margin: 0; padding: 0; position: relative; }
.hp-criterion {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}
.hp-criterion:last-child { border-bottom: 0; }
.hp-criterion-name { color: var(--text-primary); line-height: 1.45; }
.hp-time { color: var(--text-muted); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.hp-criterion--open { background: color-mix(in srgb, var(--hp-fail-bg) 45%, var(--card-bg)); }
:root[data-theme="dark"] .hp-criterion--open { background: color-mix(in srgb, var(--hp-fail-bg) 28%, var(--card-bg)); }

.hp-evidence {
  grid-column: 2 / -1;
  margin: 12px 0 2px;
  padding: 12px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--hp-fail) 22%, transparent);
}
.hp-lines { list-style: none; margin: 0; padding: 0; }
.hp-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 5px 6px;
  border-radius: 6px;
  color: var(--text-cell);
  line-height: 1.5;
}
.hp-line--hit { background: var(--hp-fail-bg); color: var(--text-primary); }
.hp-speaker { font-weight: 600; margin-right: 4px; }
.hp-speaker--agent { color: var(--hp-agent); }
.hp-speaker--customer { color: var(--hp-customer); }
.hp-tag {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--hp-tag-bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.hp-reason {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* The one authored motion moment: the panel's verdicts settle in
   reading order and the quoted line is struck once. Content is
   visible in its final state before and without the animation. */
.hp-scan { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hp-play .hp-scan {
    display: block;
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--primary);
    opacity: 0;
    pointer-events: none;
    animation: hp-scan 1500ms cubic-bezier(0.16, 1, 0.3, 1) 250ms 1 both;
  }
  .hp-play .hp-criterion .hp-pill {
    animation: hp-settle 520ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }
  .hp-play .hp-criterion:nth-child(2) .hp-pill { animation-delay: 380ms; }
  .hp-play .hp-criterion:nth-child(3) .hp-pill { animation-delay: 640ms; }
  .hp-play .hp-criterion:nth-child(4) .hp-pill { animation-delay: 900ms; }
  .hp-play .hp-criterion:nth-child(5) .hp-pill { animation-delay: 1200ms; }
  .hp-line--hit.hp-strike { animation: hp-strike 700ms cubic-bezier(0.16, 1, 0.3, 1) backwards; } /* delay set by home.js */
}
@keyframes hp-scan {
  0%   { transform: translateY(0); opacity: 0.9; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(var(--hp-scan-distance, 360px)); opacity: 0; }
}
@keyframes hp-settle {
  from { filter: grayscale(1); opacity: 0.45; transform: scale(0.96); }
  to   { filter: none; opacity: 1; transform: none; }
}
@keyframes hp-strike {
  from { background-color: transparent; box-shadow: inset 0 0 0 1px transparent; }
  40%  { box-shadow: inset 0 0 0 1px var(--hp-fail); }
  to   { background-color: var(--hp-fail-bg); box-shadow: inset 0 0 0 1px transparent; }
}

/* ---------- How it works ---------- */
.hp-steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
  counter-reset: hp-step;
}
.hp-step {
  counter-increment: hp-step;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  position: relative;
}
.hp-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--primary);
}
.hp-step .hp-h3::before {
  content: counter(hp-step) ".";
  color: var(--primary-dark);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}
.hp-works-with {
  margin: 48px 0 0;
  color: var(--text-secondary);
  line-height: 1.8;
}
.hp-works-with a { color: var(--text-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
.hp-works-with a:hover { text-decoration-color: currentColor; }

/* ---------- Split sections ---------- */
.hp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
.hp-split + .hp-split { margin-top: clamp(56px, 5vw, 96px); }
.hp-split--flip > :first-child { order: 2; }
#security > .hp-split,
#live.hp-split { align-items: start; }
#live.hp-split > :last-child { padding-top: 8px; }

/* Sale timeline */
.hp-sale { padding: 20px; }
.hp-sale-calls {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  --hp-call-gap: 10px;
  gap: var(--hp-call-gap);
  position: relative;
}
.hp-sale-calls::before {
  content: "";
  position: absolute;
  left: calc((100% - 2 * var(--hp-call-gap)) / 6);
  right: calc((100% - 2 * var(--hp-call-gap)) / 6);
  top: 22px;
  height: 1px;
  background: var(--border);
}
.hp-call {
  position: relative;
  text-align: center;
  padding: 0 4px;
}
.hp-call-dot {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hp-call-name { color: var(--text-primary); font-weight: 600; line-height: 1.35; }
.hp-call-meta { color: var(--text-muted); font-size: 0.8125rem; margin-top: 2px; }
.hp-sale-result {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--hp-radius-btn);
  background: var(--page-bg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hp-sale-result strong { color: var(--text-primary); }

/* Reconciliation compare */
.hp-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hp-compare > div { padding: 18px 20px; }
.hp-compare > div + div { border-left: 1px solid var(--border-light); }
.hp-compare-label { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.5; }
.hp-compare-q { color: var(--text-secondary); margin-top: 8px; line-height: 1.45; }
.hp-compare-a { color: var(--text-primary); font-weight: 600; margin-top: 4px; font-size: 1rem; line-height: 1.4; }
.hp-compare-quote { color: var(--text-primary); margin-top: 8px; line-height: 1.5; }

/* ---------- Your firm's standard ---------- */
.hp-facts {
  margin: 0;
  display: grid;
  gap: 0;
}
.hp-fact {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.hp-fact:last-child { border-bottom: 1px solid var(--border); }
.hp-fact dt { font-weight: 600; color: var(--text-primary); font-size: 1.0625rem; }
.hp-fact dd { margin: 6px 0 0; color: var(--text-secondary); line-height: 1.6; max-width: 56ch; }
.hp-fact a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Security ---------- */
.hp-redacted {
  padding: 20px;
  display: grid;
  gap: 12px;
}
.hp-redacted .hp-line { padding: 0; grid-template-columns: 44px minmax(0, 1fr); }

/* ---------- Pricing band ---------- */
.hp-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.hp-price {
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.hp-price small { font-size: 1rem; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; margin-left: 6px; }

.hp-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.hp-price-from { display: block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; color: var(--text-muted); margin-bottom: 2px; }
.hp-includes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.hp-includes li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); line-height: 1.5; }
.hp-includes li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--hp-pass); }
.hp-includes-title { font-weight: 600; color: var(--text-primary); margin: 0 0 12px; }

/* Live alert panel */
.hp-alert-quote { padding: 16px 20px; border-bottom: 1px solid var(--border-light); }
.hp-alert-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border-light); color: var(--text-primary); }
.hp-alert-row:last-of-type { border-bottom: 0; }
.hp-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--hp-fail); margin-right: 8px; vertical-align: 1px; }

/* ---------- Sectors ---------- */
.hp-sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 4vw, 64px);
  margin-top: 48px;
}
.hp-sector { padding-top: 24px; border-top: 1px solid var(--border); }
.hp-sector-copy { margin: 12px 0 0; color: var(--text-secondary); line-height: 1.6; max-width: 56ch; }
.hp-sector ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hp-sector li { display: flex; gap: 10px; color: var(--text-secondary); line-height: 1.5; }
.hp-sector li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--hp-pass); }
.hp-sector .hp-link { display: inline-block; margin-top: 20px; }
/* A card with a second link stacks it under the first rather than running them together. */
.hp-sector .hp-link + .hp-link { display: table; margin-top: 0; }
.hp-also { max-width: 62ch; margin: 40px 0 0; color: var(--text-secondary); line-height: 1.8; }
.hp-also a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
.hp-also a:hover { text-decoration-color: currentColor; }

/* ---------- FAQ ---------- */
.hp-faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.hp-q:first-child { border-top: 1px solid var(--border); }
.hp-q { border-bottom: 1px solid var(--border); }
.hp-q summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
}
.hp-q summary::-webkit-details-marker { display: none; }
.hp-q summary svg { width: 20px; height: 20px; flex: none; color: var(--text-muted); transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1); }
.hp-q[open] summary svg { transform: rotate(180deg); }
.hp-q summary:hover { color: var(--primary-dark); }
.hp-a { padding: 0 0 22px; color: var(--text-secondary); line-height: 1.65; max-width: 62ch; }
.hp-a p { margin: 0; }
.hp-a a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Closing CTA ---------- */
.hp-close { background: var(--hp-field); }
.hp-close-inner { max-width: 760px; }
.hp-close .hp-h2 { max-width: 18ch; }
.hp-close-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 36px;
}

/* ---------- Plan labels, tiers, wide Reconciliation, small type fixes ---------- */
.hp-plan {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  vertical-align: 2px;
}
.hp-tiers { list-style: none; margin: 28px 0 8px; padding: 0; border-top: 1px solid var(--border); }
.hp-tier { padding: 16px 0; border-bottom: 1px solid var(--border); }
.hp-tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hp-tier-name { font-weight: 600; color: var(--text-primary); font-size: 1.0625rem; }
.hp-tier .hp-price { font-size: clamp(1.75rem, 1.5rem + 0.8vw, 2.25rem); }
.hp-tier-adds { margin: 4px 0 0; color: var(--text-secondary); line-height: 1.5; }
.hp-wide { margin-top: clamp(56px, 5vw, 96px); }
.hp-wide + .hp-split { margin-top: clamp(56px, 5vw, 96px); }
.hp-wide-intro { max-width: 760px; }
.hp-wide .hp-panel { margin-top: 32px; }
.hp-wide .hp-compare > div { padding: 24px 28px; }
.hp-wide .hp-compare-a { font-size: 1.25rem; line-height: 1.4; }
#learning > .hp-split { align-items: start; }
.hp-nowrap { white-space: nowrap; }
.hp-reassure { margin-top: 20px; }


/* Reconciliation rows (full-width panel) */
.hp-recon-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 140px;
  gap: 24px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.hp-recon-row:last-child { border-bottom: 0; }
.hp-recon-head { padding-block: 10px; color: var(--text-muted); font-size: 0.8125rem; line-height: 1.5; background: var(--page-bg); }
.hp-recon-row .hp-compare-q { margin-top: 0; }
.hp-recon-row .hp-compare-quote { margin-top: 4px; }
.hp-recon-row .hp-pill { justify-self: start; }

/* Short panels travel beside tall text columns instead of leaving dead space */
@media (min-width: 861px) {
  #learning > .hp-split > .hp-panel,
  #security > .hp-split > .hp-panel { position: sticky; top: 88px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-hero .hp-lede { max-width: 58ch; }
  .hp-faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hp-pricing { grid-template-columns: minmax(0, 1fr); }
  .hp-steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hp-split { grid-template-columns: minmax(0, 1fr); }
  .hp-split--flip > :first-child { order: 0; }
  .hp-sectors { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 560px) {
  .hp-criterion { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 10px; padding: 12px 16px; }
  .hp-criterion .hp-pill { padding-inline: 6px 8px; justify-self: start; }
  .hp-evidence { grid-column: 1 / -1; }
  .hp-panel-head, .hp-caption { padding-inline: 16px; }
  .hp-line { grid-template-columns: 40px minmax(0, 1fr); }
  .hp-compare { grid-template-columns: minmax(0, 1fr); }
  .hp-recon-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hp-recon-head { display: none; }
  .hp-compare > div + div { border-left: 0; border-top: 1px solid var(--border-light); }
  .hp-sale-calls { --hp-call-gap: 6px; }
  .hp-call-name { font-size: 0.875rem; }
  .hp-hero-actions .btn,
  .hp-close-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Heading accent ---------- */
/* Every section heading carries one accent phrase: the half of the line that
   holds the section's idea, in brand green. WCAG would allow 3:1 for headings
   this size, but the design detector holds all text to 4.5:1 and the homepage
   ships with no findings and no suppressions, so --hp-accent is the brand green
   deepened just far enough to clear 4.5:1 on white and on the page. On the light
   green field even that falls short, so the hero and closing use --primary-dark. */
.hp-accent { color: var(--hp-accent); }
.hp-hero .hp-accent,
.hp-close .hp-accent { color: var(--primary-dark); }

/* ---------- The gap a sample leaves ---------- */
.hp-gap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: center;
}
.hp-gap-figure {
  margin: 0;
  padding: 32px 36px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
}
/* A static figure, never counted up: count-up statistics are banned, and
   script.js animates anything with .stat-num, so this deliberately isn't one. */
.hp-gap-num {
  margin: 0;
  font-size: clamp(4rem, 2.5rem + 6vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--hp-accent);
  font-variant-numeric: tabular-nums;
}
.hp-gap-label {
  margin: 14px 0 0;
  max-width: 28ch;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ---------- The dark band ---------- */
/* One section sits on the brand's dark green. The dark theme's tokens are
   applied inside it in both themes, so its panel, tags and links stay
   readable without a second set of component rules. */
.hp-section--dark {
  background: var(--dark-bg);
  color: var(--text-primary);
  color-scheme: dark;
  --primary: #57ab7a; --primary-hover: #6abb8a; --primary-dark: #8fd3a8;
  --primary-light: #1f2e24; --primary-50: #16201a; --on-primary-dark: #0b110d;
  --fail: #f0726a; --fail-bg: #3a1d1b;
  --page-bg: #0f1512; --section-alt: #141c17; --card-bg: #18211b;
  --border: #2b3630; --border-light: #222b25;
  --text-primary: #e6efe8; --text-secondary: #b3c2b6; --text-cell: #c4d2c7; --text-muted: #8a9c8d;
  --hp-pass: #5cc08a; --hp-pass-bg: #16301f; --hp-review: #d6a838; --hp-review-bg: #332714;
  --hp-agent: #5cc08a; --hp-customer: #9a9ad0; --hp-tag-bg: #222b25; --hp-accent: #57ab7a;
  --hp-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 4px 8px -4px rgba(0, 0, 0, 0.5);
}
/* In the dark theme the page is already near-black, so the band steps up a shade instead. */
:root[data-theme="dark"] .hp-section--dark { background: var(--dark-bg-2); }
.hp-section--dark,
.hp-section--dark + .hp-section { border-top: 0; }
.hp-section--dark a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }

@media (max-width: 860px) {
  .hp-gap-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-gap-figure { padding: 26px 24px; }
}
