/* ================================================
   PERSONA DYNAMICS — DESIGN SYSTEM & STYLESHEET
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yrsa:ital,wght@0,300..700;1,300..700&display=swap');

/* ---- DESIGN TOKENS ---- */
:root {
  --magenta-bloom:  #f31460;
  --dark-teal:      #064e67;
  --majorelle-blue: #824deb;
  --midnight-violet: #200042;
  --orange:         #f1a416;

  --c-dark:         var(--midnight-violet);
  --c-dark-2:       #32002a;
  --c-dark-3:       #23001d;
  --c-dark-4:       #1a0016;
  --c-cream:        #fcf8ff;
  --c-cream-2:      #f5eefc;
  --c-white:        #FFFFFF;
  --c-purple:       var(--majorelle-blue);
  --c-purple-dark:  #6f3be0;
  --c-purple-light: #f1e8ff;
  --c-purple-mid:   #b799ff;
  --c-text:         var(--dark-teal);
  --c-text-2:       #2d6175;
  --c-muted:        #4f7482;
  --c-border:       #e2d6f3;
  --c-border-dark:  rgba(255,255,255,0.09);
  --c-accent:       var(--magenta-bloom);
  --c-accent-warm:  var(--orange);
  --c-success:      #2EA84A;
  --c-danger:       #C94040;

  --f-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --f-heading: 'Yrsa', Georgia, serif;

  --f-display:   clamp(48px, 6.4vw, 70px);
  --f-h1:        clamp(38px, 4.8vw, 62px);
  --f-h2:        clamp(30px, 3.8vw, 50px);
  --f-h3:        clamp(21px, 2.5vw, 32px);
  --f-h4:        20px;
  --f-body-lg:   18px;
  --f-body:      16px;
  --f-sm:        14px;
  --f-xs:        12px;

  --sp-section:    clamp(72px, 10vw, 120px);
  --sp-section-sm: clamp(48px, 6vw, 80px);
  --sp-container:  1200px;
  --sp-container-sm: 840px;

  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 56px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
  --shadow-purple: 0 4px 24px rgba(130,77,235,0.34);

  --t-fast: 140ms ease;
  --t-base: 240ms ease;
  --t-slow: 400ms ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; tab-size: 2; }
body {
  font-family: var(--f-sans);
  font-size: var(--f-body);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
}
.f-display { font-family: var(--f-heading); font-size: var(--f-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
h1, .f-h1 { font-size: var(--f-h1); }
h2, .f-h2 { font-size: var(--f-h2); }
h3, .f-h3 { font-size: var(--f-h3); font-weight: 700; }
h4, .f-h4 { font-size: var(--f-h4); font-weight: 600; }
p { color: var(--c-text-2); line-height: 1.75; }
.lead { font-size: var(--f-body-lg); color: var(--c-text-2); line-height: 1.72; }
strong { font-weight: 600; color: var(--c-text); }

/* Colour utilities */
.c-white { color: var(--c-white) !important; }
.c-purple { color: var(--c-purple) !important; }
.c-muted { color: var(--c-muted) !important; }
.c-purple-mid { color: var(--c-purple-mid) !important; }

/* Previously dark-section text overrides — now flipped to light theme */
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--c-text); }
.on-dark p { color: var(--c-text-2); }
.on-dark .section-tag { color: var(--c-accent); }
.on-dark .section-lead { color: var(--c-muted); }

/* Alignment */
.text-center { text-align: center; }
.text-left  { text-align: left; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--sp-container);
  margin-inline: auto;
  padding-inline: 28px;
}
.container--sm { max-width: var(--sp-container-sm); }
.section { padding-block: var(--sp-section); }
.section--sm { padding-block: var(--sp-section-sm); }
.section--dark { background: var(--c-white); }
.section--dark-2 { background: var(--c-cream-2); }
.section--cream { background: var(--c-cream); }
.section--cream-2 { background: var(--c-cream-2); }
.section--purple-light { background: var(--c-purple-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

/* Stack utilities (vertical rhythm) */
.stack-8  > * + * { margin-top: 8px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-20 > * + * { margin-top: 20px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.stack-48 > * + * { margin-top: 48px; }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--t-base), padding var(--t-base), box-shadow var(--t-base);
}
.nav.scrolled {
  background: rgba(252,248,255,0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(32,0,66,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.nav__logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
}
.nav__item { position: relative; }
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-2);
  padding: 8px 13px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.nav__link:hover, .nav__link.active { color: var(--c-text); background: rgba(130,77,235,0.08); }
.nav__chevron {
  width: 14px;
  height: 14px;
  opacity: 0.55;
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.nav__item.open .nav__chevron { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  box-shadow: 0 16px 56px rgba(32,0,66,0.16);
}
.nav__item.open .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown--mega {
  min-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}
.nav__dropdown-col {
  padding: 2px;
}
.nav__dropdown-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 8px 10px 6px;
}
.nav__dropdown--mega .nav__dropdown-link {
  padding: 9px 10px;
}
.nav__dropdown-link {
  display: block;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__dropdown-link:hover { color: var(--c-text); background: var(--c-purple-light); }
.nav__cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav__mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--c-cream);
  padding: 90px 28px 40px;
  overflow-y: auto;
  z-index: 999;
  flex-direction: column;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  letter-spacing: -0.02em;
  display: block;
}
.nav__mobile-sub {
  display: flex;
  flex-direction: column;
  padding: 8px 0 8px 20px;
}
.nav__mobile-sub a {
  font-size: 16px;
  color: var(--c-muted);
  padding: 7px 0;
  display: block;
  transition: color var(--t-fast);
}
.nav__mobile-sub a:hover { color: var(--c-text); }
.nav__mobile-cta { margin-top: 32px; }
.nav__mobile-cta--stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast),
              box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--c-purple);
  color: var(--c-white);
  box-shadow: var(--shadow-purple);
}
.btn--primary:hover {
  background: var(--c-purple-dark);
  box-shadow: 0 6px 24px rgba(130,77,235,0.34);
}
.btn--primary:active {
  background: #5f2fd0;
}

.nav__cta .btn--primary {
  box-shadow: none;
}

.nav__cta .btn--primary:hover {
  box-shadow: none;
}
.btn--secondary {
  background: var(--c-white);
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn--secondary:hover { background: var(--c-cream); border-color: var(--c-purple-mid); color: var(--c-purple); }
.btn--outline {
  background: transparent;
  color: var(--c-accent);
  border-color: var(--c-accent);
}
.btn--outline:hover { background: rgba(243,20,96,0.08); }
.btn--outline-light {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn--outline-light:hover { background: var(--c-cream); border-color: var(--c-text-2); }
.btn--sm { font-size: 13px; padding: 9px 17px; }
.btn--lg { font-size: 15px; padding: 15px 30px; }
.btn--full { width: 100%; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-group--center { justify-content: center; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--c-cream);
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 80px;
}
.hero--page {
  min-height: 52vh;
  padding-top: 150px;
  padding-bottom: 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 65% 45%, rgba(130,77,235,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 70%, rgba(243,20,96,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 34% 46% at 88% 12%, rgba(241,164,22,0.10) 0%, transparent 65%);
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background: url('/assets/img/jigsaw.svg') center / cover no-repeat;
  background-size: max(2400px, 100%) auto;
  opacity: 0.05;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: center;
}
.hero__content--centered {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 22px;
}
.hero__eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--c-purple);
}
.hero__title {
  color: var(--c-text);
  margin-bottom: 24px;
  font-size: var(--f-display);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero--page .hero__title {
  font-size: var(--f-h1);
  font-weight: 800;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-purple);
  letter-spacing: -0.01em;
}
.hero__lead {
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero__content--centered .hero__lead {
  max-width: 100%;
  margin-inline: auto;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__content--centered .hero__actions { justify-content: center; }
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 18px;
}
.hero__breadcrumb a { color: var(--c-muted); transition: color var(--t-fast); }
.hero__breadcrumb a:hover { color: var(--c-purple); }
.hero__breadcrumb span { opacity: 0.5; }

/* ---- PEOPLE IMAGE SLOTS ---- */
/* Drop a MidJourney JPEG at the filename in the img src and the placeholder is replaced.
   If the file is missing or errors, the slot reveals a labelled placeholder state. */
.people-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg, 16px);
  background: linear-gradient(135deg, var(--c-cream-2), var(--c-purple-light));
  box-shadow: 0 12px 40px rgba(13, 5, 34, 0.06);
  margin: 0;
}
.people-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--t-base, 0.3s);
}
.people-img figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 20px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(13,5,34,0.55), rgba(13,5,34,0));
  pointer-events: none;
}
/* Shape variants */
.people-img--portrait { aspect-ratio: 4 / 5; }
.people-img--landscape { aspect-ratio: 3 / 2; }
.people-img--wide { aspect-ratio: 16 / 9; }
.people-img--triptych { aspect-ratio: 18 / 7; }
.people-img--flat { aspect-ratio: 4 / 3; }

/* Contextual placements */
.hero__visual-stack {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 8 / 5;
}
.hero__visual-stack .people-img--hero-home {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 53%;
  aspect-ratio: 4 / 5;
  z-index: 0;
  box-shadow: 0 24px 60px rgba(13, 5, 34, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.9);
}
.people-img--crossfade img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-crossfade 12s infinite ease-in-out;
}
.people-img--crossfade img:nth-child(1) { animation-delay: -1s; }
.people-img--crossfade img:nth-child(2) { animation-delay: 3s; }
.people-img--crossfade img:nth-child(3) { animation-delay: 7s; }
@keyframes hero-crossfade {
  0%, 100% { opacity: 0; }
  8.33%, 33.33% { opacity: 1; }
  41.66% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .people-img--crossfade img { animation: none; opacity: 0; }
  .people-img--crossfade img:first-child { opacity: 1; }
}
.hero__visual-stack .network-svg {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 74%;
  height: auto;
  z-index: 1;
  opacity: 1;
  filter: drop-shadow(0 6px 16px rgba(13, 5, 34, 0.12));
}
@media (max-width: 1080px) {
  .hero__visual-stack { max-width: 600px; }
  .hero__visual-stack .network-svg { width: 66%; }
  .hero__visual-stack .people-img--hero-home { width: 48%; }
}
@media (max-width: 780px) {
  .hero__visual-stack { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .hero__visual-stack .network-svg { position: relative; left: auto; top: auto; transform: none; width: 85%; max-width: 420px; }
  .hero__visual-stack .people-img--hero-home { position: relative; right: auto; top: auto; transform: none; width: 85%; max-width: 360px; }
}
.problem__photo { max-width: 640px; margin: 28px auto 0; aspect-ratio: 4 / 3; border: 6px solid var(--c-white); box-shadow: var(--shadow-lg); }
.facilitator__photo { margin-bottom: 28px; aspect-ratio: 3 / 2; }
.use-case__photo { margin-top: 40px; aspect-ratio: 18 / 7; }
.about__team-photo { margin: 0 auto 48px; max-width: 980px; aspect-ratio: 7 / 4; }
.case-study__hero-photo { margin: 24px auto 0; max-width: 900px; aspect-ratio: 3 / 2; }

@media (max-width: 860px) {
  .people-img--triptych { aspect-ratio: 4 / 3; }
}

/* ---- NETWORK SVG VISUAL ---- */
.network-svg { width: 100%; max-width: 620px; overflow: visible; }
.net-node-outer {
  fill: none;
  stroke: rgba(243,20,96,0.25);
  animation: pulse-ring 3s ease-in-out infinite;
}
.net-node-circle { fill: var(--c-white); stroke: rgba(130,77,235,0.4); stroke-width: 1.5; }
.net-node-central { fill: rgba(243,20,96,0.08); stroke: var(--c-purple); stroke-width: 2; }
.net-node-central-glow {
  fill: none;
  stroke: rgba(243,20,96,0.22);
  animation: pulse-ring 2.5s ease-in-out infinite;
}
.net-line {
  fill: none;
  stroke: rgba(130,77,235,0.4);
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
  animation: dash-flow 4s linear infinite;
}
.net-line-bright {
  fill: none;
  stroke: rgba(241,164,22,0.55);
  stroke-width: 1.9;
  stroke-dasharray: 6 8;
  animation: dash-flow 3s linear infinite;
}
.net-label { fill: var(--c-text); font-size: 13px; font-family: var(--f-sans); font-weight: 500; }
.net-label-central { fill: var(--c-text); font-size: 13px; font-weight: 700; }
.net-label-sub { fill: var(--c-muted); font-size: 10px; }
.net-dot { fill: var(--c-accent-warm); animation: dot-pulse 2s ease-in-out infinite; }
@keyframes dash-flow {
  to { stroke-dashoffset: -24; }
}
@keyframes pulse-ring {
  0%, 100% { opacity: 0.4; r: 42px; }
  50% { opacity: 0.8; r: 48px; }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---- PROOF BAR ---- */
.proof-bar {
  background: var(--c-cream-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 22px 0;
}
.proof-bar__inner {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.proof-bar__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-2);
  white-space: nowrap;
}
.proof-bar__item svg { width: 16px; height: 16px; color: var(--c-purple); flex-shrink: 0; }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; max-width: 620px; margin-inline: auto; margin-bottom: 56px; }
.section-header--left { text-align: left; margin-bottom: 56px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}
.section-header--center .section-tag::before { display: none; }
.section-header--center .section-tag { padding-left: 0; }
.section-title { margin-bottom: 16px; }
.section-lead { font-size: var(--f-body-lg); color: var(--c-muted); line-height: 1.7; }

/* ---- CARD ---- */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 32px;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--c-purple-mid); }
.card--cream { background: var(--c-cream); border-color: transparent; }
.card--cream:hover { background: var(--c-white); border-color: var(--c-border); }
.card--dark { background: var(--c-cream); border-color: var(--c-border); }
.card--dark:hover { border-color: var(--c-purple-mid); }
.card__icon {
  width: 44px; height: 44px;
  background: var(--c-purple-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--c-purple);
}
.card__icon svg { width: 20px; height: 20px; }
.card--dark .card__icon { background: var(--c-purple-light); }
.card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.card--dark .card__title { color: var(--c-text); }
.card__body { font-size: 14px; color: var(--c-muted); line-height: 1.65; }
.card--dark .card__body { color: var(--c-muted); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.team-photo-swap {
  position: relative;
  width: min(100%, 900px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  background: var(--c-dark-3);
  margin-inline: auto;
  margin-bottom: 28px;
  aspect-ratio: 16 / 7;
}
.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.team-photo--primary {
  opacity: 1;
}
.team-photo--secondary {
  opacity: 0;
}
.team-photo-swap:hover .team-photo--secondary {
  opacity: 1;
}
.team-photo-swap:hover .team-photo--primary {
  opacity: 0;
}
.team-card {
  padding: 26px;
}
.team-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.team-card__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--c-purple-light);
  border: 1px solid var(--c-border);
  display: block;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  flex-shrink: 0;
}
.team-card__role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-purple);
  margin-top: 18px;
  transition: gap var(--t-fast);
}
.card__link:hover { gap: 10px; }
.card__link::after { content: '→'; }

/* ---- USE CARDS (solutions / use-cases) ---- */
.use-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 32px 28px 28px;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  text-decoration: none;
  display: block;
  cursor: pointer;
  position: relative;
}
.use-card:hover { border-color: var(--c-purple-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.use-card { overflow: hidden; }
.use-card__media {
  display: block;
  margin: -32px -28px 24px;
  width: calc(100% + 56px);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--c-surface-alt, #f2f0ea);
}
.use-card__tag {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.use-card__title { font-size: 18px; font-weight: 700; color: var(--c-text); margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.3; }
.use-card__body { font-size: 13px; color: var(--c-muted); line-height: 1.65; margin-bottom: 18px; }
.use-card__arrow { font-size: 13px; font-weight: 600; color: var(--c-purple); transition: gap var(--t-fast); display: inline-flex; align-items: center; gap: 6px; }
.use-card:hover .use-card__arrow { gap: 10px; }

/* ---- PROCESS STEPS ---- */
.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process__steps--6 { grid-template-columns: repeat(6, 1fr); }
.process__steps--4 { grid-template-columns: repeat(4, 1fr); }
.process__steps--4::before {
  top: 77px;
  left: calc(100% / 8);
  right: calc(100% / 8);
}
.process__steps--3 { grid-template-columns: repeat(3, 1fr); }
.process__steps--3::before {
  top: 77px;
  left: calc(100% / 6);
  right: calc(100% / 6);
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 77px;
  left: calc(100% / 10);
  right: calc(100% / 10);
  height: 1px;
  background: var(--c-border);
  pointer-events: none;
}
.process__step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; }
.process__img {
  width: 154px;
  height: 154px;
  object-fit: contain;
  margin-bottom: -13px;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  position: relative;
  z-index: 0;
}
.process__steps--3 .process__num {
  position: relative;
  margin-top: 0;
  margin-bottom: 16px;
  z-index: 3;
  width: 34px;
  height: 34px;
  font-size: 12px;
  background: var(--c-accent);
  border-color: rgba(0,0,0,0.08);
}
.process__num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-accent);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.on-dark .process__num { background: var(--c-white); color: var(--c-accent); border-color: var(--c-border); }
.process__step-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; color: var(--c-text); }
.on-dark .process__step-title { color: var(--c-text); }
.process__step-body { font-size: 12px; color: var(--c-muted); line-height: 1.6; }
.on-dark .process__step-body { color: var(--c-muted); }

/* ---- THREE-COL FEATURES ---- */
.feature-col { padding: 8px 0; }
.feature-col__icon {
  width: 40px; height: 40px;
  background: var(--c-purple-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.feature-col__icon svg { width: 18px; height: 18px; }
.on-dark .feature-col__icon { background: var(--c-purple-light); }
.feature-col__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.on-dark .feature-col__title { color: var(--c-text); }
.feature-col__body { font-size: 14px; color: var(--c-muted); line-height: 1.65; }
.on-dark .feature-col__body { color: var(--c-muted); }

/* ---- SPLIT / 2-COL ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse .split__visual { order: -1; }
.split__visual-block {
  background: var(--c-cream);
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.split__visual-block--dark { background: var(--c-purple-light); border-color: var(--c-border); }
.show-mobile { display: none; }

/* ---- CTA STRIP ---- */
.cta-strip {
  background: var(--c-dark);
  padding: var(--sp-section-sm) 0;
  text-align: center;
}
.cta-strip .section-title { color: var(--c-white); }
.cta-strip .section-lead { color: rgba(255,255,255,0.5); max-width: 520px; margin-inline: auto; margin-bottom: 36px; }

/* ---- TRUST ITEMS ---- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border-radius: var(--r-xl); overflow: hidden; background: var(--c-border); }
.trust-item {
  background: var(--c-white);
  padding: 36px 32px;
  transition: background var(--t-base);
}
.trust-item:hover { background: var(--c-cream); }
.trust-item__icon { width: 36px; height: 36px; color: var(--c-purple); margin-bottom: 16px; }
.trust-item__title { font-size: 17px; font-weight: 700; color: var(--c-text); margin-bottom: 10px; }
.trust-item__body { font-size: 14px; color: var(--c-muted); line-height: 1.65; }

/* ---- CASE STUDY CARDS ---- */
.case-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
  text-decoration: none;
  display: block;
  position: relative;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--c-purple-mid); }
.case-card__bar { display: none; }
.case-card__inner { padding: 30px 28px 28px; }
.case-card__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 14px; position: relative; padding-left: 22px; }
.case-card__tag::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 1px; background: var(--c-accent); }
.case-card__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 12px; color: var(--c-text); }
.case-card__body { font-size: 14px; color: var(--c-muted); line-height: 1.65; margin-bottom: 20px; }
.case-card__link { font-size: 13px; font-weight: 600; color: var(--c-purple); display: inline-flex; align-items: center; gap: 5px; }

/* ---- DELIVERY CARDS ---- */
.delivery-card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 36px;
  transition: all var(--t-base);
}
.delivery-card:hover { border-color: rgba(243,20,96,0.38); box-shadow: var(--shadow-md); }
.delivery-card--featured { background: var(--c-purple); border-color: transparent; }
.delivery-card--featured:hover { background: var(--c-purple-dark); box-shadow: var(--shadow-purple); }
.delivery-card__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-purple); margin-bottom: 12px; }
.delivery-card--featured .delivery-card__label { color: rgba(255,255,255,0.6); }
.delivery-card__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--c-text); }
.delivery-card--featured .delivery-card__title { color: var(--c-white); }
.delivery-card__body { font-size: 14px; color: var(--c-muted); line-height: 1.65; margin-bottom: 22px; }
.delivery-card--featured .delivery-card__body { color: rgba(255,255,255,0.7); }
.delivery-card__features { display: flex; flex-direction: column; gap: 9px; }
.delivery-card__feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--c-text-2); }
.delivery-card--featured .delivery-card__feature { color: rgba(255,255,255,0.72); }
.delivery-card__feature::before { content: '✓'; flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--c-purple); margin-top: 2px; }
.delivery-card--featured .delivery-card__feature::before { color: rgba(255,255,255,0.75); }

/* ---- DIFFERENTIATORS (Why Us) ---- */
.differentiator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--c-border); }
.differentiator {
  padding: 40px 32px 36px;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t-base);
  position: relative;
}
.differentiator + .differentiator { border-left: 1px solid var(--c-border); }
.differentiator:hover { background: var(--c-cream); }
.differentiator__num {
  display: block;
  font-family: var(--f-heading);
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--c-purple);
  line-height: 1;
  margin-bottom: 18px;
}
.differentiator__num::before { content: '№\00A0'; font-style: normal; font-size: 0.6em; vertical-align: 0.35em; color: var(--c-accent); }
.differentiator__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.differentiator__body { font-size: 14px; color: var(--c-muted); line-height: 1.65; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--c-purple); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
  color: var(--c-muted);
}
.faq-icon svg { width: 12px; height: 12px; transition: transform var(--t-base); }
.faq-item.open .faq-question { color: var(--c-purple); }
.faq-item.open .faq-icon { background: var(--c-purple); border-color: var(--c-purple); color: white; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer__inner { padding-bottom: 24px; font-size: 15px; color: var(--c-muted); line-height: 1.78; max-width: 660px; }

/* ---- CONTACT ---- */
.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--c-text-2); margin-bottom: 7px; letter-spacing: 0.03em; text-transform: uppercase; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 15px;
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(243,20,96,0.15);
  background: var(--c-white);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- INPUT TILES (platform inputs/outputs) ---- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile {
  background: var(--c-cream);
  border-radius: var(--r-md);
  padding: 18px 20px;
  border: 1px solid transparent;
  transition: all var(--t-base);
}
.tile:hover { background: var(--c-white); border-color: var(--c-border); box-shadow: var(--shadow-sm); }
.tile--dark { background: var(--c-cream); border-color: var(--c-border); }
.tile--dark:hover { background: var(--c-white); border-color: var(--c-purple-mid); }
.tile__title { font-size: 14px; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.tile--dark .tile__title { color: var(--c-text); }
.tile__body { font-size: 12px; color: var(--c-muted); line-height: 1.55; }
.tile--dark .tile__body { color: var(--c-muted); }

/* ---- APPROPRIATE USE ---- */
.use-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.use-block { padding: 28px; border-radius: var(--r-sm); }
.use-block--good { background: #F0FAF4; border: 1px solid #C6E8D3; }
.use-block--no { background: #FDF4F4; border: 1px solid #EECEBC; }
.use-block__heading { font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.use-block--good .use-block__heading { color: #1A7A40; }
.use-block--no .use-block__heading { color: #A63030; }
.use-block li { font-size: 14px; color: var(--c-text-2); padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,0.06); padding-left: 20px; position: relative; line-height: 1.5; }
.use-block li:last-child { border-bottom: 0; }
.use-block li::before { position: absolute; left: 0; font-weight: 700; }
.use-block--good li::before { content: '✓'; color: #2EA84A; }
.use-block--no li::before { content: '×'; color: #C94040; }

/* ---- SOLUTIONS GRID ---- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solutions-dual-grid { align-items: start; gap: 28px; }

/* ---- RESOURCE CARDS ---- */
.resource-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; transition: all var(--t-base); text-decoration: none; display: block; }
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-card__cat { padding: 18px 22px 0; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-purple); }
.resource-card__inner { padding: 14px 22px 22px; }
.resource-card__title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; color: var(--c-text); margin-bottom: 10px; }
.resource-card__body { font-size: 13px; color: var(--c-muted); line-height: 1.65; }

/* ---- SUPPORTED BY LOGOS ---- */
.supported-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.supported-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 210px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.38);
  opacity: 0.95;
}
.trusted-scroller {
  display: flex;
  gap: 64px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 7%, black 93%, transparent 100%);
}
.trusted-scroller::-webkit-scrollbar { display: none; }
.trusted-item {
  min-width: 0;
  width: auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  flex-shrink: 0;
}

.trusted-section {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.trusted-section .section-header--center {
  margin-bottom: 24px;
}

/* ---- API DOCS ---- */
.api-docs-frame-wrap {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-md);
}
.api-docs-frame {
  width: 100%;
  height: min(80vh, 900px);
  border: 0;
  display: block;
}

/* ---- PAGE HELPERS ---- */
.cta-title-white { color: var(--c-white); margin-bottom: 16px; }
.cta-lead-narrow { color: rgba(255,255,255,0.5); max-width: 480px; margin-inline: auto; margin-bottom: 36px; }
.content-grid-top { align-items: start; gap: 72px; }
.card--compact { padding: 22px; }
.card__title--tight { margin-bottom: 6px; }
.contact-email-link { color: var(--c-purple); font-weight: 600; }

/* ---- FOOTER ---- */
.footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border-dark);
  padding: 72px 0 36px;
}
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer__logo { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.footer__logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
.footer__logo-text { font-size: 15px; font-weight: 700; color: var(--c-white); letter-spacing: -0.02em; }
.footer__brand-desc { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 240px; }
.footer_ai { margin-top: 22px; }
.footer_ai_text {
  font-size: clamp(15px, 0.2vw, 21px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 620px;
}
.footer_ai_links_wrap {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer_ai_link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 10px;
  transition: transform var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
.footer_ai_link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}
.footer_ai_link_icon { width: 100%; height: 100%; }
.footer__col-head { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__link { font-size: 13px; color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.footer__link:hover { color: var(--c-white); }
.footer__bottom { border-top: 1px solid var(--c-border-dark); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__legal { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--t-fast);
}
.footer__social-link:hover { background: rgba(243,20,96,0.28); color: #ffc6dd; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer__contact a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.footer__contact a:hover { color: var(--c-white); }

/* ---- PULL QUOTE / CALLOUT ---- */
.challenge-box {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--c-cream);
  border-radius: var(--r-md);
  font-family: var(--f-heading);
  font-size: 20px;
  color: var(--c-text);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.challenge-box::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 32px;
  width: 32px;
  height: 2px;
  background: var(--c-purple);
}
.challenge-box > :first-child { margin-top: 18px; }

/* ---- PILL / TAG ---- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--c-purple-light); border-radius: 100px; font-size: 11px; font-weight: 600; color: var(--c-purple); }
.pill--dark { background: rgba(243,20,96,0.16); color: #ffc6dd; }
.pill--sm { padding: 3px 9px; font-size: 10px; }

/* ---- ACCORDION (trust principles) ---- */
.accordion-item { border-bottom: 1px solid var(--c-border); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
  transition: color var(--t-fast);
}
.accordion-trigger:hover { color: var(--c-purple); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-item.open .accordion-body { max-height: 300px; }
.accordion-body__inner { padding-bottom: 22px; font-size: 15px; color: var(--c-muted); line-height: 1.75; }
.accordion-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--c-purple); transition: transform var(--t-base); }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }

/* ---- SCROLL REVEAL ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }
.reveal-up { opacity: 0; transform: translateY(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-up.visible { opacity: 1; transform: none; }

/* ---- MISC ---- */
.divider { height: 1px; background: var(--c-border); }
.divider--dark { background: var(--c-border-dark); }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ---- RESPONSIVE ---- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.timeline-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  left: 100%;
  top: 28px;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1;
  z-index: 2;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .timeline-grid { grid-template-columns: repeat(4, 1fr); }
  .process__steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .process__steps--6 { grid-template-columns: repeat(3, 1fr); }
  .process__steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .differentiator-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --sp-section: 64px; --sp-section-sm: 46px; }
  .nav__links, .nav__cta { display: none; }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }
  .timeline-line { display: none; }
  .timeline-step::after { display: none; }
  .timeline-step {
    display: grid !important;
    grid-template-columns: 56px 1fr;
    column-gap: 12px;
    row-gap: 0;
    align-items: center !important;
    text-align: left !important;
    padding: 0 !important;
    justify-self: center;
    width: min(100%, 280px);
  }
  .timeline-step > div:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }
  .timeline-step > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0 !important;
    line-height: 1.15 !important;
    align-self: end;
  }
  .timeline-step > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    margin-top: 5px;
    line-height: 1.25 !important;
    align-self: start;
  }
  .nav__mobile-toggle { display: flex; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card__avatar { width: 64px; height: 64px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 12px; }
  .split--reverse .split__visual { order: 0; }
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer_ai_text { font-size: clamp(15px, 4.6vw, 20px); }
  .footer_ai_link { width: 32px; height: 32px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .use-cols { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .proof-bar__inner { justify-content: center; gap: 20px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { justify-content: center; }
  .btn-group--center .btn { width: auto; }
}
@media (max-width: 520px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .timeline-grid {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
  .timeline-step:not(:last-child)::after {
    display: block;
    content: "\2193";
    left: calc(56px / 2);
    top: auto;
    bottom: -18px;
    transform: translateX(-50%);
  }
  .tile-grid { grid-template-columns: 1fr; }
  .delivery-card { padding: 24px; }
}

/* ===== Legal pages (privacy, terms) ===== */
.legal-prose p { margin: 0 0 16px; }
.legal-prose .legal-h2 {
  font-family: var(--f-sans);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 56px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.legal-prose .legal-h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-prose .legal-h3 {
  font-family: var(--f-sans);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--c-text);
  margin: 32px 0 12px;
}
.legal-prose a {
  color: var(--c-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-prose .legal-list,
.legal-prose .legal-sublist {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal-prose ol.legal-list { list-style: decimal; }
.legal-prose .legal-list > li,
.legal-prose .legal-sublist > li { margin-bottom: 8px; padding-left: 4px; }
.legal-prose .legal-sublist {
  margin-top: 8px;
  list-style: none;
  padding-left: 12px;
}
.legal-prose strong { color: var(--c-text); }

