/* ============================================================================
   AR RECOVERY PRO — DESIGN SYSTEM
   Accounts Receivable Recovery
   ----------------------------------------------------------------------------
   Architecture:  Primitive tokens  →  Semantic tokens  →  Component tokens
   Type:          Space Grotesk (display) · Inter (body) · JetBrains Mono (numbers)
   Direction:     Premium fintech "AR Recovery Command Center"
   ============================================================================ */

/* ============================================================================
   1. PRIMITIVE TOKENS  (raw values — never reference directly in components)
   ============================================================================ */
:root {
  /* ---- Navy (premium dashboard backgrounds) ---- */
  --navy-950: #050E20;
  --navy-900: #0A1B3D;
  --navy-850: #0D2148;
  --navy-800: #10295A;
  --navy-700: #173B7A;

  /* ---- Deep professional blue (brand / trust) ---- */
  --blue-700: #1A4FB0;
  --blue-600: #1E5BC6;
  --blue-500: #2D6FE0;
  --blue-400: #4C8DF5;
  --blue-300: #8FBAFA;
  --blue-100: #DBE8FE;
  --blue-050: #EFF5FF;

  /* ---- Hot orange (action voltage) ---- */
  --orange-700: #C9430B;
  --orange-600: #E8500F;
  --orange-500: #FF6B2B;
  --orange-400: #FF8A52;
  --orange-300: #FFB088;
  --orange-100: #FFEDE2;

  /* ---- Turquoise (data / positive signal) ---- */
  --teal-700: #0B7E7D;
  --teal-600: #0E9C9B;
  --teal-500: #12C2C0;
  --teal-400: #3DDAD8;
  --teal-300: #7CE9E7;
  --teal-100: #D2FAF9;

  /* ---- Neutrals ---- */
  --gray-950: #060A12;
  --gray-900: #0F172A;
  --gray-800: #1E293B;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-050: #F8FAFC;
  --white:    #FFFFFF;

  /* ---- Status primitives ---- */
  --green-500: #22C55E;
  --green-100: #DCFCE7;
  --amber-500: #F5B814;
  --amber-100: #FEF3C7;
  --red-500:   #EF4444;
  --red-100:   #FEE2E2;

  /* ---- Type families ---- */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'SFMono-Regular', 'Roboto Mono', ui-monospace, monospace;

  /* ---- Type scale (fluid) ---- */
  --fs-xs:   0.75rem;    /* 12 */
  --fs-sm:   0.875rem;   /* 14 */
  --fs-base: 1rem;       /* 16 */
  --fs-lg:   1.125rem;   /* 18 */
  --fs-xl:   1.25rem;    /* 20 */
  --fs-2xl:  1.5rem;     /* 24 */
  --fs-3xl:  1.875rem;   /* 30 */
  --fs-4xl:  2.25rem;    /* 36 */
  --fs-5xl:  3rem;       /* 48 */
  --fs-6xl:  3.75rem;    /* 60 */

  /* ---- Weights ---- */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;

  /* ---- Line heights ---- */
  --lh-tight: 1.12;
  --lh-snug:  1.32;
  --lh-base:  1.6;
  --lh-loose: 1.8;

  /* ---- Spacing scale (4px base) ---- */
  --sp-1:  0.25rem;  /* 4  */
  --sp-2:  0.5rem;   /* 8  */
  --sp-3:  0.75rem;  /* 12 */
  --sp-4:  1rem;     /* 16 */
  --sp-5:  1.25rem;  /* 20 */
  --sp-6:  1.5rem;   /* 24 */
  --sp-8:  2rem;     /* 32 */
  --sp-10: 2.5rem;   /* 40 */
  --sp-12: 3rem;     /* 48 */
  --sp-16: 4rem;     /* 64 */
  --sp-20: 5rem;     /* 80 */
  --sp-24: 6rem;     /* 96 */
  --sp-32: 8rem;     /* 128 */

  /* ---- Radius ---- */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-2xl:  36px;
  --r-pill: 100px;
  --r-full: 9999px;

  /* ---- Shadows / elevation ---- */
  --sh-sm:  0 1px 2px rgba(8,15,40,0.08), 0 1px 3px rgba(8,15,40,0.06);
  --sh-md:  0 6px 20px rgba(8,15,40,0.10);
  --sh-lg:  0 14px 40px rgba(8,15,40,0.14);
  --sh-xl:  0 28px 70px rgba(5,14,32,0.30);
  --glow-orange: 0 0 32px rgba(255,107,43,0.40);
  --glow-teal:   0 0 32px rgba(18,194,192,0.40);
  --glow-blue:   0 0 48px rgba(46,111,224,0.35);

  /* ---- Motion ---- */
  --t-fast:   140ms ease;
  --t-base:   240ms ease;
  --t-slow:   420ms ease;
  --t-spring: 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* ============================================================================
     2. SEMANTIC TOKENS  (purpose aliases — what a color MEANS)
     ============================================================================ */
  --brand-primary:        var(--blue-600);
  --brand-primary-strong: var(--blue-700);
  --brand-accent:         var(--orange-500);
  --brand-accent-strong:  var(--orange-600);
  --brand-highlight:      var(--teal-500);
  --brand-highlight-strong: var(--teal-600);

  --bg-canvas:    var(--white);
  --bg-soft:      var(--gray-050);
  --bg-dark:      var(--navy-900);
  --bg-deeper:    var(--navy-950);
  --bg-elevated:  rgba(255,255,255,0.05);
  --bg-glass:     rgba(255,255,255,0.07);

  --line-light:   var(--gray-200);
  --line-dark:    rgba(255,255,255,0.10);
  --line-dark-strong: rgba(255,255,255,0.16);

  --text-heading:   var(--gray-900);
  --text-body:      var(--gray-700);
  --text-soft:      var(--gray-500);
  --on-dark:        var(--white);
  --on-dark-soft:   rgba(255,255,255,0.66);
  --on-dark-muted:  rgba(255,255,255,0.42);

  --status-open:     var(--blue-400);
  --status-contacted:var(--amber-500);
  --status-promise:  var(--teal-400);
  --status-paid:     var(--green-500);
  --status-disputed: var(--red-500);

  /* ============================================================================
     3. COMPONENT TOKENS  (component-specific)
     ============================================================================ */
  --container-max: 1200px;
  --container-pad: var(--sp-6);
  --section-y:     var(--sp-24);

  --btn-radius:        var(--r-pill);
  --btn-pad:           14px 26px;
  --btn-pad-lg:        17px 34px;

  --card-radius:       var(--r-lg);
  --card-radius-lg:    var(--r-2xl);
  --card-dark-bg:      rgba(255,255,255,0.045);
  --card-dark-bg-hover:rgba(255,255,255,0.075);
  --card-dark-border:  rgba(255,255,255,0.10);
  --card-dark-border-hover: rgba(18,194,192,0.30);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text-body);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--brand-highlight); color: var(--navy-950); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================================
   LAYOUT PRIMITIVES
   ============================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-y); position: relative; }
.section--canvas { background: var(--bg-canvas); }
.section--soft   { background: var(--bg-soft); }
.section--dark   { background: var(--bg-dark); }
.section--deeper { background: var(--bg-deeper); }

.gradient-rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, rgba(18,194,192,0.35), rgba(255,107,43,0.35), transparent);
}

/* ============================================================================
   TYPOGRAPHY UTILITIES
   ============================================================================ */
.display {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}
.h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3.6vw, var(--fs-5xl));
}
.h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 2.5vw, var(--fs-4xl));
}
.h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  line-height: var(--lh-snug);
  font-size: clamp(1.2rem, 1.8vw, var(--fs-2xl));
}
.lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
}
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

.on-dark   { color: var(--on-dark); }
.on-dark-soft { color: var(--on-dark-soft); }
.t-accent  { color: var(--brand-accent); }
.t-teal    { color: var(--brand-highlight); }
.t-blue    { color: var(--blue-400); }

/* Eyebrow / section label */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-highlight); margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: var(--r-full);
  background: var(--brand-highlight);
}
.eyebrow--accent { color: var(--brand-accent); }
.eyebrow--accent::before { background: var(--brand-accent); }

/* Section header block */
.section-head { max-width: 720px; margin: 0 auto var(--sp-16); text-align: center; }
.section-head .eyebrow { display: inline-flex; }
.section-head--left { text-align: left; margin-inline: 0; }

/* ============================================================================
   BUTTON COMPONENT  (with documented states)
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--btn-pad);
  border-radius: var(--btn-radius);
  font-family: var(--font-body); font-size: var(--fs-base); font-weight: var(--fw-semi);
  line-height: 1; white-space: nowrap;
  transition: transform var(--t-base), background var(--t-base), box-shadow var(--t-base), border-color var(--t-base), color var(--t-base);
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 2px; }
.btn .arrow { transition: transform var(--t-base); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--lg { padding: var(--btn-pad-lg); font-size: var(--fs-lg); }
.btn--sm { padding: 9px 18px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

/* Primary — orange voltage, used scarcely for the main action */
.btn--primary { background: var(--brand-accent); color: var(--white); box-shadow: var(--sh-md); }
.btn--primary:hover  { background: var(--brand-accent-strong); transform: translateY(-2px); box-shadow: var(--glow-orange), var(--sh-md); }
.btn--primary:active { transform: translateY(0); box-shadow: var(--sh-sm); }

/* Teal — positive / data action */
.btn--teal { background: var(--brand-highlight); color: var(--navy-950); font-weight: var(--fw-bold); }
.btn--teal:hover  { background: var(--brand-highlight-strong); color: var(--white); transform: translateY(-2px); box-shadow: var(--glow-teal); }
.btn--teal:active { transform: translateY(0); }

/* Secondary on dark — outline */
.btn--ghost { background: transparent; color: var(--on-dark); border: 1.5px solid var(--line-dark-strong); }
.btn--ghost:hover  { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

/* Secondary on light — outline */
.btn--outline { background: transparent; color: var(--brand-primary); border: 1.5px solid var(--blue-300); }
.btn--outline:hover { background: var(--brand-primary); color: var(--white); border-color: var(--brand-primary); transform: translateY(-2px); }

/* ============================================================================
   STATUS BADGE COMPONENT
   ============================================================================ */
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: 0.03em;
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.badge--open      { background: rgba(76,141,245,0.14);  color: var(--blue-400); }
.badge--open::before      { background: var(--blue-400); }
.badge--contacted { background: rgba(245,184,20,0.15);  color: var(--amber-500); }
.badge--contacted::before { background: var(--amber-500); box-shadow: 0 0 6px var(--amber-500); }
.badge--promise   { background: rgba(61,218,216,0.14);  color: var(--teal-400); }
.badge--promise::before   { background: var(--teal-400); box-shadow: 0 0 6px var(--teal-400); }
.badge--paid      { background: rgba(34,197,94,0.15);   color: var(--green-500); }
.badge--paid::before      { background: var(--green-500); box-shadow: 0 0 6px var(--green-500); animation: blink 2s infinite; }
.badge--disputed  { background: rgba(239,68,68,0.14);   color: #F87171; }
.badge--disputed::before  { background: #F87171; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: var(--sp-4);
  transition: padding var(--t-base), background var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,27,61,0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-dark);
  padding-block: var(--sp-3);
  box-shadow: var(--sh-lg);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); }

.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand__mark {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-lg);
  color: var(--white); box-shadow: var(--glow-orange);
  letter-spacing: -0.04em;
}
.brand__mark--image { object-fit: contain; padding: 5px; }
/* Only the approved public header/footer instances fill their 40px logo area. */
.brand__mark--header-footer { padding: 1px; border-radius: calc(var(--r-md) - 1px); }
.brand__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-xl); color: var(--white); line-height: 1.05; white-space: nowrap; }
.brand__sub  { font-size: var(--fs-xs); color: var(--on-dark-muted); letter-spacing: 0.04em; }

.nav__links { display: flex; align-items: center; gap: var(--sp-8); }
.nav__links a { color: var(--on-dark-soft); font-size: var(--fs-sm); font-weight: var(--fw-medium); transition: color var(--t-fast); }
.nav__links a:hover { color: var(--white); }
.nav__links a:focus-visible,
.hamburger:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 4px; border-radius: var(--r-sm); }
.nav__cta { display: flex; align-items: center; gap: var(--sp-3); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: var(--sp-2); }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--t-base); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; display: none; flex-direction: column; gap: var(--sp-5);
  padding: calc(var(--sp-24) + var(--sp-2)) var(--sp-6) calc(var(--sp-6) + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--navy-950);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: var(--white); font-family: var(--font-display); font-weight: var(--fw-semi);
  font-size: var(--fs-2xl); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line-dark);
}
.mobile-menu .btn { margin-top: var(--sp-4); }

@media (max-width: 560px) {
  .mobile-menu .btn {
    align-self: center;
    width: calc(100% - 32px);
    max-width: 320px;
    min-width: 0;
    font-size: 1.25rem;
    line-height: 1.2;
    padding: .75rem 1rem;
    white-space: normal;
    text-align: center;
  }

  .mobile-menu .btn .arrow { flex: 0 0 auto; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .hamburger { display: flex; }
}
/* ============================================================================
   HERO  (full-bleed dark editorial band w/ product-UI mockup — Coinbase pattern)
   ============================================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950);
  padding: calc(var(--sp-32) + var(--sp-2)) 0 var(--sp-24);
  min-height: 100vh; display: flex; align-items: center;
}
/* grid texture */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(18,194,192,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,194,192,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 35%, transparent 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.orb--1 { width: 620px; height: 620px; background: var(--blue-600); top: -140px; left: -120px; opacity: 0.22; }
.orb--2 { width: 420px; height: 420px; background: var(--teal-500); bottom: -80px; right: 8%; opacity: 0.14; }
.orb--3 { width: 320px; height: 320px; background: var(--orange-500); top: 26%; right: 4%; opacity: 0.12; }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-16); align-items: center;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-12); text-align: center; }
  .hero__copy { min-width: 0; width: 100%; max-width: 640px; margin-inline: auto; }
  .hero__visual { min-width: 0; max-width: 540px; margin-inline: auto; width: 100%; }
}

.pill-tag {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 7px 15px; border-radius: var(--r-pill); margin-bottom: var(--sp-6);
  background: rgba(18,194,192,0.10); border: 1px solid rgba(18,194,192,0.26);
  color: var(--teal-300); font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.pill-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 8px var(--teal-400); animation: blink 2s infinite; }

.hero__title {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -0.028em;
  color: var(--white); margin-bottom: var(--sp-6);
}
.hero__title .grad {
  background: linear-gradient(100deg, var(--orange-400) 10%, var(--teal-400) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__sub { color: var(--on-dark-soft); font-size: clamp(1rem,1.4vw,var(--fs-lg)); line-height: var(--lh-loose); max-width: 540px; margin-bottom: var(--sp-10); }
@media (max-width: 980px) { .hero__sub { margin-inline: auto; } }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
@media (max-width: 980px) { .hero__actions { justify-content: center; } }
@media (max-width: 560px) {
  .hero__actions .btn--primary {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    line-height: var(--lh-snug);
    text-align: center;
  }
  .hero__actions .btn--primary .arrow { flex: 0 0 auto; }
}

.hero__trust { margin-top: var(--sp-10); display: flex; flex-wrap: wrap; gap: var(--sp-6); }
@media (max-width: 980px) { .hero__trust { justify-content: center; } }
.trust-item { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--on-dark-muted); }
.trust-item .ic { color: var(--teal-400); font-weight: var(--fw-bold); }

/* ============================================================================
   DASHBOARD MOCKUP  (reusable "command center" panel)
   ============================================================================ */
.dash {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(16,41,90,0.94), rgba(10,27,61,0.97));
  border: 1px solid var(--line-dark);
  border-radius: var(--r-2xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-xl), var(--glow-blue);
}
.dash::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(18,194,192,0.55), transparent); }

.dash__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-bottom: var(--sp-4); margin-bottom: var(--sp-5); border-bottom: 1px solid var(--line-dark); }
.dash__title { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--white); }
.dash__subtitle { font-size: var(--fs-xs); color: var(--on-dark-muted); margin-top: 2px; }
.dash__live { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--green-500); }
.dash__live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); animation: blink 1.5s infinite; }

.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-5); }
.kpi { position: relative; overflow: hidden; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--card-dark-bg); border: 1px solid var(--card-dark-border); }
.kpi::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; }
.kpi--teal::after   { background: var(--teal-500); }
.kpi--orange::after { background: var(--orange-500); }
.kpi--green::after  { background: var(--green-500); }
.kpi--blue::after   { background: var(--blue-400); }
.kpi__label { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 5px; }
.kpi__value { font-family: var(--font-mono); font-size: var(--fs-xl); font-weight: var(--fw-medium); color: var(--white); line-height: 1; letter-spacing: -0.03em; }
.kpi__sub   { font-size: 10px; color: var(--on-dark-muted); margin-top: 4px; }
.kpi--teal   .kpi__value { color: var(--teal-300); }
.kpi--orange .kpi__value { color: var(--orange-400); }
.kpi--green  .kpi__value { color: var(--green-500); }

.dash__label { font-size: 10px; font-weight: var(--fw-semi); letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--sp-3); }

/* Aging bars */
.aging { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.aging__row { display: flex; align-items: center; gap: var(--sp-3); }
.aging__key { width: 52px; flex-shrink: 0; text-align: right; font-size: 10px; color: var(--on-dark-muted); font-family: var(--font-mono); }
.aging__track { flex: 1; height: 7px; border-radius: var(--r-pill); background: rgba(255,255,255,0.06); overflow: hidden; }
.aging__fill { height: 100%; border-radius: var(--r-pill); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.aging__fill.is-on { transform: scaleX(var(--w, 0.5)); }
.aging__fill--a { background: linear-gradient(90deg, var(--teal-600), var(--teal-400)); }
.aging__fill--b { background: linear-gradient(90deg, var(--amber-500), #FCD34D); }
.aging__fill--c { background: linear-gradient(90deg, var(--orange-500), var(--orange-400)); }
.aging__fill--d { background: linear-gradient(90deg, var(--red-500), #F87171); }
.aging__val { width: 44px; flex-shrink: 0; font-size: 10px; color: var(--on-dark-soft); font-family: var(--font-mono); }

/* Invoice status pipeline + animated traveling card */
.pipe { position: relative; display: flex; align-items: flex-start; gap: var(--sp-2); padding-top: var(--sp-2); }
.pipe__rail { position: absolute; left: 14%; right: 14%; top: 16px; height: 2px; background: rgba(255,255,255,0.10); border-radius: 2px; }
.pipe__rail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-400), var(--amber-500), var(--teal-400), var(--green-500)); opacity: 0.5; border-radius: 2px; }
.pipe__step { position: relative; z-index: 1; flex: 1; text-align: center; }
.pipe__dot { width: 30px; height: 30px; margin: 0 auto var(--sp-1); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-bold); background: var(--navy-850); transition: transform var(--t-base), box-shadow var(--t-base); }
.pipe__dot--open      { color: var(--blue-400);  border: 1.5px solid var(--blue-400); }
.pipe__dot--contacted { color: var(--amber-500); border: 1.5px solid var(--amber-500); }
.pipe__dot--promise   { color: var(--teal-400);  border: 1.5px solid var(--teal-400); }
.pipe__dot--paid      { color: var(--green-500); border: 1.5px solid var(--green-500); }
.pipe__step.is-active .pipe__dot { transform: scale(1.18); box-shadow: 0 0 14px currentColor; }
.pipe__name { font-size: 9px; line-height: 1.2; color: var(--on-dark-muted); }

/* traveling invoice chip */
.invoice-chip {
  position: absolute; top: -30px; left: 0;
  display: flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: var(--white); color: var(--navy-900);
  font-size: 9px; font-weight: var(--fw-bold); font-family: var(--font-mono);
  box-shadow: var(--sh-lg); white-space: nowrap;
  transform: translateX(-50%); transition: left 0.7s var(--ease-out), background 0.4s ease, color 0.4s ease;
  z-index: 3;
}
.invoice-chip::after { content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); border: 4px solid transparent; border-top-color: var(--white); transition: border-top-color 0.4s ease; }
.invoice-chip .ico { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* SVG recovery sparkline */
.spark { margin-bottom: var(--sp-5); }
.spark__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-2); }
.spark__title { font-size: 10px; font-weight: var(--fw-semi); letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark-muted); }
.spark__delta { font-size: 10px; font-family: var(--font-mono); color: var(--green-500); font-weight: var(--fw-medium); }
.spark svg { width: 100%; height: 56px; display: block; }
.spark__path { fill: none; stroke: var(--teal-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease-out); }
.spark__path.is-on { stroke-dashoffset: 0; }
.spark__area { fill: url(#sparkGrad); opacity: 0; transition: opacity 1s ease 0.4s; }
.spark__area.is-on { opacity: 1; }

/* ============================================================================
   PROBLEM
   ============================================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: var(--sp-10); } }
@media (max-width: 820px) {
  #problem .split { grid-template-columns: minmax(0, 1fr); }
  #problem .split > * { min-width: 0; }
  #problem .split .btn { min-width: 0; max-width: 100%; white-space: normal; }
}

.prose-dark { color: var(--on-dark-soft); font-size: var(--fs-lg); line-height: var(--lh-loose); }
.prose-dark p + p { margin-top: var(--sp-5); }

.stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.iconrow {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6); border-radius: var(--card-radius);
  background: var(--card-dark-bg); border: 1px solid var(--card-dark-border);
  transition: transform var(--t-base), background var(--t-base), border-color var(--t-base);
}
.iconrow:hover { transform: translateX(5px); background: var(--card-dark-bg-hover); border-color: var(--card-dark-border-hover); }
.iconrow__ic { width: 46px; height: 46px; flex-shrink: 0; border: 1px solid currentColor; border-radius: var(--r-md); display: grid; place-items: center; }
.iconrow__ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.iconrow__ic--orange { background: rgba(255,107,43,0.2); color: var(--orange-400); }
.iconrow__ic--teal   { background: rgba(18,194,192,0.2); color: var(--teal-300); }
.iconrow__ic--blue   { background: rgba(76,141,245,0.2); color: var(--blue-300); }
.iconrow__title { display: block; font-family: var(--font-display); font-weight: var(--fw-semi); font-size: var(--fs-base); color: var(--white); margin-bottom: 8px; }
.iconrow__text  { display: block; font-size: var(--fs-sm); color: var(--on-dark-soft); line-height: var(--lh-base); }

/* Recovery Gap — relationship, not a mandatory account lifecycle */
.recovery-gap .section-head { margin-bottom: var(--sp-8); }
.recovery-gap__title { color: var(--text-heading); margin-bottom: var(--sp-5); }
.recovery-gap__copy { max-width: 760px; color: var(--text-body); font-size: var(--fs-lg); line-height: var(--lh-loose); }
.recovery-gap__copy p + p { margin-top: var(--sp-5); }
.recovery-gap__copy--wide { max-width: 860px; margin-bottom: var(--sp-10); }
.recovery-gap__statement { margin: 0 0 var(--sp-7); padding: var(--sp-4) var(--sp-5); border-left: 4px solid var(--orange-500); background: var(--orange-50); }
.recovery-gap__statement p { color: var(--text-heading); font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-bold); letter-spacing: .02em; text-transform: uppercase; }
.recovery-gap__relationship { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; gap: var(--sp-3); margin-top: var(--sp-10); }
.recovery-gap__card { min-height: 170px; padding: var(--sp-7); border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--white); box-shadow: var(--sh-sm); }
.recovery-gap__card h3 { color: var(--text-heading); font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); margin-bottom: var(--sp-3); text-transform: uppercase; }
.recovery-gap__card p { color: var(--text-body); font-size: var(--fs-base); line-height: var(--lh-base); }
.recovery-gap__card--routine { border-top: 4px solid var(--teal-500); }
.recovery-gap__card--collab { border-top: 4px solid var(--orange-500); background: var(--orange-50); }
.recovery-gap__card--collections { border-top: 4px solid var(--blue-400); }
.recovery-gap__separator { align-self: center; height: 1px; background: var(--line); position: relative; }
.recovery-gap__separator::before, .recovery-gap__separator::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--line); transform: translateY(-50%); }
.recovery-gap__separator::before { left: 0; }
.recovery-gap__separator::after { right: 0; }
.recovery-gap__boundary { max-width: 760px; margin: var(--sp-6) auto 0; color: var(--text-muted); font-size: var(--fs-sm); text-align: center; line-height: var(--lh-loose); }

.recovery-lane__inner { max-width: 900px; }
.recovery-lane .h2 { color: var(--text-heading); margin-bottom: var(--sp-7); }
.recovery-lane .h2 span { color: var(--orange-500); }
.recovery-lane__copy { max-width: 780px; color: var(--text-body); font-size: var(--fs-lg); line-height: var(--lh-loose); }
.recovery-lane__copy p + p { margin-top: var(--sp-5); }
.recovery-lane__transition { max-width: 820px; margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--line); color: var(--text-heading); font-weight: var(--fw-medium); line-height: var(--lh-loose); }
.recovery-lane__assessment { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-3); margin-top: var(--sp-6); }
.recovery-lane__assessment a { color: var(--teal-700); font-weight: var(--fw-bold); }
.recovery-lane__assessment a:hover { color: var(--teal-600); }
.recovery-lane__assessment span { color: var(--text-muted); font-size: var(--fs-sm); }

@media (max-width: 760px) {
  .recovery-gap__relationship { grid-template-columns: 1fr; gap: var(--sp-4); }
  .recovery-gap__separator { display: none; }
  .recovery-gap__card { min-height: auto; padding: var(--sp-6); }
  .recovery-gap__boundary { text-align: left; }
}

@media (max-width: 560px) {
  .recovery-gap__title br, .recovery-lane .h2 br { display: none; }
  .recovery-gap__statement { padding: var(--sp-4); }
  .recovery-gap__statement p { font-size: var(--fs-lg); }
  .recovery-gap__copy, .recovery-lane__copy { font-size: var(--fs-base); }
  .recovery-lane__assessment { align-items: flex-start; flex-direction: column; gap: var(--sp-2); }
}

/* Recovery Gap + Recovery Capacity — lightweight, non-linear visual storytelling */
.recovery-gap { position: relative; overflow: hidden; background: radial-gradient(circle at 76% 22%, rgba(18,194,192,.12), transparent 27%), radial-gradient(circle at 14% 82%, rgba(76,141,245,.10), transparent 32%), var(--bg-canvas); }
.recovery-gap::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42; background-image: linear-gradient(rgba(7,26,54,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(7,26,54,.045) 1px, transparent 1px); background-size: 48px 48px; }
.recovery-gap .container { position: relative; }
.recovery-gap .section-head { max-width: 800px; margin-bottom: var(--sp-8); }
.recovery-gap__copy p + p { margin-top: var(--sp-4); }
.recovery-gap__relationship { grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) 58px minmax(0, 1fr); }
.recovery-gap__card { min-height: 258px; border-radius: var(--card-radius-lg); background: rgba(255,255,255,.82); opacity: 0; transform: translateY(14px); transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out), border-color .32s var(--ease-out), background .32s var(--ease-out); }
.recovery-gap.is-active .recovery-gap__card { animation: recovery-card-in .42s var(--ease-out) forwards; }
.recovery-gap.is-active .recovery-gap__card--collab { animation-delay: .16s; }
.recovery-gap.is-active .recovery-gap__card--collections { animation-delay: .32s; }
.recovery-gap__card:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 4px; }
.recovery-gap__card:hover, .recovery-gap__card:focus { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.recovery-gap__card--collab { position: relative; border-color: rgba(255,107,43,.34); background: linear-gradient(145deg, rgba(255,255,255,.96), var(--orange-50)); box-shadow: var(--sh-md), 0 16px 34px rgba(7,26,54,.10); }
.recovery-gap__card--collab::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, rgba(18,194,192,.28), transparent 34%, transparent 66%, rgba(255,107,43,.22)); opacity: .65; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
.recovery-gap__responsibilities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-5); }
.recovery-gap__responsibilities span { padding: 5px 8px; border-radius: var(--r-pill); background: var(--teal-100); color: var(--teal-700); font-size: 10px; font-weight: var(--fw-semi); opacity: 0; transform: translateY(6px); }
.recovery-gap.is-active .recovery-gap__responsibilities span { animation: recovery-chip-in .36s var(--ease-out) forwards; }
.recovery-gap.is-active .recovery-gap__responsibilities span:nth-child(2) { animation-delay: .07s; }
.recovery-gap.is-active .recovery-gap__responsibilities span:nth-child(3) { animation-delay: .14s; }
.recovery-gap.is-active .recovery-gap__responsibilities span:nth-child(4) { animation-delay: .21s; }
.recovery-gap.is-active .recovery-gap__responsibilities span:nth-child(5) { animation-delay: .28s; }
.recovery-gap.is-active .recovery-gap__responsibilities span:nth-child(6) { animation-delay: .35s; }
.recovery-gap__card-detail { max-height: 0; margin-top: 0; overflow: hidden; color: var(--text-muted) !important; font-size: var(--fs-sm) !important; opacity: 0; transition: max-height .3s ease, margin-top .3s ease, opacity .2s ease; }
.recovery-gap__card:hover .recovery-gap__card-detail, .recovery-gap__card:focus .recovery-gap__card-detail { max-height: 56px; margin-top: var(--sp-4); opacity: 1; }
.recovery-gap__focus-line { height: 3px; margin-top: var(--sp-7); overflow: hidden; border-radius: var(--r-pill); background: rgba(18,194,192,.14); }
.recovery-gap__focus-line span { display: block; width: 52%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange-500), var(--teal-400)); transform: translateX(-110%); }
.recovery-gap.is-active .recovery-gap__focus-line span { animation: recovery-line-in .6s .55s var(--ease-out) forwards; }
.recovery-gap__separator { transform: scaleX(0); transform-origin: left; }
.recovery-gap.is-active .recovery-gap__separator { animation: recovery-connection .45s .38s var(--ease-out) forwards; }
.recovery-gap.is-active .recovery-gap__separator:last-of-type { animation-delay: .68s; }
.recovery-gap__statement { margin-top: var(--sp-8); padding: var(--sp-6); border-radius: 0 var(--r-lg) var(--r-lg) 0; background: rgba(255,255,255,.68); box-shadow: var(--sh-sm); }
.recovery-gap__statement span { display: block; max-width: 730px; margin-top: var(--sp-3); color: var(--text-body); line-height: var(--lh-loose); }
.recovery-gap__boundary { max-width: 790px; margin-left: 0; text-align: left; }
.recovery-gap__assessment { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); }
.recovery-gap__assessment > span { color: var(--text-muted); font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: .07em; text-transform: uppercase; }
.recovery-gap__assessment a { color: var(--teal-700); font-weight: var(--fw-bold); }

.recovery-lane { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--bg-soft), #EEF7FC 55%, var(--bg-soft)); }
.recovery-lane__inner { max-width: 1000px; }
.recovery-lane__copy { max-width: 690px; }
.recovery-lane__diagram { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 130px minmax(0, .86fr); gap: var(--sp-4); margin-top: var(--sp-10); padding: var(--sp-7); border: 1px solid var(--line); border-radius: var(--r-xl); background: rgba(255,255,255,.78); box-shadow: var(--sh-md); }
.recovery-lane__main-lane, .recovery-lane__dedicated-lane { position: relative; padding: var(--sp-5); border-radius: var(--r-lg); }
.recovery-lane__main-lane { border: 1px solid rgba(18,194,192,.32); background: linear-gradient(125deg, rgba(18,194,192,.10), rgba(255,255,255,.82)); }
.recovery-lane__dedicated-lane { align-self: end; border: 1px solid rgba(255,107,43,.34); background: linear-gradient(125deg, rgba(255,107,43,.10), rgba(255,255,255,.88)); opacity: .4; transform: translateY(12px); transition: opacity .45s .9s var(--ease-out), transform .45s .9s var(--ease-out); }
.recovery-lane.is-active .recovery-lane__dedicated-lane { opacity: 1; transform: none; }
.recovery-lane__lane-head { display: flex; justify-content: space-between; gap: var(--sp-3); align-items: baseline; margin-bottom: var(--sp-5); }
.recovery-lane__lane-head > span { color: var(--text-heading); font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-bold); letter-spacing: .05em; text-transform: uppercase; }
.recovery-lane__lane-head small { color: var(--text-muted); font-size: 10px; }
.recovery-lane__main-flow, .recovery-lane__dedicated-flow { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.recovery-lane__chip, .recovery-lane__group, .recovery-lane__dedicated-flow span { padding: 7px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: var(--fw-semi); }
.recovery-lane__chip { background: rgba(18,194,192,.14); color: var(--teal-700); }
.recovery-lane.is-active .recovery-lane__chip { animation: recovery-main-flow .5s var(--ease-out) both; }
.recovery-lane.is-active .recovery-lane__chip:nth-child(2) { animation-delay: .09s; }
.recovery-lane.is-active .recovery-lane__chip:nth-child(3) { animation-delay: .18s; }
.recovery-lane.is-active .recovery-lane__chip:nth-child(4) { animation-delay: .27s; }
.recovery-lane__group { border: 1px dashed rgba(7,26,54,.18); color: var(--text-muted); }
.recovery-lane__recovery-work { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-5); padding: var(--sp-3) var(--sp-4); border-left: 3px solid var(--orange-500); background: rgba(255,107,43,.10); color: var(--text-heading); opacity: .65; transition: transform .48s .55s var(--ease-out), opacity .35s .55s ease; }
.recovery-lane__recovery-work span { font-weight: var(--fw-bold); }
.recovery-lane__recovery-work small { color: var(--text-muted); font-size: var(--fs-xs); }
.recovery-lane.is-active .recovery-lane__recovery-work { opacity: 1; transform: translateX(18px); }
.recovery-lane__branch { position: relative; align-self: center; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; }
.recovery-lane__branch::after { content: ""; position: absolute; right: 0; top: 0; width: 1px; height: 54px; background: var(--orange-400); transform-origin: top; transform: scaleY(0); }
.recovery-lane.is-active .recovery-lane__branch { animation: recovery-connection .38s .72s var(--ease-out) forwards; }
.recovery-lane.is-active .recovery-lane__branch::after { animation: recovery-branch .32s 1.04s var(--ease-out) forwards; }
.recovery-lane__dedicated-flow span { background: rgba(255,107,43,.12); color: var(--orange-600); opacity: 0; transform: translateY(8px); }
.recovery-lane.is-active .recovery-lane__dedicated-flow span { animation: recovery-chip-in .36s 1.08s var(--ease-out) forwards; }
.recovery-lane.is-active .recovery-lane__dedicated-flow span:nth-child(2) { animation-delay: 1.16s; }
.recovery-lane.is-active .recovery-lane__dedicated-flow span:nth-child(3) { animation-delay: 1.24s; }
.recovery-lane__lockup { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-3); padding-top: var(--sp-7); color: var(--text-heading); text-align: center; opacity: 0; transform: translateY(10px); }
.recovery-lane.is-active .recovery-lane__lockup { animation: recovery-lockup .45s 1.36s var(--ease-out) forwards; }
.recovery-lane__lockup strong { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); text-transform: uppercase; }
.recovery-lane__lockup strong:last-of-type { color: var(--orange-500); }
.recovery-lane__lockup > span { color: var(--teal-600); }
.recovery-lane__lockup p { flex-basis: 100%; margin-top: var(--sp-2); color: var(--text-body); font-size: var(--fs-base); }
.recovery-lane__transition { max-width: 860px; }

@keyframes recovery-chip-in { to { opacity: 1; transform: none; } }
@keyframes recovery-card-in { to { opacity: 1; transform: none; } }
@keyframes recovery-line-in { to { transform: translateX(0); } }
@keyframes recovery-connection { to { transform: scaleX(1); } }
@keyframes recovery-main-flow { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes recovery-branch { to { transform: scaleY(1); } }
@keyframes recovery-lockup { to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .recovery-gap__relationship { grid-template-columns: 1fr; gap: var(--sp-4); }
  .recovery-gap__separator { display: none; }
  .recovery-gap__card { min-height: auto; }
  .recovery-gap__responsibilities span, .recovery-gap__card-detail, .recovery-lane__dedicated-flow span, .recovery-lane__lockup { opacity: 1; transform: none; }
  .recovery-gap__card { opacity: 1; transform: none; }
  .recovery-gap__card-detail { max-height: none; margin-top: var(--sp-4); }
  .recovery-lane__diagram { grid-template-columns: 1fr; }
  .recovery-lane__branch { width: 1px; height: 38px; margin-left: var(--sp-6); transform: scaleY(0); transform-origin: top; }
  .recovery-lane__branch::after { display: none; }
  .recovery-lane.is-active .recovery-lane__branch { animation-name: recovery-branch; }
  .recovery-lane__dedicated-lane { transform: none; }
}

@media (max-width: 560px) {
  .recovery-gap__card, .recovery-gap__statement, .recovery-lane__diagram { padding: var(--sp-5); }
  .recovery-gap__assessment { align-items: flex-start; flex-direction: column; gap: var(--sp-2); }
  .recovery-lane__lane-head, .recovery-lane__recovery-work { align-items: flex-start; flex-direction: column; }
  .recovery-lane__lockup { justify-content: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .recovery-gap *, .recovery-gap *::before, .recovery-gap *::after, .recovery-lane *, .recovery-lane *::before, .recovery-lane *::after { animation: none !important; transition: none !important; }
  .recovery-gap__card, .recovery-gap__responsibilities span, .recovery-gap__card-detail, .recovery-lane__dedicated-lane, .recovery-lane__dedicated-flow span, .recovery-lane__lockup { opacity: 1; transform: none; }
  .recovery-gap__card-detail { max-height: none; margin-top: var(--sp-4); }
  .recovery-gap__separator { transform: scaleX(1); }
  .recovery-lane__branch { transform: scaleX(1); }
  .recovery-lane__branch::after { transform: scaleY(1); }
  .recovery-gap__focus-line span { transform: none; }
}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .recovery-lane__branch { transform: scaleY(1); }
}

/* Premium recovery visual storytelling — custom SVG operational scenes */
.recovery-gap, .recovery-lane { isolation: isolate; overflow: hidden; }
.recovery-gap { background: #06182f; }
.recovery-lane { padding-top: 0; background: #081d39; }
.recovery-gap::before, .recovery-lane::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: 1; background: radial-gradient(circle at 84% 16%, rgba(18,194,192,.16), transparent 28%), radial-gradient(circle at 15% 92%, rgba(76,141,245,.16), transparent 34%), linear-gradient(120deg, rgba(255,107,43,.07), transparent 44%); }
.recovery-scene { position: relative; display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(56px, 5vw, 72px); }
.recovery-scene--capacity { grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr); align-items: start; }
.recovery-scene__copy { position: relative; z-index: 1; width: 100%; max-width: 460px; }
.recovery-scene__copy .eyebrow { color: var(--teal-400); }
.recovery-scene__copy .h2, .recovery-gap__title { color: var(--white); margin-bottom: var(--sp-5); }
.recovery-scene__copy .h2 span { color: var(--orange-400); }
.recovery-gap__copy, .recovery-lane__copy { max-width: 460px; color: rgba(232,241,250,.78); font-size: var(--fs-lg); line-height: var(--lh-loose); }
.recovery-scene__visual { position: relative; min-width: 0; padding: clamp(12px, 2vw, 20px); border: 1px solid rgba(166,211,235,.17); border-radius: 28px; background: linear-gradient(140deg, rgba(14,47,77,.92), rgba(5,20,42,.94)); box-shadow: 0 30px 70px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.05); }
.recovery-scene__visual::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(18,194,192,.42), transparent 26%, transparent 72%, rgba(255,107,43,.34)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
.scene-topline { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 5px 9px 12px; color: rgba(210,235,248,.68); font-family: var(--font-mono); font-size: 10px; font-weight: var(--fw-semi); letter-spacing: .1em; text-transform: uppercase; }
.scene-topline span:last-child { color: var(--orange-300); }
.scene-svg { display: block; width: 100%; height: auto; overflow: visible; }
.scene-frame { fill: rgba(4,20,42,.84); stroke: rgba(166,211,235,.18); }
.scene-grid path { fill: none; stroke: rgba(166,211,235,.08); stroke-width: 1; }
.scene-svg text { fill: #eaf7fb; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.scene-svg .scene-label { fill: rgba(205,230,242,.68); font-size: 8px; font-weight: 600; letter-spacing: .05em; }
.scene-track { fill: none; stroke: url(#gapTrack); stroke-linecap: round; stroke-width: 2; stroke-dasharray: 5 11; }
.scene-pulse { fill: #12c2c0; filter: url(#gapGlow); }
.scene-account rect { fill: #d9f1f6; stroke: #12c2c0; stroke-width: 1.5; }
.scene-account path { stroke: #0d5470; stroke-width: 2; }
.scene-aging > rect { fill: rgba(255,255,255,.05); stroke: rgba(166,211,235,.22); }
.scene-aging > path { stroke: rgba(166,211,235,.22); }
.scene-account--aging rect { fill: #fff0e8; stroke: #ff6b2b; }
.scene-account--aging path { stroke: #8e391a; }
.scene-gap-band path { stroke: url(#gapRecovery); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 7; }
.scene-gap-band > text:first-of-type { fill: #ffb18f; }
.scene-recovery rect { fill: rgba(255,107,43,.10); stroke: rgba(255,107,43,.72); }
.scene-recovery > text:first-of-type { fill: #ffb18f; }
.scene-recovery-path { fill: none; stroke: url(#gapRecovery); stroke-width: 3; stroke-linecap: round; }
.scene-stage circle { fill: #12c2c0; stroke: #d8ffff; stroke-width: 2; filter: url(#gapGlow); }
.scene-collections rect { fill: rgba(76,141,245,.08); stroke: rgba(76,141,245,.48); }
.scene-collections > text:first-of-type { fill: #b9d0ff; }
.scene-collections path { stroke: rgba(76,141,245,.55); stroke-dasharray: 4 5; }
.scene-stage-key { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 5px; padding: 10px 4px 2px; color: rgba(225,241,247,.77); font-size: 10px; line-height: 1.25; text-align: center; }
.scene-stage-key span { min-width: 0; padding: 7px 4px; border-top: 1px solid rgba(166,211,235,.14); }
.recovery-gap__statement { grid-column: 1 / -1; margin: 0; padding: var(--sp-6) 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.recovery-gap__statement p { color: var(--white); font-size: clamp(1.25rem, 2vw, 1.65rem); }
.recovery-gap__boundary { grid-column: 1 / -1; max-width: 760px; margin: 0; color: rgba(225,241,247,.68); text-align: left; }
.recovery-gap__assessment { grid-column: 1 / -1; margin-top: 0; }
.recovery-gap__assessment > span { color: rgba(225,241,247,.58); }
.recovery-gap__assessment a { color: var(--teal-300); }

.scene-operation > rect { fill: rgba(18,194,192,.07); stroke: rgba(18,194,192,.48); }
.scene-operation > text:first-of-type { fill: #86f2ee; }
.scene-workstream path { stroke: rgba(18,194,192,.38); stroke-linecap: round; stroke-width: 2; stroke-dasharray: 4 8; }
.scene-workstream circle { fill: #12c2c0; filter: url(#capGlow); }
.scene-capacity-queue > rect { fill: rgba(255,107,43,.10); stroke: rgba(255,107,43,.68); }
.scene-capacity-queue > text:first-of-type { fill: #ffb18f; }
.scene-stack rect { fill: #ffb18f; stroke: #ff6b2b; }
.scene-capacity-transfer path { fill: none; stroke: url(#capAccent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.scene-dedicated > rect { fill: rgba(255,107,43,.10); stroke: rgba(255,107,43,.76); }
.scene-dedicated > text:first-of-type { fill: #ffb18f; }
.scene-dedicated-item rect { fill: rgba(255,255,255,.06); stroke: rgba(255,178,143,.32); }
.scene-dedicated-item text { fill: rgba(255,226,212,.9); font-size: 8px; }
.scene-dedicated-path { fill: none; stroke: url(#capAccent); stroke-width: 3; stroke-linecap: round; }
.recovery-lane__transition { max-width: 460px; margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(166,211,235,.2); color: rgba(232,241,250,.76); font-weight: var(--fw-regular); }
.recovery-lane__lockup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-3); margin-top: var(--sp-8); padding: var(--sp-5) 0 0; border-top: 1px solid rgba(166,211,235,.16); color: var(--white); text-align: center; opacity: 1; transform: none; }
.recovery-lane__lockup strong { font-size: var(--fs-base); }
.recovery-lane__lockup strong:last-of-type, .recovery-lane__lockup > span { color: var(--orange-400); }
.recovery-lane__lockup > span { font-size: 1.5rem; }
.recovery-lane__lockup p { grid-column: 1 / -1; margin: var(--sp-2) 0 0; color: var(--teal-200); font-size: var(--fs-base); }

.scene-account--aging, .scene-gap-band, .scene-recovery, .scene-stage circle, .scene-capacity-queue, .scene-capacity-transfer, .scene-dedicated, .scene-dedicated-item { opacity: 0; transform: translateY(12px); }
.recovery-lane__lockup { opacity: 0; transform: translateY(12px); }
.recovery-gap.is-active .scene-routine .scene-track, .recovery-gap.is-active .scene-routine .scene-pulse, .recovery-lane.is-active .scene-workstream { animation: scene-active-flow 1.2s ease-out both; }
.recovery-gap.is-active .routine-one { animation: scene-routine-document 1.15s .1s ease-out both; }.recovery-gap.is-active .routine-two { animation: scene-routine-document 1.15s .22s ease-out both; }.recovery-gap.is-active .routine-three { animation: scene-routine-document 1.15s .34s ease-out both; }
.recovery-gap.is-active .aging-one { animation: scene-aging-document 1.05s .55s ease-out both; }.recovery-gap.is-active .aging-two { animation: scene-aging-document 1.05s .68s ease-out both; }.recovery-gap.is-active .aging-three { animation: scene-aging-document 1.05s .81s ease-out both; }
.recovery-gap.is-active .scene-gap-band { animation: scene-reveal .65s .96s ease-out both; }.recovery-gap.is-active .scene-recovery { animation: scene-reveal .65s 1.25s ease-out both; }.recovery-gap.is-active .scene-stage circle { animation: scene-stage-pulse .45s 1.55s ease-out both; }.recovery-gap.is-active .scene-stage circle:nth-child(2) { animation-delay: 1.7s; }.recovery-gap.is-active .scene-stage circle:nth-child(3) { animation-delay: 1.85s; }.recovery-gap.is-active .scene-stage circle:nth-child(4) { animation-delay: 2s; }.recovery-gap.is-active .scene-stage circle:nth-child(5) { animation-delay: 2.15s; }
.recovery-lane.is-active .scene-workstream:nth-of-type(2) { animation-delay: .12s; }.recovery-lane.is-active .scene-workstream:nth-of-type(3) { animation-delay: .24s; }.recovery-lane.is-active .scene-workstream:nth-of-type(4) { animation-delay: .36s; }
.recovery-lane.is-active .scene-capacity-queue { animation: scene-reveal .55s .6s ease-out both; }.recovery-lane.is-active .scene-stack { animation: scene-stack-in .6s .82s ease-out both; }.recovery-lane.is-active .scene-capacity-transfer { animation: scene-reveal .5s 1.05s ease-out both; }.recovery-lane.is-active .scene-dedicated { animation: scene-reveal .65s 1.25s ease-out both; }.recovery-lane.is-active .scene-dedicated-item { animation: scene-reveal .35s 1.6s ease-out both; }.recovery-lane.is-active .scene-dedicated-item:nth-of-type(2) { animation-delay: 1.75s; }.recovery-lane.is-active .scene-dedicated-item:nth-of-type(3) { animation-delay: 1.9s; }
.recovery-lane.is-active .recovery-lane__lockup { animation: scene-reveal .55s 2.1s ease-out both; }
.recovery-scene__visual:hover { border-color: rgba(18,194,192,.42); box-shadow: 0 32px 78px rgba(0,0,0,.32), 0 0 32px rgba(18,194,192,.08); }
@keyframes scene-active-flow { from { opacity: .2; stroke-dashoffset: 36; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes scene-routine-document { from { opacity: 0; transform: translateX(-26px); } 60% { opacity: 1; } to { opacity: 1; transform: translateX(8px); } }
@keyframes scene-aging-document { from { opacity: 0; transform: translate(-62px,-22px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes scene-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes scene-stage-pulse { from { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.18); } to { opacity: 1; transform: none; } }
@keyframes scene-stack-in { from { opacity: 0; transform: translate(-26px,8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) { .recovery-scene, .recovery-scene--capacity { grid-template-columns: 1fr; gap: var(--sp-8); }.recovery-scene--capacity .recovery-scene__visual { order: 2; }.recovery-scene__copy { padding-bottom: var(--sp-10); }.recovery-scene__copy, .recovery-gap__copy, .recovery-lane__copy, .recovery-lane__transition { max-width: 690px; }.recovery-gap__statement, .recovery-gap__boundary, .recovery-gap__assessment { grid-column: auto; } }
@media (max-width: 560px) { .recovery-scene__visual { margin-inline: calc(var(--sp-4) * -1); border-radius: 18px; padding: 9px; }.scene-topline { padding: 5px 4px 9px; font-size: 8px; }.scene-stage-key { grid-template-columns: repeat(2, minmax(0,1fr)); font-size: 9px; }.scene-stage-key span:last-child { grid-column: 1 / -1; }.recovery-gap__copy, .recovery-lane__copy { font-size: var(--fs-base); }.recovery-lane__lockup { grid-template-columns: 1fr; text-align: left; }.recovery-lane__lockup > span { display: none; }.recovery-lane__lockup p { grid-column: auto; }.scene-svg text { font-size: 10px; }.scene-svg .scene-label { font-size: 7px; } }
@media (prefers-reduced-motion: reduce) { .recovery-gap .scene-svg *, .recovery-lane .scene-svg * { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* Our Approach — experience-led operating principles */
.approach__experience { max-width: 780px; margin-top: var(--sp-4); }
.approach-operating-grid { margin-top: 0; }
.approach-operating-card { min-height: 262px; }
.approach-visual { display: block; width: 110px; height: 84px; margin: -4px -4px var(--sp-4) auto; padding: 2px; color: var(--teal-700); border-radius: var(--r-md); background: linear-gradient(135deg, rgba(18,194,192,.12), rgba(76,141,245,.06)); transition: transform var(--t-base), filter var(--t-base), background var(--t-base); }
.approach-visual svg { display: block; width: 100%; height: 100%; overflow: visible; }
.approach-visual path, .approach-visual rect, .approach-visual circle { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.approach-visual text { fill: currentColor; font-family: var(--font-mono); font-size: 7px; font-weight: var(--fw-bold); }
.approach-visual .av-node, .approach-visual .av-marker circle, .approach-visual--focus .av-signal { stroke: var(--brand-accent); fill: var(--brand-accent); }
.approach-visual .av-account, .approach-visual .av-document, .approach-visual .av-workflow { color: var(--blue-500); }
.approach-visual .av-path, .approach-visual .av-connection { stroke-dasharray: 4 6; }
.approach-visual--communication { color: var(--orange-600); }.approach-visual--focus { color: var(--teal-700); }.approach-visual--operations { color: var(--blue-500); }.approach-visual--boundaries { color: var(--orange-600); }.approach-visual--scale { color: var(--teal-700); }
.approach-visual .av-document, .approach-visual .av-account, .approach-visual .av-workflow, .approach-visual .av-scope { transform-box: fill-box; transform-origin: center; }
.approach-visual--people .av-people { animation: approach-professionals 6.3s ease-in-out infinite .25s; }.approach-visual--people .av-document { animation: approach-document 6.3s ease-in-out infinite .25s; }.approach-visual--people .av-path { animation: approach-dash 6.3s linear infinite .25s; }
.approach-visual--communication .av-message { animation: approach-message 6.9s ease-in-out infinite .7s; }.approach-visual--communication .av-wave { animation: approach-wave 5.4s ease-in-out infinite .7s; }.approach-visual--communication .av-node { animation: approach-node 6.9s ease-in-out infinite 1.1s; }
.approach-visual--focus .av-account { animation: approach-account-progress 5.8s ease-in-out infinite 1.2s; }.approach-visual--focus .av-marker { animation: approach-node 5.8s ease-in-out infinite 1.6s; }.approach-visual--focus .av-path { animation: approach-dash 5.8s linear infinite 1.2s; }
.approach-visual--operations .av-workflow { animation: approach-workflow 7.1s ease-in-out infinite .4s; }.approach-visual--operations .av-checkpoints circle { animation: approach-node 7.1s ease-in-out infinite .7s; }.approach-visual--operations .av-checkpoints circle:nth-child(2) { animation-delay: 1.35s; }.approach-visual--operations .av-checkpoints circle:nth-child(3) { animation-delay: 2s; }.approach-visual--operations .av-path { animation: approach-dash 7.1s linear infinite .4s; }
.approach-visual--boundaries .av-scope { animation: approach-scope 6.5s ease-in-out infinite .9s; }.approach-visual--boundaries .av-boundary { animation: approach-boundary 6.5s ease-in-out infinite .9s; }
.approach-visual--scale .av-capacity { transform-box: fill-box; transform-origin: center; animation: approach-scale 8.2s ease-in-out infinite .3s; }.approach-visual--scale .av-account { animation: approach-account-enter 8.2s ease-in-out infinite .3s; }.approach-visual--scale .av-path { animation: approach-dash 8.2s linear infinite .3s; }
.approach-operating-card:hover .approach-visual { transform: translateY(-2px); filter: drop-shadow(0 5px 9px rgba(18,194,192,.22)); background: linear-gradient(135deg, rgba(18,194,192,.18), rgba(255,107,43,.08)); }
@keyframes approach-dash { to { stroke-dashoffset: -34; } }
@keyframes approach-professionals { 0%,100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
@keyframes approach-document { 0%,100% { transform: translate(-8px,0); opacity: .66; } 50% { transform: translate(8px,-3px); opacity: 1; } }
@keyframes approach-message { 0%,100% { transform: translateX(-4px); } 50% { transform: translateX(7px); } }
@keyframes approach-wave { 0%,100% { transform: scaleY(.82); opacity: .6; } 50% { transform: scaleY(1.16); opacity: 1; } }
@keyframes approach-node { 0%,100% { opacity: .58; transform: scale(.88); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes approach-account-progress { 0%,100% { transform: translateX(0); } 50% { transform: translateX(36px); } }
@keyframes approach-workflow { 0%,100% { transform: translateX(-11px); opacity: .68; } 50% { transform: translateX(22px); opacity: 1; } }
@keyframes approach-scope { 0%,100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@keyframes approach-boundary { 0%,100% { opacity: .45; } 50% { opacity: 1; stroke-width: 3; } }
@keyframes approach-scale { 0%,100% { transform: scale(.94); } 50% { transform: scale(1.06); } }
@keyframes approach-account-enter { 0%,100% { transform: translate(-7px,3px); opacity: .65; } 50% { transform: translate(7px,-3px); opacity: 1; } }
@media (max-width: 560px) { .approach-visual { width: 94px; height: 72px; }.approach-operating-card { min-height: 0; }.approach-visual--operations .av-checkpoints circle:nth-child(3), .approach-visual--communication .av-node { animation: none; } }
@media (prefers-reduced-motion: reduce) { .approach-visual *, .approach-visual { animation: none !important; transition: none !important; } }

/* ============================================================================
   SERVICES — focused B2B AR Recovery
   ============================================================================ */
.services__head { max-width: 760px; margin-inline: auto; }
.services__subhead { margin-bottom: var(--sp-4); color: var(--teal-300); font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-semi); line-height: var(--lh-snug); }
.services-checklist-wrap { max-width: 980px; margin: var(--sp-10) auto 0; }
.services-checklist__heading { margin-bottom: var(--sp-5); color: var(--white); font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: .07em; text-transform: uppercase; }
.services-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-6); }
.services-checklist__item { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; padding: var(--sp-3) 0; color: rgba(218,232,244,.82); font-size: var(--fs-base); font-weight: var(--fw-medium); line-height: var(--lh-snug); opacity: .88; transition: color var(--t-base), opacity var(--t-base); }
.services-checklist__box { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid rgba(166,211,235,.52); border-radius: 7px; background: rgba(255,255,255,.025); transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base), transform var(--t-base); }
.services-checklist__box svg { width: 18px; height: 18px; fill: none; stroke: var(--teal-300); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
.services-checklist__box path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset var(--t-base); }
.services-checklist__item.is-complete { color: #d5e9f5; opacity: .94; }
.services-checklist__item.is-complete .services-checklist__box { border-color: rgba(93,224,220,.72); background: rgba(18,194,192,.10); }
.services-checklist__item.is-active { color: var(--white); opacity: 1; }
.services-checklist__item.is-active .services-checklist__box { border-color: var(--teal-300); background: linear-gradient(135deg, rgba(18,194,192,.22), rgba(255,107,43,.14)); box-shadow: 0 0 0 3px rgba(18,194,192,.08), 0 0 16px rgba(18,194,192,.16); }
.services-checklist__item.is-active .services-checklist__box path,.services-checklist__item.is-complete .services-checklist__box path { stroke-dashoffset: 0; }
.services-checklist__item.is-active.is-activating .services-checklist__box { animation: service-check-pulse .34s cubic-bezier(.16,.72,.28,1); }
.services-checklist__item.is-active.is-activating .services-checklist__box path { animation: service-check-stroke .34s ease-out both; }
.services-boundary { max-width: 980px; margin: var(--sp-10) auto 0; padding: var(--sp-5) var(--sp-6); border-left: 3px solid var(--orange-400); background: rgba(255,107,43,.08); }
.services-boundary h3 { color: var(--white); font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-bold); letter-spacing: .07em; text-transform: uppercase; }
.services-boundary p { margin-top: var(--sp-3); color: var(--on-dark-soft); font-size: var(--fs-sm); line-height: var(--lh-loose); }
@keyframes service-check-pulse { 50% { transform: scale(1.08); } }
@keyframes service-check-stroke { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@media (max-width: 700px) { .services-checklist { grid-template-columns: 1fr; gap: var(--sp-2); }.services-checklist-wrap { margin-top: var(--sp-8); }.services-boundary { margin-top: var(--sp-8); } }
@media (prefers-reduced-motion: reduce) { .services-checklist__item,.services-checklist__box,.services-checklist__box path { animation: none !important; transition: none !important; } }

/* ============================================================================
   ENGAGEMENT & PRICING — transparent framework, not self-service checkout
   ============================================================================ */
.pricing__head { max-width: 860px; margin-inline: auto; }
.pricing__title { color: var(--text-heading); margin-bottom: var(--sp-4); }
.engagement-environments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); margin-top: var(--sp-10); }
.engagement-environment { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--sp-4); align-items: start; padding: var(--sp-5) 0; border-top: 1px solid var(--line); }
.engagement-environment__icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(21, 178, 184, .28); border-radius: var(--r-md); background: rgba(21, 178, 184, .07); color: var(--teal-700); }
.engagement-environment__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.engagement-environment h3 { color: var(--text-heading); font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-bold); letter-spacing: .035em; line-height: 1.25; text-transform: uppercase; }
.engagement-environment p { margin-top: var(--sp-3); color: var(--text-body); font-size: var(--fs-sm); line-height: var(--lh-loose); }
.pricing__implementation { max-width: 860px; margin: var(--sp-7) auto 0; padding: var(--sp-5) var(--sp-6); border-left: 3px solid var(--orange-500); background: rgba(7, 26, 54, .035); color: var(--text-body); font-size: var(--fs-sm); line-height: var(--lh-loose); }
.pricing__principle { display: grid; gap: var(--sp-2); margin: var(--sp-7) auto 0; color: var(--text-heading); font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-bold); letter-spacing: .045em; line-height: 1.3; text-align: center; text-transform: uppercase; }

.pricing-fees { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--sp-10); margin-top: var(--sp-16); padding: var(--sp-8); border-radius: var(--r-xl); background: var(--navy-950); }
.pricing-fees .eyebrow { color: var(--teal-300); }
.pricing-fees .eyebrow::before { background: var(--teal-400); }
.pricing-fees h3 { margin: var(--sp-4) 0; color: var(--white); font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); }
.pricing-fees__copy > p { color: var(--on-dark-soft); line-height: var(--lh-loose); }
.pricing-fees__table-wrap { align-self: center; }
.pricing-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-md); overflow: hidden; }
.pricing-table th { padding: var(--sp-3) var(--sp-4); color: var(--on-dark-muted); font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.pricing-table td { padding: var(--sp-3) var(--sp-4); border-top: 1px solid rgba(255,255,255,.08); color: var(--on-dark-soft); font-size: var(--fs-sm); }
.pricing-table td:last-child, .pricing-table th:last-child { width: 30%; text-align: right; }
.pricing-table td:last-child { color: var(--teal-300); font-family: var(--font-mono); font-weight: var(--fw-bold); }
.pricing-fees__boundary { grid-column: 1 / -1; margin-top: calc(var(--sp-2) * -1); color: var(--on-dark-muted); font-size: var(--fs-xs); line-height: var(--lh-base); }

.pricing-cta { max-width: 620px; margin: var(--sp-10) auto 0; padding-top: var(--sp-7); border-top: 1px solid var(--line); text-align: center; }
.pricing-cta h3 { color: var(--text-heading); font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-bold); text-transform: uppercase; }
.pricing-cta p { margin: var(--sp-3) auto var(--sp-5); color: var(--text-body); line-height: var(--lh-loose); }

@media (max-width: 900px) {
  .engagement-environments { grid-template-columns: 1fr; gap: var(--sp-2); }
  .pricing-fees { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pricing__title { font-size: clamp(2rem, 9vw, 2.65rem); }
  .engagement-environment { grid-template-columns: 46px minmax(0, 1fr); gap: var(--sp-3); }
  .engagement-environment__icon { width: 46px; height: 46px; }
  .pricing__implementation { padding: var(--sp-4) var(--sp-5); }
  .pricing-fees { padding: var(--sp-6); }
  .pricing-table th, .pricing-table td { padding: var(--sp-3); }
  .pricing-table th { font-size: 10px; }
  .pricing-table td { font-size: var(--fs-xs); }
}

/* ============================================================================
   SCOPE CLARITY — recovery handoff to client-controlled action
   ============================================================================ */
.scope-clarity__intro { max-width: 760px; }
#boundaries { scroll-margin-top: 104px; }
.scope-clarity__intro .h2 { margin-bottom: var(--sp-8); }
.scope-clarity__intro > p { max-width: 640px; color: #d9e6f3; font-size: var(--fs-base); line-height: var(--lh-loose); }
.scope-demo { position: relative; overflow: hidden; margin-top: var(--sp-8); padding: var(--sp-8) var(--sp-6) var(--sp-6); border: 1px solid rgba(127,168,212,.22); border-radius: var(--r-xl); background: linear-gradient(135deg, rgba(4,18,42,.98), rgba(8,34,69,.95)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 24px 70px rgba(0,0,0,.18); }
.scope-demo::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 46%, rgba(255,107,43,.10), transparent 23%), radial-gradient(circle at 12% 58%, rgba(18,194,192,.09), transparent 28%), radial-gradient(circle at 88% 50%, rgba(36,137,221,.10), transparent 28%); }
.scope-demo__header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); max-width: 840px; margin: 0 auto; }
.scope-demo__heading { color: #f5fbff; font-family: var(--font-display); font-size: clamp(.72rem,1.25vw,.92rem); font-weight: var(--fw-bold); letter-spacing: .08em; line-height: 1.2; text-shadow: 0 1px 10px rgba(0,0,0,.24); text-transform: uppercase; }.scope-demo__heading--recovery { color: #e1fffe; }.scope-demo__heading--issue { color: #fff0e7; }.scope-demo__heading--client { color: #e6f4ff; }.scope-demo__arrow { color: rgba(234,244,255,.82); font-size: 1.1rem; }
.scope-demo__stage { position: relative; z-index: 1; min-height: 315px; margin-top: var(--sp-4); }.scope-demo__stage::before { content: ""; position: absolute; z-index: 0; top: 66%; left: 49%; width: 31%; border-top: 1px dashed rgba(255,177,139,.34); transform: rotate(-8deg); transform-origin: left center; }.scope-demo__svg { position: relative; z-index: 1; display: block; width: 100%; height: 300px; overflow: visible; }
.scope-demo__track { fill: none; stroke: rgba(185,215,242,.13); stroke-width: 3; }.scope-demo__track-glow { fill: none; stroke: url(#scopeRecoveryPath); stroke-width: 16; filter: url(#scopeGlow); opacity: .15; }.scope-demo__progress { fill: none; stroke: url(#scopeRecoveryPath); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 950; stroke-dashoffset: 950; }
.scope-demo__recovery-node circle { fill: rgba(18,194,192,.14); stroke: var(--teal-300); stroke-width: 2; }.scope-demo__recovery-node path { fill: none; stroke: #d4fffe; stroke-width: 2; stroke-linecap: round; }.scope-demo__issue-node,.scope-demo__client-node { opacity: .42; }.scope-demo__issue-node circle { fill: rgba(255,107,43,.13); stroke: var(--orange-400); stroke-width: 2; }.scope-demo__issue-node path { fill: none; stroke: #ffe4d6; stroke-width: 3; stroke-linecap: round; }.scope-demo__client-node circle { fill: rgba(36,137,221,.14); stroke: #84c7ff; stroke-width: 2; }.scope-demo__client-node path { fill: none; stroke: #dceeff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scope-demo__document { opacity: 0; transform-box: fill-box; transform-origin: center; transform: translate(40px,120px); }.scope-demo__document rect { fill: rgba(255,255,255,.075); stroke: #ffd1ba; stroke-width: 1.5; }.scope-demo__document path { stroke: #ffd1ba; stroke-width: 1.5; stroke-linecap: round; }.scope-demo__traveler { fill: var(--teal-300); filter: drop-shadow(0 0 7px rgba(18,194,192,.85)); }
.scope-demo__recovery-label,.scope-demo__issue-label,.scope-demo__client-label { position: absolute; font-size: .69rem; font-weight: var(--fw-semi); letter-spacing: .065em; line-height: 1.35; text-shadow: 0 1px 8px rgba(0,0,0,.30); text-transform: uppercase; white-space: nowrap; }.scope-demo__recovery-label { top: 72%; left: 12.2%; color: #d8fffe; transform: translateX(-50%); text-align: center; }.scope-demo__recovery-label span { display: inline-block; width: 4px; height: 4px; margin: 0 .42rem .1rem; border-radius: 50%; background: var(--teal-300); }.scope-demo__issue-label { top: 78%; left: 50%; color: #fff0e7; opacity: 1; transform: translateX(-50%); }.scope-demo__client-label { top: 72%; right: 12.2%; color: #e6f4ff; opacity: 1; transform: translateX(50%); text-align: center; }.scope-demo__mobile-lower { display: contents; }
.scope-demo__handoff { position: absolute; right: 2%; bottom: .15rem; color: #d9e9f8; font-family: var(--font-display); font-size: clamp(.62rem,1vw,.75rem); font-weight: var(--fw-bold); letter-spacing: .06em; text-shadow: 0 1px 8px rgba(0,0,0,.28); text-transform: uppercase; }.scope-demo__handoff span { color: #ffd2bb; margin-inline: .4rem; }.scope-demo__tags { position: absolute; z-index: 2; top: 5%; left: 50%; display: grid; width: max-content; max-width: 62%; grid-template-columns: repeat(4, max-content); justify-content: center; gap: .38rem; margin: 0; padding: 0; list-style: none; opacity: .88; transform: translateX(-50%); }.scope-demo__tags li { padding: .3rem .5rem; border: 1px solid rgba(255,190,158,.48); border-radius: 999px; color: #fff0e7; background: rgba(255,107,43,.08); font-size: .63rem; line-height: 1.1; text-shadow: 0 1px 6px rgba(0,0,0,.22); white-space: nowrap; }
.scope-demo__mobile-flow,.scope-demo__labels { display: contents; }
.scope-clarity__closing { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: clamp(var(--sp-7),8vw,var(--sp-16)); align-items: end; margin-top: var(--sp-6); padding-top: var(--sp-2); border-top: 1px solid rgba(181,213,244,.18); }.scope-clarity__lockup { display: grid; gap: .3rem; color: var(--white); font-family: var(--font-display); font-size: clamp(1.1rem,2vw,1.65rem); font-weight: var(--fw-bold); letter-spacing: .04em; line-height: 1.15; text-transform: uppercase; }.scope-clarity__lockup span:last-child { color: #8bf2ef; }.scope-clarity__documentation { max-width: 540px; color: #cbd9e7; font-size: var(--fs-sm); line-height: var(--lh-loose); }
.scope-demo.is-active .scope-demo__progress { animation: scope-path 2.15s .18s ease-out forwards; }.scope-demo.is-active .scope-demo__traveler { animation: scope-traveler 2.15s .18s ease-in-out forwards; }.scope-demo.is-active .scope-demo__issue-node { animation: scope-activate .45s 1.28s ease-out forwards; }.scope-demo.is-active .scope-demo__issue-label { animation: scope-label .4s 1.38s ease-out forwards; }.scope-demo.is-active .scope-demo__document { animation: scope-document .55s 1.8s ease-out forwards; }.scope-demo.is-active .scope-demo__tags { animation: scope-tags .5s 1.48s ease-out forwards; }.scope-demo.is-active .scope-demo__client-node,.scope-demo.is-active .scope-demo__client-label { animation: scope-activate .5s 2.35s ease-out forwards; }.scope-demo.is-active .scope-demo__handoff { animation: scope-handoff .45s 2.6s ease-out both; }
@keyframes scope-path { to { stroke-dashoffset: 0; } } @keyframes scope-traveler { 0% { transform: translate(0,0); } 50% { transform: translate(310px,-46px); fill: var(--orange-400); } 100% { transform: translate(750px,-10px); fill: #84c7ff; } } @keyframes scope-activate { to { opacity: 1; } } @keyframes scope-label { to { opacity: 1; transform: translateX(-50%) translateY(-3px); } } @keyframes scope-document { from { opacity: 0; transform: translate(40px,120px); } 22% { opacity: 1; } to { opacity: 1; transform: translate(255px,92px); } } @keyframes scope-tags { to { opacity: 1; transform: translateX(-50%) translateY(-4px); } } @keyframes scope-handoff { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) { .scope-clarity__intro .h2 { margin-bottom: var(--sp-6); }.scope-clarity__intro > p { max-width: 100%; }.scope-demo { margin-top: var(--sp-6); padding: var(--sp-6) var(--sp-5) var(--sp-5); }.scope-demo__header { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .45rem; text-align: center; }.scope-demo__heading { font-size: clamp(.61rem,2.45vw,.72rem); letter-spacing: .055em; }.scope-demo__arrow { line-height: 1; }.scope-demo__header > .scope-demo__arrow:nth-child(4) { display: none; }.scope-demo__heading--client::before { content: "\2192"; margin-right: .45rem; color: rgba(234,244,255,.82); }.scope-demo__stage { min-height: 292px; margin-top: var(--sp-3); padding-top: 0; }.scope-demo__stage::before,.scope-demo__stage::after { display: none; }.scope-demo__svg { position: absolute; inset: 105px 0 auto; height: 130px; transform: none; }.scope-demo__document { display: inline; }.scope-demo__recovery-label,.scope-demo__issue-label,.scope-demo__client-label { font-size: .6rem; letter-spacing: .045em; line-height: 1.3; text-align: center; white-space: normal; }.scope-demo__recovery-label { top: 244px; left: 12.2%; width: min(37%, 132px); transform: translateX(-50%); }.scope-demo__issue-label { top: 244px; left: 50%; transform: translateX(-50%); }.scope-demo__mobile-lower { display: block; padding: 0 0 24px; text-align: center; }.scope-demo__client-label { top: 244px; left: 87.8%; right: auto; width: min(34%, 112px); transform: translateX(-50%); }.scope-demo__tags { top: 0; width: min(314px,100%); max-width: 100%; grid-template-columns: repeat(2, max-content); gap: .34rem; }.scope-demo__tags li { padding: .28rem .42rem; font-size: .59rem; }.scope-demo__handoff { position: static; width: min(100%, 320px); max-width: 320px; margin: 0 auto; transform: none; text-align: center; line-height: 1.7; white-space: normal; }.scope-demo__handoff span { margin-inline: .25rem; }.scope-clarity__closing { grid-template-columns: 1fr; gap: var(--sp-5); }.scope-demo.is-active .scope-demo__stage::after { animation: none; } }
@media (max-width: 760px) { .scope-demo__stage { min-height: 0; }.scope-demo__mobile-flow { display: grid; grid-template-areas: "tags" "handoff" "path" "labels"; row-gap: 0; }.scope-demo__tags { position: static; grid-area: tags; width: min(314px,100%); max-width: 100%; margin: 0 auto 14px; transform: none; }.scope-demo__handoff { grid-area: handoff; position: static; width: min(100%,320px); max-width: 320px; margin: 0 auto 20px; }.scope-demo__svg { grid-area: path; position: static; inset: auto; width: 100%; height: 130px; }.scope-demo__labels { grid-area: labels; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 8px; width: 100%; padding-bottom: 24px; }.scope-demo__recovery-label,.scope-demo__issue-label,.scope-demo__client-label { position: static; width: auto; max-width: none; margin: 0; transform: none; font-size: .6rem; letter-spacing: .045em; line-height: 1.3; text-align: center; white-space: normal; }.scope-demo__recovery-label span { margin: 0 .18rem .1rem; }.scope-demo__mobile-lower { display: contents; }.scope-demo.is-active .scope-demo__issue-label,.scope-demo.is-active .scope-demo__client-label,.scope-demo.is-active .scope-demo__tags { animation: none; } }
@media (prefers-reduced-motion: reduce) { .scope-demo__progress { stroke-dashoffset: 0; }.scope-demo__traveler { transform: translate(750px,-10px); fill: #84c7ff; }.scope-demo__issue-node,.scope-demo__client-node,.scope-demo__issue-label,.scope-demo__client-label,.scope-demo__document,.scope-demo__tags { opacity: 1; }.scope-demo__document { transform: translate(255px,92px); }.scope-demo__tags { transform: translateX(-50%) translateY(-4px); }.scope-demo.is-active .scope-demo__progress,.scope-demo.is-active .scope-demo__traveler,.scope-demo.is-active .scope-demo__issue-node,.scope-demo.is-active .scope-demo__issue-label,.scope-demo.is-active .scope-demo__document,.scope-demo.is-active .scope-demo__tags,.scope-demo.is-active .scope-demo__client-node,.scope-demo.is-active .scope-demo__client-label,.scope-demo.is-active .scope-demo__handoff,.scope-demo.is-active .scope-demo__stage::after { animation: none; }.scope-demo__stage::after { opacity: 1; transform: translateX(-50%) translateY(108px); } }

/* ============================================================================
   PROCESS (dark) — vertical timeline
   ============================================================================ */
#process { scroll-margin-top: 104px; }
.timeline { --timeline-progress: 0; max-width: 740px; margin-inline: auto; position: relative; }
.timeline::before,.timeline::after { content: ""; position: absolute; left: 28px; top: 36px; width: 2px; pointer-events: none; }
.timeline::before { bottom: 36px; background: rgba(112,172,210,.30); }
.timeline::after { bottom: 36px; background: linear-gradient(180deg, var(--teal-400), var(--orange-400)); box-shadow: 0 0 12px rgba(18,194,192,.48); transform: scaleY(var(--timeline-progress)); transform-origin: top; transition: transform .38s ease-out; }
.step { position: relative; display: flex; gap: var(--sp-5); padding-block: var(--sp-4); }
.step__num { position: relative; z-index: 1; isolation: isolate; overflow: visible; flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #071a36; border: 2px solid rgba(128,185,225,.62); font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); color: #b7f5f3; transition: background var(--t-base), border-color var(--t-base), color var(--t-base), box-shadow var(--t-base), transform var(--t-base); }
.step__title { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-semi); color: #edf7ff; margin-bottom: var(--sp-2); transition: color var(--t-base); }
.step__text { font-size: var(--fs-base); color: #bfd1e1; line-height: var(--lh-base); max-width: 480px; transition: color var(--t-base); }
.step.is-complete .step__num { background: #08213b; border-color: rgba(93,224,220,.78); color: #c7fffd; box-shadow: inset 0 0 0 1px rgba(18,194,192,.22); }
.step.is-complete .step__title { color: #e3f7f6; }
.step.is-complete .step__text { color: #c3dbe6; }
.step.is-active .step__num { background: linear-gradient(145deg, rgba(18,194,192,.22), rgba(255,107,43,.18)); border-color: var(--teal-300); color: #efffff; box-shadow: inset 0 0 0 2px rgba(255,107,43,.42), 0 0 0 5px rgba(18,194,192,.08), 0 0 24px rgba(18,194,192,.54); }
.step.is-active .step__title { color: #ffffff; }
.step.is-active .step__text { color: #dcecf9; }
.step.is-activating .step__num { animation: process-number-pulse .56s ease-out both; }
@keyframes process-number-pulse { 0% { transform: scale(1); } 42% { transform: scale(1.09); } 100% { transform: scale(1); } }
.step__num-value { position: relative; z-index: 2; }
.step__confetti { position: absolute; z-index: 3; inset: 0; overflow: visible; pointer-events: none; }
.step__confetti-piece { position: absolute; top: 50%; left: 50%; width: 6px; height: 10px; border-radius: 1px; background: var(--confetti-color); box-shadow: 0 0 6px rgba(255,255,255,.38); opacity: .96; transform: translate(-50%,-50%) rotate(0deg); will-change: transform, opacity; animation: process-completion-confetti 1.2s cubic-bezier(.16,.72,.28,1) var(--confetti-delay) forwards; }
.step__confetti-piece:nth-child(3n) { width: 4px; height: 4px; border-radius: 50%; }
.step__confetti-piece:nth-child(4n) { width: 3px; height: 10px; border-radius: 2px; }
@keyframes process-completion-confetti { 0% { opacity: .96; transform: translate(-50%,-50%) rotate(0deg); } 70% { opacity: .86; } 100% { opacity: 0; transform: translate(calc(-50% + var(--confetti-x)),calc(-50% + var(--confetti-y))) rotate(var(--confetti-rotate)); } }
@media (prefers-reduced-motion: reduce) { .timeline::after,.step__num,.step__title,.step__text { animation: none !important; transition: none !important; } }
.step__badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }

/* ============================================================================
   FUTURE WORKSPACE (deeper)
   ============================================================================ */
#workspace .split { align-items: start; }
#workspace .split > div { min-width: 0; }
#workspace .split > div:first-child { padding-top: var(--sp-6); }
.technology-platforms { display: flow-root; margin-top: clamp(2.75rem,4vw,3.25rem); }
.technology-platforms__title,.technology-trust__title { color: var(--teal-300); font-family: var(--font-display); font-size: .7rem; font-weight: var(--fw-bold); letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.platform-marquee { position: relative; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; contain: paint; margin: var(--sp-2) 0 var(--sp-3); padding-block: var(--sp-2); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.platform-marquee__track { display: flex; width: max-content; animation: platform-marquee-scroll 32s linear infinite; will-change: transform; }
.platform-marquee__set { display: flex; align-items: stretch; gap: clamp(2.5rem, 5vw, 4.75rem); padding-inline: clamp(1.5rem, 3vw, 3rem); }
.platform-marquee__item { display: grid; width: max-content; min-width: 112px; place-items: center; gap: .32rem; color: var(--white); outline: none; }
.platform-marquee__item > img { display: block; width: auto; height: 33px; max-width: 126px; object-fit: contain; transition: filter var(--t-base), transform var(--t-base); }
.platform-marquee__item > img[src$="stripe.svg"] { height: 31px; padding: 5px 8px; border-radius: 4px; background: #635bff; }
.platform-marquee__item--voice > img { height: 31px; padding: 5px 9px; border-radius: 4px; background: #f8f8f6; }
.platform-marquee__item > .platform-marquee__microsoft { width: 34px; height: 34px; }
.platform-marquee__name { font-family: var(--font-display); font-size: .76rem; font-weight: var(--fw-bold); letter-spacing: .03em; line-height: 1.15; text-align: center; white-space: nowrap; }
.platform-marquee__label { color: #b9cedf; font-size: .61rem; font-weight: var(--fw-medium); letter-spacing: .055em; line-height: 1.2; text-align: center; text-transform: uppercase; white-space: nowrap; transition: color var(--t-base); }
.platform-marquee__item:hover > img,.platform-marquee__item:focus > img { filter: brightness(1.12); transform: translateY(-2px) scale(1.05); }
.platform-marquee__item:hover .platform-marquee__label,.platform-marquee__item:focus .platform-marquee__label { color: #effbff; }
.platform-marquee__item:focus-visible { outline: 2px solid var(--teal-300); outline-offset: 8px; border-radius: var(--r-xs); }
.platform-marquee:hover .platform-marquee__track,.platform-marquee:focus-within .platform-marquee__track { animation-play-state: paused; }
.platform-marquee__note { max-width: 570px; margin: 0; color: #c7d8e8; font-size: .8125rem; line-height: 1.6; }
.technology-trust { display: flex; align-items: center; gap: clamp(var(--sp-5),5vw,var(--sp-10)); margin-top: clamp(1.5rem,2.3vw,1.875rem); padding-top: var(--sp-6); border-top: 1px solid rgba(181,213,244,.18); }
.technology-trust__title { flex: 0 0 auto; max-width: 128px; }
.technology-trust__list { display: grid; flex: 1; grid-template-columns: repeat(4,minmax(0,1fr)); }
.technology-trust__list li { display: flex; align-items: center; gap: .55rem; min-width: 0; padding-inline: clamp(.8rem,2vw,1.5rem); color: #e0effa; font-size: .8125rem; font-weight: var(--fw-medium); line-height: 1.35; }
.technology-trust__list li + li { border-left: 1px solid rgba(181,213,244,.18); }
.technology-trust__list svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: #92f2ee; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
@keyframes platform-marquee-scroll { to { transform: translateX(-50%); } }
@media (max-width: 820px) { #workspace .split > div:first-child { padding-top: 0; } }

.ws-preview { position: relative; overflow: hidden; padding: var(--sp-6); border-radius: var(--r-2xl); background: linear-gradient(160deg, rgba(16,41,90,0.9), rgba(5,14,32,0.96)); border: 1px solid var(--line-dark); box-shadow: var(--sh-xl); }
.ws-preview__flag { position: absolute; top: var(--sp-4); right: var(--sp-4); padding: 4px 9px; border-radius: var(--r-pill); background: rgba(255,107,43,0.18); border: 1px solid rgba(255,107,43,0.30); color: var(--orange-400); font-size: 9px; font-weight: var(--fw-bold); letter-spacing: 0.12em; }
.ws-tabs { display: flex; gap: 4px; margin-bottom: var(--sp-4); overflow-x: auto; scrollbar-width: none; }
.ws-tabs::-webkit-scrollbar { display: none; }
.ws-tab { padding: 7px 12px; border-radius: var(--r-xs); font-size: 10px; font-weight: var(--fw-medium); color: var(--on-dark-muted); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.ws-tab.is-active, .ws-tab:hover { background: rgba(18,194,192,0.15); color: var(--teal-300); }

.ws-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-bottom: var(--sp-3); }
.ws-mini__card { text-align: center; padding: var(--sp-3); border-radius: var(--r-md); background: var(--card-dark-bg); border: 1px solid var(--card-dark-border); }
.ws-mini__val { font-family: var(--font-mono); font-size: var(--fs-lg); font-weight: var(--fw-medium); color: var(--white); letter-spacing: -0.03em; }
.ws-mini__label { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 3px; }

.ws-bar { padding: var(--sp-4); border-radius: var(--r-md); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); margin-bottom: var(--sp-3); }
.ws-bar__label { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--sp-2); }
.ws-bar__track { height: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,0.06); overflow: hidden; }
.ws-bar__fill { height: 100%; border-radius: var(--r-pill); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease-out); }
.ws-bar__fill.is-on { transform: scaleX(var(--w, 0.5)); }
.ws-bar__meta { display: flex; justify-content: space-between; margin-top: var(--sp-1); }
.ws-bar__pct { font-size: 10px; font-family: var(--font-mono); color: var(--teal-300); font-weight: var(--fw-medium); }
.ws-bar__amt { font-size: 10px; font-family: var(--font-mono); color: var(--on-dark-muted); }

.ws-upload { text-align: center; padding: var(--sp-4); border-radius: var(--r-md); background: rgba(18,194,192,0.05); border: 1.5px dashed rgba(18,194,192,0.26); cursor: pointer; transition: background var(--t-base), border-color var(--t-base); }
.ws-upload:hover { background: rgba(18,194,192,0.09); border-color: rgba(18,194,192,0.5); }
.ws-upload__ic { font-size: 1.4rem; margin-bottom: var(--sp-2); }
.ws-upload__text { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--teal-300); }
.ws-upload__sub { font-size: 10px; color: var(--on-dark-muted); margin-top: 2px; }

/* ============================================================================
   WHY CHOOSE US (soft)
   ============================================================================ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--sp-6); }
.why { position: relative; overflow: hidden; padding: var(--sp-8); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line-light); transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.why::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; opacity: 0; transition: opacity var(--t-base); }
.why:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.why:hover::after { opacity: 1; }
.why:nth-child(1)::after { background: linear-gradient(90deg, var(--teal-500), var(--blue-400)); }
.why:nth-child(2)::after { background: linear-gradient(90deg, var(--orange-500), var(--orange-400)); }
.why:nth-child(3)::after { background: linear-gradient(90deg, var(--green-500), var(--teal-500)); }
.why:nth-child(4)::after { background: linear-gradient(90deg, var(--blue-500), var(--teal-500)); }
.why:nth-child(5)::after { background: linear-gradient(90deg, var(--orange-500), var(--teal-500)); }
.why:nth-child(6)::after { background: linear-gradient(90deg, var(--blue-400), var(--orange-400)); }
.why__ic { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: var(--sp-5); }
.why__ic--1 { background: var(--teal-100); }
.why__ic--2 { background: var(--orange-100); }
.why__ic--3 { background: var(--green-100); }
.why__ic--4 { background: var(--blue-100); }
.why__ic--5 { background: rgba(239,68,68,0.08); }
.why__ic--6 { background: var(--teal-100); }
.why__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-semi); color: var(--text-heading); margin-bottom: var(--sp-2); }
.why__text { font-size: var(--fs-sm); color: var(--text-body); line-height: var(--lh-base); }

/* Industries — lightweight, continuously animated operational mini-illustrations */
#industries .industry-card { min-height: 184px; }
.industry-card__visual { display: block; width: clamp(88px, 28vw, 100px); height: clamp(68px, 21vw, 76px); margin: -4px -6px var(--sp-3) auto; padding: 3px; border-radius: var(--r-md); background: linear-gradient(135deg, rgba(18,194,192,.11), rgba(76,141,245,.06)); color: var(--teal-700); transition: filter var(--t-base), transform var(--t-base), background var(--t-base); }
.industry-card__visual svg { display: block; width: 100%; height: 100%; overflow: visible; }
.industry-card__visual path, .industry-card__visual rect, .industry-card__visual circle { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.industry-card__visual .iv-node, .industry-card__visual .iv-candidate, .industry-card__visual .iv-case { fill: var(--brand-accent); stroke: var(--brand-accent); }
.industry-card__visual .iv-box, .industry-card__visual .iv-cargo, .industry-card__visual .iv-docstack, .industry-card__visual .iv-transcript { color: var(--blue-500); }
.industry-card__visual .iv-route, .industry-card__visual .iv-data, .industry-card__visual .iv-connection { stroke-dasharray: 4 5; }
.industry-card__visual .iv-gear { transform-box: fill-box; transform-origin: center; }
.industry-card__visual--manufacturing { color: var(--orange-600); animation: industry-status-pulse 5.7s ease-in-out infinite .4s; }
.industry-card__visual--logistics { color: var(--blue-500); }
.industry-card__visual--staffing { color: var(--teal-700); }
.industry-card__visual--construction { color: var(--orange-600); }
.industry-card__visual--services { color: var(--blue-500); }
.industry-card__visual--legal { color: var(--teal-700); }
.industry-card__visual--facilities { color: var(--orange-600); }
.industry-card__visual--healthcare { color: var(--teal-700); }
.industry-card__visual--education { color: var(--blue-500); }
.industry-card__visual--supply .iv-route { animation: industry-dash 6.2s linear infinite .2s; }
.industry-card__visual--supply .iv-node { animation: industry-node-pulse 6.2s ease-in-out infinite .8s; }
.industry-card__visual--manufacturing .iv-gear { animation: industry-gear 8s linear infinite .3s; }
.industry-card__visual--manufacturing .iv-line { stroke-dasharray: 42 12; animation: industry-dash 5.7s linear infinite .4s; }
.industry-card__visual--logistics .iv-route { animation: industry-dash 6.8s linear infinite 1.1s; }
.industry-card__visual--logistics .iv-cargo { transform-box: fill-box; transform-origin: center; animation: industry-cargo 6.8s ease-in-out infinite 1.1s; }
.industry-card__visual--staffing .iv-candidate { transform-box: fill-box; transform-origin: center; animation: industry-assignment 6.1s ease-in-out infinite .5s; }
.industry-card__visual--staffing .iv-connection { animation: industry-dash 6.1s linear infinite .5s; }
.industry-card__visual--construction .iv-beam { animation: industry-beam 7.2s ease-in-out infinite .8s; }
.industry-card__visual--construction .iv-gear { animation: industry-gear 8.5s linear infinite .6s; }
.industry-card__visual--services .iv-docstack { transform-box: fill-box; transform-origin: center; animation: industry-document 5.9s ease-in-out infinite .2s; }
.industry-card__visual--services .iv-data { animation: industry-dash 5.9s linear infinite .2s; }
.industry-card__visual--legal .iv-transcript { animation: industry-document 6.6s ease-in-out infinite 1.3s; }
.industry-card__visual--legal .iv-wave { animation: industry-wave 5.6s ease-in-out infinite .6s; }
.industry-card__visual--legal .iv-case { animation: industry-node-pulse 6.6s ease-in-out infinite 1.5s; }
.industry-card__visual--facilities .iv-gear { animation: industry-gear 8s linear infinite .9s; }
.industry-card__visual--facilities .iv-loop { animation: industry-dash 7.4s linear infinite .4s; }
.industry-card__visual--healthcare .iv-cross { animation: industry-cross 5.3s ease-in-out infinite 1s; }
.industry-card__visual--healthcare .iv-route { animation: industry-dash 6.4s linear infinite .7s; }
.industry-card__visual--education .iv-data { animation: industry-dash 6.7s linear infinite .9s; }
.industry-card__visual--education .iv-node { animation: industry-node-pulse 6.7s ease-in-out infinite 1.6s; }
.industry-card:hover .industry-card__visual, .industry-card:focus-visible .industry-card__visual { filter: drop-shadow(0 5px 9px rgba(18,194,192,.22)); transform: translateY(-2px); background: linear-gradient(135deg, rgba(18,194,192,.17), rgba(255,107,43,.08)); }
.industry-card:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 4px; border-color: transparent; }
@keyframes industry-dash { to { stroke-dashoffset: -36; } }
@keyframes industry-gear { to { transform: rotate(360deg); } }
@keyframes industry-node-pulse { 0%,100% { opacity: .6; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes industry-status-pulse { 0%,100% { filter: saturate(1); } 50% { filter: saturate(1.28) brightness(1.08); } }
@keyframes industry-cargo { 0%,100% { transform: translate(0,0); } 50% { transform: translate(7px,-5px); } }
@keyframes industry-assignment { 0%,100% { transform: translateY(-4px); opacity: .68; } 50% { transform: translateY(8px); opacity: 1; } }
@keyframes industry-beam { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes industry-document { 0%,100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes industry-wave { 0%,100% { opacity: .55; transform: scaleY(.82); } 50% { opacity: 1; transform: scaleY(1.12); } }
@keyframes industry-cross { 0%,100% { opacity: .7; } 50% { opacity: 1; filter: drop-shadow(0 0 3px rgba(18,194,192,.36)); } }
@media (max-width: 560px) { #industries .industry-card { min-height: 0; }.industry-card__visual { width: 88px; height: 68px; margin-right: -2px; }.industry-card__visual--construction .iv-gear, .industry-card__visual--facilities .iv-gear, .industry-card__visual--legal .iv-wave { animation: none; } }
@media (prefers-reduced-motion: reduce) { .industry-card__visual *, .industry-card__visual { animation: none !important; transition: none !important; } }

/* ============================================================================
   FINAL CTA
   ============================================================================ */
.cta { position: relative; overflow: hidden; text-align: center; padding-block: var(--sp-32); background: var(--navy-950); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(18,194,192,0.12), transparent 70%); }
.cta::after  { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 55% at 50% 0%, rgba(255,107,43,0.10), transparent 62%); }
.cta__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta__title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(1.9rem, 4vw, var(--fs-5xl)); line-height: var(--lh-tight); letter-spacing: -0.02em; color: var(--white); margin-bottom: var(--sp-5); }
.cta__sub { font-size: var(--fs-lg); color: var(--on-dark-soft); line-height: var(--lh-loose); margin-bottom: var(--sp-10); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; }
.cta__fine { margin-top: var(--sp-8); font-size: var(--fs-sm); color: var(--on-dark-muted); }
#discovery-options { scroll-margin-top: 104px; }
.cta__fine p { margin: 0; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer { background: var(--gray-950); border-top: 1px solid var(--line-dark); padding: var(--sp-16) 0 var(--sp-8); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr) minmax(220px, 1fr); gap: var(--sp-10); margin-bottom: var(--sp-12); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); } }
.footer__name { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-bold); color: var(--white); }
.footer__tagline { font-size: var(--fs-sm); color: var(--on-dark-muted); margin: var(--sp-1) 0 var(--sp-4); line-height: var(--lh-base); }
.footer__desc { font-size: var(--fs-sm); color: var(--gray-400); line-height: var(--lh-loose); max-width: 280px; }
.footer__col-title { font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: 0.10em; text-transform: uppercase; color: var(--gray-400); margin-bottom: var(--sp-4); }
.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__links a { font-size: var(--fs-sm); color: var(--gray-400); transition: color var(--t-fast); }
.footer__links .footer__address { color: #B6C5D5; line-height: var(--lh-base); }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: var(--sp-5); display: grid; gap: var(--sp-4); }
.footer__legal { display: grid; gap: .625rem; max-width: 760px; }
.footer__legal .footer__col-title { margin-bottom: var(--sp-3); }
.footer__copyright { font-size: var(--fs-xs); color: #B6C5D5; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); }
.footer__legal-links a { font-size: var(--fs-xs); color: var(--gray-400); }
.footer__legal-links a:hover, .footer__credit a:hover { color: var(--white); }
.footer__availability { margin: 0; color: #B6C5D5; font-size: var(--fs-xs); line-height: var(--lh-base); }
.footer__disclaimer { margin: 0; font-size: var(--fs-xs); color: #AFC0D2; max-width: 760px; line-height: var(--lh-loose); font-style: italic; }
.footer__credit { margin: var(--sp-5) 0 0; padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,0.08); color: var(--gray-300); font-size: clamp(0.875rem, 1vw, 1rem); line-height: var(--lh-base); text-align: center; }
.footer__credit a { color: var(--teal-300); font-weight: var(--fw-semi); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================================
   LEGAL AND INFORMATION PAGES
   ============================================================================ */
.legal-page { min-height: 100vh; background: var(--bg-soft); }
.legal-page .nav { background: rgba(10,27,61,.96); border-bottom-color: var(--line-dark); box-shadow: var(--sh-md); }
.legal-main { padding: calc(var(--sp-32) + var(--sp-8)) 0 var(--sp-24); }
.legal-reading { max-width: 820px; margin-inline: auto; }
.legal-reading__header { padding-bottom: var(--sp-10); border-bottom: 1px solid var(--line-light); }
.legal-reading__header .h1 { margin: var(--sp-3) 0 var(--sp-4); color: var(--text-heading); }
.legal-effective { margin: 0; color: var(--text-soft); font: var(--fw-medium) var(--fs-sm)/var(--lh-base) var(--font-mono); }
.legal-reading__body { display: grid; gap: var(--sp-8); padding-top: var(--sp-10); }
.legal-reading__body section { scroll-margin-top: 112px; }
.legal-reading__body h2 { color: var(--text-heading); font-family: var(--font-display); font-size: var(--fs-xl); line-height: var(--lh-snug); margin: 0 0 var(--sp-3); }
.legal-reading__body p, .legal-reading__body li { color: var(--text-body); line-height: var(--lh-loose); }
.legal-reading__body p { margin: 0; }
.legal-reading__body ul { display: grid; gap: var(--sp-2); margin: var(--sp-4) 0 0; padding-left: 1.25rem; }
.legal-reading__body a { color: var(--brand-primary); font-weight: var(--fw-medium); text-decoration: underline; text-underline-offset: 3px; }
.legal-crosslinks { margin-top: var(--sp-12); padding: var(--sp-6); border: 1px solid var(--line-light); border-radius: var(--r-lg); background: var(--white); }
.legal-crosslinks__title { margin: 0 0 var(--sp-3); color: var(--text-heading); font: var(--fw-semi) var(--fs-xs)/var(--lh-snug) var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.legal-crosslinks__links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
@media (max-width: 640px) { .legal-main { padding-top: calc(var(--sp-24) + var(--sp-8)); padding-bottom: var(--sp-16); }.legal-reading__header { padding-bottom: var(--sp-8); }.legal-reading__body { gap: var(--sp-7); padding-top: var(--sp-8); }.legal-crosslinks { margin-top: var(--sp-8); padding: var(--sp-5); }.footer__bottom { display: grid; }.footer__credit { margin-top: var(--sp-5); } }

/* ============================================================================
   AR RECOVERY ASSESSMENT — native extension of the existing card system
   ============================================================================ */
.assessment { background: var(--bg-soft); }
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: var(--sp-3); }
.faq-list details { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); }
.faq-list summary { cursor: pointer; color: var(--text-heading); font-family: var(--font-display); font-weight: var(--fw-semi); }
.faq-list summary:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 4px; }
.faq-list p { margin-top: var(--sp-3); color: var(--text-body); line-height: var(--lh-loose); }
.faq-list a { color: var(--brand-primary); text-decoration: underline; }
.kb-category { display: grid; gap: var(--sp-3); margin-top: var(--sp-12); }
.kb-category:first-child { margin-top: 0; }
.kb-category .h2 { color: var(--text-heading); margin-bottom: var(--sp-2); }
.kb-category, .kb-directory { scroll-margin-top: 104px; }
.kb-directory { max-width: 860px; margin: 0 auto; padding: var(--sp-6); background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.kb-directory__title { color: var(--text-heading); font: var(--fw-semi) var(--fs-sm)/var(--lh-snug) var(--font-display); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.kb-directory__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.kb-directory__link { display: block; min-height: 58px; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line-light); border-radius: var(--r-md); color: var(--brand-primary); font-family: var(--font-display); font-weight: var(--fw-semi); line-height: var(--lh-snug); transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast); }
.kb-directory__link:hover { border-color: var(--brand-highlight); background: var(--teal-100); transform: translateY(-1px); }
.kb-directory__link:focus-visible, .kb-back:focus-visible, .nav__home:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 3px; }
.kb-back { justify-self: start; margin-top: var(--sp-3); color: var(--brand-primary); font-size: var(--fs-sm); font-weight: var(--fw-semi); }
.kb-back:hover { color: var(--brand-primary-strong); text-decoration: underline; }
.nav__cta { display: flex; align-items: center; gap: var(--sp-4); }
/* On narrow screens the hamburger menu carries the CTA — keep the bar uncrowded. */
@media (max-width: 560px) {
  .nav__cta { display: none; }
}
.nav__home { color: var(--on-dark-soft); font-size: var(--fs-sm); font-weight: var(--fw-semi); }
.return-home { display: inline-flex; align-items: center; color: var(--brand-primary); font-size: var(--fs-sm); font-weight: var(--fw-semi); line-height: 1.2; padding-block: var(--sp-2); transition: color var(--t-fast), transform var(--t-fast); }
.return-home:hover { color: var(--brand-primary-strong); transform: translateX(-2px); }
.return-home:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 3px; }
#resources { scroll-margin-top: 104px; }
#faq { scroll-margin-top: 104px; }
@media (max-width: 640px) { .kb-directory__links { grid-template-columns: 1fr; } .nav__cta { gap: var(--sp-3); } .nav__home { font-size: var(--fs-xs); } }
#industries > .container > p { display: none; }
.assessment__shell { max-width: 880px; margin-inline: auto; border-radius: var(--r-2xl); overflow: hidden; background: var(--white); border: 1px solid var(--line-light); box-shadow: var(--sh-lg); }
.assessment-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: var(--sp-5); overflow-y: auto; background: rgba(7, 26, 54, .56); }
.assessment-modal[hidden] { display: none; }
.assessment-modal__backdrop { position: fixed; inset: 0; }
.assessment-modal__dialog { position: relative; z-index: 1; width: min(100%, 880px); margin: auto; }
.assessment-modal .assessment__shell { max-width: none; }
.assessment-modal__close { position: absolute; z-index: 2; top: var(--sp-3); right: var(--sp-3); width: 42px; height: 42px; border: 1px solid var(--line-light); border-radius: 50%; background: var(--white); color: var(--text-heading); font-size: 29px; line-height: 1; cursor: pointer; box-shadow: var(--sh-sm); }
.assessment-modal__close:hover { border-color: var(--brand-highlight); color: var(--brand-primary); }
.assessment-modal__close:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 3px; }
body.has-assessment-modal { overflow: hidden; }
.assessment__intro { padding: clamp(var(--sp-8), 7vw, var(--sp-16)); text-align: center; }
.assessment__intro .h2 { color: var(--text-heading); margin-bottom: var(--sp-4); }
.assessment__intro .lead { max-width: 650px; margin: 0 auto var(--sp-8); color: var(--text-body); }
.assessment__facts { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-3); margin: 0 0 var(--sp-8); }
.assessment__facts span { padding: 6px 12px; background: var(--teal-100); color: var(--teal-700); border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: var(--fw-semi); }
.assessment__form, .assessment__results { padding: clamp(var(--sp-6), 6vw, var(--sp-12)); }
.assessment__topline { display: flex; justify-content: space-between; color: var(--text-soft); font-family: var(--font-mono); font-size: var(--fs-xs); margin-bottom: var(--sp-3); }
.assessment__progress { height: 8px; background: var(--gray-100); border-radius: var(--r-pill); overflow: hidden; margin-bottom: var(--sp-10); }
.assessment__progress span { display: block; width: 10%; height: 100%; background: linear-gradient(90deg, var(--brand-accent), var(--brand-highlight)); border-radius: inherit; transition: width var(--t-slow); }
.question__title { font-family: var(--font-display); color: var(--text-heading); font-size: var(--fs-2xl); line-height: var(--lh-snug); margin-bottom: var(--sp-3); }
.question__help { color: var(--text-soft); margin-bottom: var(--sp-6); }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.option-grid--states { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 310px; overflow-y: auto; padding-right: var(--sp-2); }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: flex; min-height: 52px; align-items: center; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line-light); border-radius: var(--r-md); color: var(--text-body); background: var(--white); transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.option input:checked + span { border-color: var(--brand-highlight); background: var(--teal-100); color: var(--teal-700); box-shadow: 0 0 0 2px rgba(18,194,192,.15); }
.option input:focus-visible + span { outline: 3px solid var(--brand-highlight); outline-offset: 2px; }
.question__field { width: 100%; padding: 14px 16px; border: 1px solid var(--line-light); border-radius: var(--r-md); color: var(--text-heading); font: inherit; background: var(--white); }
.question__field:focus { outline: 3px solid rgba(18,194,192,.28); border-color: var(--brand-highlight); }
.marketing-consent { margin: var(--sp-6) 0 0; padding: var(--sp-5); border: 1px solid var(--line-light); border-radius: var(--r-md); background: var(--gray-50); }
.marketing-consent legend { padding: 0 var(--sp-2); color: var(--text-heading); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .08em; }
.marketing-consent__choice { display: flex; align-items: flex-start; gap: var(--sp-3); color: var(--text-body); cursor: pointer; }
.marketing-consent__choice input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand-accent); }
.marketing-consent__choice input:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 3px; }
.marketing-consent p { margin: var(--sp-4) 0 0; color: var(--text-soft); font-size: var(--fs-sm); line-height: var(--lh-base); }
.assessment__actions { display: flex; justify-content: space-between; gap: var(--sp-4); margin-top: var(--sp-8); }
.assessment__privacy { color: var(--text-soft); font-size: var(--fs-xs); margin-top: var(--sp-5); }
.assessment__privacy a { color: var(--brand-primary); text-decoration: underline; }
.form-error { min-height: 1.5em; margin-top: var(--sp-4); color: var(--red-500); font-size: var(--fs-sm); }
.results__eyebrow { color: var(--teal-700); font-size: var(--fs-xs); font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.results__title { color: var(--text-heading); font-family: var(--font-display); font-size: var(--fs-3xl); margin: var(--sp-2) 0 var(--sp-6); }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.result-card { padding: var(--sp-5); border-radius: var(--r-md); border: 1px solid var(--line-light); background: var(--bg-soft); }
.result-card--wide { grid-column: 1 / -1; }
.result-card h3 { color: var(--text-heading); font: var(--fw-semi) var(--fs-base)/var(--lh-snug) var(--font-display); margin-bottom: var(--sp-2); }
.result-card p, .result-card li { color: var(--text-body); font-size: var(--fs-sm); line-height: var(--lh-base); }
.result-card ul { display: grid; gap: var(--sp-2); }
.result-card li::before { content: '•'; color: var(--brand-highlight); margin-right: var(--sp-2); }
.results__notice { padding: var(--sp-4); border-radius: var(--r-md); background: var(--orange-100); color: var(--orange-700); font-size: var(--fs-sm); margin: var(--sp-6) 0; }
.results__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.results__discovery-choices { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.results__discovery-choices article { padding: var(--sp-4); border: 1px solid var(--line, #dce3eb); border-radius: 12px; }
.results__discovery-choices h5 { margin: 0 0 var(--sp-2); font-size: 1.05rem; }
.results__intro { max-width: 680px; color: var(--text-body); font-size: var(--fs-lg); line-height: var(--lh-base); }
.results__completion { margin: var(--sp-5) 0 var(--sp-6); padding: var(--sp-4); border-left: 4px solid var(--brand-accent); background: var(--orange-100); color: var(--text-heading); font-weight: var(--fw-semi); }
.results-review-check{display:grid;gap:var(--sp-2);margin:var(--sp-5) 0;color:var(--text-body);font-weight:var(--fw-semi)}.results-review-check textarea{min-height:110px;resize:vertical}
.results-grid--executive { align-items: start; }.results-profile { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--sp-3) var(--sp-6); margin: 0; }.results-profile div { padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line-light); }.results-profile dt,.results-topic h4 { color: var(--text-soft); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: .06em; text-transform: uppercase; }.results-profile dd { margin: var(--sp-1) 0 0; color: var(--text-heading); font-weight: var(--fw-semi); }.results-topic + .results-topic { margin-top: var(--sp-4); }.results-topic h4 { margin: 0 0 var(--sp-1); }.results-topic p { margin: 0; }.result-card--summary { background: var(--white); border-color: var(--orange-200); }
.result-card--boundary, .result-card--discovery { padding-block: var(--sp-6); }.result-card--discovery { border-color: var(--teal-300); background: var(--white); }.result-card--boundary h3, .result-card--discovery h3 { margin-top: var(--sp-2); }
@media (max-width: 640px) { .option-grid, .results-grid { grid-template-columns: 1fr; } .option-grid--states { grid-template-columns: repeat(2, 1fr); } .result-card--wide { grid-column: auto; } .assessment__actions { flex-direction: column-reverse; } .assessment__actions .btn { width: 100%; } }
@media (max-width: 640px) { .assessment-modal { align-items: start; padding: var(--sp-3); } .assessment-modal__dialog { width: 100%; } .assessment-modal__close { top: var(--sp-2); right: var(--sp-2); width: 38px; height: 38px; font-size: 26px; } .assessment__intro { padding-top: calc(var(--sp-8) + 36px); } }
@media (max-width: 640px) { .results-profile { grid-template-columns: 1fr; } }

/* ============================================================================
   SCROLL REVEAL
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ============================================================================
   RESPONSIVE OVERRIDES
   ============================================================================ */
@media (max-width: 640px) {
  :root { --section-y: var(--sp-16); --container-pad: var(--sp-5); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .technology-platforms { margin-top: var(--sp-8); }
  .platform-marquee { margin-block: var(--sp-2) var(--sp-3); }
  .platform-marquee__track { animation-duration: 39s; }
  .platform-marquee__set { gap: 2.75rem; padding-inline: var(--sp-5); }
  .platform-marquee__item { min-width: 102px; }
  .platform-marquee__item > img { height: 29px; max-width: 112px; }
  .platform-marquee__name { font-size: .71rem; }
  .platform-marquee__label { font-size: .56rem; }
  .technology-trust { display: block; margin-top: var(--sp-6); padding-top: var(--sp-6); }
  .technology-trust__title { max-width: none; margin-bottom: var(--sp-4); }
  .technology-trust__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .technology-trust__list li { padding: var(--sp-3) var(--sp-2); }
  .technology-trust__list li + li { border-left: 0; }
  .technology-trust__list li:nth-child(even) { border-left: 1px solid rgba(181,213,244,.18); }
  .technology-trust__list li:nth-child(n+3) { border-top: 1px solid rgba(181,213,244,.18); }
  .timeline::before, .timeline::after { left: 22px; }
  .step__num { width: 46px; height: 46px; font-size: var(--fs-base); }
}

@media (prefers-reduced-motion: reduce) {
  .platform-marquee { overflow: hidden; contain: paint; margin-inline: 0; mask-image: none; }
  .platform-marquee__track { width: 100%; flex-wrap: wrap; justify-content: center; animation: none; }
  .platform-marquee__set { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; gap: var(--sp-6); padding: 0; }
  .platform-marquee__set:last-child { display: none; }
}
