/* ════════════════════════════════════════════════════════════════════════════
   GAMAVIS CRM — Marketing site
   Token palette mirrors the app (crm-frontend/src/assets/styles/_variables.scss):
   Inter, indigo #4F46E5 primary, slate scale, dark theme by default, 6/8/12 radii.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand (same indigo ramp the app uses) */
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;

  /* Slate scale (app surfaces) */
  --slate-50:  #f8fafc;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-850: #1a2234;
  --slate-900: #0f172a;
  --slate-950: #0b1120;
  --gray-900:  #111827;
  --gray-800:  #1f2937;

  /* Status colours (app's bootstrap theme) */
  --emerald: #10b981;
  --sky:     #0ea5e9;
  --amber:   #f59e0b;
  --red:     #ef4444;
  --wa:      #25d366;

  /* Semantic — dark-first, matching the app's default dark theme */
  --bg:           var(--slate-950);
  --bg-section:   var(--slate-900);
  --surface:      var(--gray-900);
  --surface-2:    var(--slate-800);
  --border:       var(--gray-800);
  --border-2:     var(--slate-700);
  --text:         var(--slate-200);
  --text-muted:   var(--slate-400);
  --text-faint:   var(--slate-500);
  --heading:      var(--slate-50);
  --primary:      var(--indigo-500);
  --primary-strong: var(--indigo-600);
  --primary-soft: var(--indigo-400);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Radii (app: 6 / 8 / 12) */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 999px;

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

  /* Shadows (app's dark-mode layered tokens + an indigo glow for CTAs) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.55);
  --glow: 0 0 0 1px rgba(99, 102, 241, 0.35), 0 8px 28px rgba(79, 70, 229, 0.35);

  --header-h: 68px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: clip; /* belt-and-braces against any stray horizontal overflow */
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em; /* app's Linear-style tight tracking */
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--primary-soft); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

::selection { background: rgba(99, 102, 241, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-600); border-radius: var(--r-sm); }
::-webkit-scrollbar-thumb:hover { background: var(--slate-500); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.85);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--primary-strong);
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 100% - 48px); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.18s ease,
              background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(0); box-shadow: none; }
.btn--lg { padding: 14px 28px; font-size: 16px; border-radius: var(--r-lg); }

.btn--primary {
  background: linear-gradient(180deg, var(--indigo-500), var(--indigo-600));
  color: #fff;
  box-shadow: var(--glow);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6), 0 12px 36px rgba(79, 70, 229, 0.5); }

.btn--outline {
  background: rgba(99, 102, 241, 0.06);
  border-color: var(--border-2);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--indigo-400); color: #fff; box-shadow: var(--shadow-sm); }

.btn--ghost { background: transparent; color: var(--text-muted); }
.btn--ghost:hover { color: #fff; background: rgba(148, 163, 184, 0.08); }

.btn__icon { width: 18px; height: 18px; transition: transform 0.18s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 17, 32, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 17, 32, 0.85);
  border-bottom-color: var(--border);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__logo {
  width: 34px; height: 34px;
  object-fit: contain;
  /* The GAMAVIS mark is navy on transparent — recolour to white on dark, the
     same trick the app uses for its dark theme. */
  filter: brightness(0) invert(1);
}
.brand__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}
.brand__name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--heading);
}
.brand__suffix { font-weight: 500; color: var(--text-faint); }
.brand__by {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}
.site-nav__list {
  display: flex;
  gap: var(--space-2);
}
.site-nav__link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.site-nav__link:hover { color: #fff; background: rgba(148, 163, 184, 0.08); }
.site-nav__link.is-active { color: var(--indigo-300); }
.site-nav__actions { display: flex; gap: var(--space-3); align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 9vh, 110px)) 0 var(--space-8);
  text-align: center;
}

.hero__aurora { position: absolute; inset: 0; pointer-events: none; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.aurora--1 {
  width: 640px; height: 640px;
  left: 50%; top: -280px;
  margin-left: -320px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.55), transparent 65%);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}
.aurora--2 {
  width: 480px; height: 480px;
  left: 8%; top: 80px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28), transparent 65%);
  animation: aurora-drift 22s ease-in-out infinite alternate-reverse;
}
.aurora--3 {
  width: 460px; height: 460px;
  right: 6%; top: 160px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.30), transparent 65%);
  animation: aurora-drift 19s 2s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 18%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 18%, #000 25%, transparent 75%);
}

.hero__inner { position: relative; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.10);
  color: var(--indigo-300);
  font-size: 13.5px;
  font-weight: 600;
}
.chip__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: chip-pulse 2.2s ease-out infinite;
}
@keyframes chip-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero__title {
  margin: var(--space-5) auto var(--space-4);
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 24ch;
}
/* The explicit line break is for wide screens; let text flow naturally on small */
@media (max-width: 560px) {
  .hero__title br { display: none; }
}
.hero__title-accent {
  background: linear-gradient(100deg, var(--indigo-300) 5%, var(--indigo-500) 55%, var(--sky) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.hero__micro {
  margin-top: var(--space-4);
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ── Hero mockup — the live dashboard ─────────────────────────────────────── */
.mockup-stage {
  position: relative;
  margin: var(--space-8) auto 0;
  max-width: 980px;
  perspective: 1600px;
}
.mockup-stage__glow {
  position: absolute;
  inset: 8% -4% -6%;
  z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 60%, rgba(79, 70, 229, 0.28), transparent 70%);
  filter: blur(30px);
}

.mockup {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: var(--slate-900);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99, 102, 241, 0.10);
  transform: rotateX(7deg) scale(0.985);
  transform-origin: 50% 0;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.mockup-stage:hover .mockup,
.mockup-stage:focus-within .mockup {
  transform: rotateX(0deg) scale(1);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99, 102, 241, 0.22), 0 30px 80px rgba(79, 70, 229, 0.22);
}

.mockup__glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 20%), rgba(165, 180, 252, 0.08), transparent 60%);
}

.mockup__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--gray-900);
  border-bottom: 1px solid var(--border);
}
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup__dot--r { background: #f87171; }
.mockup__dot--y { background: #fbbf24; }
.mockup__dot--g { background: #34d399; }
.mockup__url {
  margin-left: 14px;
  padding: 4px 14px;
  border-radius: var(--r-full);
  background: var(--slate-800);
  color: var(--text-faint);
  font-size: 11.5px;
}

.mockup__body {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 430px;
}

.mockup__side {
  background: var(--gray-900);
  border-right: 1px solid var(--border);
  padding: 14px 10px;
}
.mockup__side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--heading);
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.mockup__side-brand img { filter: brightness(0) invert(1); }
.mockup__nav { display: flex; flex-direction: column; gap: 2px; }
.mockup__nav-item {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 11.5px;
  color: var(--slate-400);
}
.mockup__nav-item.is-active {
  /* mirrors the app's active sidebar link: indigo wash + left accent bar */
  position: relative;
  background: rgba(79, 70, 229, 0.16);
  color: var(--indigo-300);
  font-weight: 600;
}
.mockup__nav-item.is-active::before {
  content: '';
  position: absolute;
  left: 3px; top: 5px; bottom: 5px;
  width: 3px;
  border-radius: 3px;
  background: var(--indigo-400);
}

.mockup__main { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 12px; }

.mockup__topbar { display: flex; align-items: center; gap: 10px; }
.mockup__search {
  flex: 1;
  height: 26px;
  border-radius: var(--r-sm);
  background: var(--slate-800);
  border: 1px solid var(--border-2);
}
.mockup__bell { width: 26px; height: 26px; border-radius: var(--r-sm); background: var(--slate-800); }
.mockup__avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--indigo-500), var(--sky));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.mockup__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mockup__stat {
  background: var(--gray-900);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup__stat-label { font-size: 10.5px; color: var(--text-faint); }
.mockup__stat-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.mockup__stat-delta { font-size: 10px; font-weight: 600; }
.mockup__stat-delta.up { color: var(--emerald); }

.mockup__panels {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 10px;
  flex: 1;
}

/* Kanban */
.mockup__kanban {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--gray-900);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px;
}
.mockup__col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mockup__col-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
}
.mockup__col-title i {
  font-style: normal;
  background: var(--slate-800);
  border-radius: var(--r-full);
  padding: 0 6px;
  font-size: 9px;
  color: var(--slate-400);
}
.mockup__col--won .mockup__col-title { color: var(--emerald); }
.mockup__card {
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--slate-800);
  border: 1px solid var(--border-2);
}
.mockup__card--short { height: 24px; }
.mockup__col--won .mockup__card { border-color: rgba(16, 185, 129, 0.35); }

/* The travelling lead card — hops New → Contacted → Quotation Sent → Converted */
.mockup__traveler {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: 12px;
  width: calc(25% - 11.5px);
  padding: 6px 8px;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.28), rgba(79, 70, 229, 0.18));
  border: 1px solid var(--indigo-400);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
  animation: lead-journey 14s var(--ease) infinite;
}
.mockup__traveler-name {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup__traveler-sub {
  display: block;
  font-size: 8.5px;
  color: var(--indigo-300);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes lead-journey {
  0%, 16%   { transform: translateX(0); opacity: 1; }
  22%       { transform: translateX(25%) translateY(-10px) rotate(2deg); }
  27%, 40%  { transform: translateX(calc(100% + 8px)); }
  46%       { transform: translateX(calc(175% + 8px)) translateY(-10px) rotate(2deg); }
  51%, 64%  { transform: translateX(calc(200% + 16px)); }
  70%       { transform: translateX(calc(275% + 16px)) translateY(-10px) rotate(2deg); }
  75%, 92%  { transform: translateX(calc(300% + 24px)); }
  96%       { opacity: 1; }
  98%       { transform: translateX(calc(300% + 24px)); opacity: 0; }
  99%       { transform: translateX(0); opacity: 0; }
  100%      { transform: translateX(0); opacity: 1; }
}

/* Toast that fires when the lead lands in Converted */
.mockup__toast {
  position: absolute;
  z-index: 4;
  right: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 78%;
  padding: 7px 12px;
  border-radius: var(--r-md);
  background: var(--slate-800);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: var(--shadow-md);
  font-size: 10px;
  color: var(--text);
  opacity: 0;
  transform: translateY(-8px);
  animation: toast-pop 14s var(--ease) infinite;
}
.mockup__toast b { color: var(--emerald); }
.mockup__toast-icon {
  flex-shrink: 0;
  width: 16px; height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--emerald);
  color: #04261b;
  font-size: 10px;
  font-weight: 800;
}
@keyframes toast-pop {
  0%, 75%   { opacity: 0; transform: translateY(-8px); }
  78%, 93%  { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* Chart panel */
.mockup__chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--gray-900);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
}
.mockup__chart-title { font-size: 10.5px; color: var(--text-faint); }
.mockup__bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  min-height: 110px;
}
.mockup__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--indigo-400), var(--indigo-600));
  transform-origin: bottom;
  animation: bar-grow 1.2s var(--ease) backwards;
}
.mockup__bars i:nth-child(2) { animation-delay: 0.08s; }
.mockup__bars i:nth-child(3) { animation-delay: 0.16s; }
.mockup__bars i:nth-child(4) { animation-delay: 0.24s; }
.mockup__bars i:nth-child(5) { animation-delay: 0.32s; }
.mockup__bars i:nth-child(6) { animation-delay: 0.40s; }
.mockup__bars i:nth-child(7) { animation-delay: 0.48s; }
.mockup__bars i:nth-child(8) { animation-delay: 0.56s; }
@keyframes bar-grow { from { transform: scaleY(0); } }

/* ── Proof strip ───────────────────────────────────────────────────────────── */
.proof-strip {
  padding: var(--space-6) 0 var(--space-7);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.proof-strip__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: var(--space-5);
}
.proof-strip__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-6);
}
.proof-strip__logos li {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--slate-500);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.proof-strip__logos li:hover { color: var(--slate-300); }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section { padding: var(--space-10) 0; }
.section--alt {
  background: var(--bg-section);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 660px;
  margin: 0 auto var(--space-8);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--indigo-400);
  margin-bottom: var(--space-3);
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head__lede {
  margin-top: var(--space-4);
  font-size: 17px;
  color: var(--text-muted);
}

/* ── Bento features ────────────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}
.bento__tile {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.bento__tile:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: var(--shadow-md), 0 0 40px rgba(79, 70, 229, 0.10);
  transform: translateY(-3px);
}
.bento__tile h3 { font-size: 20px; }
.bento__tile p { color: var(--text-muted); font-size: 15px; flex: 0 0 auto; }

@media (min-width: 880px) {
  .bento__tile--w4 { grid-column: span 4; }
  .bento__tile--w5 { grid-column: span 5; }
  .bento__tile--w7 { grid-column: span 7; }
  .bento__tile--w12 { grid-column: span 12; }
  .bento__tile--row {
    flex-direction: row;
    align-items: center;
    gap: var(--space-7);
  }
  .bento__tile--row .bento__tile-copy { flex: 1; display: flex; flex-direction: column; gap: var(--space-3); }
  .bento__tile--row .mini { flex: 1; margin-top: 0; }
}

.tile-icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.30);
  color: var(--indigo-300);
}
.tile-icon svg { width: 22px; height: 22px; }

/* Mini visuals inside tiles */
.mini {
  margin-top: auto;
  padding: var(--space-4);
  background: var(--slate-900);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.mini--kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini-col b {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-col span {
  height: 26px;
  border-radius: var(--r-sm);
  background: var(--slate-800);
  border: 1px solid var(--border-2);
}
.mini-col span.hot { border-color: var(--indigo-400); background: rgba(99, 102, 241, 0.18); }
.mini-col--won b { color: var(--emerald); }
.mini-col--won span { border-color: rgba(16, 185, 129, 0.35); }

.mini--flow { display: flex; flex-direction: column; gap: 10px; }
.flow-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-chip {
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--slate-800);
  border: 1px solid var(--border-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.flow-chip--act {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.45);
  color: var(--indigo-300);
}
.flow-arrow { color: var(--text-faint); font-size: 14px; }

.mini--docs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.doc {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--slate-800);
  border: 1px solid var(--border-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}
.doc--paid {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--emerald);
}

.mini--chart { display: flex; flex-direction: column; gap: 12px; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.mini-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--indigo-400), var(--indigo-600));
}
.mini-bars i:nth-child(even) { background: linear-gradient(180deg, #34d399, var(--emerald)); opacity: 0.85; }
.mini-legend { display: flex; gap: 18px; font-size: 12px; color: var(--text-muted); }
.mini-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--indigo { background: var(--indigo-400); }
.dot--emerald { background: var(--emerald); }

.mini--stock { display: flex; flex-direction: column; gap: 12px; }
.stock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.stock-row span { flex: 0 0 44%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock-bar {
  flex: 1;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--slate-800);
  overflow: hidden;
}
.stock-bar b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--emerald); }
.stock-row--low .stock-bar b { background: var(--red); }
.stock-row--low em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2px 8px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.mini--chat { display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 90%;
  padding: 9px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
}
.bubble--wa {
  align-self: flex-start;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px;
}
.bubble--mail {
  align-self: flex-end;
  background: var(--slate-800);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg);
}

.mini--roles { display: flex; flex-direction: column; gap: 10px; }
.role-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.role-pill {
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--slate-800);
  border: 1px solid var(--border-2);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
}
.role-pill--admin { border-color: rgba(99, 102, 241, 0.5); color: var(--indigo-300); }
.role-row em { font-style: normal; font-size: 11.5px; font-weight: 600; }
.role-row em.ok { color: var(--emerald); }
.role-row em.no { color: var(--text-faint); }

.mini--csv { position: relative; font-variant-numeric: tabular-nums; }
.csv-row {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.8fr 1fr;
  gap: 8px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.csv-row:last-of-type { border-bottom: none; }
.csv-row--head {
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}
.csv-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csv-badge {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 700;
}

/* ── Steps ─────────────────────────────────────────────────────────────────── */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
}
.step {
  position: relative;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.step:hover { border-color: rgba(99, 102, 241, 0.45); transform: translateY(-3px); }
.step__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: var(--space-4);
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600));
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
}
.step h3 { font-size: 18px; margin-bottom: var(--space-2); }
.step p { font-size: 14.5px; color: var(--text-muted); }
/* connector line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  right: calc(-1 * var(--space-5));
  width: var(--space-5);
  height: 2px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.5), rgba(99, 102, 241, 0.12));
}

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  margin: 0 auto var(--space-7);
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
}
.billing-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: none;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.billing-toggle__btn.is-active {
  background: var(--primary-strong);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}
.billing-toggle__save {
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald);
}
.billing-toggle__btn.is-active .billing-toggle__save { background: rgba(255, 255, 255, 0.18); color: #fff; }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-md); }

.plan--featured {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.14), rgba(17, 24, 39, 0.9) 45%);
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 50px rgba(79, 70, 229, 0.16);
}
.plan--featured:hover { border-color: var(--indigo-400); box-shadow: 0 0 60px rgba(79, 70, 229, 0.28); }

.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--indigo-500), var(--indigo-600));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
  white-space: nowrap;
}

.plan__head { margin-bottom: var(--space-4); }
.plan__name { font-size: 19px; }
.plan__tag { font-size: 13px; color: var(--text-faint); margin-top: 2px; }
.plan__tag--accent { color: var(--emerald); font-weight: 600; }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.plan__currency { font-size: 20px; font-weight: 700; color: var(--heading); }
.plan__amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  line-height: 1;
}
.plan__amount--custom { font-size: 32px; }
.plan__period { font-size: 14px; color: var(--text-faint); }
.plan__bill-note {
  margin-top: var(--space-2);
  font-size: 12.5px;
  color: var(--text-faint);
  min-height: 1.4em;
}

.plan__features {
  margin: var(--space-5) 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan__features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-muted);
}
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.plan__features li b { color: var(--text); font-weight: 600; }
.plan__cta { width: 100%; }

.plans__gst {
  margin-top: var(--space-6);
  text-align: center;
  font-size: 13.5px;
  color: var(--text-faint);
  max-width: 640px;
  margin-inline: auto;
}

/* ── A day with Mitr Sarthi — story timeline ───────────────────────────────── */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-left: 4px;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-5);
  align-items: start;
}
/* the glowing rail, drawn per-item so it stays aligned at any card height */
.timeline__item::before {
  content: '';
  position: absolute;
  left: 96px;
  top: 34px;
  bottom: calc(-1 * var(--space-5));
  width: 2px;
  transform: translateX(calc(var(--space-5) / 2 - 1px));
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.45), rgba(99, 102, 241, 0.08));
}
.timeline__item:last-child::before { display: none; }
/* node dot on the rail */
.timeline__item::after {
  content: '';
  position: absolute;
  left: 96px;
  top: 18px;
  width: 12px; height: 12px;
  transform: translateX(calc(var(--space-5) / 2 - 6px));
  border-radius: 50%;
  background: var(--indigo-400);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18), 0 0 16px rgba(99, 102, 241, 0.6);
}
.timeline__time {
  margin-top: 12px;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--indigo-300);
  white-space: nowrap;
}
.timeline__card {
  margin-left: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.timeline__card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.timeline__card h3 { font-size: 18px; margin-bottom: var(--space-2); }
.timeline__card p { font-size: 14.5px; color: var(--text-muted); }
.timeline__tag {
  display: inline-block;
  margin-top: var(--space-3);
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.timeline__tag--indigo {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--indigo-300);
}
.timeline__tag--emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald);
}
.timeline__tag--wa {
  background: rgba(37, 211, 102, 0.10);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: var(--wa);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin: var(--space-8) 0 0;
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--border);
}
.stats__item { text-align: center; }
.stats__item dd {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.stats__item dt {
  order: 2;
  margin-top: var(--space-1);
  font-size: 13px;
  color: var(--text-faint);
}
.stats__item { display: flex; flex-direction: column; }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: var(--space-3); }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq__item:has(.faq__q[aria-expanded="true"]) { border-color: rgba(99, 102, 241, 0.45); }
.faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
}
.faq__q:hover { color: var(--indigo-300); }
.faq__chev {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(225deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--text-muted);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-8);
  align-items: start;
}
.contact__info h2 { font-size: clamp(26px, 3.6vw, 38px); }
.contact__lede {
  margin-top: var(--space-4);
  font-size: 16.5px;
  color: var(--text-muted);
}
.contact__channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.contact__channels li { display: flex; align-items: center; gap: var(--space-4); }
.contact__channel-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.30);
  color: var(--indigo-300);
}
.contact__channel-icon svg { width: 20px; height: 20px; }
.contact__channels b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
}
.contact__channels a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s ease;
}
.contact__channels a:hover { color: var(--indigo-300); }
.contact__note {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-left: 3px solid var(--indigo-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(99, 102, 241, 0.07);
  font-size: 14px;
  color: var(--text-muted);
}

.contact__form {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-field { margin-bottom: var(--space-4); }
.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.form-field label em {
  font-style: normal;
  color: var(--indigo-400);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: var(--slate-800);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-faint); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--indigo-400);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.20);
}
.form-field textarea { resize: vertical; min-height: 120px; }
/* Honeypot — visually removed but still in the DOM for bots to find. */
.form-field--hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.4em;
  margin-bottom: var(--space-3);
  font-size: 14px;
  font-weight: 500;
}
.form-status.is-error { color: var(--red); }
.form-status.is-success { color: var(--emerald); }
.contact__submit { width: 100%; }
.contact__submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.contact__privacy {
  margin-top: var(--space-4);
  text-align: center;
  font-size: 12.5px;
  color: var(--text-faint);
}
.contact__privacy a { color: var(--text-muted); text-decoration: underline; }
.contact__privacy a:hover { color: var(--indigo-300); }

/* Success state: the form is replaced by a confirmation panel. */
.contact__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-7) var(--space-5);
}
.contact__success-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--emerald);
  font-size: 26px;
  font-weight: 800;
}
.contact__success h3 { font-size: 20px; }
.contact__success p { color: var(--text-muted); font-size: 14.5px; max-width: 36ch; }

/* ── Final CTA band ────────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--space-10) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-band__glow {
  position: absolute;
  inset: auto -10% -60%;
  height: 480px;
  background: radial-gradient(ellipse 55% 65% at 50% 100%, rgba(79, 70, 229, 0.35), transparent 70%);
  pointer-events: none;
}
.cta-band__inner { position: relative; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 46px); max-width: 16ch; margin-inline: auto; }
.cta-band p {
  margin: var(--space-4) auto 0;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 17px;
}
.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.cta-band__contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-5);
  font-size: 14.5px;
  color: var(--text-faint);
}
.cta-band__contact a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
}
.cta-band__contact a:hover { color: var(--indigo-300); }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--slate-950);
  padding: var(--space-8) 0 var(--space-6);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 0.9fr 0.9fr 1.4fr 0.9fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--border);
}
.site-footer__brand p {
  margin: var(--space-4) 0;
  max-width: 300px;
  font-size: 14px;
  color: var(--text-faint);
}
.site-footer__brand p b { color: var(--text-muted); font-weight: 600; }
.social { display: flex; gap: var(--space-3); }
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  color: var(--text-faint);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.social a:hover { color: #fff; border-color: var(--indigo-400); background: rgba(99, 102, 241, 0.10); }
.social svg { width: 16px; height: 16px; }

.site-footer__col h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: var(--text-muted); font-size: 14.5px; transition: color 0.15s ease; }
.site-footer__col a:hover { color: #fff; }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-5);
  font-size: 13.5px;
  color: var(--text-faint);
}
.site-footer__cta { font-weight: 600; color: var(--indigo-300); }
.site-footer__cta:hover { color: #fff; }

/* ── Scroll reveals ────────────────────────────────────────────────────────── */
/* Hidden-by-default only when JS is live (html.js set by main.js), so content
   never stays invisible if the script fails to load. */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: var(--space-6); }
}

@media (max-width: 880px) {
  .section { padding: var(--space-8) 0; }
  .mockup__side { display: none; }
  .mockup__body { grid-template-columns: 1fr; min-height: 0; }
  .mockup__panels { grid-template-columns: 1fr; }
  .mockup__chart { display: none; }
  .mockup { transform: none; }

  /* Mobile nav: slide-down panel under the header */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-5);
    padding: var(--space-5) var(--space-5) var(--space-6);
    background: rgba(11, 17, 32, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s ease, visibility 0s 0.25s;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform 0.25s var(--ease), opacity 0.25s ease;
  }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__link { display: block; padding: 12px 14px; font-size: 17px; }
  .site-nav__actions { flex-direction: column; align-items: stretch; }
  .site-nav__actions .btn { width: 100%; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__cta .btn { width: 100%; }
  .mockup__stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mockup__stat-value { font-size: 14px; }
  .mockup__stat-label { font-size: 9px; }
  .proof-strip__logos { gap: var(--space-3) var(--space-5); }
  .proof-strip__logos li { font-size: 14px; }
  .bento__tile { padding: var(--space-5); }
  .form-row--2 { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: var(--space-5); }

  /* Timeline: stack the time above the card, rail hugs the left edge */
  .timeline__item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding-left: var(--space-6);
  }
  .timeline__item::before {
    left: 5px;
    top: 24px;
    transform: none;
  }
  .timeline__item::after {
    left: 0;
    top: 6px;
    transform: none;
  }
  .timeline__time { margin-top: 0; text-align: left; }
  .timeline__card { margin-left: 0; padding: var(--space-5); }
}

/* ── Reduced motion: kill all animation, show final states ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .mockup { transform: none; }
  .mockup__traveler { display: none; }
  .mockup__toast { opacity: 1; transform: none; animation: none; }
  .aurora { animation: none; }
}
