/* ==========================================================================
   landing-system.css (source)
   A reusable CSS system for WorkPool landing pages.
   Structure: Tokens → Alias Layer → Base → Layout → Utilities → Components
   Breakpoints: 480, 768, 900, 1100, 1200 (mobile-first)
   ========================================================================== */

/* =======================================
   A) DESIGN TOKENS (MODERN 2026)
   ======================================= */
:root {
  /* Original color palette (reverted) */
--color-primary: #0E7EFF;
--color-primary-hover: #2D5C88;
--color-accent: #E7F2FF;

--color-bg: #FCFCFC;
--color-surface: #FFFFFF;
--color-surface-alt: #FCFCFC;
--color-border: #E7F2FF;

--color-text: #333333;
--color-text-light: #FFFFFF;
--color-muted: #3F455B;
  
  /* Updated Typography */
  --font-sans: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;

  --text-sm: 0.875rem;   /* 14px */
  --text-md: 1rem;       /* 16px */
  --text-lg: 1.125rem;   /* 18px */

  --heading-1: clamp(2.0rem, 1.2rem + 2.2vw, 2.5rem); /* ~32–40px */
  --heading-2: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); /* ~22–28px */
  --heading-3: 1.125rem; /* 18px */

  --line-normal: 1.6;
  --line-loose: 1.75;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 3px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);

  /* Max widths */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 960px;
}


/* =======================================
   C) BASE / RESET (SAFE + CONSERVATIVE)
   ======================================= */
*, *::before, *::after { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--line-normal);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html:focus-within { scroll-behavior: auto; }
}

/* =======================================
   D) LAYOUT PRIMITIVES
   ======================================= */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

.section { 
  padding-block: 96px; 
  background: transparent;
  position: relative;
  z-index: 1;
}
.section--tight { padding-block: 56px; }
.section--loose { padding-block: 120px; }

.section--white { 
  background: var(--color-surface);
}
.section--soft, .section--light { 
  background: var(--color-surface-alt);
}
.section--secondary { 
  background: rgba(11, 94, 215, 0.08);
}

.grid { display: grid; gap: var(--space-7); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.stack > * + * { margin-top: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* Sidebar layout used in case study pages */
.layout-sidebar {
  display: grid; gap: var(--space-7);
  grid-template-columns: 160px 1fr;
  max-width: var(--container-wide);
  margin: var(--space-8) auto;
  padding-inline: var(--space-6);
}
@media (max-width: 1100px) { .layout-sidebar { grid-template-columns: 1fr; } }

/* =======================================
   E) TYPOGRAPHY DEFAULTS
   ======================================= */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin: 0 0 var(--space-3);
}
h1 { font-size: var(--heading-1); line-height: 1.25; }
h2 { font-size: var(--heading-2); }
h3 { font-size: var(--heading-3); }
p  { font-size: var(--text-md); margin: 0 0 var(--space-4); color: var(--color-text); }
.muted { color: var(--color-muted); }

.section-header { text-align: center; margin-bottom: var(--space-7); }
.section-header p { max-width: 54ch; margin-inline: auto; color: var(--color-muted); }

/* =======================================
   F) UTILITIES
   ======================================= */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.center { text-align: center; }
.max-w-prose { max-width: 72ch; }
.max-w-520 { max-width: 520px; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.surface { background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.border { border: 1px solid var(--color-border); }

/* =======================================
   G) COMPONENTS
   ======================================= */

/* ----- Navigation / Header ----- */
.site-header {
  background: var(--color-primary);
  height: 72px; display: flex; align-items: center;
  position: sticky; top: 0; z-index: 50;
}
.site-header .header-inner,
header .nav-container {   /* support existing selectors from concepts */
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-6);
  width: 100%; display: flex; justify-content: space-between; align-items: center;
}
.header-left, .nav-left { display: flex; align-items: center; gap: var(--space-8); }
.logo { height: 64px; }
.nav-links { display: flex; gap: var(--space-6); font-size: var(--text-sm); }
.nav-links a { color: #ffffff; font-weight: 600; letter-spacing: 0.02em; }
.header-cta, .nav-cta a {
  background: #ffffff; color: var(--color-primary);
    padding: 10px 16px; border-radius: 4px; font-size: var(--text-sm); font-weight: 700; text-decoration: none;

}

/* Mobile header adjustments */
@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }
  .logo {
    height: 48px;
  }
  .header-left {
    gap: var(--space-4);
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: 12px;
  }
  .nav-links a {
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
  }
  .header-cta, .nav-cta a {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ----- Hero (two-column → stack on mobile) ----- */
.hero { 
  display: grid; 
  gap: var(--space-8); 
  align-items: center; 
  grid-template-columns: 1.2fr 0.8fr;
}
.hero .hero__copy { 
  max-width: 520px;
}
.hero h1 {
  color: var(--color-primary);
}
@media (max-width: 900px) { 
  .hero { 
    grid-template-columns: 1fr;
  } 
}

/* Optional tilt image wrapper used in comparison hero */
.tilt {
  position: relative; display: flex; justify-content: center; perspective: 1200px;
}
.tilt::before {
  content: ""; position: absolute; inset: -12%;
  background:
    radial-gradient(500px circle at 70% 30%, rgba(15, 126, 255, 0.22), transparent 55%),
    radial-gradient(420px circle at 30% 70%, rgba(29, 161, 242, 0.18), transparent 60%);
  filter: blur(32px); z-index: 0;
}
.tilt img {
  position: relative; z-index: 1; width: 100%; max-width: 560px; border-radius: 14px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.35), 0 8px 20px rgba(15, 23, 42, 0.25);
  transform: rotateY(-6deg) rotateX(3deg) translateY(-6px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
@media (hover:hover) and (min-width: 1024px) { .tilt img:hover { transform: rotateY(-3deg) rotateX(1.5deg) translateY(-10px); } }
@media (max-width: 900px) { .tilt img { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tilt img { transform: none !important; } }

/* === PATCH: Hero horizontal value layout === */

.hero-values {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin: var(--space-6) 0;
  padding: 0;
  list-style: none;
  border-bottom: none;
}

.hero-values li {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding: 20px;
  background: rgba(11, 94, 215, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(11, 94, 215, 0.1);
  font-size: 0.95em;
  line-height: 1.6;
  max-width: none;
  transition: all 0.3s ease;
}

.hero-values li:hover {
  background: rgba(11, 94, 215, 0.08);
  border-color: rgba(11, 94, 215, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.1);
}

.hero-icon {
  display: none;
}

/* === Responsive Hero Values === */
@media (max-width: 900px) {
  .hero-values {
    grid-template-columns: 1fr;
  }
}

/* ----- Buttons (legacy aliases included) ----- */
.btn {
  display: inline-block; 
  font-weight: 700; 
  border-radius: 8px; 
  padding: 12px 24px; 
  font-size: var(--text-sm);
  line-height: 1; 
  text-decoration: none; 
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255, 0.2), rgba(255,255,255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn--primary,
.primary-cta,
.cta-button.primary { 
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.2);
}
.btn--primary:hover,
.primary-cta:hover,
.cta-button.primary:hover { 
  background: var(--color-primary-hover);
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.3);
  transform: translateY(-2px);
}

.btn--secondary,
.secondary-cta,
.cta-button.secondary { 
  background: #fff; 
  color: var(--color-primary); 
  border: 1.5px solid var(--color-primary);
}
.btn--secondary:hover,
.secondary-cta:hover,
.cta-button.secondary:hover { 
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.15);
  transform: translateY(-2px);
}

.btn--tertiary { 
  background: transparent; 
  color: var(--color-primary); 
  border: 1px dashed var(--color-border);
}

/* ----- Cards ----- */
.card, .feature-card, .service-card, .cta-card, .pricing-surface, .client-quote {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}
.card--p-lg, .cta-card { 
  padding: 40px;
}
.card--tinted { 
  background: rgba(11, 94, 215, 0.08);
  border-color: var(--color-border);
}

/* Feature card icon badge */
.feature-icon {
  width: 48px; 
  height: 48px; 
  border-radius: 12px;
  background: rgba(11, 94, 215, 0.12);
  color: var(--color-primary);
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  margin-bottom: 12px;
}
.feature-icon svg { 
  width: 24px; 
  height: 24px; 
  stroke: currentColor; 
  stroke-width: 1.8; 
  fill: none;
}

/* Hover elevation (reduced motion safe) */
.feature-card:hover, .cta-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 24px rgba(11, 94, 215, 0.12);
  border-color: rgba(11, 94, 215, 0.25);
}
@media (prefers-reduced-motion: reduce) { 
  .feature-card:hover, .cta-card:hover { 
    transform: none; 
  } 
}

/* ----- Tables (comparison) ----- */
.table, .comparison-table, .core-comparison, .main-comparison {
  background: var(--color-surface); border: 1px solid #e5edf3; border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: var(--space-8); background: transparent; }
thead th {
  padding: 16px 12px 20px; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted);
  text-align: left; border-bottom: 1px solid #e5edf3; vertical-align: bottom;
}
thead th.workpool span, thead th.competitor span {
  display: inline-block; padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
}
thead th.workpool span { background: rgba(15, 126, 255, 0.12); color: var(--color-primary-hover); }
thead th.competitor span { background: #f1f5f9; color: #334155; }

tbody tr { transition: background 0.15s ease; }
tbody tr:hover { background: #f9fbfd; }
tbody td {
  padding: 18px 12px; font-size: 15px; color: var(--color-text);
  vertical-align: top; border-bottom: 1px solid #edf2f7;
}
tbody td:first-child { font-weight: 600; color: #334155; width: 34%; }
tbody td.workpool { background: rgba(15, 126, 255, 0.03); }
tbody tr:last-child td { border-bottom: none; }

/* Section rows within tables */
tr.section-row td {
  padding: 12px 12px 8px; font-weight: 700; font-size: 15px; color: var(--color-primary);
  border-bottom: none; background: transparent;
}
tr.section-row + tr td { padding-top: 16px; }
tr.section-row + tr { border-top: 1px solid rgba(15, 23, 42, 0.06); }

/* Check/close icon helpers */
.value-icon { display: inline-flex; align-items: center; gap: 6px; }
.value-icon svg { width: 16px; height: 16px; }
.value-yes svg { color: var(--color-primary); }
.value-no  svg { color: #9ca3af; }
.value-unclear svg { color: #cbd5e1; }
.value-text { font-size: 14px; color: #374151; }

/* ----- Footer + Social Icons ----- */
footer, .site-footer {
  background: var(--color-primary);
  color: #fff; 
  padding: 32px 24px; 
  font-size: var(--text-sm);
}
footer .container, .site-footer .container {
  display: flex; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: var(--space-4);
}
.footer-social { 
  display: flex; 
  gap: var(--space-4); 
  align-items: center;
}
.footer-social a {
  display: inline-flex; 
  width: 32px; 
  height: 32px; 
  align-items: center; 
  justify-content: center;
  border-radius: 6px; 
  background: rgba(255,255,255,0.12);
  transition: all 0.2s ease;
}
.footer-social a:hover { 
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.footer-social svg { 
  width: 16px; 
  height: 16px; 
  fill: #ffffff;
}
.footer-meta { 
  display: flex; 
  align-items: center; 
  gap: 8px;
}
.footer-sep { 
  opacity: 0.5;
}

/* ----- Pricing UI (range + toggle) ----- */
.pricing-slider, input[type="range"].pricing-slider, input[type="range"].range--progress {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px; outline: none; cursor: pointer;
  background: linear-gradient(
    to right,
    var(--color-primary) 0%,
    var(--color-primary) var(--slider-progress, 0%),
    #e5e7eb var(--slider-progress, 0%),
    #e5e7eb 100%
  );
}
.pricing-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: #ffffff;
  border: 2px solid var(--color-primary); border-radius: 50%; cursor: pointer; transition: transform 0.15s ease;
}
.pricing-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.pricing-slider::-moz-range-thumb {
  width: 16px; height: 16px; background: #ffffff; border: 2px solid var(--color-primary); border-radius: 50%;
}

/* Toggle pill group (deployment) */
.toggle {
  display: inline-flex; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden;
}
.toggle span { padding: 8px 18px; font-size: var(--text-sm); cursor: pointer; user-select: none; }
.toggle .active { background: var(--wp-secondary); color: var(--color-primary); font-weight: 700; }

/* ----- Quote Card ----- */
.client-quote {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 40px 48px; max-width: 880px; position: relative;
}
.client-quote .quote-mark {
  position: absolute; top: 24px; left: 32px; font-size: 64px; line-height: 1;
  color: var(--wp-secondary); font-weight: 700; z-index: 0;
}
.client-quote blockquote { position: relative; z-index: 1; margin: 0; font-size: 18px; line-height: 1.6; }

/* ----- Personas / Benefits (cards & stats) ----- */
.persona-grid { 
  display: grid; 
  gap: var(--space-6);
}
.persona-grid.four { 
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.persona-grid.six  { 
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 900px) { 
  .persona-grid.four, .persona-grid.six { 
    grid-template-columns: 1fr;
  } 
}
.persona-card { 
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 8px;
  background: var(--color-surface);
  transition: all 0.3s ease;
}
.persona-card:hover {
  background: var(--color-surface-alt);
  border-color: rgba(11, 94, 215, 0.3);
  box-shadow: 0 8px 16px rgba(11, 94, 215, 0.1);
  transform: translateY(-2px);
}

.benefits-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
  gap: 40px; 
  margin-top: 32px;
}
.benefit-item { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
  transition: transform 0.3s ease;
}
.benefit-item:hover { 
  transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) { 
  .benefit-item:hover { 
    transform: none;
  } 
}
.benefit-icon { 
  width: 40px; 
  height: 40px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: rgba(11, 94, 215, 0.12);
  border-radius: 8px;
  margin-bottom: 8px;
}
.benefit-icon svg { 
  width: 20px; 
  height: 20px; 
  stroke: var(--color-primary); 
  stroke-width: 2; 
  fill: none; 
  stroke-linecap: round; 
  stroke-linejoin: round;
}
.benefit-value { 
  font-size: 42px; 
  font-weight: 700; 
  letter-spacing: -0.02em; 
  color: var(--color-primary);
  line-height: 1.1;
}
.benefit-label { 
  margin-top: 6px; 
  font-size: var(--text-md); 
  color: var(--color-text); 
  opacity: 0.85;
}

/* ----- Snapshot rail (case study) ----- */
.snapshot-rail {
  background: var(--wp-light);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 13px; color: #0f172a;
}
.snapshot-item { margin-bottom: 8px; font-weight: 600; white-space: nowrap; }
.snapshot-item strong { font-weight: 500; color: var(--color-muted); margin-right: 4px; }
@media (max-width: 900px) { .snapshot-item { white-space: normal; } }

/* ----- CTA Layouts ----- */
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-8); align-items: center; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-content { max-width: 520px; }

/* ----- Journey / Stepper (JS hooks preserved) ----- */
.journey {
  display: grid; 
  grid-template-columns: repeat(7, auto);
  align-items: center; 
  justify-content: center; 
  gap: 24px; 
  margin-bottom: 48px;
}
.step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 22px 24px; 
  width: 220px; 
  cursor: pointer;
  transition: all 0.3s ease;
}
.step:hover { 
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
  border-color: rgba(11, 94, 215, 0.3);
  transform: translateY(-2px);
}
.step.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 14px 32px rgba(11,94,215,0.35);
}
.step-header { 
  display: flex; 
  align-items: center; 
  gap: 12px;
}
.step-title { 
  font-size: 16px; 
  font-weight: 600; 
  color: var(--color-primary);
}
.step-summary { 
  font-size: 14px; 
  color: var(--color-muted); 
  margin-top: 6px;
}
.step.active .step-title { 
  color: #fff;
}
.step.active .step-summary { 
  color: rgba(255,255,255,0.85);
}

.step-icon { 
  width: 32px; 
  height: 32px;
}
.step-icon svg { 
  width: 100%; 
  height: 100%; 
  stroke: var(--color-primary); 
  stroke-width: 1.8; 
  fill: none;
}
.step.active .step-icon svg { 
  stroke: #fff;
}

.arrow { 
  width: 28px; 
  height: 28px;
}
.arrow svg { 
  width: 100%; 
  height: 100%; 
  stroke: var(--color-primary); 
  stroke-width: 2; 
  fill: none;
}

.detail-panel, #detail {
  background: rgba(11, 94, 215, 0.08);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 48px 56px;
  max-width: 880px;
  margin: 0 auto;
}
.detail-panel h3, #detail h3 { 
  font-size: 22px; 
  margin-bottom: 16px; 
  color: var(--color-primary);
}
.detail-panel p,  #detail p  { 
  max-width: 720px; 
  margin-bottom: 16px; 
  font-size: var(--text-md);
}
.detail-panel ul, #detail ul { 
  margin-top: 16px; 
  padding-left: 18px;
}
.detail-panel li,  #detail li { 
  font-size: 15px; 
  margin-bottom: 8px;
}

/* Journey responsiveness */
@media (max-width: 900px) {
  .journey { 
    grid-template-columns: 1fr; 
    gap: 16px;
    margin-bottom: 16px;
    margin-top: 0;
  }
  .arrow { 
    display: none;
  }
  .step { 
    width: 100%;
  }
  .detail-panel, #detail { 
    padding: 32px 28px;
    scroll-margin-top: 80px;
  }
}

/* ==========================================================================
   Persona — CSS PATCHES
   Comprehensive system extensions for persona-driven landing page
   ========================================================================== */

/* =======================================
   SECTION VARIANTS
   ======================================= */
.section--compact {
  padding-block: 40px;
}

/* =======================================
   HERO COMPONENT EXTENSIONS
   ======================================= */
.hero--text-centered {
  display: block;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.hero--text-centered h1 {
  margin-bottom: var(--space-5);
}

.hero--text-centered p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.hero--text-centered .btn {
  margin-bottom: var(--space-6);
}

.hero-scroll-prompt {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
}

.section--hero {
  background: #ffffff;
  position: relative;
  min-height: 500px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.section--hero .container {
  position: relative;
  z-index: 1;
}

/* =======================================
   TYPOGRAPHY EXTENSIONS
   ======================================= */
h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin: var(--space-5) 0 var(--space-3);
  letter-spacing: -0.01em;
}

/* =======================================
   CONTENT LIST STYLING
   ======================================= */
.content-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 var(--space-5);
}

.content-list li {
  margin-bottom: var(--space-3);
  padding-left: var(--space-5);
  position: relative;
  color: var(--color-text);
  line-height: var(--line-normal);
}

.content-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* =======================================
   EMPHASIS & POSITIONING STATEMENTS
   ======================================= */
.emphasis-statement {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin: var(--space-9) 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-loose);
}

.positioning-statement {
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 600;
   white-space: nowrap;
  color: var(--color-primary);
  margin: var(--space-8) 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .positioning-statement {
    white-space: normal;
  }
}
/* =======================================
   PROBLEM GRID (5 COLUMNS)
   ======================================= */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: var(--space-6) 0;
  list-style: none;
  padding: 0;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .problem-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.problem-grid li {
  padding: var(--space-2) var(--space-3);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  line-height: var(--line-normal);
  font-size: var(--text-sm);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.problem-grid li:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.problem-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.problem-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =======================================
   ISSUE GRID (2x2)
   ======================================= */
.issue-grid {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .issue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.issue-grid li {
  padding: var(--space-5);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.issue-grid li:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.issue-grid li strong {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.issue-grid li p {
  margin: 0;
  font-size: var(--text-sm);
}

/* =======================================
   PERSONA TOGGLE & CARDS
   ======================================= */
.persona-toggle {
  margin-top: var(--space-8);
}

.persona-toggle__buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
  .persona-toggle__buttons {
    flex-wrap: wrap;  /* Allow wrapping on mobile */
  }
}

.persona-toggle__button {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all 0.2s ease;
}

.persona-toggle__button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.persona-toggle__button.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.persona-toggle__content {
  position: relative;
}

.persona-card {
  display: none;
}

.persona-card.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.persona-card__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .persona-card__top {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.persona-card__column {
  padding: var(--space-4);
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.persona-card__column h4 {
  margin: 0 0 var(--space-3) 0;
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: 600;
}

.persona-card__column .content-list {
  margin: 0;
  padding: 0;
}

.persona-card__bottom {
  background: rgba(11, 94, 215, 0.06);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.persona-card__bottom h4 {
  margin: 0 0 var(--space-3) 0;
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: 600;
}

.persona-card__bottom p {
  margin: 0;
  line-height: var(--line-normal);
}

.persona-card section {
  margin-bottom: var(--space-5);
}

.persona-card section:last-child {
  margin-bottom: 0;
}

.persona-card h4 {
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.persona-card .content-list {
  margin: var(--space-2) 0 0;
}

.persona-card p {
  margin-bottom: 0;
  font-size: var(--text-md);
  line-height: var(--line-normal);
}

/* =======================================
   SOLUTION GRID (3 COLUMNS)
   ======================================= */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin: var(--space-6) 0;
  list-style: none;
  padding: 0;
}

@media (min-width: 768px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-grid li {
  padding: var(--space-5);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  line-height: var(--line-normal);
}

.solution-grid li strong {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.solution-grid li p {
  margin: 0;
  font-size: var(--text-sm);
}

/* =======================================
   IMPLEMENTATION + CTA SECTION
   ======================================= */
.impl-cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  align-items: center;
}

@media (max-width: 900px) {
  .impl-cta-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.impl-content {
  max-width: 560px;
}

.impl-content h2 {
  margin-bottom: var(--space-2);
  text-align: left;
  font-size: var(--heading-2);
}

.impl-content p {
  text-align: left;
  color: var(--color-muted);
  max-width: 100%;
  font-size: var(--text-sm);
  line-height: var(--line-normal);
}

.cta-card-featured {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: #fff;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 20px 60px rgba(11, 94, 215, 0.25);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.cta-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(11, 94, 215, 0.35);
}

.cta-card-featured h2 {
  color: #fff;
  margin: 0;
  line-height: var(--line-loose);
  font-size: var(--heading-2);
}

.cta-card-featured p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: var(--text-sm);
}

.cta-card-featured .btn {
  align-self: center;
  background: #fff;
  color: var(--color-primary);
}

.cta-card-featured .btn:hover {
  background: #f8fafc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .cta-card-featured:hover {
    transform: none;
  }
}

/* =======================================
   RESPONSIVE ADJUSTMENTS
   ======================================= */
@media (max-width: 900px) {
  .problem-grid,
  .solution-grid,
  .emphasis-statement,
  .positioning-statement,
  .impl-content {
    margin-left: var(--space-4);
    margin-right: var(--space-4);
  }
}
 
/* ==========================================================================
   STI HOME PAGE — CSS PATCHES
   Specific styles for Insurance Brokerage landing page
   ========================================================================== */

/* Hero background SVG positioning */
.section--white.section:has(.hero) {
  position: relative;
}

.hero-bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.hero__copy h1 {
  margin-bottom: var(--space-2);
}

.hero__copy > p {
  font-size: var(--text-md);
  color: var(--color-muted);
  margin-bottom: var(--space-4);
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  line-height: 1.6;
}

.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  width: 100%;
  margin-bottom: var(--space-4);
}

@media (max-width: 900px) {
  .hero__benefits {
    grid-template-columns: 1fr;
  }
}

.hero__benefits li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: var(--text-sm);
  line-height: 1.4;
}

.hero__benefits li strong {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
}

.hero__benefits li span {
  font-size: 0.8125rem;
  color: #64748B;
}

.hero-cta-block {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.cta-line {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Stats banner */
.stats-banner {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-5) var(--space-6);
  text-align: center;
  border-top: 3px solid #0E7EFF;
}

.stats-banner-inner {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  max-width: 720px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: clamp(2rem, 1.5rem + 1vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-sm);
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .stats-banner-inner {
    gap: var(--space-6);
    flex-wrap: wrap;
  }
  .stat-value {
    font-size: 1.75rem;
  }
}

/* Journey tweaks */
.journey { gap: 18px; margin-bottom: 40px; }
.step { padding: 18px 14px; }
.detail-panel, #detail { padding: 24px 36px; }

@media (max-width: 900px) {
  .detail-panel, #detail { padding: 32px 28px; }
}

/* Problem/solution layout */
.problem-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.problem-cols > div:last-child {
  padding: var(--space-5);
  background: rgba(11, 94, 215, 0.06);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .problem-cols {
    grid-template-columns: 1fr;
  }
}

/* FAQ styling */
.faq-item {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  font-size: var(--text-md);
}

.faq-answer {
  display: none;
  margin: var(--space-3) 0 0 0;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   PATCH: STI Campaign Components (v1.4 → v1.5)
   Promotes inline styles from sti_home__v1_4_with_personas.html into the
   system. Structure follows Tokens → Alias → Base → Layout → Components.
   ========================================================================== */

/* -----------------------------------------------------------------------
   H1. HERO BACKGROUND — network/graph SVG layer
   Used when a section containing .hero needs a full-bleed decorative SVG.
   .hero-bg-svg is position:absolute; parent must be position:relative.
   The .section--white:has(.hero) rule ensures the section stacks correctly.
   ----------------------------------------------------------------------- */
.section--white:has(.hero) {
  position: relative;
}

.hero-bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* When a .hero has a bg-svg sibling, push the container above it */
.section--white:has(.hero) .container {
  position: relative;
  z-index: 1;
}

/* -----------------------------------------------------------------------
   H2. HERO — centered text variant
   Used when the hero presents copy only (no .tilt image).
   .hero is flex, column, centered. .hero__copy receives full-width copy.
   ----------------------------------------------------------------------- */
.hero--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.hero--centered .hero__copy {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--centered .hero__copy h1 {
  margin-bottom: var(--space-2);
}

.hero--centered .hero__copy > p {
  font-size: var(--text-md);
  color: var(--color-muted);
  margin-bottom: var(--space-4);
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  line-height: 1.6;
}

/* -----------------------------------------------------------------------
   H3. HERO BENEFITS LIST — 3-column inline benefit tiles inside hero
   Usage: <ul class="hero__benefits"> inside .hero__copy
   ----------------------------------------------------------------------- */
.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  width: 100%;
}

.hero__benefits li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: var(--text-sm);
  line-height: 1.4;
}

.hero__benefits li strong {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
}

.hero__benefits li span {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .hero__benefits {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------------------
   H4. HERO CTA BLOCK — button + supporting line stacked
   Usage: <div class="hero-cta-block"> wrapping .btn + <p class="cta-line">
   ----------------------------------------------------------------------- */
.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.cta-line {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* -----------------------------------------------------------------------
   S1. STATS BANNER — full-width primary-bg stat strip
   Usage: <div class="stats-banner"> outside a .section, between sections.
   Contains .stats-banner-inner > .stat-item (.stat-value + .stat-label).
   ----------------------------------------------------------------------- */
.stats-banner {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-5) var(--space-6);
  text-align: center;
}

.stats-banner-inner {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  max-width: 720px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: clamp(2rem, 1.5rem + 1vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-sm);
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .stats-banner-inner {
    gap: var(--space-6);
    flex-wrap: wrap;
  }

  .stat-value {
    font-size: 1.75rem;
  }
}

/* -----------------------------------------------------------------------
   P1. PROBLEM COLUMNS — two-column problem/solution layout
   Usage: <div class="problem-cols"> > two <div> children.
   Second child gets the highlighted "approach" styling automatically.
   ----------------------------------------------------------------------- */
/* NOTE: .problem-cols and .problem-cols > div:last-child are already
   present in v1.3 (promoted from STI v1.3 patch). Kept here for
   documentation completeness; no duplicate declaration needed. */

/* -----------------------------------------------------------------------
   PA1. PERSONAS PREVIEW SECTION — 3-up card grid
   Usage: <div class="personas-preview-grid"> > <article class="persona-preview-card">
   Each card: .persona-preview-icon + h3 + p + optional link
   ----------------------------------------------------------------------- */
.personas-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (max-width: 900px) {
  .personas-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 600px) {
  .personas-preview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.persona-preview-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.persona-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11, 94, 215, 0.12);
  border-color: rgba(11, 94, 215, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .persona-preview-card:hover {
    transform: none;
  }
}

.persona-preview-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(11, 94, 215, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.persona-preview-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.persona-preview-card h3 {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--color-primary);
}

.persona-preview-card p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
  flex-grow: 1;
}

/* -----------------------------------------------------------------------
   PA2. PERSONAS PREVIEW LINK — inline text CTA within persona card
   Usage: <a class="personas-preview-link" data-persona="owner">
   ----------------------------------------------------------------------- */
.personas-preview-link {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.personas-preview-link:hover {
  color: var(--color-primary-hover);
}

@media (prefers-reduced-motion: reduce) {
  .personas-preview-link {
    transition: none;
  }
}

/* -----------------------------------------------------------------------
   J1. JOURNEY TWEAKS — density adjustments for insurance campaign pages
   Reduces step padding and detail-panel padding vs. the base journey.
   Apply .journey--compact to the .journey wrapper to activate.
   ----------------------------------------------------------------------- */
.journey--compact {
  gap: 18px;
  margin-bottom: 40px;
}

.journey--compact .step {
  padding: 18px 14px;
}

.journey--compact ~ .detail-panel,
.journey--compact ~ #detail {
  padding: 24px 36px;
}

@media (max-width: 900px) {
  .journey--compact ~ .detail-panel,
  .journey--compact ~ #detail {
    padding: 32px 28px;
  }
}

/* -----------------------------------------------------------------------
   F1. FAQ COMPONENT — accordion list
   Already defined in v1.3. Re-documented here for patch clarity.
   .faq-item > .faq-question (clickable h3) + .faq-answer (hidden by default)
   .faq-item.open .faq-answer → display:block (toggled by JS)
   ----------------------------------------------------------------------- */
/* No duplicate declarations — defined in v1.3 base. */

/* -----------------------------------------------------------------------
   U1. UTILITY — .max-w-520 + .center pattern (used in Final CTA)
   Already present in the system. Documented here for pattern reference.
   Usage: <div class="container max-w-520"><div style="text-align:center">
   Replace the inline style with .center utility class.
   ----------------------------------------------------------------------- */
/* No new declarations needed — .max-w-520 and .center exist in v1.3. */


/* -----------------------------------------------------------------------
   T1. SECTION SUBHEADING — h3 used as a sub-section label within a section
   Usage: <h3 class="section-subhead">Features &amp; Category</h3>
   Adds standard top margin so grouped grids below it breathe correctly.
   ----------------------------------------------------------------------- */
.section-subhead {
  margin-top: var(--space-9);
}

/* ==========================================================================
   PATCHES: Merged CSS from sti_home__v1_4_with_personas.html & 
   sti-personas_v2_1.html
   Append to landing-system.css
   ========================================================================== */

/* Extended tokens for form and CTA styling */
:root {
  --primary-blue: #0E7EFF;
  --primary-light: #e8f3ff;
  --text-dark: #424b5a;
  --text-muted: #6b7280;
  --border-color: #dce4e9;
  --bg-light: #fafbfc;
  --white: #FFFFFF;
}

/* =======================================
   PERSONA TOGGLE BUTTON (with icon support)
   ======================================= */
.persona-toggle__button {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all 0.2s ease;
}

.persona-toggle__button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.persona-toggle__button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.persona-toggle__button.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.persona-toggle__button.active svg {
  stroke: #fff;
}

/* =======================================
   IMPLEMENTATION SUPPORT SECTION
   ======================================= */
.impl-content {
  max-width: 720px;
  margin: 0 auto;
}

.impl-content h2 {
  color: #1a1a1a;
  font-size: var(--heading-2);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.impl-content p {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =======================================
   CTA SECTION WITH FORM
   ======================================= */
.section--cta {
  background: var(--color-surface);
  padding-block: var(--space-8);
}

/* CTA Layout Container */
.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-7);
  align-items: center;
}

@media (max-width: 900px) {
  .cta-layout {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* CTA Content (left side) */
cta-content h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  font-size: var(--heading-2);
  line-height: 1.3;
  position: relative;
  padding-bottom: var(--space-3);
}
 
.cta-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
}

.cta-copy {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Form Card */
.cta-form-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
}

/* Mailchimp Form Containers */
#mc_embed_signup {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#mc_embed_signup form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.demo-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#mc_embed_signup_scroll {
  display: flex;
  flex-direction: column;
}

/* =======================================
   FORM FIELD STYLING
   ======================================= */
.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.required-indicator {
  color: var(--primary-blue);
  margin-left: 2px;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(14, 126, 255, 0.1);
  background: var(--white);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-row .form-group {
  margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Required Note */
.form-required-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
  margin: var(--space-4) 0 0 0; 
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-color);
  
}

/* Form Responses */
#mce-responses {
  margin-bottom: var(--space-4);
}

.form-responses {
  width: 100%;
}

#mce-error-response,
#mce-success-response {
  padding: var(--space-4);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  display: none;
}

#mce-error-response {
  background: #fde8e8;
  border: 1px solid #fca5a5;
  color: #8b1a1a;
}

#mce-success-response {
  background: #e8f5f0;
  border: 1px solid #a8e6d5;
  color: #0a5c3e;
}

#mce-error-response.show,
#mce-success-response.show {
  display: block;
}

/* Submit Button */
.form-submit {
  margin-top: var(--space-5);
}

.submit-btn {
  width: 100%;
  background: var(--primary-blue);
  color: #ffffff !important;
  border: none;
  border-radius: 4px;
  padding: 13px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.submit-btn:hover {
  background: #0a6fd4;
}

.submit-btn:active {
  transform: scale(0.99);
}

.form-message {
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--text-md);
  line-height: var(--line-normal);
}

.form-message p {
  margin: 0;
}

.form-message a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-message--success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.form-message--error {
  background: #F2F2F2;
  border: 1px solid #F2F2F2;
  color: #333333;
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.15);
}