/* 2xN — homepage (matches staging site) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --purple:        #a855f7;   /* primary accent */
  --purple-bright: #c084fc;
  --purple-deep:   #7e22ce;
  --purple-darker: #581c87;

  /* Dark surfaces */
  --bg-dark:        #0d0518;   /* page dark sections */
  --bg-dark-2:      #150826;   /* card surfaces in dark */
  --bg-dark-edge:   #1f0f33;
  --bg-purple-mid:  #2a1448;   /* hero glow */

  /* Light surfaces */
  --bg-light:       #f5f3f9;   /* services / process bg */
  --card-light:     #ffffff;
  --border-light:   #ebe7f0;
  --icon-tile:      #f1e8fb;   /* light purple icon background */

  /* Text */
  --text-on-dark:        #ffffff;
  --text-on-dark-muted:  #b8a8d0;
  --text-on-light:       #0d0518;
  --text-on-light-muted: #6a5d80;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }
/* smooth-scroll all in-page anchor links instead of hard jumping */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* offset anchor landings so they clear the sticky top nav */
:target { scroll-margin-top: 90px; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 900px) {
  .container { padding: 0 22px; }
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn--primary {
  background: var(--purple);
  color: #fff;
}
.btn--primary:hover { background: var(--purple-deep); }
.btn--outline-light {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn--outline-dark {
  background: transparent; color: var(--text-on-light);
  border-color: rgba(13,5,24,0.2);
}
.btn--outline-dark:hover { background: rgba(13,5,24,0.05); }

.arrow {
  display: inline-block; transition: transform 160ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ===========================================================
   TOP NAV
   =========================================================== */
.topnav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(13, 5, 24, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topnav__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 22px 40px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
}
.wordmark img {
  height: 29.4px;
  width: auto;
  display: block;
}
.topnav__nav {
  display: flex; gap: 36px; justify-content: center;
}
.topnav__nav a {
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color 160ms ease;
}
.topnav__nav a:hover { color: #fff; }
.topnav__nav a {
  position: relative;
}
.topnav__nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: var(--purple-bright, #a855f7);
  transition: right 220ms cubic-bezier(.4,0,.2,1);
}
.topnav__nav a.is-current { color: #fff; }
.topnav__nav a.is-current::after { right: 0; }
.topnav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* hamburger — hidden on desktop */
.topnav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  color: #fff;
  transition: border-color 160ms ease, background 160ms ease;
}
.topnav__burger:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }
.topnav__burger-lines { position: relative; width: 20px; height: 14px; display: block; }
.topnav__burger-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform 240ms ease, opacity 200ms ease, top 240ms ease;
}
.topnav__burger-lines span:nth-child(1) { top: 0; }
.topnav__burger-lines span:nth-child(2) { top: 6px; }
.topnav__burger-lines span:nth-child(3) { top: 12px; }
.topnav__burger.is-open .topnav__burger-lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.topnav__burger.is-open .topnav__burger-lines span:nth-child(2) { opacity: 0; }
.topnav__burger.is-open .topnav__burger-lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* mobile slide-down menu */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: rgba(13, 5, 24, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: max-height 320ms cubic-bezier(.4,0,.2,1), opacity 240ms ease;
}
.mobile-menu.is-open { max-height: 80vh; opacity: 1; }
.mobile-menu__nav {
  display: flex; flex-direction: column;
  padding: 12px 22px calc(22px + env(safe-area-inset-bottom));
}
.mobile-menu__nav a:not(.btn) {
  font-size: 17px; font-weight: 600;
  color: rgba(255,255,255,0.88);
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 160ms ease;
}
.mobile-menu__nav a:not(.btn):hover { color: var(--purple-bright); }
.mobile-menu__cta {
  justify-content: center;
  margin-top: 18px;
  padding: 16px 22px;
}
.nav-scrim {
  position: fixed; inset: 0; z-index: 25;
  background: rgba(7, 2, 15, 0.5);
  opacity: 0;
  transition: opacity 240ms ease;
}
.nav-scrim.is-open { opacity: 1; }
body.nav-locked { overflow: hidden; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 720px 520px at 30% 70%,
       rgba(126, 34, 206, 0.55) 0%,
       rgba(88, 28, 135, 0.25) 35%,
       transparent 70%),
    linear-gradient(180deg, #0a0314 0%, #0d0518 60%, #0d0518 100%);
  padding: 60px 0 0;
  overflow: hidden;
}
.hero::before {
  /* faint diagonal lines top-right */
  content: ""; position: absolute;
  right: 0; top: 0; width: 50%; height: 100%;
  background: repeating-linear-gradient(
    -25deg,
    transparent 0 80px,
    rgba(168, 85, 247, 0.04) 80px 81px
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 60px 100px;
}
.hero__left { min-width: 0; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 24px;
}
.hero__h1 {
  font-size: clamp(48px, 5.8vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: #fff;
}
.hero__h1 .amplified {
  color: var(--purple);
}
.hero__deck {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  max-width: 440px;
  margin: 0 0 36px;
}
.hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* hero right — V3 featured stat + supporting chips */
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.hero-stats__eyebrow {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0;
}
.hero-stats__big {
  font-size: clamp(69px, 7.9vw, 121px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin: 0;
  max-width: 38ch;
}
.hero-stats__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.hero-stats__chip {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: background 200ms ease, border-color 200ms ease;
}
.hero-stats__chip:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.32);
}
.hero-stats__chip .stat__icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  margin-bottom: 0;
}
.hero-stats__chip .stat__icon svg { width: 16px; height: 16px; }
.hero-stats__chip-num {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  line-height: 1;
}
.hero-stats__chip-lbl {
  font-size: 11px;
  color: var(--text-on-dark-muted);
  margin: 0;
  text-align: right;
  letter-spacing: 0.02em;
}

/* keep the old .stat rules around so other usages won't break */
.stat { text-align: center; min-width: 0; }
.stat__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--purple-bright);
}
.stat__num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 6px;
  white-space: nowrap;
}
.stat__label {
  font-size: 12px;
  color: var(--text-on-dark-muted);
  margin: 0;
  white-space: nowrap;
}

/* trusted-by marquee */
.trusted {
  position: relative;
  margin-top: 0;
  padding: 26px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.04) 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trusted__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
}
.trusted__label {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  margin: 0;
  white-space: nowrap;
}
.trusted__marquee {
  position: relative;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trusted__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trusted__marquee:hover .trusted__track {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trusted__track { animation: none; }
}
.logo {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  transition: color 200ms ease, opacity 200ms ease;
  opacity: 0.85;
}
.logo:hover { color: #fff; opacity: 1; }
.logo .tld { color: rgba(255,255,255,0.5); font-weight: 400; font-size: 12px; }
.logo--mark::before {
  content: ""; width: 14px; height: 14px; border-radius: 3px;
  background: rgba(255,255,255,0.7);
  display: inline-block;
}

/* ===========================================================
   SECTION SCAFFOLD
   =========================================================== */
.section { padding: 100px 0; }
.section--light {
  background: var(--bg-light);
  color: var(--text-on-light);
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 80px;
  align-items: start;
}
.section__head {
  position: sticky; top: 100px;
}
.section__title {
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.section__title .accent { color: var(--purple); }
.section__lede {
  font-size: 15px; line-height: 1.7;
  margin: 0 0 28px;
}
.section--dark .section__lede { color: var(--text-on-dark-muted); }
.section--light .section__lede { color: var(--text-on-light-muted); }

/* ===========================================================
   SERVICES (light)
   =========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.svc--wide {
  grid-column: 1 / -1;
  max-width: calc(50% - 9px);
}
/* Box 01 spans both rows in the left column */
.svc--tall {
  grid-column: 1;
  grid-row: span 2;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 0;
}
.svc--tall .svc__icon {
  width: 64px; height: 64px;
  margin-bottom: 28px;
}
.svc--tall .svc__title { font-size: 24px; }
.svc--tall .svc__body { font-size: 15px; line-height: 1.6; }
.svc {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.svc:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(126, 34, 206, 0.10);
  border-color: rgba(168, 85, 247, 0.35);
}
.svc__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--icon-tile);
  color: var(--purple-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.svc__num {
  font-size: 12px; font-weight: 600;
  color: var(--text-on-light-muted);
  margin: 0 0 4px;
}
.svc__title {
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text-on-light);
}
.svc__body {
  font-size: 14px; line-height: 1.55;
  color: var(--text-on-light-muted);
  margin: 0;
}
.svc__price {
  align-self: start;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-deep);
  text-align: right;
  max-width: 78px;
  line-height: 1.25;
}

/* ===========================================================
   WHY 2xN — Asymmetric tearsheet (V5)
   =========================================================== */
.why__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: end;
  margin-bottom: 40px;
}
.why__title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.why__title .accent { color: var(--purple-bright); }
.why__intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin: 0;
  max-width: 38ch;
  text-align: right;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 16px;
}
.why__card {
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}
.why__card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}
.why__card-idx {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}
.why__card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}
.why__card-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin: 0;
}

/* Featured big card */
.why__card--big {
  grid-column: span 6;
  grid-row: span 2;
  background:
    radial-gradient(ellipse 420px 280px at 100% 100%, rgba(168, 85, 247, 0.28) 0%, transparent 70%),
    var(--bg-dark-2);
  border-color: rgba(168, 85, 247, 0.3);
  padding: 36px;
}
.why__card--big .why__card-title {
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: auto;
}
.why__card--big .why__card-body {
  font-size: 15px;
}
.why__hero-stat {
  font-size: clamp(72px, 7.2vw, 100px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--purple-bright);
  margin: 8px 0 0;
}
.why__hero-pct {
  font-size: 0.6em;
  font-weight: 700;
  opacity: 0.85;
  margin-left: -4px;
}

.why__card--medium { grid-column: span 6; }
.why__card--small  { grid-column: span 4; }

/* Accent / promise card */
.why__card--accent {
  background:
    linear-gradient(140deg, #7e22ce 0%, #581c87 100%);
  border-color: transparent;
}
.why__card--accent .why__card-idx { color: rgba(255, 255, 255, 0.7); }
.why__card--accent .why__card-body { color: rgba(255, 255, 255, 0.88); }
.why__card--accent:hover { border-color: rgba(255, 255, 255, 0.25); }

@media (max-width: 1100px) {
  .why__head { grid-template-columns: 1fr; gap: 20px; }
  .why__intro { text-align: left; max-width: none; }
  .why__card--big { grid-column: span 12; grid-row: span 1; }
  .why__card--medium { grid-column: span 12; }
  .why__card--small { grid-column: span 12; }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 36px;
}
.feat {
  display: flex; flex-direction: column; gap: 10px;
}
.feat__icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--purple);
  margin-bottom: 4px;
}
.feat__title {
  font-size: 18px; font-weight: 700;
  color: var(--purple);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.feat__body {
  font-size: 14px; line-height: 1.65;
  color: var(--text-on-dark-muted);
  margin: 0;
}

/* ===========================================================
   PROCESS (light)
   =========================================================== */
.process__head {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.process__title {
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-on-light);
}
.process__tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  text-align: right;
  margin: 0;
}
/* Interactive timeline */
.process-rail {
  position: relative;
  padding: 56px 0 0;
}
.process-rail__track {
  position: absolute;
  left: 22px; right: 22px; top: 42px; height: 4px;
  border-radius: 2px;
  background: rgba(168, 85, 247, 0.18);
  overflow: hidden;
}
.process-rail__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-bright) 100%);
  border-radius: 2px;
  transition: width 600ms cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.step {
  position: relative;
  padding-top: 60px;
  background: transparent;
  border: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: inherit;
  padding-left: 0; padding-right: 0;
  border-radius: 8px;
  transition: transform 260ms ease;
}
.step:hover { transform: translateY(-2px); }
.step:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 6px;
}
.step__node {
  position: absolute;
  top: 16px; left: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--text-on-light-muted);
  border: 2px solid rgba(168, 85, 247, 0.3);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transition: background 260ms ease, color 260ms ease,
              border-color 260ms ease, box-shadow 260ms ease,
              transform 260ms ease;
  z-index: 1;
}
.step:hover .step__node {
  border-color: var(--purple);
  color: var(--purple-deep);
}
.step.is-done .step__node {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.step.is-active .step__node {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: scale(1.15);
  box-shadow:
    0 0 0 6px rgba(168, 85, 247, 0.16),
    0 8px 20px rgba(168, 85, 247, 0.45);
}
.step__num {
  font-size: 12px; font-weight: 600;
  color: var(--text-on-light-muted);
  margin: 16px 0 6px;
  transition: color 260ms ease;
}
.step.is-active .step__num,
.step.is-done .step__num { color: var(--purple); }
.step__title {
  font-size: 18px; font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-on-light);
  letter-spacing: -0.01em;
  transition: color 260ms ease;
}
.step.is-active .step__title { color: var(--purple-deep); }
.step__body {
  font-size: 13px; line-height: 1.55;
  color: var(--text-on-light-muted);
  margin: 0;
  transition: color 260ms ease;
}

/* Detail panel below timeline — expands the active step */
.process-detail {
  margin-top: 64px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(126, 34, 206, 0.06);
  position: relative;
  overflow: hidden;
}
.process-detail::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-bright) 100%);
}
.process-detail__num {
  font-size: 56px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 80px;
}
.process-detail__body {
  min-width: 0;
}
.process-detail__label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  margin: 0 0 6px;
}
.process-detail__title {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
  margin: 0 0 8px;
}
.process-detail__copy {
  font-size: 15px; line-height: 1.6;
  color: var(--text-on-light-muted);
  margin: 0;
  max-width: 60ch;
}
.process-detail__nav {
  display: flex; gap: 8px;
  flex-shrink: 0;
}
.process-detail__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text-on-light);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.process-detail__btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.process-detail__progress {
  position: absolute;
  left: 4px; right: 0; bottom: 0; height: 2px;
  background: rgba(168, 85, 247, 0.12);
}
.process-detail__progress span {
  display: block; height: 100%;
  width: 0%;
  background: var(--purple);
  transition: width 80ms linear;
}

/* Crossfade content swap */
.process-detail__body > * { transition: opacity 200ms ease; }
.process-detail.is-swapping .process-detail__body > * { opacity: 0; }

/* ===========================================================
   TESTIMONIALS SLIDER (dark)
   =========================================================== */
.testimonials-grid { display: block; } /* legacy, unused */

/* Centered section head (spotlight) */
.section__head--center {
  position: static;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.section__head--center .section__title { margin-bottom: 18px; }
.section__head--center .section__lede { margin: 0 auto; }

/* Spotlight carousel */
.tspot { position: relative; }

/* On-brand glow behind the testimonials spotlight (dark) */
#insights {
  position: relative;
  overflow: hidden;
}
#insights::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 58% at 50% 46%, rgba(168,85,247,0.31) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(126,34,206,0.24) 0%, transparent 60%),
    radial-gradient(ellipse 90% 55% at 50% 118%, rgba(88,28,135,0.36) 0%, transparent 62%);
}
#insights > * { position: relative; z-index: 1; }
.tspot__viewport {
  overflow-x: clip;
  overflow-y: visible;
  margin-top: 44px;
  padding: 28px 0 36px;
  -webkit-user-select: none; user-select: none;
  cursor: grab;
}
.tspot__viewport.is-dragging { cursor: grabbing; }
.tspot__track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.tspot__track.no-anim { transition: none; }
.tspot__card {
  flex: 0 0 auto;
  width: min(880px, 80vw);
  box-sizing: border-box;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 52px 60px 44px;
  opacity: 0.34;
  transform: scale(0.92);
  transition: opacity 440ms ease, transform 440ms ease, border-color 440ms ease, box-shadow 440ms ease;
}
.tspot__card.is-active {
  opacity: 1;
  transform: scale(1);
  background:
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(168,85,247,0.07) 0%, transparent 60%),
    var(--bg-dark-2);
  border-color: rgba(168,85,247,0.4);
  box-shadow: 0 44px 110px -34px rgba(168,85,247,0.33);
}
.tspot__mark {
  font-size: 60px; line-height: 0.6; font-weight: 800;
  color: var(--purple); margin: 0 0 22px; height: 26px;
}
.tspot__quote {
  font-size: 26px; line-height: 1.45; font-weight: 500;
  letter-spacing: -0.01em; color: #fff; margin: 0;
  text-wrap: pretty;
}
.tspot__quote.is-clamped {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tspot__more {
  margin-top: 16px; display: none;
  background: none; border: none; padding: 0; cursor: pointer; font: inherit;
  font-size: 15px; font-weight: 700; color: var(--purple-bright);
  align-items: center; gap: 6px;
}
.tspot__card.has-overflow .tspot__more { display: inline-flex; }
.tspot__more .chev { transition: transform 200ms ease; }
.tspot__card.is-open .tspot__more .chev { transform: rotate(180deg); }
.tspot__foot {
  display: flex; align-items: center; gap: 16px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.tspot__author { display: flex; align-items: center; gap: 14px; }
.tspot__avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--purple-darker); color: #fff;
  font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.tspot__name { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 2px; }
.tspot__role { font-size: 13px; color: var(--text-on-dark-muted); margin: 0; }
.tspot__rolelink {
  color: var(--purple-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.tspot__rolelink:hover { color: #fff; border-bottom-color: rgba(192,132,252,0.6); }

.tspot__controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 44px;
}
.tspot__dots { display: flex; gap: 8px; align-items: center; }
.tspot__dot {
  width: 24px; height: 4px; border-radius: 2px; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.18);
  transition: background 200ms ease, width 200ms ease;
}
.tspot__dot:hover { background: rgba(255,255,255,0.4); }
.tspot__dot.is-active { background: var(--purple); width: 40px; }
.tspot__navwrap { display: flex; align-items: center; gap: 16px; }
.tspot__count { font-size: 13px; color: var(--text-on-dark-muted); letter-spacing: 0.02em; margin: 0; }
.tspot__count strong { color: #fff; font-weight: 700; }
.tspot__nav { display: flex; gap: 8px; }
.tspot__btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,0.18); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.tspot__btn:hover { background: var(--purple); border-color: var(--purple); }
.tspot__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.tspot__btn:disabled:hover { background: transparent; border-color: rgba(255,255,255,0.18); }

@media (max-width: 720px) {
  .tspot__card { width: 84vw; padding: 34px 28px 30px; }
  .tspot__quote { font-size: 21px; }
  .tspot__mark { font-size: 48px; }
}

/* ===========================================================
   CTA STRIP
   =========================================================== */
.cta-strip {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192, 132, 252, 0.25), transparent 60%),
    linear-gradient(135deg, #4c1d95 0%, #6b21a8 60%, #581c87 100%);
  border-radius: 24px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px; align-items: center;

  /* scroll-in animation */
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 700ms cubic-bezier(.22, .61, .36, 1),
              transform 700ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.cta-strip.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .cta-strip { opacity: 1; transform: none; transition: none; }
}
.cta-strip__title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #fff;
}
.cta-strip__title .accent { color: var(--purple-bright); }
.cta-strip__body {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 38ch;
}

/* expanded form */
.cta-strip__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cta-strip__field {
  position: relative;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 4px 4px 20px;
  display: flex; align-items: center;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.cta-strip__field:focus-within {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.25);
}
.cta-strip__field--full { grid-column: 1 / -1; }
.cta-strip__field.is-invalid {
  border-color: #fca5a5;
  box-shadow: 0 0 0 4px rgba(252, 165, 165, 0.18);
}
.cta-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.cta-strip__input,
.cta-strip__select {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  font-size: 14px;
  color: var(--text-on-light);
  padding: 11px 0;
}
.cta-strip__input::placeholder { color: #3d3552; opacity: 1; }
/* Kill the browser autofill background tint — keep the field white */
.cta-strip__input:-webkit-autofill,
.cta-strip__input:-webkit-autofill:hover,
.cta-strip__input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  box-shadow: 0 0 0 1000px #ffffff inset;
  -webkit-text-fill-color: var(--text-on-light);
  transition: background-color 9999s ease 0s;
}
.cta-strip__select {
  color: #3d3552;
  padding-right: 20px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.cta-strip__select.is-filled,
.cta-strip__select:valid { color: var(--text-on-light); }
.cta-strip__select:valid { color: var(--text-on-light); }
.cta-strip__select option { color: var(--text-on-light); background: #fff; }

/* Custom service dropdown */
.cta-select { position: relative; }
.cta-select__trigger {
  text-align: left;
  color: #3d3552;
}
.cta-select.is-filled .cta-select__trigger { color: var(--text-on-light); }
.cta-select__native {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; pointer-events: none;
  border: none;
}
.cta-select.is-open .cta-strip__chev svg { transform: rotate(180deg); }
.cta-strip__chev svg { transition: transform 200ms ease; }
.cta-menu {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  z-index: 40;
  margin: 0; padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: 0 24px 56px -18px rgba(63,28,112,0.40);
  max-height: 288px; overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 160ms ease, transform 160ms ease;
}
.cta-menu[hidden] { display: none; }
.cta-select.is-open .cta-menu { opacity: 1; transform: translateY(0) scale(1); }
.cta-menu__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px; color: var(--text-on-light);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.cta-menu__opt.is-active { background: var(--icon-tile); color: var(--purple-deep); }
.cta-menu__opt[aria-selected="true"] { font-weight: 700; color: var(--purple-deep); }
.cta-menu__opt[aria-selected="true"]::after {
  content: ""; width: 16px; height: 16px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.cta-strip__chev {
  position: absolute;
  right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--purple-deep);
  pointer-events: none;
  display: inline-flex;
}
.cta-strip__chev svg { width: 20px; height: 20px; display: block; }
.cta-strip__submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-strip__success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #6ee7b7;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.cta-strip__success.is-visible { opacity: 1; transform: translateY(0); }
.cta-strip__error {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #fca5a5;
}
.cta-strip__error a { color: inherit; text-decoration: underline; }
.cta-strip__success-check {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.16);
}
.cta-strip__success-check svg { width: 13px; height: 13px; }
.cta-strip__submit {
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.cta-strip__submit:hover {
  transform: translateY(-1px);
  background: #ffffff;
  color: var(--purple-deep);
}
.cta-strip__legal {
  grid-column: 1 / -1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin: 4px 0 0;
  letter-spacing: 0.04em;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: #07020f;
  padding: 64px 0 28px;
  color: var(--text-on-dark);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer__brand {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 280px;
}
.footer__wordmark {
  display: inline-flex;
  align-items: center;
}
.footer__wordmark img {
  height: 29.4px;
  width: auto;
  display: block;
}
.footer__about {
  font-size: 14px; line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin: 0;
}
.footer__socials {
  display: flex; gap: 14px;
  margin-top: 8px;
}
.footer__socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
  transition: color 160ms ease, border-color 160ms ease;
}
.footer__socials a:hover {
  color: var(--purple-bright);
  border-color: var(--purple);
}
.footer__col-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
}
.footer__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer__list a {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  transition: color 160ms ease;
}
.footer__list a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer__copy, .footer__legal a {
  font-size: 13px; color: var(--text-on-dark-muted);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: #fff; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-stats__big { font-size: clamp(52px, 10vw, 86px); }
  .hero-stats__chips { grid-template-columns: 1fr 1fr; }
  .section__grid { grid-template-columns: 1fr; gap: 40px; }
  .section__head { position: static; }
  .process__head { grid-template-columns: 1fr; gap: 16px; }
  .process__tagline { text-align: left; }
  .services-grid { grid-template-columns: 1fr; }
  .svc--wide { max-width: none; }
  .svc--tall { grid-row: auto; align-content: normal; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .process-rail__track { display: none; }
  .process-detail { grid-template-columns: 1fr; padding: 28px; gap: 16px; text-align: left; }
  .process-detail__nav { justify-self: end; }
  .quotes { grid-template-columns: 1fr; }
  .section__head--center { max-width: 100%; }
  .cta-strip { grid-template-columns: 1fr; padding: 32px; }
  .cta-strip__form { width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }

  /* nav → hamburger */
  .topnav__nav { display: none; }
  .topnav__burger { display: inline-flex; }
  .topnav__inner { grid-template-columns: auto 1fr auto; padding: 16px 22px; }
}

/* Tablet — tighten vertical rhythm */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero__inner { padding-block: 40px 72px; }
  .why__grid { gap: 12px; }
}

/* Mobile */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 32px; }
  .hero__inner { gap: 44px; padding-block: 24px 56px; }
  .hero-stats__big { font-size: clamp(46px, 16vw, 80px); }
  .hero-stats__chips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; width: 100%; }

  .features-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .svc { grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; }

  /* trusted marquee → stack label above */
  .trusted__inner { grid-template-columns: 1fr; gap: 14px; }
  .trusted__track { gap: 40px; }

  /* process steps single column */
  .process-steps { grid-template-columns: 1fr; row-gap: 32px; }
  .process-detail { padding: 24px; }
  .process-detail__num { font-size: 44px; min-width: 0; }

  /* CTA form full width single column */
  .cta-strip { padding: 28px 22px; border-radius: 18px; }
  .cta-strip__form { grid-template-columns: 1fr; }

  /* slider controls wrap gracefully */
  .tspot__controls { flex-wrap: wrap; gap: 16px; }

  /* footer bottom stacks */
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .hero-stats__chips { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* ============================================================
   THEME TOGGLE + DARK MODE
   ============================================================ */

/* Smooth theme transitions */
html { transition: background-color 320ms ease; }
body,
.section,
.section--light,
.svc,
.process-detail,
.process-detail__btn,
.step__node,
.process-detail__num,
.process-detail__title,
.process-detail__copy,
.process-detail__label,
.step__title,
.step__num,
.step__body,
.svc__title,
.svc__body,
.svc__icon,
.svc__num,
.feat__title,
.feat__body,
.section__title,
.process__title,
.section__lede,
.eyebrow,
.btn,
.btn--outline-dark,
.process-rail__track {
  transition: background-color 320ms ease, color 320ms ease,
              border-color 320ms ease, box-shadow 320ms ease;
}

/* Dark-mode token overrides */
[data-theme="dark"] {
  --bg-light: #0d0518;
  --card-light: #150826;
  --border-light: rgba(255, 255, 255, 0.08);
  --icon-tile: rgba(168, 85, 247, 0.14);
  --text-on-light: #ffffff;
  --text-on-light-muted: #b8a8d0;
}

/* Subtle purple ambient gradient on the formerly-light sections */
[data-theme="dark"] .section--light {
  background:
    radial-gradient(ellipse 900px 480px at 80% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 700px 480px at 0% 100%, rgba(126, 34, 206, 0.06) 0%, transparent 65%),
    var(--bg-light);
}

/* Inline-style eyebrow override (light sections use var(--purple-deep) inline) */
[data-theme="dark"] .section--light .eyebrow[style] {
  color: var(--purple-bright) !important;
}

/* Service cards */
[data-theme="dark"] .svc:hover {
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.18);
  background: rgba(168, 85, 247, 0.04);
}
[data-theme="dark"] .svc__icon { color: var(--purple-bright); }

/* Process rail + nodes */
[data-theme="dark"] .step__node {
  background: var(--bg-dark-2);
  color: var(--text-on-dark-muted);
  border-color: rgba(168, 85, 247, 0.3);
}
[data-theme="dark"] .step:hover .step__node {
  border-color: var(--purple);
  color: var(--purple-bright);
}
[data-theme="dark"] .step.is-done .step__node,
[data-theme="dark"] .step.is-active .step__node {
  background: var(--purple);
  color: #fff;
}
[data-theme="dark"] .step.is-active .step__num,
[data-theme="dark"] .step.is-done .step__num { color: var(--purple-bright); }
[data-theme="dark"] .step.is-active .step__title { color: var(--purple-bright); }

/* Process detail panel */
[data-theme="dark"] .process-detail {
  background: var(--bg-dark-2);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .process-detail__num { color: var(--purple-bright); }
[data-theme="dark"] .process-detail__btn {
  background: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
[data-theme="dark"] .process-detail__btn:hover {
  background: var(--purple);
  border-color: var(--purple);
}
[data-theme="dark"] .process-detail__progress {
  background: rgba(168, 85, 247, 0.18);
}

/* Outline dark button → outline light variant in dark mode */
[data-theme="dark"] .btn--outline-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
[data-theme="dark"] .btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Contact form: inputs, trigger label and dropdown are white surfaces in BOTH
   themes, so force their text dark in dark mode (var(--text-on-light) flips to
   white otherwise → invisible white-on-white). */
[data-theme="dark"] .cta-strip__input,
[data-theme="dark"] .cta-select.is-filled .cta-select__trigger,
[data-theme="dark"] .cta-menu,
[data-theme="dark"] .cta-menu__opt { color: #0d0518; }
[data-theme="dark"] .cta-strip__input::placeholder { color: #3d3552; }
[data-theme="dark"] .cta-menu { border-color: #ebe7f0; }
[data-theme="dark"] .cta-menu__opt.is-active,
[data-theme="dark"] .cta-menu__opt[aria-selected="true"] { color: var(--purple-deep); }

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;

  width: 42px; height: 84px;
  border-radius: 999px;
  background: rgba(13, 5, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 5px;
  cursor: pointer;
  overflow: hidden;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.theme-toggle:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.25);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
.theme-toggle__thumb {
  position: absolute;
  left: 5px; top: 5px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 4px 10px rgba(168, 85, 247, 0.5);
  transition: transform 320ms cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
[data-theme="dark"] .theme-toggle__thumb {
  transform: translateY(42px);
}
.theme-toggle__icon {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
  transition: color 320ms ease;
}
.theme-toggle__icon svg { width: 16px; height: 16px; }
.theme-toggle__icon--sun { color: #fff; }
[data-theme="dark"] .theme-toggle__icon--sun { color: rgba(255, 255, 255, 0.45); }
[data-theme="dark"] .theme-toggle__icon--moon { color: #fff; }

/* Mobile — move toggle to bottom-right */
@media (max-width: 700px) {
  .theme-toggle {
    right: 14px;
    top: auto;
    bottom: 14px;
    transform: none;
  }
}

/* ============================================================
   COOKIE CONSENT — ported from membership project, rebranded to 2xN.
   Panel stays dark in both site themes (reads as intentional chrome).
   ============================================================ */
.cookie {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(1rem, 4vw, 2rem);
  pointer-events: none;
}
.cookie[hidden] { display: none; }
.cookie--modal { align-items: center; justify-content: center; }

.cookie__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 5, 24, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 1;
  animation: cookieFadeIn 0.26s ease both;
  pointer-events: auto;
}
@keyframes cookieFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie__backdrop[hidden] { display: none; }

.cookie__panel {
  position: relative;
  pointer-events: auto;
  width: 100%;
  max-width: 420px;
  background: var(--bg-dark-2);
  color: var(--text-on-dark);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(168, 85, 247, 0.06);
  padding: 1.6rem 1.6rem 1.5rem;
  transform: none;
  opacity: 1;
}
.cookie--modal .cookie__panel { max-width: 540px; }
.cookie.is-in .cookie__panel { animation: cookiePanelIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.cookie.is-out .cookie__panel { animation: cookiePanelOut 0.22s ease forwards; }
.cookie.is-out .cookie__backdrop { animation: cookieFadeOut 0.22s ease both; }

@keyframes cookiePanelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cookiePanelOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px); } }
@keyframes cookieFadeOut { from { opacity: 1; } to { opacity: 0; } }

.cookie__view--banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1rem;
}
.cookie__view[hidden] { display: none !important; }

.cookie__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--purple-bright);
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.1);
}
.cookie__icon svg { width: 21px; height: 21px; }
.cookie__body { min-width: 0; }

.cookie__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin: 0 0 0.35rem;
}
.cookie__copy {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
  text-wrap: pretty;
}

.cookie__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.cookie__btn {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cookie__btn--primary {
  background: var(--purple);
  color: #fff;
  flex: 1;
  min-width: 120px;
}
.cookie__btn--primary:hover { background: var(--purple-bright); transform: translateY(-1px); }
.cookie__btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.2);
  flex: 1;
  min-width: 110px;
}
.cookie__btn--ghost:hover { border-color: var(--purple); color: var(--purple-bright); }
.cookie__btn--text {
  background: transparent;
  color: var(--text-on-dark-muted);
  padding-left: 0.2rem; padding-right: 0.2rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}
.cookie__btn--text:hover { color: var(--purple-bright); }

.cookie__prefs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.cookie__close {
  position: relative;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: border-color 0.2s ease;
}
.cookie__close:hover { border-color: var(--purple); }
.cookie__close span {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.4px;
  background: var(--text-on-dark-muted);
}
.cookie__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.cookie__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.cookie__cats {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cookie__cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie__cat:first-child { border-top: none; }
.cookie__cat-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 0.2rem;
}
.cookie__cat-desc {
  display: block;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
  text-wrap: pretty;
}
.cookie__always {
  flex: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-bright);
  white-space: nowrap;
  margin-top: 0.15rem;
}

.cookie__switch {
  position: relative;
  flex: none;
  width: 44px; height: 24px;
  margin-top: 0.1rem;
  cursor: pointer;
}
.cookie__switch input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.cookie__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.22s ease, border-color 0.22s ease;
}
.cookie__track::after {
  content: '';
  position: absolute;
  top: 50%; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}
.cookie__switch input:checked ~ .cookie__track { background: var(--purple); border-color: var(--purple); }
.cookie__switch input:checked ~ .cookie__track::after { transform: translateY(-50%) translateX(20px); background: #fff; }
.cookie__switch input:focus-visible ~ .cookie__track { outline: 2px solid var(--purple-bright); outline-offset: 2px; }

.cookie__sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.cookie__actions--prefs { margin-top: 1.4rem; }

@media (max-width: 540px) {
  .cookie { padding: 0.9rem; }
  .cookie__panel { max-width: none; }
  .cookie__actions { flex-direction: column-reverse; align-items: stretch; }
  .cookie__btn--text { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie__panel,
  .cookie.is-in .cookie__panel,
  .cookie__backdrop,
  .cookie__track,
  .cookie__track::after { animation: none; transition: none; }
}
