/* ============================================================
   V2 — Editorial Light
   Modern · Elegant · Single accent
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --paper: #fafaf8;
  --paper-elev: #ffffff;
  --paper-sunk: #f2f3f0;

  --ink: #0f1115;
  --ink-90: rgba(15, 17, 21, 0.88);
  --ink-70: rgba(15, 17, 21, 0.66);
  --ink-50: rgba(15, 17, 21, 0.48);
  --ink-30: rgba(15, 17, 21, 0.28);

  --accent: #2563eb;
  --accent-deep: #1e40af;
  --accent-soft: rgba(37, 99, 235, 0.14);
  --accent-wash: rgba(37, 99, 235, 0.06);

  --hairline: rgba(15, 17, 21, 0.1);
  --hairline-strong: rgba(15, 17, 21, 0.18);
  --surface: rgba(15, 17, 21, 0.025);
  --surface-2: rgba(15, 17, 21, 0.045);

  --font-display: "Geist", "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1200px;
  --maxw-narrow: 960px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Page background field ---------- */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--paper);
}

/* particle starfield */
.particle-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.container--narrow {
  max-width: var(--maxw-narrow);
}

main {
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: 120px 0;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--ink);
}

.section-lead {
  font-size: 18px;
  color: var(--ink-70);
  max-width: 640px;
  margin: 0 0 56px;
}

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

/* ---------- Glass primitive ---------- */
.glass {
  background: var(--paper-elev);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.08);
  font-weight: 600;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.12);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn--small {
  padding: 10px 16px;
  font-size: 14px;
}

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 100;
  display: flex;
  align-items: center;
  transition:
    backdrop-filter 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--hairline);
}

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.nav__brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 28px;
  flex: 1;
}

.nav__link {
  font-size: 14.5px;
  color: var(--ink-70);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__link:hover {
  color: var(--ink);
}
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-70);
  background: transparent;
  border: 1px solid var(--hairline);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.nav__icon-btn:hover {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--hairline-strong);
}

.nav__hamburger {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.aurora-stage {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.07;
  background: var(--accent);
  will-change: transform;
}

.aurora-blob--1 {
  top: 12%;
  left: 6%;
  animation: blob-drift-1 22s ease-in-out infinite;
}
.aurora-blob--2 {
  top: 32%;
  right: 4%;
  animation: blob-drift-2 26s ease-in-out infinite;
}
.aurora-blob--3 {
  display: none;
}

@keyframes blob-drift-1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5%, 3%) scale(1.08);
  }
}
@keyframes blob-drift-2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-4%, 5%) scale(1.1);
  }
}

.hero__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--paper-elev);
  border: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-70);
  margin-bottom: 32px;
}

.hero__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 3vw, 80px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}

.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero__ctas {
  display: inline-flex;
  gap: 14px;
  margin-bottom: 80px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.stat-card {
  padding: 24px 22px;
  text-align: left;
}

.stat-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--ink);
}

.stat-card__value-unit {
  color: var(--ink-50);
  font-size: 0.6em;
  margin-left: 2px;
}

.stat-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: var(--hairline);
  overflow: hidden;
  z-index: 2;
}
.scroll-indicator::before {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  background: var(--paper-sunk);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-strip__label {
  text-align: center;
  margin: 0 0 24px;
}

.logos-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: logos-scroll 38s linear infinite;
  align-items: center;
}
.logos-window {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  opacity: 0.42;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@keyframes logos-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   HOW WE WORK — TWO PANELS
   ============================================================ */
.how-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.how-panel {
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.how-panel:hover {
  border-color: var(--hairline-strong);
  box-shadow: 0 12px 32px rgba(15, 17, 21, 0.05);
}

.how-panel__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 12px;
  position: relative;
}

.how-panel__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  position: relative;
}

.how-panel__lede {
  color: var(--ink-70);
  margin: 0 0 28px;
  position: relative;
}

.how-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.how-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-90);
}

.how-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid transparent;
  color: var(--accent);
}

/* ============================================================
   SERVICES — CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 32px;
  position: relative;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(15, 17, 21, 0.06);
}

.service-card__icon-well {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--accent-soft);
  color: var(--accent);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.service-card__desc {
  color: var(--ink-70);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.55;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-90);
}
.metric-pill__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   PROCESS — TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 64px auto 0;
  padding: 40px 0;
}

.timeline__spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--hairline), var(--accent) 50%, var(--hairline));
  opacity: 0.55;
  border-radius: 2px;
}

.timeline__node {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  z-index: 3;
  transition: top 0.05s linear;
}
.timeline__node::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  animation: ring-pulse 2.4s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.timeline__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: 56px;
}

.timeline__step:last-child {
  margin-bottom: 0;
}

.timeline__card {
  padding: 24px 28px;
  opacity: 0.6;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.timeline__step.is-active .timeline__card {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--hairline-strong);
  box-shadow: 0 10px 28px rgba(15, 17, 21, 0.05);
}

.timeline__step--right .timeline__card {
  grid-column: 3;
}
.timeline__step--left .timeline__card {
  grid-column: 1;
}

.timeline__card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline__card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.timeline__card-desc {
  color: var(--ink-70);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}

.timeline__step-dot {
  grid-column: 2;
  justify-self: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.timeline__step.is-active .timeline__step-dot {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-card {
  position: relative;
  min-height: 70vh;
  padding: 64px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

.case-card:hover {
  border-color: var(--hairline-strong);
  box-shadow: 0 24px 60px rgba(15, 17, 21, 0.06);
}

.case-card__stat {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0;
  color: var(--accent);
}

.case-card__stat-unit {
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 6px;
  color: var(--ink-50);
}

.case-card__body {
  position: relative;
}

.case-card__industry {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 14px;
}

.case-card__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.case-card__narrative {
  color: var(--ink-70);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.case-card__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.case-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-card__meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.case-card__meta-value {
  font-size: 14px;
  color: var(--ink-90);
}

/* ============================================================
   TOOLS & OSS
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
  box-shadow: 0 14px 32px rgba(15, 17, 21, 0.06);
}

.tool-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-sunk);
}

.tool-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-30);
}
.tool-dot--halo,
.tool-dot--gold,
.tool-dot--pink {
  background: var(--ink-30);
}

.tool-card__filename {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
}

.tool-card__body {
  padding: 24px;
}

.tool-card__name {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.tool-card__desc {
  color: var(--ink-70);
  font-size: 14px;
  margin: 0 0 20px;
  line-height: 1.55;
  min-height: 64px;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
  font-family: var(--font-mono);
  transition: gap 0.2s ease;
}
.tool-card__link:hover {
  gap: 12px;
}

/* ============================================================
   WHY US — ORBITAL
   ============================================================ */
.orbital {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.orbital__diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}

.orbital__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  padding: 24px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.why-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
  box-shadow: 0 10px 24px rgba(15, 17, 21, 0.05);
}

.why-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}

.why-card__desc {
  font-size: 14px;
  color: var(--ink-70);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  position: relative;
}

.testimonial-stage {
  position: relative;
  min-height: 360px;
}

.testimonial {
  position: absolute;
  inset: 0;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: transform;
}
.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial__mark {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 24px;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 24px;
}

.testimonial__cite {
  font-size: 14px;
  color: var(--ink-70);
}
.testimonial__cite-name {
  color: var(--ink);
  font-weight: 500;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline-strong);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.testimonial-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ============================================================
   FINAL CTA — single dark panel
   ============================================================ */
.final-cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  border-radius: 0;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: 0;
}
.final-cta__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.22), transparent 60%);
}

.final-cta__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
}

.final-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0 0 24px;
}

.final-cta__lede {
  font-size: 19px;
  color: rgba(250, 250, 248, 0.78);
  max-width: 600px;
  margin: 0 auto 40px;
}

.final-cta .btn--ghost {
  background: transparent;
  border-color: rgba(250, 250, 248, 0.35);
  color: var(--paper);
}
.final-cta .btn--ghost:hover {
  background: rgba(250, 250, 248, 0.08);
  border-color: rgba(250, 250, 248, 0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--paper-sunk);
  padding: 80px 0 40px;
  position: relative;
  border-top: 1px solid transparent;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer__brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.footer__about {
  color: var(--ink-70);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 16px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list a {
  font-size: 14.5px;
  color: var(--ink-70);
  transition: color 0.2s ease;
}
.footer__list a:hover {
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.footer__copy {
  font-size: 13px;
  color: var(--ink-50);
  margin: 0;
}

.global-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--paper-elev);
  border: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-70);
}
.global-pill__flag {
  font-size: 16px;
  line-height: 1;
}

/* ============================================================
   SVG ICON DEFAULTS
   ============================================================ */
svg {
  color: currentColor;
}
.icon {
  width: 16px;
  height: 16px;
}
.icon-sm {
  width: 14px;
  height: 14px;
}
.icon-md {
  width: 18px;
  height: 18px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__cols {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer__cols > :nth-child(4) {
    display: none;
  }
  .orbital {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .orbital__diagram {
    max-width: 320px;
  }
  .case-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px;
    gap: 24px;
  }
  .case-card__stat {
    font-size: clamp(96px, 24vw, 160px);
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
  .container {
    padding: 0 20px;
  }
  .nav__inner {
    padding: 0 20px;
  }
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: inline-flex;
  }
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero__headline {
    font-size: clamp(44px, 11vw, 64px);
  }
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero__ctas {
    margin-bottom: 56px;
  }
  .aurora-blob {
    width: 420px;
    height: 420px;
    filter: blur(90px);
  }

  .how-panels {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .how-panel {
    padding: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 24px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .timeline__step {
    grid-template-columns: 32px 1fr;
  }
  .timeline__spine {
    left: 16px;
    transform: none;
  }
  .timeline__step-dot {
    grid-column: 1;
  }
  .timeline__step--right .timeline__card,
  .timeline__step--left .timeline__card {
    grid-column: 2;
  }
  .timeline__node {
    left: 16px;
    margin-left: -8px;
  }

  .case-card {
    padding: 32px;
  }
  .case-card__stat {
    font-size: clamp(72px, 28vw, 120px);
  }

  .testimonial {
    padding: 32px;
  }
  .testimonial-stage {
    min-height: 420px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__cols > :nth-child(4) {
    display: block;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  section {
    padding: 64px 0;
  }
  .hero__headline {
    font-size: clamp(40px, 12vw, 52px);
  }
  .nav__brand {
    font-size: 15px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .aurora-blob {
    animation: none;
  }
  .scroll-indicator {
    display: none;
  }
  .logos-track {
    animation: none;
  }
}

/* ---------- Focus rings ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
