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

:root {
  --font-display: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* SurePeople PRISM design-system palette: Azure (#1e40af, the single action
     color) + Nova purple (#5b21b6, PRISM identity) on light surfaces with
     near-black (#181818) text. */
  --navy:       #1e3a8a; /* Azure deep — dark surfaces (nav, bands) + headings */
  --band:       #1e3a8a;
  --navy-mid:   #f7f7f7; /* PRISM surface subtle */
  --navy-light: #ffffff;
  --blue:       #1e40af; /* Azure 800 — the one action color */
  --blue-light: #1e3a8a; /* Azure hover */
  --blue-deep:  #1e40af; /* Azure 800 */
  --accent:     #5b21b6; /* Nova — PRISM identity (light surfaces) */
  --accent-deep:#5b21b6; /* Nova (≈8.5:1 on white) */
  --accent-muted: #a78bfa; /* Nova Muted — for legibility on dark surfaces */
  --eyebrow:    #5b21b6; /* Nova */
  --white:      #ffffff;
  --off-white:  #f7f7f7; /* PRISM surface subtle */
  --gray-light: #d5d5d5; /* PRISM border default */
  --gray:       #999999; /* PRISM tertiary text */
  --text:       #181818; /* PRISM near-black text */
  --text-dim:   #666666; /* PRISM secondary text */
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.22s ease;
  --max-w:      1140px;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Motion: signature hero entrance ─────────────────────────────────── */
/* Gated behind .js-anim (added by an inline script before paint) so the
   default state — no JS, or a headless/SEO render — is fully visible. */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.js-anim .hero > .container > * {
  opacity: 0;
  animation: heroRise 0.7s var(--ease-out-expo) both;
}
.js-anim .hero > .container > *:nth-child(1) { animation-delay: 0.00s; }
.js-anim .hero > .container > *:nth-child(2) { animation-delay: 0.07s; }
.js-anim .hero > .container > *:nth-child(3) { animation-delay: 0.14s; }
.js-anim .hero > .container > *:nth-child(4) { animation-delay: 0.21s; }
.js-anim .hero > .container > *:nth-child(5) { animation-delay: 0.28s; }
.js-anim .hero > .container > *:nth-child(6) { animation-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .hero > .container > * { opacity: 1; animation: none; }
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Typography ──────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  /* Titles on light surfaces → PRISM near-black. Azure/blue is reserved for
     actions (buttons, links, focus) per the One Voice Rule; dark-band
     headings override this with their own higher-specificity white color. */
  color: #181818;
  line-height: 1.1;
  font-weight: 800;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-deep); }
p  { margin-bottom: 1rem; color: var(--text); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text);
  line-height: 1.6;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  margin-bottom: 1rem;
  display: block;
}
.testimonials-dark .eyebrow { color: var(--accent); }

/* ── Layout ──────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

section.tight { padding: 64px 0; }
section.xl    { padding: 128px 0; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 58, 138, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: var(--radius);
  text-align: center;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: var(--radius); }
/* Active link: white (matching hover) plus a deliberate underline so "active"
   reads as clearly distinct from resting links without sacrificing legibility. */
.nav-links a.active {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--white);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  /* PRISM primary button: signature Azure gradient, collapses to flat on hover.
     Hover uses a same-structure gradient (both stops #1e40af) so the background
     stays a gradient and interpolates smoothly — avoids the transparent flash
     you get transitioning gradient → flat color under `transition: all`. */
  background: linear-gradient(180deg, #2563eb, #1e40af);
  color: var(--white);
}
.btn-primary:hover { background: linear-gradient(180deg, #1e40af, #1e40af); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(0,0,0,0.15);
}
.btn-ghost:hover { border-color: rgba(0,0,0,0.3); color: var(--navy); }
/* Login matches the outline-button style ("Learn What Makes Us Different"):
   white text, subtle white border, weight 600, white-border + faint-fill hover. */
.btn-login { font-weight: 600 !important; color: var(--white) !important; border: 1.5px solid rgba(255,255,255,0.3) !important; font-size: 0.82rem !important; }
.btn-login:hover { border-color: var(--white) !important; background: rgba(255,255,255,0.08) !important; color: var(--white) !important; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(13,27,42,0.22);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(0,0,0,0.04); }

.btn-accent {
  background: var(--accent);
  color: var(--navy);
}
.btn-accent:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-lg { padding: 15px 30px; font-size: 0.95rem; border-radius: var(--radius); }
/* Slightly larger hero CTAs (Request a Demo / How It Works, etc.) */
.hero .btn-lg { padding: 17px 36px; font-size: 1.05rem; }

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 96px;
  /* Ambient radial tints → Azure / Nova, kept behind the content */
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.07) 0%, transparent 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 80% 80%, rgba(91,33,182,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,33,182,0.08);
  border: 1px solid rgba(91,33,182,0.22);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 28px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  max-width: 620px;
  margin: 0 auto 44px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-logos {
  margin-top: 80px;
}

.hero-logos p {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-placeholder {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}

/* ── Cards ───────────────────────────────────────────────────────────── */
.card {
  background: var(--navy-light);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(30,64,175,0.35);
  transform: translateY(-3px);
}
.card h3 { color: var(--blue); margin-bottom: 10px; }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(30,64,175,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.card-icon.accent { background: rgba(91,33,182,0.12); }

/* ── Grid ────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
/* ── Hamburger & mobile drawer ───────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  max-height: 0;
  padding: 0 24px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.nav-drawer.is-open {
  max-height: 500px;
  padding: 16px 24px 24px;
}
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}
.nav-drawer-links a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  padding: 12px 8px;
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--transition);
}
.nav-drawer-links a:hover { background: rgba(0,0,0,0.04); }
.nav-drawer-links li:last-child a { border-bottom: none; }
.nav-drawer-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-top: 8px;
}
.nav-drawer-actions .btn { flex: 1; justify-content: center; text-align: center; }

@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; max-height: 0; overflow: hidden; }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ── Section Headers ─────────────────────────────────────────────────── */
.section-header {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header p { font-size: 1.05rem; }

/* ── Divider ─────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  margin: 0;
}

/* ── Testimonials ────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--navy-light);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card blockquote::before { content: '\201C'; color: var(--accent); font-size: 1.5rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-card blockquote::after { content: '\201D'; color: var(--accent); font-size: 1.5rem; line-height: 0; vertical-align: -0.4em; margin-left: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  /* Azure → Nova (PRISM two-axis) */
  background: linear-gradient(135deg, #2563eb, #5b21b6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-title { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }

/* ── Dark Testimonials (Option A: unified navy) ──────────────────────── */
.testimonials-dark {
  background: var(--band);
  padding: 96px 0;
}
/* tcard base */
.tcard {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tcard-quote {
  /* Desktop default 24px (1.5rem), scaling fluidly down to ~14px on mobile */
  font-size: clamp(0.875rem, 0.6rem + 1.3vw, 1.5rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.88);
  margin: 0 0 24px;
  font-style: italic;
}
.tcard-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tcard-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  /* Azure → Nova (PRISM two-axis) */
  background: linear-gradient(135deg, #2563eb, #5b21b6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 0.85rem; flex-shrink: 0;
}
.tcard-name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.tcard-role { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* unified carousel — one sliding track of individual cards.
   2 cards per view on desktop (equal-height pairs), 1 per view on mobile.
   Card flex-basis is set in JS from the viewport width so paging is exact. */
.tcarousel { position: relative; }
.tcarousel-viewport { overflow: hidden; }
.tcarousel-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.tcarousel-track .tcard {
  flex: 0 0 auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.tcarousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.tcarousel-arrow {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 40px; height: 40px;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.tcarousel-arrow:hover { background: rgba(255,255,255,0.18); }
.tcarousel .carousel-dots { display: flex; align-items: center; gap: 8px; margin-top: 0; }
.tcarousel .carousel-dot {
  background: rgba(255,255,255,0.2);
}
/* Hover must read on the navy band (was inheriting a dark hover that vanished) */
.tcarousel .carousel-dot:hover { background: rgba(255,255,255,0.45); }
.tcarousel .carousel-dot.is-active { background: var(--accent-muted); }

@media (max-width: 680px) {
  /* one card per view: let each card take its natural height so short
     cards (and videos) aren't stretched to the tallest quote */
  .tcarousel-track { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .tcarousel-track { transition: none; }
}

/* ── Featured Quote ──────────────────────────────────────────────────── */
.featured-quote {
  background: linear-gradient(135deg, rgba(30,64,175,0.05), rgba(91,33,182,0.04));
  border: 1px solid rgba(30,64,175,0.12);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.featured-quote blockquote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--navy);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 28px;
}
.featured-quote blockquote::before { content: '\201C'; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -0.5em; margin-right: 6px; }
.featured-quote blockquote::after { content: '\201D'; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -0.5em; margin-left: 6px; }

/* ── Differentiator rows ─────────────────────────────────────────────── */
.diff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.diff-row:last-child { border-bottom: none; }
.diff-row.reverse { direction: rtl; }
.diff-row.reverse > * { direction: ltr; }

.diff-visual {
  background: var(--navy-light);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-dim);
  position: relative;
  overflow: hidden;
}
.diff-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(30,64,175,0.06) 0%, transparent 70%);
}

@media (max-width: 768px) {
  .diff-row { grid-template-columns: 1fr; gap: 32px; }
  .diff-row.reverse { direction: ltr; }
}

/* ── Path cards ──────────────────────────────────────────────────────── */
.path-card {
  background: var(--navy-light);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: border-color var(--transition);
}
.path-card:hover { border-color: rgba(30,64,175,0.4); }
.path-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.path-card ul {
  list-style: none;
  margin: 24px 0 32px;
}
.path-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.path-card ul li:last-child { border-bottom: none; }
.path-card ul li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Stats bar ───────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--off-white);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 48px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(0,0,0,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: #8B5CF6; }
.stat-label { font-size: 0.85rem; color: var(--text); }

@media (max-width: 700px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* ── CTA Band ────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--band);
  padding: 96px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; color: var(--white); }
.cta-band p  { max-width: 520px; margin: 0 auto 40px; color: rgba(255,255,255,0.72); }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.cta-band .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.cta-band .btn-ghost {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.15);
}
.cta-band .btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  background: var(--off-white);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 64px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: 0.88rem; color: var(--text-dim); margin-top: 16px; max-width: 280px; }

.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5b21b6;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--navy); }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); margin: 0; }
.footer-bottom p a { color: #1E40AF; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── Inline page nav highlight ───────────────────────────────────────── */
.page-tag {
  font-size: 0.75rem;
  background: rgba(30,64,175,0.15);
  color: var(--blue-light);
  border: 1px solid rgba(30,64,175,0.25);
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── Not section ─────────────────────────────────────────────────────── */
.not-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.not-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.not-list li:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.not-list li .x { color: var(--text-dim); font-size: 1rem; flex-shrink: 0; }
.not-list li .check { color: var(--accent); font-size: 1rem; flex-shrink: 0; }


/* ── Prism UI mockup ─────────────────────────────────────────────────── */
.prism-ui {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.prism-ui-bar {
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.prism-ui-dot { width: 10px; height: 10px; border-radius: 50%; }
.prism-ui-content { padding: 32px; }
.prism-mini-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 12px;
}
.prism-mini-card:last-child { margin-bottom: 0; }
.prism-mini-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 8px; }
.prism-mini-bar { height: 6px; background: rgba(0,0,0,0.08); border-radius: 3px; overflow: hidden; }
.prism-mini-fill { height: 100%; border-radius: 3px; }

/* ── Blobs ───────────────────────────────────────────────────────────── */
.blob-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
/* Ambient blobs → PRISM palette (Azure + Nova family only), same soft glow */
.blob-sky    { background: rgba(37, 99, 235, 0.16); }  /* Azure */
.blob-indigo { background: rgba(91, 33, 182, 0.16); }  /* Nova */
.blob-green  { background: rgba(167, 139, 250, 0.16); } /* Nova Muted */
.blob-amber  { background: rgba(37, 99, 235, 0.12); }  /* Azure, softer */
.blob-coral  { background: rgba(91, 33, 182, 0.12); }  /* Nova, softer */

/* Light sections let blobs glow through */
section:not(.testimonials-dark):not(.cta-band):not(.hero) {
  background: rgba(255, 255, 255, 0.60);
  position: relative;
  z-index: 1;
}
section.tight:not(.testimonials-dark):not(.cta-band):not(.hero) {
  background: rgba(255, 255, 255, 0.60);
}
.hero {
  position: relative;
  z-index: 1;
}
/* Dark bands are opaque, but still need to sit above the blob layer so the
   gradients don't bleed over the carousel / CTA content (position + z-index
   only — no white background like the light sections). */
.testimonials-dark,
.cta-band {
  position: relative;
  z-index: 1;
}
.divider { position: relative; z-index: 1; }

/* ── App Store Badges ────────────────────────────────────────────────── */
.app-badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 8px 14px;
  text-decoration: none;
  transition: background var(--transition);
}
.app-badge:hover { background: #f0f0f0; }
.app-badge svg { flex-shrink: 0; fill: #111; }
.app-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.app-badge-sub { font-size: 0.62rem; color: rgba(0,0,0,0.5); text-transform: uppercase; letter-spacing: 0.04em; }
.app-badge-store { font-size: 0.85rem; font-weight: 700; color: #111; }

/* ── Cookie Consent Banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: #f9f9f9;
  border-top: 1px solid rgba(91, 33, 182, 0.18);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px 24px;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.cookie-banner-text {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.cookie-banner-text a { color: var(--blue); text-decoration: underline; }
.cookie-banner-accept { flex-shrink: 0; }

@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner-accept { width: 100%; justify-content: center; }
}

/* ── Reduced Motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-play-state: paused; }
  .carousel-slide { transition: none; }
  .tcarousel-slide { transition: none; }
  .hero-badge-dot { animation: none; }
  .btn,
  .card,
  .tile,
  .path-card { transition: color var(--transition), border-color var(--transition), background var(--transition); }
}
