/* ════════════════════════════════════════════════════════════
   STOK.LY DEMO — Design System & Styles
   Copyright Proud Brands Limited. Preview purposes only.
   ════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Fonts */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;

  /* Line Heights */
  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.55;
  --leading-relaxed: 1.65;

  /* Font Weights */
  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* Tracking */
  --tracking-tight:  -0.025em;
  --tracking-normal:  0;
  --tracking-wide:    0.08em;

  /* Primary — derived from Stok.ly brand blue #009bde */
  --color-navy:          #003D5C;
  --color-navy-light:    #005680;
  --color-navy-lighter:  #007CBA;
  --color-navy-subtle:   #009bde0D;

  /* Accent — from Stok.ly brand orange #ff8300 */
  --color-orange:        #FF8300;
  --color-orange-hover:  #E57500;
  --color-orange-light:  #FFF4E6;

  /* Brand blue for highlights */
  --color-brand-blue:    #009BDE;
  --color-brand-blue-light: #E6F5FC;

  /* Brand magenta for secondary accents */
  --color-magenta:       #EA1D76;
  --color-magenta-light: #FDE8F0;

  /* Neutrals — cool-shifted to match blue primary */
  --color-white:         #FFFFFF;
  --color-off-white:     #F7F9FB;
  --color-grey-100:      #EEF2F5;
  --color-grey-200:      #D8E0E6;
  --color-grey-300:      #A8B5BF;
  --color-grey-500:      #637381;
  --color-grey-700:      #3D4F5F;
  --color-grey-900:      #1A2A35;

  /* Semantic */
  --color-success:       #1B7D46;
  --color-success-light: #EAFAF1;
  --color-warning:       #C67E05;
  --color-warning-light: #FFF8E6;
  --color-error:         #C43025;
  --color-error-light:   #FDECEB;

  /* Interactive */
  --color-link:          #007CBA;
  --color-focus:         rgba(0, 155, 222, 0.4);

  /* Shadows (blue-hued) */
  --shadow-sm:   0 1px 2px rgba(0,61,92,0.06), 0 1px 3px rgba(0,61,92,0.1);
  --shadow-md:   0 4px 6px rgba(0,61,92,0.07), 0 2px 4px rgba(0,61,92,0.06);
  --shadow-lg:   0 10px 15px rgba(0,61,92,0.1), 0 4px 6px rgba(0,61,92,0.05);
  --shadow-xl:   0 20px 25px rgba(0,61,92,0.1), 0 8px 10px rgba(0,61,92,0.04);

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radii */
  --radius-sm:  0.375rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}


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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-grey-900);
  background: var(--color-white);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: var(--space-md);
  background: var(--color-navy); color: var(--color-white);
  padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm);
  z-index: 1000; font-size: var(--text-sm); font-weight: var(--weight-semibold);
}
.skip-link:focus { top: var(--space-md); }


/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-2xl); }
}


/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--color-navy);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); font-weight: var(--weight-semibold); }

@media (min-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
}

.text-accent { color: var(--color-brand-blue); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-brand-blue);
  margin-bottom: var(--space-sm);
}

.section-heading {
  margin-bottom: var(--space-md);
}

.section-sub {
  font-size: var(--text-md);
  color: var(--color-grey-500);
  max-width: 55ch;
  line-height: var(--leading-relaxed);
}


/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-sm {
  font-size: var(--text-sm);
  padding: 0.5rem 1.25rem;
}

.btn-lg {
  font-size: var(--text-base);
  padding: 0.875rem 2rem;
}

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

.btn-ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-grey-200);
}
.btn-ghost:hover {
  border-color: var(--color-navy);
  background: var(--color-navy-subtle);
}

.btn-ghost-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-light:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
}


/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-grey-200);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-200);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.nav-list {
  display: flex;
  gap: var(--space-xl);
}

.main-nav.is-open .nav-list {
  flex-direction: column;
  gap: var(--space-md);
}

.nav-list a {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-grey-700);
  transition: color var(--duration-fast);
}
.nav-list a:hover { color: var(--color-navy); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: flex;
  }
}


/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--color-navy);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,61,92,0.85) 0%, rgba(0,61,92,0.5) 60%, rgba(0,61,92,0.7) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-4xl);
  }
  .hero { padding: var(--space-5xl) 0; }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-brand-blue);
  margin-bottom: var(--space-md);
}

.hero .btn-ghost {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-ghost:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

@media (min-width: 1024px) {
  .hero-headline { font-size: var(--text-4xl); }
}

.hero-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
  max-width: 50ch;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.2);
}

.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
}

.hero-stat-unit {
  font-size: var(--text-sm);
  font-weight: var(--weight-normal);
  color: rgba(255,255,255,0.5);
}

.hero-stat-label {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}


/* ── HERO DASHBOARD MOCK ──────────────────────────────────── */
.hero-visual {
  position: relative;
}

.hero-screen {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3), 0 0 80px rgba(232,93,38,0.08);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.screen-chrome {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-200);
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-grey-300);
}

.screen-body {
  padding: 0;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-grey-200);
}

.dash-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--color-brand-blue);
  color: white;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.dash-search {
  width: 140px;
  height: 24px;
  background: var(--color-grey-100);
  border-radius: 4px;
}

.dash-avatar {
  width: 24px;
  height: 24px;
  background: var(--color-navy-lighter);
  border-radius: 50%;
}

.dash-layout {
  display: flex;
  min-height: 260px;
}

.dash-sidebar {
  width: 48px;
  background: var(--color-navy);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dash-nav-item {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
}

.dash-nav-item.active {
  background: var(--color-brand-blue);
}

.dash-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-card {
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border: 1px solid var(--color-grey-200);
}

.dash-card-label {
  display: block;
  font-size: 9px;
  color: var(--color-grey-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dash-card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}

.dash-card-delta {
  font-size: 10px;
  font-weight: 600;
}

.dash-card-delta.positive { color: var(--color-success); }

.dash-chart {
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--color-grey-200);
}

.chart-svg { width: 100%; height: auto; }

.dash-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.dash-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.5fr;
  padding: 6px 12px;
  font-size: 11px;
  border-bottom: 1px solid var(--color-grey-100);
  align-items: center;
}

.dash-table-row.header {
  background: var(--color-grey-100);
  font-weight: 600;
  color: var(--color-grey-500);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.dash-table-row:last-child { border-bottom: none; }

.status-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-badge.picked {
  background: var(--color-magenta-light);
  color: var(--color-magenta);
}
.status-badge.packed {
  background: #EBF0FF;
  color: var(--color-navy-lighter);
}
.status-badge.shipped {
  background: var(--color-success-light);
  color: var(--color-success);
}


/* ── LOGO BAR ──────────────────────────────────────────────── */
.logo-bar {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
}

.logo-bar-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-grey-300);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-lg);
}

.logo-bar-track {
  overflow: hidden;
}

.logo-bar-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: nowrap;
}

.client-logo {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.35);
  transition: filter var(--duration-normal) var(--ease-out);
  mix-blend-mode: multiply;
  flex-shrink: 0;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(0.8);
}

@media (min-width: 768px) {
  .client-logo {
    height: 32px;
    max-width: 110px;
  }
}

@media (min-width: 1024px) {
  .client-logo {
    height: 36px;
    max-width: 120px;
  }
}


/* ── PROBLEMS ──────────────────────────────────────────────── */
.problems {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
}

.problems-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .problems-grid { grid-template-columns: repeat(3, 1fr); }
}

.problem-card {
  padding: var(--space-xl);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.problem-icon {
  color: var(--color-brand-blue);
  margin-bottom: var(--space-md);
}

.problem-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.problem-desc {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  line-height: var(--leading-relaxed);
}


/* ── FEATURES ──────────────────────────────────────────────── */
.features {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
}

.features-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--large {
    grid-row: span 2;
  }
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-grey-200);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.feature-card-icon {
  color: var(--color-navy-lighter);
  margin-bottom: var(--space-md);
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.feature-card-desc {
  font-size: var(--text-sm);
  color: var(--color-grey-500);
  line-height: var(--leading-relaxed);
}

.feature-card-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-card-list li {
  font-size: var(--text-sm);
  color: var(--color-grey-700);
  padding-left: var(--space-lg);
  position: relative;
}

.feature-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}


/* ── INTEGRATIONS ──────────────────────────────────────────── */
.integrations {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
}

.integration-categories {
  display: grid;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .integration-categories { grid-template-columns: repeat(3, 1fr); }
}

.integration-cat {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-top: 3px solid var(--color-grey-200);
  transition: all var(--duration-normal) var(--ease-out);
}

.integration-cat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.integration-cat--blue  { border-top-color: var(--color-brand-blue); }
.integration-cat--magenta { border-top-color: var(--color-magenta); }
.integration-cat--orange { border-top-color: #FF8300; }

.integration-count {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.integration-cat--blue .integration-count { color: var(--color-brand-blue); }
.integration-cat--magenta .integration-count { color: var(--color-magenta); }
.integration-cat--orange .integration-count { color: #FF8300; }

.integration-cat-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
}

.integration-more {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-grey-300);
  font-style: italic;
}

.integration-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.integration-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.int-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: default;
}

.int-logo-wrap:hover {
  background: var(--color-grey-100);
  transform: translateY(-2px);
}

.int-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity var(--duration-fast);
}

.int-logo-wrap:hover .int-logo {
  opacity: 1;
}

.int-logo-name {
  font-size: 10px;
  font-weight: var(--weight-medium);
  color: var(--color-grey-500);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.int-logo-wrap:hover .int-logo-name {
  color: var(--color-navy);
}

/* Stagger reveal */
.int-logo-wrap {
  opacity: 0;
  transform: translateY(12px) scale(0.9);
}

.int-logo-wrap.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}


/* ── DIFFERENTIATORS ───────────────────────────────────────── */
.differentiators {
  padding: var(--space-4xl) 0;
  background: var(--color-navy);
  color: var(--color-white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

@media (min-width: 768px) {
  .diff-grid { grid-template-columns: repeat(4, 1fr); }
}

.diff-card {
  padding: var(--space-lg);
}

.diff-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-brand-blue);
  margin-bottom: var(--space-xs);
}

.diff-label {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.diff-footnote {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  margin-top: var(--space-2xl);
  letter-spacing: var(--tracking-tight);
}

@media (min-width: 768px) {
  .diff-footnote { font-size: var(--text-2xl); }
}


/* ── TESTIMONIAL ───────────────────────────────────────────── */
.testimonial {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
}

.testimonial-figure {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--color-navy);
}

@media (min-width: 768px) {
  .testimonial-quote p { font-size: var(--text-2xl); }
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-magenta);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

.testimonial-meta { text-align: left; }

.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  font-size: var(--text-sm);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-grey-500);
}

.review-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-grey-200);
}

.review-badge { text-align: center; }

.review-badge-score {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-magenta);
}

.review-badge-source {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-grey-500);
  margin-top: 2px;
}


/* ── PRICING TEASER ────────────────────────────────────────── */
.pricing-teaser {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
  text-align: center;
}

.pricing-teaser .section-sub {
  margin: 0 auto var(--space-xl);
}


/* ── FINAL CTA ─────────────────────────────────────────────── */
.final-cta {
  padding: var(--space-5xl) 0;
  background: var(--color-navy);
  text-align: center;
}

.final-cta-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

@media (min-width: 1024px) {
  .final-cta-heading { font-size: var(--text-4xl); }
}

.final-cta-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
  margin: 0 auto var(--space-xl);
  line-height: var(--leading-relaxed);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}


/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  padding: var(--space-4xl) 0 var(--space-xl);
  background: var(--color-grey-900);
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.site-footer .logo-img {
  filter: brightness(0) invert(1);
  height: 32px;
}

.footer-tagline {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}

.footer-location {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs);
}

.footer-credit a {
  color: var(--color-magenta);
  transition: opacity var(--duration-fast);
}
.footer-credit a:hover { opacity: 0.8; }


/* ── SCROLL ANIMATIONS ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .fade-up:nth-child(1) { transition-delay: 0ms; }
.stagger > .fade-up:nth-child(2) { transition-delay: 80ms; }
.stagger > .fade-up:nth-child(3) { transition-delay: 160ms; }
.stagger > .fade-up:nth-child(4) { transition-delay: 240ms; }


/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; }
}
