/* ============================================================================
   AR RECOVERY PRO — DESIGN SYSTEM
   Accounts Receivable Recovery & Cash Flow Support
   ----------------------------------------------------------------------------
   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);
  overflow-x: hidden;
  -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__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__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) var(--sp-8);
  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: 900px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .hamburger { display: flex; }
}
/* On narrow screens the hamburger menu carries the CTA — keep the bar uncrowded */
@media (max-width: 560px) {
  .nav__cta { display: none; }
}

/* ============================================================================
   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: 1fr; gap: var(--sp-12); text-align: center; }
  .hero__copy { max-width: 640px; margin-inline: auto; }
  .hero__visual { 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; } }

.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); } }

.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-radius: var(--r-md); display: grid; place-items: center; font-size: 1.3rem; }
.iconrow__ic--orange { background: rgba(255,107,43,0.14); }
.iconrow__ic--teal   { background: rgba(18,194,192,0.14); }
.iconrow__ic--blue   { background: rgba(76,141,245,0.14); }
.iconrow__title { font-family: var(--font-display); font-weight: var(--fw-semi); font-size: var(--fs-base); color: var(--white); margin-bottom: 4px; }
.iconrow__text  { font-size: var(--fs-sm); color: var(--on-dark-muted); line-height: var(--lh-base); }

/* ============================================================================
   SOLUTION — feature grid (white)
   ============================================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-6); }
.feature {
  position: relative; overflow: hidden;
  padding: var(--sp-8); border-radius: var(--card-radius);
  background: var(--white); border: 1px solid var(--line-light);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; opacity: 0; transition: opacity var(--t-base); background: linear-gradient(90deg, var(--brand-accent), var(--brand-highlight)); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.feature:hover::before { opacity: 1; }
.feature__ic { width: 54px; height: 54px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: var(--sp-5); background: linear-gradient(135deg, var(--orange-100), var(--teal-100)); }
.feature__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); }
.feature__text { font-size: var(--fs-sm); color: var(--text-body); line-height: var(--lh-base); }

/* ============================================================================
   SERVICES — pricing cards (dark)
   ============================================================================ */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: var(--sp-6); align-items: stretch; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.svc {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: var(--sp-8); border-radius: var(--card-radius-lg);
  background: var(--card-dark-bg); border: 1px solid var(--card-dark-border);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base), background var(--t-base);
}
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; }
.svc--1::before { background: linear-gradient(90deg, var(--teal-500), var(--blue-400)); }
.svc--2::before { background: linear-gradient(90deg, var(--orange-500), var(--orange-400)); }
.svc--3::before { background: linear-gradient(90deg, var(--blue-400), var(--teal-500)); }
.svc:hover { transform: translateY(-6px); background: var(--card-dark-bg-hover); border-color: var(--line-dark-strong); box-shadow: var(--sh-xl); }
.svc--featured { background: linear-gradient(160deg, rgba(255,107,43,0.10), rgba(18,194,192,0.06)); border-color: rgba(255,107,43,0.26); }

.svc__flag { position: absolute; top: var(--sp-6); right: var(--sp-6); padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255,107,43,0.16); border: 1px solid rgba(255,107,43,0.30); color: var(--orange-400); font-size: 10px; font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase; }
.svc__no { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: 0.10em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--sp-4); }
.svc__title { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); color: var(--white); line-height: var(--lh-snug); margin-bottom: var(--sp-3); }
.svc__sub { font-size: var(--fs-sm); color: var(--on-dark-soft); line-height: var(--lh-base); margin-bottom: var(--sp-5); }
.svc__bestfor { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: rgba(18,194,192,0.08); border: 1px solid rgba(18,194,192,0.16); color: var(--teal-300); font-size: var(--fs-sm); line-height: var(--lh-base); margin-bottom: var(--sp-6); }
.svc__bestfor b { display: block; color: var(--teal-400); font-weight: var(--fw-semi); margin-bottom: 3px; }

.svc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-6); }
@media (max-width: 460px) { .svc__cols { grid-template-columns: 1fr; } }
.list-label { font-size: 10px; font-weight: var(--fw-semi); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--sp-2); }
.ticklist { display: flex; flex-direction: column; gap: 5px; }
.ticklist li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--on-dark-soft); }
.ticklist li::before { content: "✓"; color: var(--teal-400); font-weight: var(--fw-bold); font-size: 11px; margin-top: 1px; flex-shrink: 0; }

/* pricing inside service */
.price-block { margin-top: auto; padding-top: var(--sp-6); border-top: 1px solid var(--line-dark); }
.price-title { font-size: 10px; font-weight: var(--fw-semi); letter-spacing: 0.10em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: var(--sp-3); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { font-size: 10px; font-weight: var(--fw-semi); letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-dark-muted); text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line-dark); }
.price-table td { font-size: var(--fs-sm); color: var(--on-dark-soft); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table td:last-child { font-family: var(--font-mono); font-weight: var(--fw-semi); color: var(--teal-300); }
.price-note { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--on-dark-muted); line-height: var(--lh-base); font-style: italic; }

.tiers { display: flex; flex-direction: column; gap: var(--sp-3); }
.tier { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--card-dark-bg); border: 1px solid var(--card-dark-border); transition: border-color var(--t-base), transform var(--t-base); }
.tier:hover { border-color: rgba(255,107,43,0.30); transform: translateX(3px); }
.tier__name { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--white); }
.tier__desc { font-size: var(--fs-xs); color: var(--on-dark-muted); }
.tier__price { font-family: var(--font-mono); font-size: var(--fs-lg); font-weight: var(--fw-medium); color: var(--orange-400); text-align: right; white-space: nowrap; letter-spacing: -0.02em; }
.tier__per { font-size: 10px; color: var(--on-dark-muted); }

.scope-note { padding: var(--sp-4); border-radius: var(--r-md); background: rgba(255,107,43,0.08); border: 1px solid rgba(255,107,43,0.20); }
.scope-note__label { font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-400); margin-bottom: var(--sp-2); }
.scope-note__text { font-size: var(--fs-sm); color: var(--on-dark-soft); line-height: var(--lh-base); }

/* ============================================================================
   DISPUTE BOUNDARIES (deeper)
   ============================================================================ */
.dispute-panel { position: relative; overflow: hidden; padding: var(--sp-8); border-radius: var(--r-xl); background: var(--card-dark-bg); border: 1px solid var(--card-dark-border); }
.dispute-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--red-500), var(--orange-500)); }
.dispute-panel__title { font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-semi); color: var(--white); margin-bottom: var(--sp-4); }
.dispute-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-bottom: var(--sp-6); }
@media (max-width: 480px) { .dispute-list { grid-template-columns: 1fr; } }
.dispute-list li { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--on-dark-soft); }
.dispute-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(239,68,68,0.6); flex-shrink: 0; }
.dispute-cta { padding: var(--sp-4); border-radius: var(--r-md); background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.20); font-size: var(--fs-sm); color: var(--on-dark-soft); line-height: var(--lh-base); }
.dispute-cta b { color: #F87171; }
.scope-rows { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.scope-rows__row { display: flex; align-items: center; gap: var(--sp-3); }
.scope-rows__row span:last-child { font-size: var(--fs-sm); color: var(--on-dark-muted); }

/* ============================================================================
   PROCESS (dark) — vertical timeline
   ============================================================================ */
.timeline { max-width: 740px; margin-inline: auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 28px; top: 36px; bottom: 36px; width: 2px; background: linear-gradient(180deg, var(--teal-500), var(--orange-500)); opacity: 0.3; }
.step { position: relative; display: flex; gap: var(--sp-6); padding-block: var(--sp-8); }
.step__num { position: relative; z-index: 1; flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); border: 2px solid rgba(18,194,192,0.30); font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--teal-400); transition: background var(--t-base), border-color var(--t-base), color var(--t-base), box-shadow var(--t-base); }
.step:hover .step__num { background: var(--teal-600); border-color: var(--teal-400); color: var(--white); box-shadow: var(--glow-teal); }
.step__title { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-semi); color: var(--white); margin-bottom: var(--sp-2); }
.step__text { font-size: var(--fs-base); color: var(--on-dark-soft); line-height: var(--lh-base); max-width: 480px; }
.step__badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }

/* ============================================================================
   FUTURE WORKSPACE (deeper)
   ============================================================================ */
.ws-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.ws-feature { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); 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); }
.ws-feature:hover { transform: translateY(-3px); background: rgba(18,194,192,0.06); border-color: rgba(18,194,192,0.26); }
.ws-feature__ic { font-size: 1.1rem; }
.ws-feature__text { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--on-dark-soft); }

.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); }

/* ============================================================================
   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); }

/* ============================================================================
   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: 2fr 1fr 1fr 1fr; gap: var(--sp-10); margin-bottom: var(--sp-12); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }
.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-500); 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-500); transition: color var(--t-fast); }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: flex-start; }
.footer__copyright { font-size: var(--fs-xs); color: var(--gray-600); }
.footer__disclaimer { font-size: var(--fs-xs); color: var(--gray-600); max-width: 520px; line-height: var(--lh-loose); font-style: italic; }

/* ============================================================================
   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; }
  .ws-features { grid-template-columns: 1fr; }
  .timeline::before { left: 22px; }
  .step__num { width: 46px; height: 46px; font-size: var(--fs-base); }
}
