@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* Space Grotesk removed — using Varela Round */

:root {
  --font-sans: "Open Sans", system-ui, sans-serif;
  --font-display: "Varela Round", system-ui, sans-serif;
  --bg: #f4f7fc;
  --bg-alt: #ebf2ff;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --text: #0a0d14;
  --muted: #868c98;
  --line: rgba(15, 23, 42, 0.12);
  --primary: #2563eb;
  --primary-strong: #0f4bd8;
  --accent: #00b8d9;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: rgb(134, 140, 152);
  background: #ffffff;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

main {
  overflow: clip;
}

body.page-home main {
  overflow: visible;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(255, 255, 255, 0));
}

/* ── Inner pages: Webflow added p-t-7/p-t-7rem for fixed nav; our nav is in flow ── */
[class*="section-"].p-t-7,
[class*="section-"].p-t-7rem,
.p-t-7rem {
  padding-top: 2rem !important;
}

/* Hero containers with 10.625rem designed for fixed Webflow nav — reduce for our in-flow nav */
/* Extend background upward to cover the site-header bottom gap */
.hero-container-v1,
.hero-container-v3 {
  padding-top: 5.5rem !important;
  margin-top: -1rem;
}

/* On hero pages: single continuous gradient on body — avoids seam between header and hero */
body:has(.section-home-hero-v1),
body:has(.section-home-hero-v3) {
  background-image: linear-gradient(315deg, #2563eb26, #2563eb0d);
  background-size: 100% 915px;
  background-repeat: no-repeat;
}
/* Remove individual gradients so they don't double-layer over the body gradient */
body:has(.section-home-hero-v1) .site-header,
body:has(.section-home-hero-v3) .site-header,
body:has(.section-home-hero-v1) .hero-container-v1,
body:has(.section-home-hero-v3) .hero-container-v3 {
  background-image: none;
}
/* Hide the nav pill shadow/border that shows as a line on the gradient bg */
body:has(.section-home-hero-v1) .site-header__inner,
body:has(.section-home-hero-v3) .site-header__inner {
  box-shadow: none;
  border-bottom: none;
}

.solution-hero-thumbnail {
  padding-bottom: 0 !important;
}

.solution-hero-thumbnail .home-hero-image-wrapper-v1,
.solution-hero-thumbnail .home-hero-image-wrapper-v1 .lightbox {
  display: block;
  line-height: 0;
}

.solution-after-hero {
  background: #ffffff;
  margin-top: 0;
}

.solution-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(10, 13, 20, 0.86);
}

.solution-video-overlay__dialog {
  position: relative;
  width: min(92vw, 72rem);
  aspect-ratio: 16 / 9;
}

.solution-video-overlay__dialog iframe,
.solution-video-overlay__dialog video {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  background: #000;
  display: block;
  object-fit: contain;
}

.solution-video-overlay__close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  color: #0a0d14;
  background: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Match the ~88px nav-to-heading gap that hero-v1 pages have */
.section-pricing-main-hero,
.section-integrations-main-hero {
  padding-top: 5.5rem !important;
}

/* Pricing plan names (Starter / Ultimate / Enterprise): bump from 1.5rem so the
   card titles read as the primary heading and sit above the "Add-Ons" (h3, 2rem)
   sub-heading instead of below it — corrects the inverted hierarchy. */
.pricing-card-v1 h2.text-size-large {
  font-size: 2rem;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .pricing-card-v1 h2.text-size-large {
    font-size: 1.75rem;
  }
}

.section--tight {
  padding-top: 2rem;
}

.section--cta {
  padding-bottom: 6rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading .button,
.section-heading .button-row {
  margin-top: 1.5rem;
}

.section-heading > p,
.section-heading .section__lede {
  margin: 1rem 0 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

.section-heading h2,
.hero h1,
.cta-panel h2,
.site-footer__column h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section__lede {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.section__lede--center {
  text-align: center;
}

.section__lede--max {
  max-width: 58rem;
  margin-inline: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.28);
}

.button--ghost {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(255, 255, 255, 0.85);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.5rem;
}

/* ── Home page only: gradient fills from top (covers nav + hero area) ── */
body.page-home {
  --home-hero-bg: #eef4ff;
  background: #ffffff;
}


body.page-home .site-header {
  background: transparent;
}


body.page-home .site-header__inner {
  background: var(--surface-soft);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

/* Home section rhythm: white, blue, white */
body.page-home .section--home-white {
  background: #ffffff;
}

body.page-home .section--home-blue {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.08));
}

.hero {
  padding-top: 2rem;
  background: none;
}

body.page-home .interactive-demo-section.hero {
  margin-top: -7rem;
  padding-top: calc(3.5rem + 7rem);
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    /* Top sheen — softens the navbar/headline area */
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 38%),
    /* Bottom fade — eases the section into the next */
    linear-gradient(180deg, transparent 78%, #ffffff 100%),
    /* Base — a gentle vertical gradient instead of a flat fill */
    radial-gradient(ellipse 120% 90% at 50% -10%, #f5f9ff 0%, #ecf2fc 50%, #e4ecf8 100%);
}

/* Layer 1 — colour blobs that LEAN INWARD toward the demo iframe.
   As the cursor moves down the hero (var(--hy) goes from -0.5 → +0.5), the
   blobs converge on the demo focal point (~50%, 86%). Mouse-x adds a gentle
   horizontal sway. The blobs visually "pull the eye" toward the iframe. */
body.page-home .interactive-demo-section.hero::before {
  content: "";
  position: absolute;
  inset: -10vmax;
  z-index: 0;
  pointer-events: none;
  filter: blur(72px) saturate(1.18);
  will-change: filter, opacity;
  background:
    /* Top-left → leans down & right toward the demo */
    radial-gradient(28vmax 28vmax
      at calc(22% + ((var(--hy, 0) + 0.5) * 14%) + (var(--hx, 0) * 5%))
         calc(30% + ((var(--hy, 0) + 0.5) * 26%)),
      rgba(56, 122, 198, 0.55), transparent 65%),
    /* Top-right → leans down & left toward the demo */
    radial-gradient(30vmax 30vmax
      at calc(80% - ((var(--hy, 0) + 0.5) * 15%) + (var(--hx, 0) * -5%))
         calc(24% + ((var(--hy, 0) + 0.5) * 28%)),
      rgba(108, 208, 200, 0.50), transparent 65%),
    /* Bottom-left → leans in & up toward the demo */
    radial-gradient(26vmax 26vmax
      at calc(18% + ((var(--hy, 0) + 0.5) * 16%) + (var(--hx, 0) * 4%))
         calc(76% + ((var(--hy, 0) + 0.5) * 6%)),
      rgba(168, 145, 230, 0.55), transparent 65%),
    /* Bottom-right → leans in & up toward the demo */
    radial-gradient(28vmax 28vmax
      at calc(82% - ((var(--hy, 0) + 0.5) * 16%) + (var(--hx, 0) * -4%))
         calc(74% + ((var(--hy, 0) + 0.5) * 7%)),
      rgba(245, 196, 90, 0.32), transparent 65%);
  animation: hero-spotlight-breathe 14s ease-in-out infinite alternate;
  animation-fill-mode: backwards;
}

/* Layer 2 — bright spotlight halo behind the demo iframe + soft top sheen +
   bottom fade. This is what makes the iframe feel "lit up" and the centre of
   the scene. A subtle grain overlay adds tactile depth. */
body.page-home .interactive-demo-section.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    /* Spotlight halo concentrated on the demo focal point */
    radial-gradient(62vmax 42vmax at 50% 86%,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(225, 240, 255, 0.34) 26%,
      rgba(225, 240, 255, 0.10) 48%,
      transparent 62%),
    /* Subtle grain for tactile feel */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: auto, 180px 180px;
  background-repeat: no-repeat, repeat;
  animation: hero-halo-pulse 9s ease-in-out infinite alternate;
  animation-fill-mode: backwards;
}

body.page-home .interactive-demo-section.hero > * {
  position: relative;
  z-index: 1;
}

@keyframes hero-spotlight-breathe {
  0%   { filter: blur(72px) saturate(1.10); opacity: 0.95; }
  50%  { filter: blur(64px) saturate(1.24); opacity: 1; }
  100% { filter: blur(70px) saturate(1.16); opacity: 0.97; }
}

@keyframes hero-halo-pulse {
  0%   { opacity: 0.90; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .interactive-demo-section.hero::before,
  body.page-home .interactive-demo-section.hero::after { animation: none; }
}

body.page-home .hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero__grid,
.split-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-layout--reverse > :first-child {
  order: 2;
}

.hero__badge {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.hero__badge strong {
  color: var(--primary);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.hero__scroll-lottie {
  width: 1.4rem;
  height: 1.4rem;
}

.hero__media {
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.55));
  box-shadow: var(--shadow);
}

.hero__media img,
.info-panel--media img {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 8px);
}


.logo-marquee {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.logo-marquee::-webkit-scrollbar {
  display: none;
}

.logo-marquee img {
  flex: 0 0 11rem;
  height: 3.75rem;
  width: 11rem;
  object-fit: contain;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* ── Interactive demo embed ── */
.interactive-demo-section {
  width: 100%;
  overflow: visible;
}

.demo-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.1), transparent 35%),
    linear-gradient(160deg, #ffffff 0%, #edf3ff 100%);
  box-shadow: var(--shadow);
}

.button-row--center {
  justify-content: center;
  margin-top: 1.5rem;
}


.home-hero__lede {
  text-align: left;
  max-width: 46ch;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 1.25rem 0 0;
}

.home-hero__actions {
  justify-content: flex-start;
  margin-top: 2rem;
}

.home-hero__trust {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.home-book-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.home-book-stats li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.home-book-stats__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-book-stats__suffix {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary);
  margin-left: 0.05rem;
  line-height: 1;
}

.home-book-stats__label {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-book-stats__source {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .home-book-stats {
    grid-template-columns: 1fr;
  }
}

.feature-grid,
.award-grid,
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.award-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.award-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: opacity 0.2s;
}

.award-logo:hover {
  opacity: 0.85;
}

.award-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.award-card,
.testimonial-card,
.info-panel,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  overflow: clip;
}

.feature-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-card__body {
  padding: 1.4rem;
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.feature-card__body h3,
.award-card p,
.testimonial-card__top strong,
.info-panel h3,
.site-footer__column h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.feature-card__body h3 {
  margin: 0 0 0.85rem;
  font-size: 1.4rem;
}

.feature-card__body ul,
.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.feature-card__body li + li,
.feature-list li + li {
  margin-top: 0.65rem;
}

.info-panel {
  padding: 1.5rem;
}

.info-panel h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.info-panel--media {
  padding: 1rem;
}

.award-card,
.testimonial-card {
  padding: 1.4rem;
}

.award-card p,
.testimonial-card__quote {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.testimonial-card__top img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.testimonial-card__meta {
  display: grid;
  margin-top: 1rem;
  gap: 0.15rem;
  color: var(--primary);
  font-size: 0.94rem;
  font-weight: 700;
}

.cta-panel {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 243, 255, 0.98));
}

.cta-panel .button {
  margin-top: 1.25rem;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 1rem 0 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: var(--surface-soft);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.site-header__menu {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  justify-self: end;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-weight: 700;
}

.site-brand__logo {
  width: 6rem;
}

.site-nav,
.site-header__actions,
.locale-switcher,
.site-footer__legal,
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav {
  justify-content: center;
  gap: 0.4rem;
}

.site-nav__link {
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
  border-radius: 999px;
}

.site-nav__link,
.locale-switcher a,
.site-footer__column a,
.nav-dropdown summary {
  color: var(--muted);
  font-weight: 700;
}

.site-footer__legal,
.site-footer__social {
  font-weight: 400;
}

.site-footer__legal a,
.site-footer__social a {
  color: var(--muted);
  font-weight: inherit;
  font-size: inherit;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
  border-radius: 999px;
}

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

.nav-dropdown[open] summary,
.nav-dropdown summary:hover,
.site-nav__link:hover,
.locale-switcher a:hover,
.site-footer__column a:hover,
.site-footer__legal a:hover,
.site-footer__social a:hover {
  color: var(--primary);
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 12rem;
  padding: 0.8rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
}

.nav-dropdown__panel a {
  display: block;
  padding: 0.45rem 0.2rem;
}

.nav-dropdown__panel--wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  min-width: 26rem;
}

.nav-dropdown__group-title {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 800;
}

.is-hidden {
  display: none !important;
}

.locale-switcher a.is-current {
  color: var(--primary);
}

/* ── Globe locale switcher ── */
.locale-switcher.nav-dropdown {
  display: block;
  flex: none;
}
.locale-switcher__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.locale-switcher__trigger:hover {
  color: var(--primary);
}
.locale-switcher__trigger .fa-globe {
  font-size: 0.95rem;
}
.locale-switcher__code {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.locale-switcher__panel {
  right: 0;
  left: auto;
  min-width: 7rem;
}
.locale-switcher__panel a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
}
.locale-switcher__panel a:hover {
  color: var(--primary);
  background: rgba(37,99,235,0.05);
}
.locale-switcher__panel a.is-current {
  color: var(--primary);
  font-weight: 700;
}

.site-footer {
  padding: 0 0 3rem;
}

.site-footer__top,
.site-footer__bottom {
  display: grid;
  gap: 1.5rem;
}

.site-footer__top {
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  padding: 2rem 0;
}

.site-footer__brand-block {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.site-footer__brand-block p {
  max-width: 20rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.site-footer__column h2 {
  margin: 0 0 1.1rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__column {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.site-footer__column a {
  font-size: 0.95rem;
  font-weight: 500;
}

.site-footer__bottom {
  grid-template-columns: 1fr auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.site-footer__legal,
.site-footer__social {
  gap: 1.2rem;
}

@media (max-width: 1024px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-items: start;
    border-radius: var(--radius-xl);
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__menu {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
  }

  .site-header__menu.is-open {
    display: grid;
  }

  .site-nav,
  .site-header__actions,
  .locale-switcher {
    width: 100%;
    justify-content: flex-start;
  }

  .hero__grid,
  .split-layout,
  .site-footer__top,
  .feature-grid,
  .award-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .split-layout--reverse > :first-child {
    order: 0;
  }

  .nav-dropdown__panel,
  .nav-dropdown__panel--wide {
    position: static;
    min-width: 0;
    margin-top: 0.5rem;
  }

  .nav-dropdown__panel--wide {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  body.page-home .interactive-demo-section.hero {
    /* Mobile Safari has inconsistent fixed-background rendering */
    background-attachment: scroll;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  body.page-home .site-header {
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    letter-spacing: -0.03em;
    max-width: none;
  }

  .button-row,
  .site-footer__legal,
  .site-footer__social,
  .locale-switcher,
  .site-nav {
    gap: 0.65rem;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__actions {
    gap: 0.8rem;
  }

  .feature-card__body,
  .award-card,
  .testimonial-card,
  .info-panel,
  .cta-panel {
    padding: 1.15rem;
  }

  .logo-marquee img {
    flex-basis: 9rem;
    width: 9rem;
  }
}

/* ── Pricing cards ──────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: clip;
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 4px 32px rgba(37,99,235,0.15);
  position: relative;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.pricing-card__header {
  padding: 1.75rem 1.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
}

.pricing-card__tagline {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.pricing-card__period {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.pricing-card__subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0.5rem 0 0;
}

.pricing-card__body {
  padding: 1.25rem 1.75rem;
  flex: 1;
}

.pricing-card__what {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.pricing-card__features {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--body);
  font-size: 0.88rem;
}

.pricing-card__features li + li {
  margin-top: 0.4rem;
}

.pricing-card__footer {
  padding: 1rem 1.75rem 1.5rem;
}

.button--full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ── Why grid ────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.why-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.why-check {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.why-item p {
  margin: 0;
  font-size: 0.9rem;
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 1.5rem auto 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 0.75rem;
  overflow: clip;
}

.faq-item__q {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.faq-item__q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item[open] .faq-item__q::after {
  content: '−';
}

.faq-item__a {
  padding: 0 1.25rem 1rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Features category grid ──────────────────────────────────── */
.features-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.features-category-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.features-category-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.features-category-card__list {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.features-category-card__list li + li {
  margin-top: 0.3rem;
}

/* ── Section kicker label ────────────────────────────────────── */
.section__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ── Max-width lede variant ──────────────────────────────────── */
.section__lede--max {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .why-grid,
  .features-category-grid {
    grid-template-columns: 1fr;
  }
}

.video-preview {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: clip;
  box-shadow: var(--shadow);
}

.video-preview__link {
  display: block;
  position: relative;
}

.video-preview__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-preview__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
}

.video-preview__link:hover .video-preview__play {
  background: rgba(0, 0, 0, 0.4);
}

/* ── Hero GIF ─────────────────────────────────────────────────── */
.hero__gif {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

/* ── Feature card video ───────────────────────────────────────── */
video.feature-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ── Integrations section video ──────────────────────────────── */
.integ-media-wrap {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.integ-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

/* ── Integration logo grid (integrations page) ───────────────── */
.integration-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.integration-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.integration-logo {
  width: 100%;
  max-width: 80px;
  height: 48px;
  object-fit: contain;
}

.integrations-hero-image {
  margin-top: 2rem;
  text-align: center;
}

.integration-main-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: var(--radius-xl);
}

@media (max-width: 1024px) {
  .integration-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .integration-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Contact page ─────────────────────────────────────────────────────────── */
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-top: 1rem;
}

.contact-hero-copy h1 { margin-bottom: 1rem; }

.contact-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-checklist li::before {
  content: '✓ ';
  color: var(--primary);
  font-weight: 700;
}

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.contact-form__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form__field { display: flex; flex-direction: column; gap: 0.3rem; }
.contact-form__field--inline { flex-direction: row; align-items: center; gap: 0.5rem; }

/* Contact form submit feedback */
.contact-form__msg { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.95rem; }
.contact-form__msg[hidden] { display: none; }
.contact-form__msg--success { background: #e7f6ec; color: #1c7a3f; border: 1px solid #b6e3c6; }
.contact-form__msg--error { background: #fdecec; color: #b42318; border: 1px solid #f5c6c2; }
.contact-form__field--inline label { font-size: 0.85rem; color: var(--muted); }
.contact-form__field--inline a { color: var(--primary); }

.contact-form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.contact-form__input {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}
.contact-form__input:focus { border-color: var(--primary); }
.contact-form__select { cursor: pointer; }
.contact-form__textarea { min-height: 110px; resize: vertical; }

.contact-form__error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 0.75rem;
}
.contact-form__success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
}
.contact-form__success p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .contact-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-form__row--2col { grid-template-columns: 1fr; }
}

/* ── Page hero (all-features, integrations, etc.) ────────────────────────── */
.page-hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
  background: var(--home-hero-bg, linear-gradient(180deg, #eef3fb 0%, #e2eaf7 100%));
}
.page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--heading);
}
.page-hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0;
  line-height: 1.65;
}

/* ── Legal pages (privacy / terms) ───────────────────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content__h2 {
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: var(--text);
  margin: 2.5rem 0 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.legal-content__h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content__h3 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--text);
  margin: 1.5rem 0 0.35rem;
}
.legal-content__p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.legal-content__list {
  margin: 0 0 0.5rem 1.5rem;
  padding: 0;
}
.legal-content__list li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.legal-content__list + .legal-content__list { margin-top: -0.25rem; }

/* ── Solutions pages ─────────────────────────────────────────────────────── */
.sol-hero {
  background: var(--bg);
  padding-top: 5rem;
  padding-bottom: 3rem;
  text-align: center;
}
.sol-hero__copy {
  max-width: 780px;
  margin: 0 auto;
}
.sol-hero h1 {
  color: var(--text);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.sol-hero .section__lede { color: var(--muted); max-width: 600px; margin: 0 auto 2rem; }
.sol-hero .button-row { justify-content: center; }
.sol-hero__media {
  margin-top: 3.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15,23,42,0.14);
}
.sol-hero__img {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
}

/* Marquee logos strip */
.sol-logos { padding: 3rem 0 2rem; overflow: hidden; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sol-logos__title { font-size: 1.4rem; font-weight: 700; color: var(--text); text-align: center; margin-bottom: 0.75rem; }
.sol-logos__copy { font-size: 0.95rem; color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 2rem; line-height: 1.6; }
.marquee-wrap { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-logo {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Feature alternating sections */
.sol-feature { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.sol-feature__title { font-size: 1.75rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; }
.sol-feature__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem 2.5rem;
  max-width: 900px;
}
.sol-feature__list li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}
.sol-feature__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.sol-feature__list li strong { color: var(--text); }

/* Feature grid (Powering Efficiency) */
.sol-grid { padding-top: 5rem; padding-bottom: 5rem; }
.sol-grid__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.sol-grid__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.sol-grid__card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.sol-grid__name { display: block; }

/* ── Resources pages ─────────────────────────────────────────────────────── */
.res-section { padding-top: 4rem; padding-bottom: 4rem; }
.res-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.res-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15,23,42,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.res-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.12);
  transform: translateY(-2px);
}
.res-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.res-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 1024px) {
  .res-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .res-cards { grid-template-columns: 1fr; }
}

/* ── Comparison image ─────────────────────────────────────────────────────── */
.comparison-img {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG POST STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Post header */
.post-header {
  background: var(--text);
  color: #fff;
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.post-header .section__kicker { color: var(--accent); }
.post-header h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  max-width: 780px;
  margin: 0.75rem auto 1rem;
}
.post-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  max-width: 660px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.post-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* Two-column layout: TOC + body */
.post-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-toc { display: none !important; }
}

/* Table of contents */
.post-toc {
  position: sticky;
  top: 5rem;
}
.post-toc__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.post-toc ul { list-style: none; padding: 0; margin: 0; }
.post-toc li { margin: 0; }
.post-toc a {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  display: block;
  padding: 0.3rem 0 0.3rem 0.75rem;
  border-left: 2px solid var(--line);
  line-height: 1.4;
  transition: color 0.15s, border-color 0.15s;
}
.post-toc a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
}

/* Post body typography */
.post-body { max-width: 720px; }
.post-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
  line-height: 1.25;
}
.post-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
}
.post-body p {
  color: #374151;
  line-height: 1.75;
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
}
.post-body ul, .post-body ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}
.post-body li {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
}
.post-body a { color: var(--primary); }
.post-body a:hover { color: var(--primary-strong); }
.post-body strong { color: var(--text); }
.post-body blockquote {
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.post-body blockquote p { margin: 0; font-style: italic; }

/* Stat callout box */
.post-body .stat-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37,99,235,0.15);
}
.stat-box__item { text-align: center; }
.stat-box__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-box__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Comparison table */
.post-body .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
}
.compare-table th {
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}
.compare-table th:first-child { border-radius: var(--radius-md) 0 0 0; }
.compare-table th:last-child  { border-radius: 0 var(--radius-md) 0 0; }
.compare-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  color: #374151;
  vertical-align: top;
}
.compare-table tr:hover td { background: var(--bg-alt); }
.compare-table .check  { color: #16a34a; font-weight: 700; }
.compare-table .cross  { color: #dc2626; font-weight: 700; }
.compare-table .sw-row td { background: rgba(37,99,235,0.06); font-weight: 500; }

/* CTA at bottom of post */
.post-cta {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #0a0d14 0%, #0f4bd8 100%);
  border-radius: var(--radius-xl);
  text-align: center;
}
.post-cta h2 { color: #fff; margin: 0 0 0.75rem; font-size: 1.5rem; }
.post-cta p  { color: rgba(255,255,255,0.75); margin: 0 0 1.5rem; line-height: 1.6; }

/* Post page — hide hero section kicker from header.njk since post-header covers it */
.post-page .site-header { background: var(--text); }

/* ── Testimonials v3 slider (used on solutions/* pages) ──
   Webflow's CSS for this slider rendered all 3 slides stacked vertically and
   positioned the arrows where .section-testimonials-v3 (overflow: clip)
   clipped them. We stack the slides absolutely so only the .is-active one is
   visible (with a fade), hide the arrows (autoplay handles navigation), and
   surface a small dot indicator so the user can tell there are multiple
   quotes cycling. The slider JS in footer.njk toggles .is-active. */
.testimonial-component-right-v3 {
  position: relative;
  padding-bottom: 1.25rem;
}
.section-testimonials-v3 .testimonial-slider-v3.w-slider {
  position: relative;
  background: transparent;
}
.section-testimonials-v3 .testimonial-mask-v3.w-slider-mask {
  position: relative;
  overflow: hidden;
  white-space: normal;
}
.section-testimonials-v3 .testimonial-slide-v3.w-slide {
  display: none;
  width: 100%;
  height: auto;
  position: relative;
}
.section-testimonials-v3 .testimonial-slide-v3.w-slide.is-active {
  display: block;
}
/* Normalize testimonial logos by HEIGHT rather than width — keeps the
   visual weight consistent across logos whose source images have very
   different content layouts (e.g. single-word IPG vs two-line McCann).
   mix-blend-mode: multiply hides any white background bleed from raster
   logos (McCann.png) against the card's #f6f8fa surface. */
.section-testimonials-v3 .testimonial-card-v3 img.ipg {
  width: auto;
  height: 32px;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  background: transparent;
}
/* Hide the broken Webflow arrows — autoplay handles cycling */
.section-testimonials-v3 .slider-arrow.is-previous.v3,
.section-testimonials-v3 .slider-arrow.is-next.v3 {
  display: none;
}
/* Dot indicator: shows how many quotes there are and which is active.
   Container is injected by the slider JS in footer.njk. */
.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.testimonial-dots__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.testimonial-dots__dot:hover {
  background: rgba(15, 23, 42, 0.4);
}
.testimonial-dots__dot.is-active {
  background: var(--primary);
  transform: scale(1.25);
}
.testimonial-dots__dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
