/* ── BASE ── */
.skip-link {
  position: absolute;
  top: -100px;
  right: var(--gutter);
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-md);
  text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 12px;
  outline: none;
  box-shadow: var(--focus-ring);
}

/* RTL directional icons drawn for LTR */
[dir="rtl"] .icon--play,
[dir="rtl"] .icon--external {
  transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .synonym-spoke {
    animation: none !important;
    transition: none !important;
  }
  .journey-step:hover .journey-step-icon,
  .revenue-opp:hover {
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  background: var(--surface);
  color-scheme: light;
  scrollbar-gutter: stable;
  scrollbar-color: var(--amber-500) var(--ink-100);
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: var(--ink-100);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-500));
  border-radius: var(--radius-full);
  border: 2px solid var(--ink-100);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--amber-600);
}

img,
video {
  max-width: 100%;
  height: auto;
}

body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

/* ── TYPOGRAPHY ────────────────────── */
.display-2xl {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.display-xl {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.display-lg {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.display-md {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.018em;
}
.heading {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
}
.subheading {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}
.body-lg {
  font-size: var(--font-lg);
  line-height: 1.8;
}
.body {
  font-size: var(--font-base);
  line-height: 1.75;
}
.caption {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}
.mono {
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
}

/* ── LAYOUT ────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}