.content-body .page {
  max-width: 100vw !important;
}

/* ============================================================
   Permission Base — Purple, v1
   Type:  Manrope (display) · DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  /* Brand purples */
  --p-1: #C89EE0;   /* lightest */
  --p-2: #A96ACC;
  --p-3: #8F4DBE;
  --p-4: #7B3FB0;   /* brand · darkest */
  --p-deep: #1C1030;
  --p-wash: #F2E8F7;
  --p-wash-soft: #FAF5FD;

  --bg: #F5F2FA;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #1A1622;
  --ink-2: #3F3A4A;
  --ink-soft: #6B6471;
  --ink-faint: #9A93A1;
  --rule: #E8E2EF;
  --rule-strong: #D2CADC;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-1: 0 1px 0 rgba(26,22,34,0.04), 0 2px 8px rgba(26,22,34,0.04);
  --shadow-2: 0 8px 28px rgba(26,22,34,0.08);
  --shadow-3: 0 20px 60px rgba(26,22,34,0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: 92px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

/* Typography utilities */
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p-4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
h1, h2, h3, h4, h5 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.05;
}
h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 18px; line-height: 1.25; letter-spacing: -0.005em; }
.serif-it,
.hero-copy h1 .it,
.cta h2 .it {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--p-4);
}
.text-soft { color: var(--ink-soft); }
.text-muted { color: var(--ink-faint); }

/* Layout */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 112px 0; }
section.tight { padding: 72px 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 92px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(26,22,34,0.02);
}
.nav-inner {
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.nav-logo img { height: 54px; display: block; }
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .15s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--p-4); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--p-4);
  border-radius: 2px;
}
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* Hamburger button — hidden on desktop */
.nav-burger {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 0;
  border-radius: 8px;
  transition: background .15s ease;
  flex-shrink: 0;
}
.nav-burger:hover { background: var(--bg); }
.nav-burger svg { width: 20px; height: 20px; display: block; }
.nav-burger .burger-close { display: none; }
.nav.open .burger-icon { display: none; }
.nav.open .burger-close { display: block; }

/* Mobile dropdown menu — hidden on desktop */
.nav-mobile-menu {
  display: none;
}
.nav-mobile-links {
  list-style: none;
  margin: 0;
  padding: 10px 20px 4px;
}
.nav-mobile-links li {
  border-bottom: 1px solid var(--rule);
}
.nav-mobile-links li:last-child { border-bottom: none; }
.nav-mobile-links a {
  display: block;
  padding: 14px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-mobile-links a:hover { color: var(--p-4); }
.nav-mobile-cta {
  padding: 12px 20px 22px;
}
.nav-mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  padding: 11px 20px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--p-4);
  color: #fff;
}
.btn-primary:hover { background: var(--p-3); box-shadow: 0 6px 18px rgba(123,63,176,0.28); color: #fff; }
.btn-ghost {
  color: var(--ink-2);
  background: transparent;
}
.btn-ghost:hover { color: var(--p-4); }
.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--rule-strong);
}
.btn-outline:hover { border-color: var(--p-4); color: var(--p-4); }
.btn-lg {
  padding: 14px 26px 15px;
  font-size: 15px;
}
.btn-white {
  background: #fff;
  color: var(--p-4);
}
.btn-white:hover { background: var(--p-wash); color: var(--p-4); }
.btn-onpurple {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-onpurple:hover { background: rgba(255,255,255,0.18); color: #fff; }

.btn .arrow {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 90% 10%, rgba(200,158,224,0.30), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(143,77,190,0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(48px, 5.6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
  display: grid;
  grid-template-areas: "stack";
  margin: 0 0 0;
}
.hero-line {
  grid-area: stack;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility 0s linear .55s;
}
.hero-line.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility 0s linear 0s;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--p-4);
  display: block;
}
.hero-copy h1 .it {
  color: var(--p-3);
  display: block;
}
.hero-copy .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 28px 0 36px !important;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 640px;
}
.hero-meta .stat .num {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-meta .stat .lbl {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
  display: block;
}

/* Hero visual — rotating graphics */
.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-areas: "stack";
  align-items: center;
}
.hero-graphic {
  grid-area: stack;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px) scale(0.97);
  transition: opacity .5s ease, transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear .55s;
}
.hero-graphic.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  transition: opacity .5s ease, transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0s;
}

/* Child element stagger — default (out) state */
.hero-graphic .warn-head,
.hero-graphic .warn-section,
.hero-graphic .warn-flow,
.hero-graphic .warn-out,
.hero-graphic .warn-foot,
.hero-graphic .stack-old,
.hero-graphic .stack-merge,
.hero-graphic .stack-new,
.hero-graphic .side-head,
.hero-graphic .side-compare-head,
.hero-graphic .side-compare-row,
.hero-graphic .side-foot {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .15s ease, transform .15s ease;
}

/* Warn card stagger */
.hero-graphic.is-active .warn-head    { opacity:1; transform:translateY(0); transition: opacity .4s ease .10s, transform .5s cubic-bezier(0.25,.46,.45,.94) .10s; }
.hero-graphic.is-active .warn-section { opacity:1; transform:translateY(0); transition: opacity .4s ease .20s, transform .5s cubic-bezier(0.25,.46,.45,.94) .20s; }
.hero-graphic.is-active .warn-flow    { opacity:1; transform:translateY(0); transition: opacity .4s ease .30s, transform .5s cubic-bezier(0.25,.46,.45,.94) .30s; }
.hero-graphic.is-active .warn-out     { opacity:1; transform:translateY(0); transition: opacity .4s ease .38s, transform .5s cubic-bezier(0.25,.46,.45,.94) .38s; }
.hero-graphic.is-active .warn-foot    { opacity:1; transform:translateY(0); transition: opacity .4s ease .48s, transform .5s cubic-bezier(0.25,.46,.45,.94) .48s; }

/* Stack card stagger */
.hero-graphic.is-active .stack-old   { opacity:1; transform:translateY(0); transition: opacity .4s ease .10s, transform .5s cubic-bezier(0.25,.46,.45,.94) .10s; }
.hero-graphic.is-active .stack-merge { opacity:1; transform:translateY(0); transition: opacity .4s ease .28s, transform .5s cubic-bezier(0.25,.46,.45,.94) .28s; }
.hero-graphic.is-active .stack-new   { opacity:1; transform:translateY(0); transition: opacity .4s ease .44s, transform .5s cubic-bezier(0.25,.46,.45,.94) .44s; }

/* Side card stagger */
.hero-graphic.is-active .side-head                       { opacity:1; transform:translateY(0); transition: opacity .4s ease .10s, transform .5s cubic-bezier(0.25,.46,.45,.94) .10s; }
.hero-graphic.is-active .side-compare-head               { opacity:1; transform:translateY(0); transition: opacity .4s ease .20s, transform .5s cubic-bezier(0.25,.46,.45,.94) .20s; }
.hero-graphic.is-active .side-compare-row:nth-child(2)   { opacity:1; transform:translateY(0); transition: opacity .4s ease .28s, transform .5s cubic-bezier(0.25,.46,.45,.94) .28s; }
.hero-graphic.is-active .side-compare-row:nth-child(3)   { opacity:1; transform:translateY(0); transition: opacity .4s ease .36s, transform .5s cubic-bezier(0.25,.46,.45,.94) .36s; }
.hero-graphic.is-active .side-compare-row:nth-child(4)   { opacity:1; transform:translateY(0); transition: opacity .4s ease .44s, transform .5s cubic-bezier(0.25,.46,.45,.94) .44s; }
.hero-graphic.is-active .side-compare-row:nth-child(5)   { opacity:1; transform:translateY(0); transition: opacity .4s ease .52s, transform .5s cubic-bezier(0.25,.46,.45,.94) .52s; }
.hero-graphic.is-active .side-foot                       { opacity:1; transform:translateY(0); transition: opacity .4s ease .62s, transform .5s cubic-bezier(0.25,.46,.45,.94) .62s; }

/* ============================================================
   HERO GRAPHIC 1 — "Stop paying to give your customers away" (purple)
   ============================================================ */
.warn-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px 30px 24px;
  box-shadow:
    0 1px 0 rgba(26,22,34,0.04),
    0 24px 60px -16px rgba(60,32,100,0.22),
    0 8px 28px rgba(26,22,34,0.06);
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.warn-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.warn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-4);
  align-self: flex-start;
}
.warn-eyebrow svg { width: 14px; height: 14px; color: var(--p-4); }
.warn-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 24ch;
}
.warn-section { display: flex; flex-direction: column; gap: 12px; }
.warn-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.warn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.warn-chip {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px 7px;
  border-radius: 999px;
  background: var(--p-wash);
  color: var(--p-4);
  border: 1px solid rgba(123,63,176,0.18);
}
.warn-flow { display: flex; align-items: center; gap: 14px; }
.warn-flow-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123,63,176,0.30), transparent);
}
.warn-flow-arrow { color: var(--p-4); display: inline-flex; }
.warn-flow-arrow svg { width: 12px; height: 16px; }
.warn-out {
  background: var(--p-wash-soft);
  border: 1px solid rgba(123,63,176,0.18);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.warn-out-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.warn-bullet {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--p-4);
  flex: 0 0 auto;
}
.warn-foot {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.warn-foot-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.02em;
  color: var(--p-4);
  line-height: 1;
}
.warn-foot-text {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

/* ============================================================
   HERO GRAPHIC 2 — Stack collapse ("Replace your entire stack")
   ============================================================ */
.stack-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px 30px 24px;
  box-shadow:
    0 1px 0 rgba(26,22,34,0.04),
    0 24px 60px -16px rgba(60,32,100,0.22),
    0 8px 28px rgba(26,22,34,0.06);
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stack-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.stack-old-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stack-tool {
  background: #FAF8FC;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 10px 14px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stack-tool-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.stack-merge { display: flex; align-items: center; gap: 14px; }
.stack-merge-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-strong), transparent);
}
.stack-merge-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-4);
  padding: 5px 12px 6px;
  background: var(--p-wash);
  border-radius: 999px;
}
.stack-new {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FAF5FD 0%, #F2E8F7 100%);
  border: 1px solid rgba(123,63,176,0.20);
}
.stack-new-mark { flex: 0 0 auto; }
.stack-new-mark img { width: 60px; height: 60px; display: block; object-fit: contain; }
.stack-new-body { display: flex; flex-direction: column; gap: 2px; }
.stack-new-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-4);
}
.stack-new-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}
.stack-new-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.stack-foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.stack-foot-cell {
  background: #FFFFFF;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stack-foot-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--p-4);
  line-height: 1;
}
.stack-foot-lbl {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   HERO GRAPHIC 3 — Comparison ("The platform that's actually on your side")
   ============================================================ */
.side-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px 30px 24px;
  box-shadow:
    0 1px 0 rgba(26,22,34,0.04),
    0 24px 60px -16px rgba(60,32,100,0.22),
    0 8px 28px rgba(26,22,34,0.06);
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.side-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.side-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-4);
  align-self: flex-start;
}
.side-eyebrow svg { width: 14px; height: 14px; }
.side-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.side-compare {
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.side-compare-head {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  padding: 8px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.side-col-them {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}
.side-col-us {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-4);
  text-align: center;
}
.side-compare-row {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.side-compare-row:last-child { border-bottom: none; }
.side-feat { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.side-no { text-align: center; font-size: 15px; font-weight: 700; color: #C0392B; }
.side-yes { text-align: center; font-size: 15px; font-weight: 700; color: var(--p-4); }
.side-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.side-foot svg { width: 16px; height: 16px; color: var(--p-4); flex: 0 0 auto; }

/* ============================================================
   CLIENTS STRIP
   ============================================================ */
.clients {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #FFFFFF;
}
.clients-label {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.clients-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  will-change: transform;
}
.clients-track.running {
  animation: marquee 60s linear infinite;
}
.clients-track.running:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-end, -50%)); }
}
.client-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 44px; }
.client-logo img {
  max-width: 132px;
  max-height: 44px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter .3s;
}
.client-logo img:hover { filter: grayscale(0) opacity(1); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head h2 { margin: 14px 0 0; max-width: 16ch; }
.section-head .desc {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
  max-width: 52ch;
}

/* ============================================================
   WHY PERMISSION BASE
   ============================================================ */
.vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.vs-col {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
}
.vs-col-us {
  background: linear-gradient(180deg, var(--p-wash-soft) 0%, #FFFFFF 80%);
  border-color: rgba(123,63,176,0.20);
  box-shadow: 0 18px 40px -16px rgba(123,63,176,0.20);
  position: relative;
  overflow: hidden;
}
.vs-col-us::before {
  content: '';
  position: absolute;
  top: 0; left: 36px; right: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--p-1), var(--p-4));
}
.vs-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.vs-col-us .vs-head {
  border-bottom-color: rgba(123,63,176,0.18);
}
.vs-tag {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.vs-col-us .vs-tag {
  color: var(--p-4);
}
.vs-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.vs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.vs-col-them .vs-list li {
  color: var(--ink-soft);
}
.vs-mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.vs-mark svg { width: 12px; height: 12px; }
.vs-mark-them {
  background: rgba(26,22,34,0.06);
  color: var(--ink-faint);
}
.vs-mark-us {
  background: var(--p-4);
  color: #FFFFFF;
}

/* ============================================================
   PLATFORM FEATURES — 22-card grid
   ============================================================ */
.features {
  background: #FFFFFF;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.feat-groups {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
}
.feat-group {
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.feat-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.feat-group-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--p-wash);
  color: var(--p-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.feat-group-icon svg { width: 13px; height: 13px; }
.feat-group-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.feat-group-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--p-4);
  background: var(--p-wash);
  padding: 2px 8px 3px;
  border-radius: 999px;
  margin-left: 2px;
}
.feat-group-grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
}
.feat-group-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feat-group-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feat-card {
  background: #FFFFFF;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 10px;
  align-items: start;
  color: inherit;
  text-decoration: none;
  transition: background .15s ease;
  position: relative;
  pointer-events: none;
  cursor: default;
}
.feat-arrow { display: none; }

/* Linked feature cards (real href, not placeholder) */
a.feat-card[href]:not([href="#"]) {
  pointer-events: auto;
  cursor: pointer;
  border-color: rgba(123,63,176,0.22);
}
a.feat-card[href]:not([href="#"]):hover {
  background: var(--p-wash-soft);
  box-shadow: inset 0 0 0 1px rgba(123,63,176,0.18);
  text-decoration: none;
}
a.feat-card[href]:not([href="#"]):hover .feat-title { color: var(--p-4); text-decoration: none; }
a.feat-card[href]:not([href="#"]) .feat-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--p-wash);
  color: var(--p-4);
  font-size: 11px;
  margin-left: 10px;
  opacity: 0.6;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}
a.feat-card[href]:not([href="#"]):hover .feat-arrow {
  opacity: 1;
  background: var(--p-4);
  color: #fff;
}
.feat-icon {
  grid-row: 1;
  grid-column: 1;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--p-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-4);
  flex-shrink: 0;
  align-self: center;
}
.feat-icon svg { width: 18px; height: 18px; }
.feat-icon i { font-size: 17px; line-height: 1; }
.feat-group-icon i { font-size: 13px; line-height: 1; }
.feat-title {
  grid-row: 1;
  grid-column: 2;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.2;
  align-self: center;
}
.feat-desc {
  grid-row: 2;
  grid-column: 1 / -1;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   FEATURE GROUP — screenshot split layout
   ============================================================ */
.feat-group-grid.cols-1 { grid-template-columns: 1fr; }

.feat-group-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.fg-cards {
  padding: 24px;
  border-right: 1px solid var(--rule);
}
.feat-group[data-alt] .fg-cards {
  order: 2;
  border-right: none;
  border-left: 1px solid var(--rule);
}
.feat-group[data-alt] .fg-screens { order: 1; }
.fg-screens {
  padding: 36px 32px;
  background: linear-gradient(135deg, var(--p-wash-soft) 0%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Screen frame stack */
.screen-stack { display: grid; width: 100%; }
.screen-frame {
  grid-row: 1;
  grid-column: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.screen-b {
  z-index: 1;
  transform: rotate(2deg) translate(10px, 10px);
  opacity: 0.72;
  box-shadow: 0 4px 20px rgba(26,22,34,0.09);
}
.screen-f {
  z-index: 2;
  box-shadow: 0 8px 36px rgba(26,22,34,0.13), 0 2px 8px rgba(26,22,34,0.07);
}

/* Side-by-side — for short images that need to both be visible */
.screen-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
}
.screen-side .screen-frame {
  grid-row: unset;
  grid-column: unset;
  box-shadow: 0 6px 24px rgba(26,22,34,0.12), 0 2px 6px rgba(26,22,34,0.07);
}
.screen-side .screen-frame:first-child {
  transform: rotate(-2deg);
  transform-origin: bottom left;
  margin-top: 18px;
}
.screen-side .screen-frame:last-child {
  transform: rotate(1.5deg);
  transform-origin: top right;
  margin-top: -18px;
}

/* Mosaic — two visible screenshots for large groups */
.screen-mosaic {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.screen-p, .screen-s {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.screen-p {
  width: 72%;
  align-self: flex-start;
  transform: rotate(-1.5deg);
  transform-origin: top left;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 36px rgba(26,22,34,0.13), 0 2px 8px rgba(26,22,34,0.07);
}
.screen-s {
  width: 62%;
  align-self: flex-end;
  transform: rotate(1.5deg);
  transform-origin: bottom right;
  position: relative;
  z-index: 1;
  margin-top: -52px;
  box-shadow: 0 6px 24px rgba(26,22,34,0.10);
}
.screen-chrome {
  height: 30px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
}
.screen-chrome span { width: 8px; height: 8px; border-radius: 50%; }
.screen-chrome span:nth-child(1) { background: #FF5F57; }
.screen-chrome span:nth-child(2) { background: #FFBD2E; }
.screen-chrome span:nth-child(3) { background: #28CA41; }
.screen-url-bar {
  flex: 1; height: 14px; border-radius: 6px; background: var(--rule);
  margin-left: 6px; max-width: 140px;
}
.screen-body { padding: 14px; min-height: 190px; overflow: hidden; }
.screen-img { width: 100%; display: block; }
.screen-caption {
  padding: 7px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px solid var(--rule);
  background: var(--bg);
  text-align: center;
}

/* Skeleton atoms */
.sk { border-radius: 4px; background: var(--rule); display: block; flex-shrink: 0; }
.sk-sm { height: 7px; }
.sk-md { height: 11px; }
.sk-hi { background: var(--p-wash); }

/* Skeleton layouts */
.sk-section { display: flex; flex-direction: column; gap: 9px; }
.sk-row   { display: flex; align-items: center; gap: 9px; }
.sk-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.sk-thumb { width: 34px; height: 34px; border-radius: 6px; background: var(--rule); flex-shrink: 0; }
.sk-av    { width: 26px; height: 26px; border-radius: 50%;  background: var(--rule); flex-shrink: 0; }
.sk-srow  { display: flex; gap: 7px; }
.sk-srch  { flex: 1; height: 24px; border-radius: 6px; background: var(--rule); }
.sk-pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sk-prod  { display: flex; flex-direction: column; }
.sk-pimg  { border-radius: 7px; background: var(--bg); border: 1px solid var(--rule); aspect-ratio: 1; }
.sk-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
.sk-stat  { background: var(--bg); border: 1px solid var(--rule); border-radius: 7px; padding: 9px 8px; display: flex; flex-direction: column; gap: 5px; }
.sk-bars  { display: flex; align-items: flex-end; gap: 5px; height: 68px; }
.sk-b     { flex: 1; border-radius: 3px 3px 0 0; background: var(--p-wash); }
.sk-b.on  { background: var(--p-3); opacity: 0.45; }
.sk-thr   { display: flex; align-items: center; gap: 9px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.sk-evt   { display: flex; align-items: flex-start; gap: 9px; padding: 7px; border: 1px solid var(--rule); border-radius: 7px; }
.sk-dblk  { width: 34px; height: 40px; border-radius: 6px; flex-shrink: 0; background: var(--p-wash); }
.sk-etbar { display: flex; gap: 5px; padding-bottom: 9px; border-bottom: 1px solid var(--rule); }
.sk-ebtn  { width: 20px; height: 20px; border-radius: 3px; background: var(--rule); flex-shrink: 0; }
.sk-tick  { display: flex; align-items: center; gap: 9px; padding: 7px; border: 1px solid var(--rule); border-radius: 7px; }
.sk-ttl   { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; border-top: 1px solid var(--rule); }

/* Feature group scroll animations — only when JS adds .will-animate */
.feat-group.will-animate .fg-cards {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.feat-group.will-animate[data-alt] .fg-cards { transform: translateX(22px); }
.feat-group.will-animate .fg-screens {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease 0.12s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.12s;
}
.feat-group.is-visible .fg-cards  { opacity: 1; transform: translateX(0); }
.feat-group.is-visible .fg-screens { opacity: 1; transform: translateY(0); }

@keyframes sc-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
.feat-group.is-visible .screen-f {
  animation: sc-float 5s ease-in-out infinite;
  animation-delay: 0.9s;
}
.feat-group.is-visible .screen-p {
  animation: sc-float 5s ease-in-out infinite;
  animation-delay: 0.9s;
}
.feat-group.is-visible .screen-s {
  animation: sc-float 5s ease-in-out infinite;
  animation-delay: 3.4s; /* out of phase with screen-p */
}

/* Dark mode */
[data-theme="dark"] .fg-screens {
  background: linear-gradient(135deg, var(--p-wash-soft) 0%, var(--bg) 100%);
}
[data-theme="dark"] .screen-frame { background: var(--surface); }

/* Responsive */
@media (max-width: 980px) {
  .feat-group-body { grid-template-columns: 1fr; }
  .fg-cards { border-right: none; border-bottom: 1px solid var(--rule); }
  .feat-group[data-alt] .fg-cards { order: unset; border-left: none; border-bottom: 1px solid var(--rule); }
  .feat-group[data-alt] .fg-screens { order: unset; }
  .screen-b { display: none; }
  .screen-f { width: 100%; }
  .screen-p { width: 70%; }
  .screen-s { width: 58%; margin-top: -36px; }
}
@media (max-width: 640px) {
  .fg-screens { padding: 24px 20px; }
  .screen-body { min-height: 150px; }
}

/* ============================================================
   LETTER  (Come small, come all)
   ============================================================ */
.letter {
  background: var(--p-wash-soft);
  border-top: 1px solid rgba(123,63,176,0.10);
  border-bottom: 1px solid rgba(123,63,176,0.10);
}
.letter-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.6fr;
  gap: 88px;
  align-items: start;
}
.letter-aside {
  position: sticky;
  top: 132px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.letter-h {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  max-width: 12ch;
}
.letter-sig {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 8px 0 0;
}
.letter-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
  max-width: 62ch;
}
.letter-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.letter-block h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--p-4);
  margin: 0 0 4px;
  line-height: 1.2;
}
.letter-block p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.letter-block strong {
  color: var(--ink);
  font-weight: 700;
}
.letter-callout {
  background: var(--p-deep);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}
.letter-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 280px at 100% 0%, rgba(169,106,204,0.22), transparent 70%);
  pointer-events: none;
}
.letter-callout p {
  color: rgba(255,255,255,0.86);
  font-size: 15.5px;
  line-height: 1.6;
  position: relative;
}
.letter-callout strong {
  color: var(--p-1);
  font-weight: 700;
}

/* ============================================================
   LETTER GRAPHIC  (business type tile mosaic)
   ============================================================ */
.letter-graphic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 4px;
}
.lg-tile {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.lg-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--p-wash);
  color: var(--p-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lg-icon svg { width: 14px; height: 14px; }
.lg-icon i { font-size: 14px; line-height: 1; }
.lg-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.25;
}

/* ============================================================
   DATA PRIVACY
   ============================================================ */
.privacy {
  background: var(--p-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.privacy::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 80% 10%, rgba(200,158,224,0.10), transparent 70%),
    radial-gradient(500px 400px at 10% 90%, rgba(143,77,190,0.20), transparent 70%);
  pointer-events: none;
}
.privacy .wrap { position: relative; }
.privacy h2 { color: #fff; }
.privacy .eyebrow { color: var(--p-1); }
.privacy h2 .it { color: var(--p-1); }
.privacy-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: start;
}
.privacy-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.privacy-left > p {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 50ch;
}
.privacy-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.privacy-pillar {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.privacy-pillar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(200,158,224,0.10);
  border: 1px solid rgba(200,158,224,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-1);
  flex: 0 0 auto;
}
.privacy-pillar-icon svg { width: 20px; height: 20px; }
.privacy-pillar-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 5px;
  line-height: 1.2;
}
.privacy-pillar-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
}
.privacy-statement {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 132px;
}
.privacy-quote-mark {
  color: var(--p-2);
  opacity: 0.4;
  width: 28px;
}
.privacy-quote-mark svg { width: 28px; height: auto; display: block; }
.privacy-quote-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.45;
  color: #fff;
  margin: 0;
}
.privacy-quote-text em {
  font-style: normal;
  color: var(--p-1);
}
.privacy-quote-attr {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.privacy-quote-links {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.privacy-quote-links a {
  color: var(--p-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-quote-links a:hover { color: var(--p-2); }

/* ============================================================
   INTEGRATIONS — categorised card grid
   ============================================================ */
.int-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.int-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.int-col-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2px;
}
.int-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.int-card:hover {
  border-color: var(--p-2);
  box-shadow: 0 4px 16px rgba(123,63,176,0.09);
}
.int-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--p-wash);
  color: var(--p-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.int-card-icon svg { width: 18px; height: 18px; }
.int-card-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.1;
}
.int-card-cat {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-faint);
  margin-top: 3px;
  line-height: 1.3;
}
.int-api {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--p-wash-soft);
  border: 1px solid rgba(123,63,176,0.14);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-top: 20px;
}
.int-api-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--p-wash);
  color: var(--p-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.int-api-icon svg { width: 22px; height: 22px; }
.int-api-text { flex: 1; }
.int-api-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 3px;
}
.int-api-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================
   INTEGRATIONS — split layout with scattered badges
   ============================================================ */
.int-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.int-left { display: flex; flex-direction: column; gap: 18px; }
.int-left h2 { margin: 0; }
.int-left .desc {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
  max-width: 44ch;
  margin: 0;
}
.int-cats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.int-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 12px 5px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.int-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-content: flex-start;
}
.int-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  transform: rotate(var(--rot, 0deg));
  transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .2s ease;
  cursor: default;
  user-select: none;
}
.int-logo:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.10);
  z-index: 1;
  position: relative;
}
.int-logo-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.int-logo-text {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.int-logo-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* Scroll-in pop animation */
.int-logo.will-animate { opacity: 0; transition: none; }
.int-logo.is-visible {
  animation: logo-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay, 0s) both;
}
@keyframes logo-in {
  from { opacity: 0; transform: rotate(var(--rot, 0deg)) scale(0.8) translateY(6px); }
  to   { opacity: 1; transform: rotate(var(--rot, 0deg)) scale(1) translateY(0); }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  background: var(--p-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 80% 0%, rgba(169,106,204,0.30), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(123,63,176,0.35), transparent 60%);
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(40px, 4vw, 60px);
  max-width: 14ch;
}
.cta h2 .it {
  color: var(--p-1);
}
.cta p {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  max-width: 44ch;
}
.cta-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.cta-side {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 28px;
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cta-form label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta-form input,
.cta-form textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 10px 13px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.cta-form input:focus,
.cta-form textarea:focus {
  border-color: rgba(200,158,224,0.65);
  background: rgba(255,255,255,0.10);
}
.cta-form textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}
.cta-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--p-deep);
  color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 32px;
  margin: 0 !important;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-sm { height: 30px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 32ch; color: rgba(255,255,255,0.55); }
.footer h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 12px; }
.footer a { font-size: 14px; transition: color .15s ease; }
.footer a:hover { color: var(--p-1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .vs { grid-template-columns: 1fr; }
  .feat-group-grid.cols-4,
  .feat-group-grid.cols-3,
  .feat-group-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .letter-grid { grid-template-columns: 1fr; gap: 32px; }
  .letter-aside { position: static; }
  .letter-graphic { grid-template-columns: repeat(4, 1fr); }
  .privacy-grid { grid-template-columns: 1fr; gap: 48px; }
  .privacy-statement { position: static; }
  .int-grid { grid-template-columns: 1fr 1fr; }
  .int-api { flex-wrap: wrap; }
  .int-split { grid-template-columns: 1fr; gap: 44px; }
  .int-cats { display: none; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { padding-top: 72px; }
  html { scroll-padding-top: 80px; }
  .nav { height: 72px; }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  .nav-logo img { height: 40px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .3s cubic-bezier(0.4, 0, 0.2, 1), opacity .2s ease;
    pointer-events: none;
  }
  .nav.open .nav-mobile-menu {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }
  section { padding: 80px 0; }
  .wrap { padding: 0 20px; }
  .hero-copy h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .feat-group-grid.cols-4,
  .feat-group-grid.cols-3,
  .feat-group-grid.cols-2,
  .feat-group-grid.cols-1 { grid-template-columns: 1fr; }
  .fg-cards { padding: 0; }
  .int-grid { grid-template-columns: 1fr; }
  .int-api { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .letter-graphic { grid-template-columns: 1fr 1fr; }
  .cmp th, .cmp td { padding: 12px 14px; font-size: 13px; }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.theme-toggle:hover { color: var(--p-4); border-color: var(--p-2); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] {
  --bg: #110C1C;
  --bg-alt: #1C1630;
  --surface: #1C1630;
  --ink: #EDE8F6;
  --ink-2: #C2BAD8;
  --ink-soft: #857D9C;
  --ink-faint: #524C65;
  --rule: #28203C;
  --rule-strong: #382E52;
  --p-wash: #2C1E44;
  --p-wash-soft: #1E1535;
}

/* Nav */
[data-theme="dark"] .nav { background: rgba(17, 12, 28, 0.88); }
[data-theme="dark"] .nav.scrolled {
  background: rgba(17, 12, 28, 0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
[data-theme="dark"] .nav-mobile-menu { background: #1C1630; }
/* Hero */
[data-theme="dark"] .warn-card,
[data-theme="dark"] .stack-card,
[data-theme="dark"] .side-card {
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(0,0,0,0.3), 0 24px 60px -16px rgba(0,0,0,0.6), 0 8px 28px rgba(0,0,0,0.4);
}
[data-theme="dark"] .stack-tool { background: var(--bg); }
[data-theme="dark"] .stack-new {
  background: linear-gradient(135deg, var(--p-wash) 0%, var(--p-wash-soft) 100%);
}

/* Clients */
[data-theme="dark"] .clients { background: var(--surface); }

/* Why / comparison */
[data-theme="dark"] .vs-col-us {
  background: linear-gradient(180deg, var(--p-wash) 0%, var(--surface) 80%);
}

/* Features */
[data-theme="dark"] .features { background: var(--surface); }
[data-theme="dark"] .feat-card { background: var(--bg); }
[data-theme="dark"] .feat-card:hover { background: var(--rule); }

/* Letter / business tiles */
[data-theme="dark"] .lg-tile { background: var(--surface); }


* ============================================================
   EMBEDDED DYNAMIC FORM
   Matches the CTA form's dark-background style.
   Overrides Bootstrap 2 form-horizontal float layout.
   ============================================================ */
.content-embed .content { display: none; }

.content-embed .form_fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Override Bootstrap 2 form-horizontal: stack label above input */
.content-embed .control-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0;
}
.content-embed .control-label {
  float: none;
  width: auto;
  text-align: left;
  padding-top: 0;
  margin-bottom: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content-embed .control-label abbr { display: none; }
.content-embed .controls { margin-left: 0; }

/* Inputs & textarea */
.content-embed .controls input[type="text"],
.content-embed .controls input[type="tel"],
.content-embed .controls input[type="email"],
.content-embed .controls textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 15px 13px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
  -webkit-appearance: none;
}
.content-embed .controls input::placeholder,
.content-embed .controls textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.content-embed .controls input:focus,
.content-embed .controls textarea:focus {
  border-color: rgba(200,158,224,0.65);
  background: rgba(255,255,255,0.10);
}
.content-embed .controls textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

/* Validation error text */
.content-embed .help-block {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,120,120,0.9);
  margin: 2px 0 0;
  min-height: 0;
}
.content-embed .help-block:empty { display: none; }

/* hCaptcha */
.content-embed .hcaptcha-container { padding-top: 4px; }

/* Submit row */
.content-embed .form-actions { margin-top: 2px; }
.content-embed .form-actions input[type="submit"] {
  width: 100%;
  justify-content: center;
  cursor: pointer;
  -webkit-appearance: none;
}

.form-horizontal .form-actions {
  padding-left: 0;
  background: none;
  
  input {
    max-width: 330px;
  }
}

.content-primary-media, #content_body_header, #content_body_footer {
  display: none;
}