/* Retentio ? homepage styles extracted from index.html + homepage chrome */
:root {

  /* Brand colours — extracted from Retentio logo */
  --color-navy:       #2D2E6E;   /* primary — CTAs, nav, headlines */
  --color-purple:     #4A4DB8;   /* hover states, gradient mid */
  --color-magenta:    #A040A0;   /* accent word, tags, links */
  --color-pink:       #E8407A;   /* gradient — R letterform */
  --color-coral:      #E8735A;   /* gradient end — arrow */
  --color-teal:       #6EC6C8;   /* section accents, icons */
  --color-green:      #A8D878;   /* success states */

  /* Neutral colours */
  --color-black:      #1A1A2E;   /* body text, wordmark */
  --color-slate:      #64648A;   /* subheadings, captions */
  --color-muted:      #94A3B8;   /* placeholder, disabled */
  --color-border:     #E8E8F4;   /* borders, dividers */
  --color-bg:         #FAFAFA;   /* page background — very slight off-white */
  --color-bg-alt:     #F5F5FA;   /* alternate section background */
  --color-white:      #FFFFFF;   /* cards, nav */

  /* Gradients */
  --gradient-brand:   linear-gradient(135deg, var(--color-navy) 0%, var(--color-pink) 60%, var(--color-coral) 100%);
  --gradient-soft:    linear-gradient(135deg, var(--color-navy) 0%, var(--color-magenta) 100%);
  --gradient-hero:    linear-gradient(135deg, var(--color-navy) 0%, var(--color-purple) 100%);

  /* Typography */
  --font:             'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs:     11px;
  --font-size-sm:     13px;
  --font-size-base:   15px;
  --font-size-md:     17px;
  --font-size-lg:     20px;
  --font-size-xl:     24px;
  --font-size-2xl:    32px;
  --font-size-3xl:    42px;
  --font-size-4xl:    54px;
  --font-size-5xl:    68px;

  /* Font weights */
  --fw-regular:       400;
  --fw-medium:        500;
  --fw-semibold:      600;
  --fw-bold:          700;
  --fw-extrabold:     800;

  /* Line heights */
  --lh-tight:         1.1;
  --lh-snug:          1.25;
  --lh-normal:        1.5;
  --lh-relaxed:       1.65;
  --lh-loose:         1.8;

  /* Letter spacing */
  --ls-tight:         -0.03em;
  --ls-normal:        0;
  --ls-wide:          0.04em;
  --ls-wider:         0.08em;
  --ls-widest:        0.12em;

  /* Spacing scale */
  --space-1:          4px;
  --space-2:          8px;
  --space-3:          12px;
  --space-4:          16px;
  --space-5:          20px;
  --space-6:          24px;
  --space-8:          32px;
  --space-10:         40px;
  --space-12:         48px;
  --space-16:         64px;
  --space-20:         80px;
  --space-24:         96px;
  --space-32:         128px;

  /* Border radius — rounded everywhere */
  --radius-sm:        6px;
  --radius-md:        10px;
  --radius-lg:        16px;
  --radius-xl:        24px;
  --radius-2xl:       32px;
  --radius-full:      9999px;   /* pill shapes */

  /* Shadows */
  --shadow-xs:        0 1px 3px rgba(45, 46, 110, 0.06);
  --shadow-sm:        0 2px 8px rgba(45, 46, 110, 0.08);
  --shadow-md:        0 4px 20px rgba(45, 46, 110, 0.10);
  --shadow-lg:        0 8px 40px rgba(45, 46, 110, 0.14);
  --shadow-xl:        0 16px 64px rgba(45, 46, 110, 0.18);

  /* Transitions */
  --transition-fast:  0.12s ease;
  --transition-base:  0.2s ease;
  --transition-slow:  0.35s ease;

  /* Layout */
  --container-max:    1140px;
  --container-pad:    40px;
  --nav-height:       68px;
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--fw-regular);
  color: var(--color-black);
  background-color: var(--color-bg);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
}

ul, ol { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

h1 { font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl)); }
h2 { font-size: clamp(var(--font-size-2xl), 3.5vw, var(--font-size-4xl)); }
h3 { font-size: clamp(var(--font-size-xl), 2.5vw, var(--font-size-3xl)); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  font-size: var(--font-size-md);
  line-height: var(--lh-relaxed);
  color: var(--color-slate);
}

.text-accent {
  color: var(--color-magenta);
  font-style: italic;
}

.text-navy  { color: var(--color-navy); }
.text-slate { color: var(--color-slate); }
.text-muted { color: var(--color-muted); }
.text-white { color: var(--color-white); }

.font-medium   { font-weight: var(--fw-medium); }
.font-semibold { font-weight: var(--fw-semibold); }
.font-bold     { font-weight: var(--fw-bold); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--space-20) 0;
}

.section-sm { padding: var(--space-12) 0; }
.section-lg { padding: var(--space-32) 0; }

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-dark {
  background-color: var(--color-navy);
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-links a {
  font-size: var(--font-size-sm);
  font-weight: var(--fw-medium);
  color: var(--color-slate);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  transition: color var(--transition-base), background var(--transition-base);
  position: relative;
}

.nav-links a:hover {
  color: var(--color-navy);
  background: var(--color-bg-alt);
}

.nav-links a.active {
  color: var(--color-navy);
  font-weight: var(--fw-semibold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-magenta);
  border-radius: var(--radius-full);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: var(--fw-semibold);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Primary — solid navy pill */
.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-primary:hover {
  background: var(--color-purple);
  border-color: var(--color-purple);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Secondary — outlined pill */
.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-bg-alt);
  transform: translateY(-1px);
}

/* Soft — lavender pill */
.btn-soft {
  background: var(--color-bg-alt);
  color: var(--color-navy);
  border-color: var(--color-border);
}

.btn-soft:hover {
  background: var(--color-border);
}

/* Ghost — for dark backgrounds */
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Large button */
.btn-lg {
  font-size: var(--font-size-base);
  padding: 14px 32px;
}

/* Small button */
.btn-sm {
  font-size: var(--font-size-xs);
  padding: 8px 16px;
}

/* Nav CTA button */
.btn-nav {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--fw-semibold);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-navy);
  transition: all var(--transition-base);
}

.btn-nav:hover {
  background: var(--color-purple);
  border-color: var(--color-purple);
}

/* ── EYEBROW TAG (pill label above headlines) ────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-navy);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-magenta);
  flex-shrink: 0;
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-sm {
  padding: var(--space-5);
  border-radius: var(--radius-md);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 20px;
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-black);
  margin-bottom: var(--space-3);
  letter-spacing: var(--ls-tight);
}

.card-body {
  font-size: var(--font-size-sm);
  color: var(--color-slate);
  line-height: var(--lh-relaxed);
}

.card-type {
  font-size: var(--font-size-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-magenta);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

/* ── STAT CARDS ──────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-navy);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--font-size-xs);
  font-weight: var(--fw-medium);
  color: var(--color-slate);
  line-height: var(--lh-snug);
}

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header.center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-3xl));
  font-weight: var(--fw-bold);
  color: var(--color-black);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: var(--font-size-md);
  color: var(--color-slate);
  line-height: var(--lh-relaxed);
  max-width: 520px;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  padding: var(--space-24) 0 var(--space-20);
  background: var(--color-bg);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content { max-width: 580px; }

.hero-h1 {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  font-weight: var(--fw-extrabold);
  color: var(--color-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-6);
}

.hero-h1 .accent {
  color: var(--color-magenta);
  font-style: italic;
}

.hero-sub {
  font-size: var(--font-size-md);
  color: var(--color-slate);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── PROOF / LOGO STRIP ──────────────────────────────────── */
.proof-strip {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.proof-label {
  font-size: var(--font-size-xs);
  font-weight: var(--fw-medium);
  color: var(--color-muted);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-5);
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.proof-logo {
  font-size: var(--font-size-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-muted);
  letter-spacing: var(--ls-wide);
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.proof-logo:hover { opacity: 1; }

/* ── GROWTH NARRATIVE STRIP ──────────────────────────────── */
.growth-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.growth-step {
  font-size: var(--font-size-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-slate);
  padding: 6px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.growth-step.active {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.growth-arrow {
  font-size: var(--font-size-base);
  color: var(--color-muted);
}

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--color-navy);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  user-select: none;
}

.faq-q-text {
  font-size: var(--font-size-base);
  font-weight: var(--fw-semibold);
  color: var(--color-black);
  line-height: var(--lh-snug);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-slate);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--font-size-sm);
  color: var(--color-slate);
  line-height: var(--lh-relaxed);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--color-black);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-8);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-4);
  max-width: 240px;
}

.footer-email {
  font-size: var(--font-size-sm);
  color: var(--color-teal);
  margin-top: var(--space-3);
  display: block;
  transition: color var(--transition-base);
}

.footer-email:hover { color: var(--color-white); }

.footer-col h4 {
  font-size: var(--font-size-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-col a {
  display: block;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-3);
  transition: color var(--transition-base);
}

.footer-col a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer-logo-text {
  font-size: var(--font-size-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
}

/* ── TAGS & PILLS ────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--fw-semibold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: var(--ls-wide);
}

.tag-navy    { background: rgba(45,46,110,0.08); color: var(--color-navy); }
.tag-magenta { background: rgba(160,64,160,0.08); color: var(--color-magenta); }
.tag-teal    { background: rgba(110,198,200,0.15); color: #0F766E; }
.tag-green   { background: rgba(168,216,120,0.2); color: #166534; }

/* ── DIVIDERS ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-10) 0;
}

/* ── FLOW STEPS (engagement model) ──────────────────────── */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.flow-step:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.flow-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-title {
  font-size: var(--font-size-base);
  font-weight: var(--fw-semibold);
  color: var(--color-black);
  margin-bottom: var(--space-2);
}

.flow-desc {
  font-size: var(--font-size-sm);
  color: var(--color-slate);
  line-height: var(--lh-relaxed);
}

/* ── RETAIN FRAMEWORK ────────────────────────────────────── */
.retain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.retain-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.retain-card:hover {
  border-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.retain-card::before {
  content: attr(data-letter);
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 72px;
  font-weight: var(--fw-extrabold);
  color: var(--color-bg-alt);
  line-height: 1;
  pointer-events: none;
}

.retain-letter {
  font-size: var(--font-size-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.retain-name {
  font-size: var(--font-size-base);
  font-weight: var(--fw-semibold);
  color: var(--color-black);
  margin-bottom: var(--space-3);
}

.retain-desc {
  font-size: var(--font-size-sm);
  color: var(--color-slate);
  line-height: var(--lh-relaxed);
}

.retain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* ── PLATFORM CHIPS ──────────────────────────────────────── */
.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: var(--font-size-sm);
  font-weight: var(--fw-medium);
  color: var(--color-navy);
  transition: all var(--transition-base);
}

.platform-chip:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-xs);
}

.platform-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
}

/* ── UTILITY CLASSES ─────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.hidden { display: none; }

/* ── RESPONSIVE — Desktop first, scale down ─────────────── */

/* Large desktop — 1280px and below */
@media (max-width: 1280px) {
  :root {
    --container-pad: 32px;
  }
}

/* Medium desktop — 1024px and below */
@media (max-width: 1024px) {
  :root {
    --container-pad: 24px;
  }

  .grid-4  { grid-template-columns: repeat(2, 1fr); }
  .grid-5  { grid-template-columns: repeat(3, 1fr); }
  .retain-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero-content { max-width: 100%; }
  .hero-visual { display: none; }
}

/* Tablet — 768px and below */
@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
    --nav-height: 60px;
  }

  .nav-links { display: none; }

  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-2);
  }

  .nav-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    display: block;
  }

  .grid-2  { grid-template-columns: 1fr; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr; }
  .grid-5  { grid-template-columns: repeat(2, 1fr); }
  .retain-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid   { grid-template-columns: repeat(2, 1fr); }

  .section { padding: var(--space-12) 0; }
  .section-lg { padding: var(--space-16) 0; }

  .hero { padding: var(--space-16) 0 var(--space-12); }

  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .growth-strip { gap: var(--space-2); }

  .proof-logos { gap: var(--space-5); }

  .faq-question { padding: var(--space-4) var(--space-5); }
  .faq-answer-inner { padding: 0 var(--space-5) var(--space-4); padding-top: var(--space-3); }
}

/* Mobile — 480px and below */
@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
  }

  .grid-5 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }

  .btn-lg { font-size: var(--font-size-sm); padding: 12px 24px; }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

/* ── MOBILE NAV (open state) ─────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) var(--container-pad);
  flex-direction: column;
  gap: var(--space-2);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}

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

.nav-mobile a {
  font-size: var(--font-size-base);
  font-weight: var(--fw-medium);
  color: var(--color-black);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: background var(--transition-base);
}

.nav-mobile a:hover {
  background: var(--color-bg-alt);
}

.nav-mobile .btn-nav {
  margin-top: var(--space-2);
  text-align: center;
  justify-content: center;
}

/* ── ACCESSIBILITY ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--color-magenta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── SCROLLBAR (subtle, branded) ────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-slate); }

/* ── SELECTION ───────────────────────────────────────────── */
::selection {
  background: rgba(160, 64, 160, 0.15);
  color: var(--color-black);
}


    /* ── PAGE-SPECIFIC STYLES ── */

    /* Hero — same alignment as hero-section-updated.html, OG Image, no tiles */
    .hero-section {
      position: relative;
      width: 100%;
      min-height: 680px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background-color: #FAFAFA;
      background-image: url("/assets/hero/OG Image.png");
      background-size: 70% auto;
      background-position: right center;
      background-repeat: no-repeat;
    }

    .hero-fade {
      position: absolute;
      top: 0; left: 0;
      width: 55%;
      height: 100%;
      background: linear-gradient(
        to right,
        rgba(250,250,250,0.96) 0%,
        rgba(250,250,250,0.92) 50%,
        rgba(250,250,250,0) 100%
      );
      z-index: 1;
      pointer-events: none;
    }

    .hero-content-wrap {
      position: relative;
      z-index: 2;
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 40px;
      width: 100%;
    }

    .hero-text { max-width: 520px; }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #2D2E6E;
      background: rgba(255,255,255,0.95);
      border: 1px solid #E8E8F4;
      padding: 6px 16px;
      border-radius: 9999px;
      margin-bottom: 28px;
    }

    .hero-eyebrow-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #A040A0;
      display: inline-block;
    }

    .hero-h1 {
      font-size: clamp(38px, 4.8vw, 64px);
      font-weight: 800;
      color: #1A1A2E;
      line-height: 1.08;
      letter-spacing: -0.03em;
      margin-bottom: 24px;
    }

    .hero-h1 em {
      color: #A040A0;
      font-style: italic;
    }

    .hero-lead {
      font-size: 15px;
      font-weight: 600;
      color: #64648A;
      letter-spacing: 0.02em;
      margin-bottom: 8px;
    }

    .hero-body {
      font-size: 17px;
      color: #64648A;
      line-height: 1.72;
      max-width: 460px;
      margin-bottom: 16px;
    }

    .hero-tagline {
      font-size: 16px;
      font-weight: 600;
      color: #2D2E6E;
      margin-bottom: 36px;
    }

    .hero-ctas {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }

    .btn-hero-primary {
      display: inline-flex;
      align-items: center;
      font-size: 15px;
      font-weight: 700;
      color: white;
      background: #2D2E6E;
      padding: 14px 32px;
      border-radius: 9999px;
      border: 2px solid #2D2E6E;
      text-decoration: none;
      transition: all 0.2s ease;
      letter-spacing: 0.01em;
    }

    .btn-hero-primary:hover {
      background: #4A4DB8;
      border-color: #4A4DB8;
      transform: translateY(-1px);
      box-shadow: 0 6px 24px rgba(45,46,110,0.25);
    }

    .btn-hero-secondary {
      display: inline-flex;
      align-items: center;
      font-size: 15px;
      font-weight: 700;
      color: #2D2E6E;
      background: transparent;
      padding: 14px 32px;
      border-radius: 9999px;
      border: 2px solid #2D2E6E;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .btn-hero-secondary:hover {
      background: rgba(45,46,110,0.06);
      transform: translateY(-1px);
    }

    /* Section styles */
    .section-pad { padding: 96px 0; }
    .section-pad-sm { padding: 64px 0; }
    .inner { max-width: 1140px; margin: 0 auto; padding: 0 40px; }

    /* Positioning section */
    .positioning-grid {
      display: block;
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
    }

    .positioning-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #2D2E6E;
      background: #F5F5FA;
      border: 1px solid #E8E8F4;
      padding: 5px 14px;
      border-radius: 9999px;
      margin-bottom: 20px;
    }

    .positioning-h2 {
      font-size: clamp(28px, 3vw, 40px);
      font-weight: 800;
      color: #1A1A2E;
      line-height: 1.15;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
    }

    .positioning-body {
      font-size: 17px;
      color: #64648A;
      line-height: 1.75;
      margin: 0 auto;
      max-width: 560px;
    }

    .positioning-body em {
      color: #A040A0;
      font-style: italic;
    }

    /* Audit section */
    .audit-section {
      background: #F5F5FA;
      padding: 68px 0 60px;
    }

    .audit-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 48px;
      align-items: start;
    }

    .audit-journey {
      display: flex;
      flex-direction: column;
      gap: 18px;
      margin-top: 0;
    }

    .audit-journey-step {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }

    .audit-journey-step.is-current .audit-journey-num {
      color: #A040A0;
    }

    .audit-journey-step.is-current .audit-journey-name {
      color: #2D2E6E;
    }

    .audit-journey-num {
      font-size: 12px;
      font-weight: 800;
      color: #94A3B8;
      letter-spacing: 0.04em;
      width: 32px;
      flex-shrink: 0;
      font-variant-numeric: tabular-nums;
      line-height: 22px;
    }

    .audit-journey-name {
      font-size: 15px;
      font-weight: 700;
      color: #1A1A2E;
      margin-bottom: 5px;
      line-height: 22px;
    }

    .audit-journey-desc {
      font-size: 13px;
      color: #64648A;
      line-height: 1.55;
      max-width: 380px;
    }

    .audit-anim-wrap {
      width: 100%;
      max-width: 560px;
      margin: 48px 0 0 auto;
      aspect-ratio: 560 / 420;
      border-radius: 20px;
      overflow: hidden;
      align-self: start;
    }

    .audit-anim-wrap iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
      pointer-events: none;
    }

    /* Dark section */
    .dark-section {
      background: #1A1A2E;
      padding: 96px 0;
      text-align: center;
    }

    /* Prompt section */
    .prompt-card {
      background: #2D2E6E;
      border-radius: 24px;
      padding: 56px 64px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }

    .prompt-category {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 14px;
      padding: 16px 20px;
      margin-bottom: 12px;
    }

    .prompt-cat-label {
      font-size: 11px;
      font-weight: 700;
      color: #6EC6C8;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .prompt-cat-desc {
      font-size: 14px;
      color: rgba(255,255,255,0.6);
    }

    /* Footer */
    .site-footer {
      background: #1A1A2E;
      padding: 64px 0 28px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      margin-bottom: 28px;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }

    .footer-logo-img {
      height: 40px;
      width: auto;
      display: block;
    }

    .footer-tagline {
      font-size: 13px;
      color: rgba(255,255,255,0.4);
      line-height: 1.65;
      max-width: 220px;
      margin-bottom: 16px;
    }

    .footer-email {
      font-size: 13px;
      color: #6EC6C8;
      text-decoration: none;
      display: block;
      margin-bottom: 16px;
    }

    .footer-email:hover { color: white; }

    .footer-social {
      display: flex;
      gap: 16px;
    }

    .footer-social a {
      font-size: 12px;
      color: rgba(255,255,255,0.35);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-social a:hover { color: white; }

    .footer-col h4 {
      font-size: 11px;
      font-weight: 700;
      color: white;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .footer-col a {
      display: block;
      font-size: 13px;
      color: rgba(255,255,255,0.4);
      text-decoration: none;
      margin-bottom: 10px;
      transition: color 0.2s;
    }

    .footer-col a:hover { color: white; }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-copy {
      font-size: 12px;
      color: rgba(255,255,255,0.25);
    }

    /* Mobile nav */
    .nav-mobile-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 8px;
      background: none;
      border: none;
    }

    .nav-mobile-toggle span {
      width: 22px; height: 2px;
      background: #2D2E6E;
      border-radius: 9999px;
      display: block;
      transition: all 0.2s;
    }

    .nav-mobile {
      display: none;
      position: fixed;
      top: 68px; left: 0; right: 0;
      background: white;
      border-bottom: 1px solid #E8E8F4;
      padding: 16px 24px;
      flex-direction: column;
      gap: 4px;
      z-index: 99;
      box-shadow: 0 8px 32px rgba(45,46,110,0.12);
    }

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

    .nav-mobile a {
      font-size: 15px;
      font-weight: 600;
      color: #1A1A2E;
      padding: 10px 14px;
      border-radius: 10px;
      text-decoration: none;
      transition: background 0.15s;
    }

    .nav-mobile a:hover { background: #F5F5FA; }

    /* Responsive */
    @media (max-width: 1024px) {
      .audit-grid { gap: 36px; }
      .prompt-card { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    }

    @media (max-width: 768px) {
      .hero-section {
        min-height: auto;
        padding: 60px 0;
        background-image: none;
        background-color: #FAFAFA;
      }
      .hero-fade { display: none; }
      .hero-content-wrap { padding: 60px 20px; }
      .hero-text { max-width: none; }
      .nav-links { display: none; }
      .nav-mobile-toggle { display: flex; }
      .inner { padding: 0 20px; }
      .section-pad { padding: 64px 0; }
      .prompt-card { padding: 32px 24px; }
      .footer-grid { grid-template-columns: 1fr; }
      .audit-grid { grid-template-columns: 1fr; gap: 36px; }
      .audit-anim-wrap { margin: 0; max-width: 100%; }
      .audit-section { padding: 52px 0 48px; }
    }

    @media (max-width: 480px) {
      .hero-ctas { flex-direction: column; align-items: flex-start; }
    }

    /* RETAIN framework tiles */
    .retain-tile {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 28px 12px;
      background: white;
      border: 1.5px solid #E8E8F4;
      border-radius: 18px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
      overflow: hidden;
      font-family: 'Plus Jakarta Sans', sans-serif;
      outline: none;
      box-shadow: 0 2px 8px rgba(45,46,110,0.06);
    }

    .retain-tile:hover {
      border-color: #2D2E6E;
      transform: translateY(-4px) scale(1.03);
      box-shadow: 0 12px 32px rgba(45,46,110,0.15);
    }

    .retain-tile:focus-visible {
      outline: 2px solid #A040A0;
      outline-offset: 3px;
    }

    .retain-tile.rt-active {
      border-color: transparent;
      transform: translateY(-6px) scale(1.06);
      box-shadow: 0 16px 40px rgba(45,46,110,0.22);
    }

    .retain-tile.rt-dim {
      opacity: 0.3;
      transform: scale(0.97);
      box-shadow: none;
      border-color: #E8E8F4;
    }

    .retain-tile-letter {
      font-size: 44px;
      font-weight: 800;
      font-style: italic;
      line-height: 1;
      letter-spacing: -2px;
      color: #A040A0;
      transition: all 0.3s ease;
      position: relative;
      z-index: 1;
    }

    .retain-tile.rt-active .retain-tile-letter {
      color: white;
    }

    .retain-tile-word {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #64648A;
      transition: color 0.3s;
      position: relative;
      z-index: 1;
    }

    .retain-tile.rt-active .retain-tile-word {
      color: rgba(255,255,255,0.8);
    }

    .retain-tile-glow {
      position: absolute;
      inset: 0;
      border-radius: 16px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .retain-tile.rt-active .retain-tile-glow {
      opacity: 1;
    }

    .rs-tile {
      background: white;
      border: 1.5px solid #E8E8F4;
      border-radius: 14px;
      padding: 20px 20px 16px;
      transition: all 0.35s ease;
      position: relative;
      overflow: hidden;
    }

    .rs-tile::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: #E8E8F4;
      transition: background 0.3s;
    }

    .rs-tile.rs-active {
      border-color: #2D2E6E;
      box-shadow: 0 6px 24px rgba(45,46,110,0.12);
      transform: translateY(-2px);
    }

    .rs-tile.rs-active::before {
      background: linear-gradient(90deg, #2D2E6E, #A040A0);
    }

    .rs-tile.rs-dim {
      opacity: 0.38;
    }

    .rs-tile-name {
      font-size: 14px;
      font-weight: 700;
      color: #1A1A2E;
      margin-bottom: 6px;
      letter-spacing: -0.01em;
      transition: color 0.25s;
    }

    .rs-tile.rs-active .rs-tile-name { color: #2D2E6E; }

    .rs-tile-body {
      font-size: 12px;
      color: #64648A;
      line-height: 1.6;
      margin-bottom: 0;
    }

    /* Opportunity */
    #opportunity-section {
      background: #F5F5FA;
      padding: 56px 0;
    }

    #opportunity-section .opportunity-copy {
      display: block;
      max-width: 1100px;
      margin: 0 auto;
      text-align: left;
    }

    #opportunity-section .opportunity-headline {
      font-size: clamp(20px, 2.2vw, 28px);
      font-weight: 800;
      color: #1A1A2E;
      line-height: 1.25;
      letter-spacing: -0.03em;
      margin: 0 auto 14px;
    }

    #opportunity-section .opportunity-support {
      font-size: 16px;
      color: #64648A;
      line-height: 1.65;
      margin: 0;
      max-width: 760px;
    }

    /* RETAIN */
    #retain-section {
      background: #FFFFFF;
      padding: 56px 0 64px;
    }

    #retain-section .retain-intro {
      display: block;
      max-width: 1100px;
      margin: 0 auto 20px;
      text-align: left;
    }

    #retain-section .hero-eyebrow {
      margin-bottom: 14px;
    }

    #retain-section .opportunity-headline {
      font-size: clamp(20px, 2.2vw, 28px);
      font-weight: 800;
      color: #1A1A2E;
      line-height: 1.25;
      letter-spacing: -0.03em;
      margin: 0 0 14px;
    }

    #retain-section .opportunity-support {
      font-size: 16px;
      color: #64648A;
      line-height: 1.65;
      margin: 0;
      max-width: 760px;
      font-weight: 400;
    }

    #retain-section .retain-tiles {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 10px;
      margin-bottom: 8px;
    }

    #retain-section .retain-helper {
      text-align: center;
      font-size: 12px;
      color: #94A3B8;
      font-style: italic;
      margin: 12px 0 0;
      min-height: 18px;
      transition: color 0.25s ease;
    }

    #retain-section .retain-helper.is-active {
      font-style: normal;
      font-weight: 700;
      color: #2D2E6E;
    }

    #retain-solutions {
      margin-top: 0;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }

    .retain-tile {
      padding: 22px 8px;
    }

    .retain-tile-letter {
      font-size: 38px;
    }

    @media (min-width: 1100px) {
      #opportunity-section .opportunity-headline {
        white-space: nowrap;
      }
    }

    @media (max-width: 900px) {
      #retain-solutions {
        grid-template-columns: repeat(2,1fr) !important;
      }
    }

    @media (max-width: 768px) {
      #opportunity-section {
        padding: 44px 0;
      }
      #retain-section {
        padding: 48px 0 56px;
      }
      #opportunity-section .opportunity-headline {
        white-space: normal;
      }
      #retain-section .retain-tiles {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 560px) {
      #retain-solutions {
        grid-template-columns: 1fr !important;
      }
      #retain-section .retain-tiles {
        grid-template-columns: repeat(2, 1fr);
      }
      .retain-tile { padding: 18px 8px; }
      .retain-tile-letter { font-size: 32px; }
    }
  

/* Homepage dropdown: undo pill link styles so the menu matches current Solutions behaviour */
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-links .nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #54556e;
  white-space: nowrap;
  background: transparent;
}
.nav-links .nav-dropdown-menu a:hover {
  background: #f5f5fa;
  color: var(--color-navy);
}
.nav-links .nav-dropdown-menu a.active::after {
  display: none;
}
.nav-mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-black);
  padding: 10px 14px;
  border: 0;
  background: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
}
.nav-mobile-sub-toggle:hover { background: #F5F5FA; }
.nav-mobile-sub { display: none; flex-direction: column; padding: 2px 0 8px 8px; }
.nav-mobile-item.open .nav-mobile-sub { display: flex; }
.nav-mobile-sub a { font-size: 14px; font-weight: 600; color: #54556e; padding: 8px 14px; }
