/* =========================================================
   Linkstonic — Custom CSS (Animations + Tailwind overrides)
   ========================================================= */

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Capsule nav → full-width sticky bar on scroll ── */
.nav-capsule {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 24px 0;
  transition: padding 0.35s ease;
  background: transparent;
  pointer-events: none;
}
.nav-capsule > * {
  pointer-events: auto;
}

.nav-capsule-inner,
.nav-capsule .nav-inner {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  transition: border-radius 0.35s ease, box-shadow 0.35s ease, max-width 0.35s ease, border-color 0.35s ease;
  overflow: visible;
}

.nav-capsule.scrolled {
  padding: 0;
}

.nav-capsule.scrolled .nav-capsule-inner,
.nav-capsule.scrolled .nav-inner {
  max-width: none !important;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow-x: visible;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .nav-capsule:not(.scrolled) {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ── Mobile menu: hidden by default on ALL widths (fixes inline link row on desktop) ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu.open {
  display: flex;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Float card animation ── */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card-animate { animation: floatY 4s ease-in-out infinite; }
.float-card-animate-2 { animation: floatY 4s ease-in-out infinite 1.5s; }

/* ── Homepage hero — premium SaaS grid (Stripe / Linear / Vercel-style) ──
   Fine neutral lines + soft radial fade so edges & headline stay clean */
.hero-ai-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.038) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: -1px -1px, -1px -1px;
  -webkit-mask-image: radial-gradient(
    ellipse 92% 78% at 50% 36%,
    #000 12%,
    rgba(0, 0, 0, 0.65) 42%,
    rgba(0, 0, 0, 0.22) 68%,
    transparent 82%
  );
  mask-image: radial-gradient(
    ellipse 92% 78% at 50% 36%,
    #000 12%,
    rgba(0, 0, 0, 0.65) 42%,
    rgba(0, 0, 0, 0.22) 68%,
    transparent 82%
  );
}

@media (max-width: 768px) {
  .hero-ai-grid {
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(
      ellipse 100% 88% at 50% 32%,
      #000 8%,
      rgba(0, 0, 0, 0.5) 48%,
      transparent 85%
    );
    mask-image: radial-gradient(
      ellipse 100% 88% at 50% 32%,
      #000 8%,
      rgba(0, 0, 0, 0.5) 48%,
      transparent 85%
    );
  }
}

/* ── Score ring ── */
.score-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.score-ring-num {
  position: absolute;
  font-size: 1.6rem;
  font-weight: 600;
  color: #000000;
}

/* ── Score bar animation ── */
.score-bar-fill {
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Smooth scroll ── */
html { scroll-behavior: smooth; }

/* ── Mobile menu overlay (tablet / phone) ── */
@media (max-width: 1023px) {
  .mobile-menu.open {
    position: fixed;
    inset: 0;
    z-index: 40;
    padding: 96px 24px 32px;
    background: #ffffff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
  }

  .mobile-menu a.mobile-mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: none;
  }

  .mobile-menu a.btn-primary {
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    margin-top: 16px;
    text-align: center;
    color: #fff;
  }

  .mobile-nav-group {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .mobile-nav-group summary {
    list-style: none;
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-nav-group summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-group summary::after {
    content: '+';
    font-size: 1.1rem;
    font-weight: 500;
    color: #16a34a;
  }

  .mobile-nav-group[open] summary::after {
    content: '−';
  }

  .mobile-nav-group a {
    display: block;
    padding: 12px 0 12px 16px;
    border-bottom: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
  }

  .mobile-nav-group a:last-of-type {
    padding-bottom: 16px;
  }
}

/* =========================================================
   Legacy CSS Variables — For sub-pages compatibility
   ========================================================= */
:root {
  --green-primary: #16A34A;
  --green-dark: #15803d;
  --green-darker: #2d5a2d;
  --green-light: #e8f5e8;
  --green-light-2: #d4edda;
  --green-glow: rgba(22,163,74,0.35);
  --green-glow-2: rgba(22,163,74,0.15);
  --green-icon-1: #22c55e;
  --green-medium: #a8d5a8;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --bg-darkest: #0f172a;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --bg-card-2: #f8fafc;
  --bg-card-hover: #eef7ee;
  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: #e2e8f0;
  --border-2: #e2e8f0;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;
  --shadow-card: 0 4px 24px rgba(15,23,42,0.08);
  --shadow-green: 0 8px 32px rgba(22,163,74,0.18);
  --shadow-glow: 0 0 0 1px rgba(22,163,74,0.2), 0 8px 32px rgba(22,163,74,0.1);
}

/* ── Sub-page overrides (for pages still using old class names) ── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* All pages: one h1 size (overrides Tailwind on index + style.css on sub-pages) */
h1 {
  font-size: 3.8rem !important;
  color: #000000 !important;
}

/* Headings: single color — ignore .text-gradient / accent wrappers inside h1 */
h1 .text-gradient,
h1 .page-hero-h1-line--brand {
  color: #000000 !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.text-gradient {
  color: #16A34A;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-green {
  background: rgba(22,163,74,0.1);
  color: #16A34A;
  border: 1px solid rgba(22,163,74,0.2);
}
.badge-blue {
  background: rgba(59,130,246,0.08);
  color: #3b82f6;
  border: 1px solid rgba(59,130,246,0.18);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 9999px;
  padding: 12px 28px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #16A34A;
  color: #fff;
  box-shadow: 0 4px 16px rgba(22,163,74,0.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(22,163,74,0.45);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid rgba(22,163,74,0.4);
  color: #16A34A;
  background: rgba(22,163,74,0.04);
}
.btn-outline:hover {
  background: rgba(22,163,74,0.1);
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }

/* Sub-page section headers */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16A34A;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 20px; }
.section-desc { max-width: 600px; font-size: 1.15rem; line-height: 1.75; }

/* Sub-page cards */
.card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 32px;
  transition: all 0.35s ease;
}
.card:hover {
  border-color: rgba(22,163,74,0.2);
  box-shadow: 0 12px 40px rgba(15,23,42,0.10);
  transform: translateY(-4px);
}

/* Sub-page nav */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: #16A34A;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

/* Top nav: Product / Solutions / Pricing / Resources */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 9999px;
  color: #64748b;
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-dropdown-trigger .nav-chevron {
  font-size: 0.65rem;
  opacity: 0.65;
  margin-top: 1px;
}

.nav-dropdown-trigger:hover,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: #0f172a;
  background: rgba(22, 163, 74, 0.08);
}

.nav-top-link {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 9999px;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.nav-top-link:hover,
.nav-top-link.active {
  color: #0f172a;
  background: rgba(22, 163, 74, 0.08);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 232px;
  padding: 8px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-item:hover {
  background: rgba(22, 163, 74, 0.08);
  color: #0f172a;
}

.nav-dropdown-item.active {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-weight: 600;
}

/* Solutions mega menu (flat stroke icons, no full-color fills) */
.nav-dropdown--mega .nav-dropdown-panel.nav-dropdown-mega {
  min-width: 560px;
  max-width: min(680px, calc(100vw - 40px));
  padding: 0;
  border-radius: 20px;
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.05);
}

.nav-dropdown-mega-inner {
  padding: 20px 18px 10px;
}

.nav-dropdown-mega-kicker {
  margin: 0 0 14px 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.mega-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.mega-solution-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.mega-solution-link:hover {
  background: rgba(15, 23, 42, 0.035);
}

.mega-solution-link:hover .mega-solution-title {
  color: #0f172a;
}

.mega-solution-link[aria-current="page"] {
  background: rgba(22, 163, 74, 0.08);
  outline: 1px solid rgba(22, 163, 74, 0.2);
}

.mobile-mega-item[aria-current="page"] {
  font-weight: 600;
  color: #15803d;
}

.mega-solution-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.mega-solution-icon svg {
  width: 20px;
  height: 20px;
}

.mega-solution-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-solution-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mega-solution-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.mega-solution-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
}

.nav-dropdown-mega-footer {
  margin: 4px 10px 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-dropdown-mega-footer-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-dropdown-mega-footer-link:hover {
  color: #15803d;
  text-decoration: underline;
}

.nav-dropdown-mega-footer-link.active {
  color: #15803d;
}

/* Mobile: solution rows with flat icons */
.mobile-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-bottom: none;
}

.mobile-mega-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #64748b;
}

.mobile-mega-item svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-mega-divider {
  margin: 8px 0 4px 16px;
  padding-top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 1100px) {
  .nav-links {
    gap: 4px;
  }
  .nav-dropdown-trigger,
  .nav-top-link {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

/* Sub-page page-hero — same treatment as homepage: gradient + green wash + SaaS grid */
.page-hero {
  padding: 140px 0 80px;
  text-align: left;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0fdf4 0%, #faf5ff 30%, #eff6ff 60%, #ffffff 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(22, 163, 74, 0.05);
}

.page-hero > .container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
}

/* Split hero: left copy + CTA, right banner card */
.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.page-hero-content {
  max-width: min(100%, 680px);
}

.page-hero-content h1 {
  text-align: left;
  margin-top: 0;
}

/* Internal page hero h1 — same 3.8rem everywhere (explicit so no cascade quirks) */
.page-hero-h1.page-hero-h1--twoline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
  font-size: 3.8rem !important;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  color: #000000;
}

.page-hero-h1--twoline > .page-hero-h1-line {
  display: block;
  font-size: 1em !important;
  font-weight: inherit;
}

.page-hero-content .page-hero-h1--twoline + p,
.page-hero-content .page-hero-h1--twoline + .hero-subtitle {
  margin-top: 0;
}

.page-hero-content > p,
.page-hero-content .hero-subtitle {
  margin: 18px 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #64748b;
  max-width: none;
}

.page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  justify-content: flex-start;
}

.page-hero-hero-extra {
  margin-top: 28px;
}

.page-hero-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-hero-banner {
  position: relative;
}

.page-hero-banner-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 28px 32px 32px;
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.page-hero-banner-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #16a34a;
  margin-bottom: 10px;
}

.page-hero-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
}

.page-hero-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-hero-banner-stat {
  flex: 1 1 auto;
  min-width: 100px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.page-hero-banner-stat strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #16a34a;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.page-hero-banner-stat span {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 4px;
}

.page-hero-banner-rows {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-hero-banner-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #475569;
  padding: 10px 14px;
  background: #f1f5f9;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.page-hero-banner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.page-hero-banner-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 9999px;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

@media (max-width: 960px) {
  .page-hero-split {
    grid-template-columns: 1fr;
  }

  .page-hero-content {
    max-width: none;
    text-align: center;
  }

  .page-hero-content h1,
  .page-hero-h1--twoline {
    text-align: center;
  }

  .page-hero-h1--twoline {
    align-items: center;
  }

  .page-hero-h1--twoline > .page-hero-h1-line {
    white-space: normal;
  }

  .page-hero .hero-actions {
    justify-content: center;
  }

  .page-hero-hero-extra {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .page-hero-billing-toggle {
    justify-content: center;
  }

  .page-hero-banner {
    order: 2;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .page-hero-content {
    order: 1;
  }
}

/* Taller hero (e.g. TrueTrace flagship) */
.page-hero--tall {
  min-height: min(78vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 160px;
  padding-bottom: 96px;
}

.page-hero--tall .page-hero-split {
  width: 100%;
}

/* Sub-page feature panels */
.feature-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,23,42,0.08);
}
.feature-panel-top {
  padding: 18px 24px;
  background: #f4f6fc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feature-panel-body { padding: 24px; }

/* Sub-page footer */
.footer {
  background: #ffffff;
  border-top: 1px solid rgba(15,23,42,0.08);
  padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col-title { font-size: 0.8125rem; font-weight: 600; color: #000000; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; color: #64748b; transition: color 0.2s; }
.footer-links a:hover { color: #16A34A; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid rgba(15,23,42,0.08); font-size: 0.85rem; color: #64748b; }
/* Mega brand word — footer base (PetPlate / parallel style) */
.footer-brand-mega {
  margin: 0;
  padding: 32px 0 4px;
  margin-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  text-align: center;
  font-size: clamp(2.5rem, 12vw, 7.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #15803d;
  user-select: none;
}
.footer .footer-brand-mega {
  color: #15803d;
}
@media (max-width: 480px) {
  .footer-brand-mega {
    font-size: clamp(2rem, 15vw, 3.75rem);
    padding-top: 24px;
  }
}

/* Site footer — same layout as homepage (all pages) */
.footer-site {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 64px 0 32px;
}
/* amCharts orthographic globe — light fade, non-interactive (pointer-events on layer) */
.footer-globe-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
}
#footer-globe-chart {
  position: absolute;
  width: min(640px, 130vw);
  height: min(520px, 70vh);
  max-width: 780px;
  max-height: 620px;
  right: -18%;
  bottom: -35%;
  opacity: 0.4;
  filter: saturate(0.9);
  box-sizing: border-box;
  contain: layout paint;
}
@media (min-width: 640px) {
  #footer-globe-chart {
    width: min(720px, 85vw);
    height: min(560px, 55vh);
    right: -12%;
    bottom: -28%;
    opacity: 0.46;
  }
}
@media (min-width: 1024px) {
  #footer-globe-chart {
    right: -8%;
    bottom: -22%;
    width: min(780px, 58vw);
    height: min(600px, 50vh);
    opacity: 0.52;
  }
}
.footer-site-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-site-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
  grid-template-columns: repeat(2, 1fr);
}
.footer-site-brand {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .footer-site-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-site-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .footer-site-brand {
    grid-column: span 1;
  }
}
.footer-site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: #000000;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-site-logo:hover {
  color: #16A34A;
}
.footer-site-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color: #0f172a;
}
.footer-site-logo-svg {
  width: 15px;
  height: 15px;
  display: block;
}
.footer-site-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.625;
  max-width: 20rem;
  margin: 0;
}
.footer-site-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-site-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.footer-site-social-btn:hover {
  color: #16A34A;
  border-color: #bbf7d0;
}
.footer-site-heading {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-site-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-site-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-site-links a:hover {
  color: #16A34A;
}
.footer-site-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #94a3b8;
}
@media (min-width: 640px) {
  .footer-site-bottom {
    flex-direction: row;
    align-items: center;
  }
}
.footer-site-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-site-bottom-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-site-bottom-links a:hover {
  color: #16A34A;
}
.footer-site .footer-brand-mega {
  color: #15803d;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 12px; background: #f4f6fc; border: 1px solid rgba(15,23,42,0.08); display: flex; align-items: center; justify-content: center; color: #64748b; transition: all 0.3s; }
.footer-social a:hover { background: #e8f5e8; color: #16A34A; }
.footer-brand-desc { font-size: 0.9rem; color: #64748b; margin-top: 12px; line-height: 1.7; max-width: 300px; }

/* Sub-page pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 28px; padding: 40px 32px; transition: all 0.35s; }
.pricing-card.featured { border-color: #16A34A; box-shadow: 0 8px 32px rgba(22,163,74,0.18); }
.pricing-popular { position: absolute; top: 0; right: 24px; background: #16A34A; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 14px; border-radius: 0 0 8px 8px; }
.pricing-price { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.04em; color: #0f172a; }
.pricing-features { display: flex; flex-direction: column; gap: 14px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: #475569; }
.pricing-feature-icon { color: #16A34A; font-weight: 700; }
.pricing-divider { height: 1px; background: rgba(15,23,42,0.08); margin: 24px 0; }

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table th { padding: 16px 20px; text-align: left; font-size: 0.8rem; font-weight: 700; color: #000000; text-transform: uppercase; border-bottom: 1px solid rgba(15,23,42,0.08); }
.comparison-table td { padding: 14px 20px; border-bottom: 1px solid rgba(15,23,42,0.08); color: #475569; }
.check-yes { color: #16A34A; font-size: 1.1rem; font-weight: 700; }
.check-no { color: #64748b; opacity: 0.4; }

/* Platform cards */
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.platform-card { background: #f4f6fc; border: 1px solid rgba(15,23,42,0.08); border-radius: 12px; padding: 16px; transition: all 0.3s; }
.platform-name { font-size: 0.9rem; font-weight: 600; margin: 8px 0 4px; }
.platform-rank { font-size: 0.8rem; color: #64748b; }
.platform-rank strong { color: #16A34A; }
.platform-bar { height: 4px; border-radius: 2px; background: rgba(22,163,74,0.1); margin-top: 10px; overflow: hidden; }
.platform-bar-fill { height: 100%; background: #16A34A; border-radius: 2px; }

/* Audit items */
.audit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.audit-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #f4f6fc; border: 1px solid rgba(15,23,42,0.08); font-size: 0.875rem; font-weight: 500; color: #475569; }
.audit-item-status { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; }
.status-ok { background: #16A34A; }
.status-warn { background: #FEBC2E; }
.status-err { background: #FF5F57; }

/* Score bars (sub-pages) */
.score-bar { margin-bottom: 14px; }
.score-bar-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; }
.score-bar-track { height: 8px; background: rgba(22,163,74,0.08); border-radius: 4px; overflow: hidden; }

/* Testimonials (sub-pages) */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 28px; padding: 28px; transition: all 0.35s; }
.testimonial-stars { color: #FEBC2E; font-size: 0.9rem; margin-bottom: 16px; }
.testimonial-text { font-size: 0.95rem; color: #475569; line-height: 1.75; margin-bottom: 24px; }

/* Integrations */
.integrations-strip { overflow: hidden; padding: 16px 0; }
.integrations-scroll { display: flex; gap: 20px; width: max-content; animation: scrollLeft 35s linear infinite; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.integration-chip { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 9999px; background: #fff; border: 1px solid rgba(15,23,42,0.08); font-size: 0.875rem; font-weight: 600; white-space: nowrap; color: #475569; box-shadow: 0 1px 3px rgba(15,23,42,0.06); }

/* FAQ — shared accordion (all pages) */
.faq-block-section {
  padding: 88px 0 96px;
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 600;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item .faq-answer {
  padding: 0 22px 18px;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
}

/* CTA section (sub-pages) */
.cta-section { text-align: center; padding: 120px 0; position: relative; }
.cta-glow { position: absolute; inset: 0; pointer-events: none; }

/* =====================================================
   Solution audience pages — premium long-form layout
   ===================================================== */

/* Section backgrounds */
.solution-section--muted {
  background: #f8fafc;
}
.solution-section--dark {
  background: #0c1425;
  position: relative;
  overflow: hidden;
}
.solution-section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 20% 50%, rgba(22,163,74,0.13) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 80% 30%, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.solution-section--dark .container {
  position: relative;
  z-index: 1;
}
.solution-section--dark .section-label,
.solution-section--dark .section-title,
.solution-section--dark .section-title span { color: #fff !important; }
.solution-section--dark .text-gradient {
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Bento grids (pain + use cases) — modern light bento ── */
.solution-section--bento-pain {
  background: #f8f9fa;
}
.solution-section--bento-light {
  background: #f8fafc;
}
.solution-bento {
  display: grid;
  gap: 16px;
  margin-top: 0;
}
/* Pain: 5 tiles — row1 [ wide | sq | tall×2 ], row2 [ sq | wide | tall ] */
.solution-bento--pain {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(200px, auto) minmax(188px, auto);
  align-items: stretch;
}
.solution-bento--pain .solution-bento-cell:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}
.solution-bento--pain .solution-bento-cell:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}
.solution-bento--pain .solution-bento-cell:nth-child(3) {
  grid-column: 4;
  grid-row: 1 / 3;
}
.solution-bento--pain .solution-bento-cell:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}
.solution-bento--pain .solution-bento-cell:nth-child(5) {
  grid-column: 2 / 4;
  grid-row: 2;
}
.solution-bento--usecases {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(min-content, auto);
}
/* Use cases: 7+5 / 5+7 */
.solution-bento--usecases .solution-bento-cell:nth-child(1) { grid-column: span 7; }
.solution-bento--usecases .solution-bento-cell:nth-child(2) { grid-column: span 5; }
.solution-bento--usecases .solution-bento-cell:nth-child(3) { grid-column: span 5; }
.solution-bento--usecases .solution-bento-cell:nth-child(4) { grid-column: span 7; }

.solution-bento-cell {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}
.solution-bento-cell:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  border-color: #dce0e5;
}

/* Pain bento — light, no dark surfaces */
.solution-bento-cell--pain {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 16px;
  min-height: 0;
}
.solution-bento-pain-head {
  margin-bottom: 8px;
}
.solution-bento-index {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}
.solution-bento-pain-text {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.62;
  color: #3f4f5f;
  letter-spacing: -0.015em;
  flex: 0 1 auto;
}
.solution-bento-pain-art {
  flex: 1 1 auto;
  min-height: 100px;
  border-radius: 14px;
  background: #f4f6f8;
  border: 1px solid #e8eaed;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Slot 3 (tall): richer art area */
.solution-bento-pain--slot-3 .solution-bento-pain-art {
  min-height: 220px;
}
.solution-bento-pain--slot-1 .solution-bento-pain-art {
  min-height: 128px;
}
.solution-bento-pain--slot-5 .solution-bento-pain-art {
  min-height: 112px;
}
/* 1 — scenario / node flow (SVG) */
.solution-bento-pain-art--1 {
  background-color: #f4f6f8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 120' fill='none'%3E%3Cpath stroke='%23cbd5e1' stroke-width='2' d='M44 72 L104 42 L184 42 L234 66'/%3E%3Crect x='8' y='58' width='50' height='30' rx='8' fill='%23fff' stroke='%23e2e8f0'/%3E%3Crect x='92' y='28' width='50' height='30' rx='8' fill='%23fff' stroke='%2322c55e'/%3E%3Crect x='168' y='28' width='50' height='30' rx='8' fill='%23fff' stroke='%23e2e8f0'/%3E%3Crect x='218' y='54' width='56' height='34' rx='8' fill='%23f0fdf4' stroke='%2386efac'/%3E%3C/svg%3E");
}
/* 2 — scheduler ring */
.solution-bento-pain-art--2 {
  flex: 0 0 auto !important;
  width: 92px;
  height: 92px;
  min-height: 92px !important;
  margin: 6px auto 4px;
  border-radius: 50%;
  background: #fff;
  border: 9px solid #edf0f4;
  border-top-color: #22c55e;
  border-right-color: #86efac;
  transform: rotate(42deg);
  box-shadow: inset 0 0 0 1px #f1f5f9;
}
.solution-bento-pain-art--2::after {
  content: "09:16";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-42deg);
  font-size: 0.75rem;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.04em;
}
/* 3 — customize / UI chips */
.solution-bento-pain-art--3::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 26px 0 0 #3b82f6, 52px 0 0 #f59e0b, 0 28px 0 #ec4899, 26px 28px 0 #8b5cf6;
}
.solution-bento-pain-art--3::after {
  content: "Get started";
  position: absolute;
  left: 18px;
  bottom: 28px;
  padding: 7px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}
/* 4 — list + floating tags */
.solution-bento-pain-art--4::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 22px;
  height: 9px;
  border-radius: 5px;
  background: #e8ecf0;
  box-shadow: 0 18px 0 #f1f5f9, 0 36px 0 #e8ecf0;
}
.solution-bento-pain-art--4::after {
  content: "User 1";
  position: absolute;
  right: 20px;
  top: 12px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.58rem;
  font-weight: 700;
  color: #64748b;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
/* 5 — prompt + chart */
.solution-bento-pain-art--5 {
  background-color: #f4f6f8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 100' fill='none'%3E%3Crect x='14' y='12' width='292' height='30' rx='10' fill='%23fff' stroke='%23e2e8f0'/%3E%3Cpath d='M22 70 L62 54 L102 64 L142 40 L182 50 L222 36 L262 46 L302 32' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M22 70 L62 54 L102 64 L142 40 L182 50 L222 36 L262 46 L302 32 L302 88 L22 88 Z' fill='%2322c55e' fill-opacity='0.08'/%3E%3C/svg%3E");
}

/* Use case bento — copy + diagram strip */
.solution-bento-cell--usecase {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}
.solution-bento-usecase-copy {
  padding: 24px 26px 18px;
  flex: 0 0 auto;
}
.solution-bento-emoji {
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 12px;
}
.solution-bento-usecase-title {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.solution-bento-usecase-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
}
.solution-bento-visual {
  flex: 1 1 auto;
  min-height: 120px;
  margin-top: auto;
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  padding: 18px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Abstract “diagram” blocks — screenshot-style */
.solution-bento-visual--1::before,
.solution-bento-visual--1::after {
  content: '';
  position: absolute;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.solution-bento-visual--1::before {
  left: 12%;
  width: 18%;
  height: 36px;
  top: 50%;
  transform: translateY(-50%);
}
.solution-bento-visual--1::after {
  right: 14%;
  width: 42%;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #fff 0%, #f8fafc 100%);
}
.solution-bento-visual--2::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 52px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 0 0 6px #f8fafc;
}
.solution-bento-visual--2::after {
  content: '';
  position: absolute;
  right: 18%;
  bottom: 22%;
  width: 20%;
  height: 28px;
  border-radius: 6px;
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(22,163,74,0.35);
}
.solution-bento-visual--3::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 26%;
  height: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05);
}
.solution-bento-visual--3::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 22%;
  height: 28px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0, #cbd5e1 3px, transparent 3px, transparent 7px);
  border: 1px solid #e2e8f0;
  opacity: 0.9;
}
.solution-bento-visual--4::before,
.solution-bento-visual--4::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32%;
  height: 56px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.solution-bento-visual--4::before { left: 12%; }
.solution-bento-visual--4::after {
  right: 12%;
  background: linear-gradient(135deg, rgba(22,163,74,0.08), rgba(34,211,238,0.08));
  border-color: rgba(22,163,74,0.25);
}

/* ── Solution prose ── */
.solution-prose {
  max-width: 780px;
  margin-top: 32px;
  padding-left: 28px;
  border-left: 4px solid #16a34a;
  position: relative;
}
.solution-prose::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  width: 4px;
  height: 40px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-radius: 4px;
}
.solution-prose p {
  font-size: 1.075rem;
  line-height: 1.82;
  color: #475569;
  margin: 0 0 1.15rem;
}
.solution-prose p:last-child {
  margin-bottom: 0;
}

/* ── Feature cards (shared: keyFeatures / cards1 / cards2) ── */
.sol-feature-card {
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.sol-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #16a34a, #22d3ee);
  opacity: 0;
  transition: opacity 0.25s;
}
.sol-feature-card:hover {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
  border-color: rgba(22, 163, 74, 0.2);
}
.sol-feature-card:hover::after {
  opacity: 1;
}
.sol-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(22,163,74,0.14) 0%, rgba(34,211,238,0.10) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.sol-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.sol-feature-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}

/* ── How it works — 3-column bento cards (no <img>, CSS-only visuals) ── */
.solution-section--how-bento {
  background: #fff;
}
.solution-section--how-bento .solution-how-kicker {
  color: #15803d;
  letter-spacing: 0.14em;
}
.solution-how-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 8px;
  align-items: stretch;
}
.solution-how-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}
.solution-how-card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  border-color: #dce0e5;
}
.solution-how-visual {
  min-height: 168px;
  background: #f4f6f8;
  border-bottom: 1px solid #eef0f3;
  position: relative;
  flex-shrink: 0;
}
/* Card 1 — table / rows + floating “tags” (pure CSS) */
.solution-how-visual--1 {
  background-color: #fff;
  background-image: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 21px,
    #f1f5f9 21px,
    #f1f5f9 22px
  );
  background-position: 0 36px;
}
.solution-how-visual--1::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e8ecf0 12%, #f1f5f9 12%, #f1f5f9 28%, #e8ecf0 28%, #e8ecf0 40%, #f1f5f9 40%);
  opacity: 0.95;
}
.solution-how-visual--1::after {
  content: "";
  position: absolute;
  left: 18%;
  top: 46%;
  width: 40px;
  height: 22px;
  border-radius: 7px;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  box-shadow: 52px -14px 0 -1px #fff, 52px -14px 0 #e9d5ff, 52px -14px 8px rgba(15, 23, 42, 0.06),
    28px 20px 0 -1px #fff, 28px 20px 0 #fef3c7, 28px 20px 8px rgba(15, 23, 42, 0.05);
}
/* Card 2 — dot grid + lightning (glyph, not an image file) */
.solution-how-visual--2 {
  background-color: #fafbfc;
  background-image: radial-gradient(#e2e8e0 1.2px, transparent 1.2px);
  background-size: 14px 14px;
}
.solution-how-visual--2::after {
  content: "⚡";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.75rem;
  line-height: 1;
  filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.45)) drop-shadow(0 2px 8px rgba(22, 163, 74, 0.25));
}
/* Card 3 — concentric rings + pill */
.solution-how-visual--3 {
  background: repeating-radial-gradient(
    circle at 50% 52%,
    transparent 0,
    transparent 20px,
    rgba(226, 232, 240, 0.45) 20px,
    rgba(226, 232, 240, 0.45) 21px
  );
  background-color: #f8fafc;
}
.solution-how-visual--3::before {
  content: "GSC + AI visibility";
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.solution-how-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-align: left;
}
.solution-how-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.solution-how-desc {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #64748b;
  flex: 1 1 auto;
}
.solution-how-link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #15803d;
  text-decoration: none;
  transition: color 0.15s ease, gap 0.15s ease;
}
.solution-how-link:hover {
  color: #166534;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Results list ── */
.solution-results-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}
.solution-results-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
  transition: box-shadow 0.2s, transform 0.2s;
}
.solution-results-list li:hover {
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.09);
  transform: translateX(4px);
}
.solution-results-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ── Comparison table ── */
.solution-compare {
  margin-top: 40px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
}
.solution-compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.solution-compare-header div {
  padding: 16px 24px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.solution-compare-header div:first-child {
  background: #1e293b;
  color: #94a3b8;
}
.solution-compare-header div:last-child {
  background: linear-gradient(90deg, #15803d, #166534);
  color: rgba(255,255,255,0.95);
}
.solution-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.solution-compare-row + .solution-compare-row {
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}
.solution-compare-row > div {
  padding: 18px 24px;
  font-size: 0.95rem;
  line-height: 1.55;
  position: relative;
}
.solution-compare-bad {
  color: #64748b;
  background: #f8fafc;
  padding-left: 42px !important;
}
.solution-compare-bad::before {
  content: '✕';
  position: absolute;
  left: 18px;
  top: 19px;
  font-size: 0.8rem;
  color: #ef4444;
  font-weight: 900;
}
.solution-compare-good {
  color: #0f172a;
  background: rgba(22, 163, 74, 0.05);
  font-weight: 500;
  padding-left: 42px !important;
}
.solution-compare-good::before {
  content: '✓';
  position: absolute;
  left: 18px;
  top: 19px;
  font-size: 0.9rem;
  color: #16a34a;
  font-weight: 900;
}

/* ── Homepage-matched testimonials (solution pages — same as index “Our customers”) ── */
.sol-home-testimonials {
  padding: 5rem 0;
  background: #fff;
}
@media (min-width: 640px) {
  .sol-home-testimonials {
    padding: 7rem 0;
  }
}
.sol-home-testimonials__wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.sol-home-testimonials__header {
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .sol-home-testimonials__header {
    margin-bottom: 3.5rem;
  }
}
.sol-home-testimonials__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #64748b;
  margin: 0 0 1rem;
}
@media (min-width: 640px) {
  .sol-home-testimonials__kicker {
    font-size: 0.875rem;
  }
}
.sol-home-testimonials__title {
  margin: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #000;
}
.sol-home-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .sol-home-testimonials__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
  }
  .sol-home-testimonials__main {
    grid-column: span 8;
    display: flex;
  }
  .sol-home-testimonials__side {
    grid-column: span 4;
    display: flex;
  }
}
.sol-home-testimonials__main,
.sol-home-testimonials__side {
  min-width: 0;
}
.sol-home-testimonials__dark-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 1.25rem;
  background: #121212;
  color: #fff;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
@media (min-width: 640px) {
  .sol-home-testimonials__dark-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .sol-home-testimonials__dark-card {
    padding: 3rem;
  }
}
.sol-home-testimonials__brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.sol-home-testimonials__brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .sol-home-testimonials__brand-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}
.sol-home-testimonials__brand-icon span {
  color: #121212;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}
@media (min-width: 640px) {
  .sol-home-testimonials__brand-icon span {
    font-size: 1rem;
  }
}
.sol-home-testimonials__brand-name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #fff;
}
@media (min-width: 640px) {
  .sol-home-testimonials__brand-name {
    font-size: 1.25rem;
  }
}
.sol-home-testimonials__quote-mark {
  color: #a855f7;
  margin: -0.25rem 0 1rem;
}
.sol-home-testimonials__quote-mark span {
  display: block;
  font-size: 4.25rem;
  line-height: 0.55;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
@media (min-width: 640px) {
  .sol-home-testimonials__quote-mark span {
    font-size: 5rem;
  }
}
.sol-home-testimonials__blockquote {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}
@media (min-width: 640px) {
  .sol-home-testimonials__blockquote {
    font-size: 1.125rem;
    line-height: 1.65;
  }
}
.sol-home-testimonials__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 640px) {
  .sol-home-testimonials__author {
    margin-top: 3rem;
  }
}
.sol-home-testimonials__author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(233, 213, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(88, 28, 135, 0.85);
}
.sol-home-testimonials__author-name {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}
.sol-home-testimonials__author-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.125rem;
}
.sol-home-testimonials__stat-card {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  background: #f4f4f5;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
@media (min-width: 640px) {
  .sol-home-testimonials__stat-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .sol-home-testimonials__stat-card {
    min-height: 0;
  }
}
.sol-home-testimonials__stat-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 9rem;
  height: 9rem;
  pointer-events: none;
  background: rgba(168, 85, 247, 0.15);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
@media (min-width: 640px) {
  .sol-home-testimonials__stat-corner {
    width: 11rem;
    height: 11rem;
  }
}
.sol-home-testimonials__stat-num {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.03em;
  line-height: 1;
}
@media (min-width: 640px) {
  .sol-home-testimonials__stat-num {
    font-size: 3rem;
  }
}
.sol-home-testimonials__stat-text-wrap {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .sol-home-testimonials__stat-text-wrap {
    margin-top: auto;
  }
}
.sol-home-testimonials__stat-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  line-height: 1.35;
  max-width: 12rem;
}
@media (min-width: 640px) {
  .sol-home-testimonials__stat-label {
    font-size: 1rem;
  }
}

/* ── Testimonial cards ── */
.solution-quote {
  padding: 28px 26px 24px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.solution-quote:hover {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}
.solution-quote::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 22px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(22, 163, 74, 0.12);
  font-family: Georgia, serif;
  pointer-events: none;
}
.solution-quote-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.solution-quote-stars span {
  color: #f59e0b;
  font-size: 0.9rem;
}
.solution-quote-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 20px;
  font-style: italic;
  flex: 1;
}
.solution-quote-meta {
  font-size: 0.875rem;
  color: #64748b;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  padding-top: 14px;
  margin-top: auto;
}
.solution-quote-meta strong {
  color: #0f172a;
  font-style: normal;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.solution-quote-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 700;
  color: #15803d;
  font-size: 0.82rem;
  font-style: normal;
  background: rgba(22,163,74,0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── Internal links hub ── */
.solution-internal-hub {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(22,163,74,0.06), rgba(34,211,238,0.06));
  border: 1px solid rgba(22, 163, 74, 0.18);
}
.solution-internal-hub p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #475569;
  margin: 0 0 18px;
}
.solution-internal-hub p:last-child {
  margin: 0;
}
.solution-internal-hub a {
  color: #15803d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.solution-internal-hub a:hover {
  color: #166534;
}
.solution-internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.solution-internal-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #15803d !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.solution-internal-links a:hover {
  background: #f0fdf4;
  box-shadow: 0 4px 12px rgba(22,163,74,0.15);
  transform: translateY(-2px);
}

/* Kept for backward-compat if old .solution-internal still appears */
.solution-internal {
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(22, 163, 74, 0.07);
  border: 1px solid rgba(22, 163, 74, 0.18);
  font-size: 0.98rem;
  line-height: 1.7;
  color: #334155;
}
.solution-internal a {
  color: #15803d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.solution-internal a:hover { color: #166534; }

/* ── Mid/Final CTA ── */
.cta-section--compact {
  padding: 96px 0;
}
.cta-section--compact h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .solution-how-bento {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .solution-how-visual {
    min-height: 150px;
  }

  .solution-compare-header,
  .solution-compare-row {
    grid-template-columns: 1fr;
  }
  .solution-compare-header div:first-child {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .solution-compare-row .solution-compare-good {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }
}
@media (max-width: 900px) {
  .solution-bento--pain {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .solution-bento--pain .solution-bento-cell {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  .solution-bento-pain--slot-3 .solution-bento-pain-art {
    min-height: 160px;
  }
  .solution-bento--usecases .solution-bento-cell {
    grid-column: 1 / -1 !important;
  }
  .solution-bento-cell--usecase {
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .solution-prose {
    padding-left: 18px;
  }
  .solution-internal-hub {
    padding: 22px 18px;
  }
  .solution-internal-links {
    gap: 8px;
  }
  .solution-internal-links a {
    font-size: 0.82rem;
    padding: 6px 13px;
  }
}

/* Responsive sub-page compat */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .testimonial-grid, .audit-grid, .platform-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
