/* ═══════════════════════════════════════════════════════════════════════════
   Double — Design System & Shared Styles
   bookdouble.com | February 2026
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Background */
  --bg:           #050810;
  --bg-elevated:  #0A0F1A;
  --bg-card:      #0F172A;
  --bg-card-alt:  #111827;

  /* Brand: Coral → Orange (Firms / Primary) */
  --coral:        #FE4A49;
  --orange-red:   #FF6E4A;
  --orange:       #FF924A;
  --grad-firms:   linear-gradient(135deg, #FE4A49 0%, #FF6E4A 50%, #FF924A 100%);

  /* Brand: Blue → Purple (Talent) */
  --blue:         #3B7DD8;
  --blue-light:   #5B9AE8;
  --purple:       #9D4EDD;
  --purple-deep:  #7B2CBF;
  --grad-talent:  linear-gradient(135deg, #3B7DD8 0%, #5B9AE8 30%, #9D4EDD 70%, #7B2CBF 100%);

  /* Text */
  --white:        #FFFFFF;
  --off-white:    #F8F8F8;
  --gray:         #94A3B8;
  --gray-dark:    #64748B;
  --slate:        #475569;

  /* Status */
  --success:      #10B981;
  --error:        #EF4444;

  /* Type */
  --font-display: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'DM Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs:     0.25rem;
  --space-sm:     0.5rem;
  --space-md:     1rem;
  --space-lg:     1.5rem;
  --space-xl:     2rem;
  --space-2xl:    3rem;
  --space-3xl:    4rem;
  --space-4xl:    6rem;
  --space-5xl:    8rem;

  /* Radius */
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-full:  9999px;

  /* Transition */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:     0.3s;
  --duration-lg:  0.6s;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

::selection {
  background: var(--coral);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol { list-style: none; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.section--tight {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.body-lg {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--gray);
}

.body-md {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--gray-dark);
}

.label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Gradient text — display: inline-block ensures gradient covers just the text extent */
.grad-text-firms {
  background: var(--grad-firms);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.grad-text-talent {
  background: var(--grad-talent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ─── Brand Wordmark — Stacked Reflection ────────────────────────────────── */
/*
 * The Double wordmark: two stacked instances of "double", top in firms coral,
 * bottom a flipped reflection in talent blue — fading out via mask.
 * Used in nav, footer, and any brand identity context.
 */
.wordmark__top {
  display: block;
  background: var(--grad-firms);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wordmark__bottom {
  display: block;
  background: var(--grad-talent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scaleY(-1);
  opacity: 0.6;
  margin-top: -0.08em;
  /* Fade reflection downward */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  user-select: none;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--duration) ease, backdrop-filter var(--duration) ease, padding var(--duration) ease;
}

.nav.scrolled {
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

.nav__logo {
  /* Wordmark container — spans handle gradient text */
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
  /* Clear any inherited gradient from old design */
  background: none;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  transition: opacity var(--duration) ease;
  text-decoration: none;
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--duration) ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-firms);
  transition: width var(--duration) var(--ease-out);
  border-radius: 1px;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--grad-firms);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  transition: transform var(--duration) ease, box-shadow var(--duration) ease;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(254, 74, 73, 0.3);
}

/* Mobile nav */
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--duration) ease, opacity var(--duration) ease;
}

.nav__mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 16, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity var(--duration-lg) ease;
}

.nav__mobile-menu.open {
  display: flex;
  opacity: 1;
}

.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gray);
  transition: color var(--duration) ease;
}

.nav__mobile-menu a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--duration) ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--firms {
  background: var(--grad-firms);
  color: var(--white);
}

.btn--firms:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(254, 74, 73, 0.35);
}

.btn--talent {
  background: var(--grad-talent);
  color: var(--white);
}

.btn--talent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59, 125, 216, 0.35);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ─── Tags / Badges ──────────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag--firms {
  background: rgba(254, 74, 73, 0.1);
  border: 1px solid rgba(254, 74, 73, 0.2);
  color: var(--coral);
}

.tag--talent {
  background: rgba(59, 125, 216, 0.1);
  border: 1px solid rgba(59, 125, 216, 0.2);
  color: var(--blue-light);
}

.tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: transform var(--duration) ease, border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card--firms:hover {
  border-color: rgba(254, 74, 73, 0.25);
  box-shadow: 0 20px 60px rgba(254, 74, 73, 0.1);
}

.card--talent:hover {
  border-color: rgba(59, 125, 216, 0.25);
  box-shadow: 0 20px 60px rgba(59, 125, 216, 0.1);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.card__icon--firms {
  background: rgba(254, 74, 73, 0.1);
  color: var(--coral);
}

.card__icon--talent {
  background: rgba(59, 125, 216, 0.1);
  color: var(--blue-light);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--white);
  letter-spacing: -0.02em;
}

.card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ─── Grid ───────────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* ─── Hero Specific (Homepage) ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  transition: opacity 1s ease;
}

/* Firms orbs — visible by default */
.hero__bg-orb--firms-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--coral) 0%, var(--orange) 60%, transparent 100%);
  top: -20%;
  right: -10%;
  opacity: 0.14;
}

.hero__bg-orb--firms-2 {
  width: 500px;
  height: 500px;
  background: var(--orange);
  bottom: -15%;
  right: 15%;
  opacity: 0.06;
}

/* Talent orbs — hidden by default */
.hero__bg-orb--talent-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--blue) 0%, var(--purple) 60%, transparent 100%);
  top: -20%;
  right: -10%;
  opacity: 0;
}

.hero__bg-orb--talent-2 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  bottom: -15%;
  right: 15%;
  opacity: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

/* ─── Toggle — Pill Variant ──────────────────────────────────────────────── */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-2xl);
}

.toggle__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  transition: all var(--duration) ease;
  cursor: pointer;
}

.toggle__label.active {
  color: var(--white); /* fallback for browsers without gradient-text */
}

/* Firms label: coral gradient when active */
.toggle__label[data-audience="firms"].active {
  background: var(--grad-firms);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Talent label: talent gradient when active */
.toggle__label[data-audience="talent"].active {
  background: var(--grad-talent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.toggle__switch {
  width: 64px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: border-color var(--duration) ease;
}

.toggle__switch:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.toggle__knob {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  background: var(--grad-firms);
  transition: all 0.4s var(--ease-bounce);
  box-shadow: 0 2px 10px rgba(254, 74, 73, 0.4);
}

[data-audience="talent"] .toggle__knob {
  left: 36px;
  background: var(--grad-talent);
  box-shadow: 0 2px 10px rgba(59, 125, 216, 0.4);
}

/* ─── Hero Text Animation ────────────────────────────────────────────────── */
.hero__headline {
  margin-bottom: var(--space-xl);
}

.hero__headline-static {
  display: block;
  color: var(--gray);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.15em;
}

/*
  Dynamic word container — uses CSS grid to stack all words in the same cell.
  The grid naturally sizes to the tallest word. No fixed height, no overflow: hidden
  on the container. Instead, each word controls its own visibility via clip-path.
*/
.hero__headline-dynamic {
  display: grid;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.hero__headline-word {
  /* Stack all words in the same grid cell */
  grid-column: 1;
  grid-row: 1;
  /* Hidden below by default: clipped from the bottom */
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.25em);
  opacity: 0;
  transition: clip-path 0.8s var(--ease-out), transform 0.8s var(--ease-out), opacity 0.4s ease;
  will-change: clip-path, transform, opacity;
  white-space: nowrap;
}

/* Active word — slide in from below */
.hero__headline-word.active {
  clip-path: inset(-20% -5% -20% -5%); /* generous inset to avoid clipping descenders */
  transform: translateY(0);
  opacity: 1;
}

/* Exiting word — slide out upward */
.hero__headline-word.exit {
  clip-path: inset(100% 0 0 0);
  transform: translateY(-0.25em);
  opacity: 0;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
}

.hero__sub strong {
  color: var(--white);
  font-weight: 600;
}

.hero__trusted {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--gray-dark);
  letter-spacing: 0.06em;
}

/* ─── Stats Bar ──────────────────────────────────────────────────────────── */
.stats-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: var(--space-2xl) 0;
}

.stat {
  text-align: center;
  padding: 0.5rem 1.5rem;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.stat:first-child {
  padding-left: 0;
  text-align: left;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* Override inline-block from .grad-text-firms so stat values center correctly */
.stat .stat__value {
  display: block;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--gray-dark);
  font-weight: 500;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Three P's Section ──────────────────────────────────────────────────── */
.three-ps__card {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

/* Gradient border on hover using pseudo-element mask technique */
.three-ps__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-firms);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.three-ps__card:hover::before {
  opacity: 0.5;
}

.three-ps__number {
  font-family: var(--font-display);
  font-size: clamp(7rem, 14vw, 10rem);
  font-weight: 700;
  position: absolute;
  bottom: -0.15em;
  right: 0.3rem;
  opacity: 0.06;
  line-height: 1;
  /* Use a neutral color so it doesn't create gradient-clip issues in the watermark */
  color: var(--white);
  /* Ensure the background-clip from grad-text classes doesn't inherit */
  background: none;
  -webkit-text-fill-color: var(--white);
  pointer-events: none;
  user-select: none;
}

.three-ps__label {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.04em;
}

.three-ps__desc {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--gray);
  line-height: 1.75;
}

/* ─── CA(SA) Section ─────────────────────────────────────────────────────── */
.ca-sa-section {
  background: var(--bg-elevated);
}

.ca-sa-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.ca-sa-card::after {
  content: 'CA(SA)';
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 700;
  color: var(--white);
  opacity: 0.025;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.ca-sa-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.ca-sa-stat {
  display: flex;
  flex-direction: column;
}

.ca-sa-stat__divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  align-self: stretch;
  margin: 0 1rem;
}

.ca-sa-stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.ca-sa-stat__label {
  font-size: 0.8rem;
  color: var(--gray-dark);
  font-weight: 500;
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── How It Works ───────────────────────────────────────────────────────── */
.steps {
  position: relative;
  padding-left: 2rem;
}

/* Vertical timeline connector */
.steps::before {
  content: '';
  position: absolute;
  left: 36px; /* center of step number */
  top: 44px;
  bottom: 44px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(254, 74, 73, 0.5),
    rgba(254, 74, 73, 0.2) 50%,
    transparent
  );
}

.step {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: var(--space-xl) 0;
  position: relative;
}

.step + .step {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.step__number {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1; /* sit above the timeline line */
}

.step__number--firms {
  background: rgba(254, 74, 73, 0.1);
  color: var(--coral);
  border: 1px solid rgba(254, 74, 73, 0.2);
}

.step__number--talent {
  background: rgba(59, 125, 216, 0.1);
  color: var(--blue-light);
  border: 1px solid rgba(59, 125, 216, 0.2);
}

.step__content {
  flex: 1;
  padding-top: 1rem;
}

.step__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.step__text {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ─── Pain Points Accordion ──────────────────────────────────────────────── */
.accordion__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.accordion__trigger-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--gray);
  transition: color var(--duration) ease;
}

.accordion__item.open .accordion__trigger-text {
  color: var(--white);
}

.accordion__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: transform var(--duration) ease, background var(--duration) ease;
  flex-shrink: 0;
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
  background: rgba(254, 74, 73, 0.15);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.accordion__item.open .accordion__body {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.accordion__answer {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 700px;
}

.accordion__answer strong {
  color: var(--white);
  font-weight: 600;
}

/* ─── CTA Banner ─────────────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-banner__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

/* ─── Guarantee Badge ────────────────────────────────────────────────────── */
.guarantee {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  margin-top: var(--space-2xl);
}

.guarantee__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  color: var(--success);
  font-size: 1.5rem;
}

.guarantee__text {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.5;
}

.guarantee__text strong {
  color: var(--success);
  font-weight: 600;
}

/* ─── Final CTA Split ────────────────────────────────────────────────────── */
.final-cta-section {
  position: relative;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.final-cta-col {
  padding: clamp(2.5rem, 5vw, 4rem);
}

.final-cta-col--firms {
  border-top: 3px solid var(--coral);
}

.final-cta-col--talent {
  border-top: 3px solid var(--blue);
}

.final-cta-divider {
  width: 1px;
  height: 60%;
  min-height: 200px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.1) 70%,
    transparent
  );
  align-self: center;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: var(--space-5xl) 0 var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  /* Wordmark container — slightly larger than nav, centrepiece of footer brand */
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
  background: none;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

.footer__nav {
  display: flex;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col-links a {
  font-size: 0.875rem;
  color: var(--gray-dark);
  transition: color var(--duration) ease;
}

.footer__col-links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--gray-dark);
  transition: color var(--duration) ease;
}

.footer__legal a:hover {
  color: var(--white);
}

/* ─── Scroll Reveal ──────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="delay-1"] { transition-delay: 0.1s; }
[data-reveal="delay-2"] { transition-delay: 0.2s; }
[data-reveal="delay-3"] { transition-delay: 0.3s; }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.2); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.anim-fade-in { animation: fadeIn 0.8s var(--ease-out) both; }
.anim-fade-in-1 { animation: fadeIn 0.8s var(--ease-out) 0.1s both; }
.anim-fade-in-2 { animation: fadeIn 0.8s var(--ease-out) 0.2s both; }
.anim-fade-in-3 { animation: fadeIn 0.8s var(--ease-out) 0.3s both; }
.anim-fade-in-4 { animation: fadeIn 0.8s var(--ease-out) 0.4s both; }

/* ─── Page-level Hero (Non-homepage) ─────────────────────────────────────── */
.page-hero {
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-hero__tag {
  margin-bottom: var(--space-xl);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── Comparison Table ───────────────────────────────────────────────────── */
.comparison {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison th,
.comparison td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-dark);
  background: var(--bg-elevated);
  position: sticky;
  top: 0;
}

.comparison td {
  font-size: 0.9375rem;
  color: var(--gray);
}

.comparison tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison .highlight {
  color: var(--white);
  font-weight: 600;
}

.comparison .check {
  color: var(--success);
  font-size: 1.125rem;
}

.comparison .cross {
  color: var(--gray-dark);
  font-size: 1.125rem;
}

/* ─── Responsive Fine-Tuning ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:first-child {
    text-align: center;
  }

  /* Recalculate dividers for 2-column layout */
  .stat:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.1) 30%,
      rgba(255, 255, 255, 0.1) 70%,
      transparent
    );
    align-self: auto;
  }

  .ca-sa-stats {
    flex-direction: column;
  }

  .ca-sa-stat__divider {
    width: 40px;
    height: 1px;
    margin: 0.5rem 0;
  }

  .steps {
    padding-left: 0;
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat {
    padding: 1rem 0.75rem;
    text-align: center;
  }

  .stat:first-child {
    text-align: center;
  }

  /* Keep dividers for 2-column layout */
  .stat:nth-child(3)::before {
    display: none;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .toggle {
    margin-bottom: var(--space-xl);
  }

  .step {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer__top {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Mobile Responsive Overrides — Comprehensive
   768px: Tablet/Mobile  |  480px: Small Phones  |  360px: Very Small
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ─── General Layout ─────────────────────────────────────────────────── */
  body {
    overflow-x: hidden;
  }

  .section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  .section--tight {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }

  /* ─── Typography Scale-down ──────────────────────────────────────────── */
  .body-lg {
    font-size: 1rem;
  }

  /* ─── Hero ───────────────────────────────────────────────────────────── */
  .hero {
    padding: 5.5rem 0 3rem;
    min-height: auto;
    overflow: hidden; /* prevent orbs from causing horizontal scroll */
  }

  /* Center-align hero content on mobile — intentional, premium feel */
  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  /* Center the sub-headline and trust line */
  .hero__sub {
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* keep paragraph body readable */
  }

  /* Reduce the dynamic headline on mobile — clamp(4rem, 12vw, 8rem) is too
     large because the 4rem minimum kicks in below ~534px. Override it. */
  .hero__headline-dynamic {
    font-size: clamp(2.5rem, 9vw, 4rem);
    justify-items: center; /* center words within the grid stack */
  }

  /* Words were `white-space: nowrap` implicitly via display font sizing.
     Allow wrapping so long phrases don't cause horizontal overflow. */
  .hero__headline-word {
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }

  .hero__headline-static {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    text-align: center;
  }

  /* Trust line centered */
  .hero__trusted {
    text-align: center;
    width: 100%;
  }

  /* Stack CTA buttons full-width on mobile starting at 768px */
  .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* ─── Toggle ─────────────────────────────────────────────────────────── */
  /* Center the whole toggle row in the hero on mobile — tight, refined pill */
  .toggle {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 2rem;
  }

  .toggle__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* Keep the pill exactly 64×32 — tactile at every size */
  .toggle__switch {
    width: 64px;
    height: 32px;
    min-width: 64px;
    min-height: 32px;
    flex-shrink: 0;
    /* Slightly elevated glass effect on mobile */
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
  }

  /* Ensure knob stays correctly positioned at all times */
  .toggle__knob {
    width: 24px;
    height: 24px;
    top: 3px;
    left: 4px;
  }

  [data-audience="talent"] .toggle__knob {
    left: 36px;
  }

  /* ─── Buttons — Touch Targets ────────────────────────────────────────── */
  .btn {
    min-height: 44px;
  }

  .btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .nav__cta {
    min-height: 44px;
  }

  /* ─── Stats — enforce 2×2 grid at this breakpoint too ───────────────── */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* In 2-col layout the 3rd stat starts a new row — hide its left divider */
  .stat:nth-child(3)::before {
    display: none;
  }

  .stat {
    text-align: center;
    padding: 1rem 0.75rem;
  }

  .stat:first-child {
    text-align: center;
    padding-left: 0.75rem;
  }

  .stat__value {
    font-size: clamp(1.75rem, 7vw, 2.75rem);
  }

  .stat__label {
    font-size: 0.72rem;
  }

  /* ─── Card Icons (all card types) ───────────────────────────────────── */
  .card__icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
  }

  /* ─── Three P's Cards ────────────────────────────────────────────────── */
  .three-ps__card {
    padding: 1.5rem;
  }

  .three-ps__label {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .three-ps__number {
    font-size: clamp(5rem, 18vw, 8rem);
  }

  /* ─── CA(SA) Section ─────────────────────────────────────────────────── */
  .ca-sa-card {
    padding: 2rem 1.5rem;
  }

  .ca-sa-stat__value {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }

  /* ─── How It Works ───────────────────────────────────────────────────── */
  .step__number {
    width: 52px;
    height: 52px;
    min-height: 52px;
    font-size: 1.0625rem;
  }

  /* ─── Guarantee Badge ────────────────────────────────────────────────── */
  .guarantee {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .guarantee__icon {
    margin: 0 auto;
  }

  /* ─── CTA Banner ─────────────────────────────────────────────────────── */
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .cta-banner__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* ─── Final CTA Split ────────────────────────────────────────────────── */
  .final-cta-col {
    padding: 2rem 1.5rem;
  }

  /* Firms column on top, talent below — order already follows DOM */
  .final-cta-col--firms {
    border-top: 3px solid var(--coral);
    border-bottom: none;
  }

  .final-cta-col--talent {
    border-top: 3px solid var(--blue);
  }

  /* ─── Footer ─────────────────────────────────────────────────────────── */
  .footer {
    padding-top: clamp(3rem, 8vw, 5rem);
  }

  .footer__top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__brand {
    max-width: 100%;
  }

  .footer__nav {
    flex-direction: column;
    gap: 1.5rem;
    flex-wrap: nowrap;
  }

  /* Touch-friendly footer links */
  .footer__col-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.25rem 0;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .footer__legal {
    justify-content: center;
  }

  /* ─── Nav: Hamburger & Mobile Menu Touch Targets ─────────────────────── */
  /* Hamburger needs at least 44×44px tap area */
  .nav__mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  /* Wordmark logo on mobile — 1.35rem keeps the full stacked mark clean in nav */
  .nav__logo {
    font-size: 1.35rem;
  }

  .nav__mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ─── Page Hero ──────────────────────────────────────────────────────── */
  .page-hero {
    padding: 6.5rem 0 2.5rem;
  }

  .page-hero__title {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  /* ─── Accordion ──────────────────────────────────────────────────────── */
  .accordion__trigger {
    padding: var(--space-md) 0;
    min-height: 44px;
  }
}

/* ─── 480px — Small Phones ───────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* ─── Layout ─────────────────────────────────────────────────────────── */
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section--tight {
    padding: 1.75rem 0;
  }

  /* ─── Typography ─────────────────────────────────────────────────────── */
  .display-xl {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .display-lg {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  }

  .display-md {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .display-sm {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .body-lg {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  /* ─── Hero ───────────────────────────────────────────────────────────── */
  .hero {
    padding: 5rem 0 2.5rem;
  }

  /* Bold but not crushing at 480px — measured clamp */
  .hero__headline-dynamic {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero__headline-static {
    font-size: 1rem;
  }

  .hero__sub {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    text-align: left; /* keep body text left-aligned for readability */
  }

  .hero__trusted {
    font-size: 0.7rem;
    text-align: center;
  }

  /* ─── Toggle ─────────────────────────────────────────────────────────── */
  .toggle {
    margin-bottom: 1.5rem;
  }

  /* ─── Buttons ────────────────────────────────────────────────────────── */
  .btn--large {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  /* ─── Stats ──────────────────────────────────────────────────────────── */
  .stat {
    padding: 0.875rem 0.5rem;
  }

  .stat__value {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  .stat__label {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
  }

  /* ─── Three P's Cards ────────────────────────────────────────────────── */
  .three-ps__card {
    padding: 1.25rem;
  }

  .three-ps__label {
    font-size: 1.375rem;
  }

  .three-ps__number {
    font-size: 4.5rem;
  }

  .three-ps__desc {
    font-size: 0.9375rem;
  }

  /* ─── CA(SA) Section ─────────────────────────────────────────────────── */
  .ca-sa-card {
    padding: 1.5rem 1.25rem;
  }

  .ca-sa-stat__value {
    font-size: 1.375rem;
  }

  .ca-sa-stat__label {
    font-size: 0.7rem;
  }

  /* ─── How It Works ───────────────────────────────────────────────────── */
  .step {
    padding: 1.25rem 0;
  }

  .step__number {
    width: 48px;
    height: 48px;
    min-height: 48px;
    font-size: 1rem;
  }

  .step__title {
    font-size: 1.0625rem;
  }

  .step__text {
    font-size: 0.875rem;
  }

  /* ─── Guarantee Badge ────────────────────────────────────────────────── */
  .guarantee {
    padding: 1.25rem;
  }

  .guarantee__text {
    font-size: 0.875rem;
  }

  /* ─── CTA Banner ─────────────────────────────────────────────────────── */
  .cta-banner {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-banner__title {
    font-size: 1.625rem;
  }

  .cta-banner__text {
    font-size: 0.9375rem;
  }

  /* ─── Final CTA ──────────────────────────────────────────────────────── */
  .final-cta-col {
    padding: 1.75rem 1.25rem;
  }

  .final-cta-grid {
    border-radius: var(--radius-lg);
  }

  /* ─── Footer ─────────────────────────────────────────────────────────── */
  .footer {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

  .footer__logo {
    font-size: 1.5rem;
  }

  .footer__desc {
    font-size: 0.8125rem;
  }

  .footer__col-title {
    margin-bottom: 0.5rem;
  }

  /* ─── Navigation ─────────────────────────────────────────────────────── */
  /* Wordmark at 1.25rem on small phones — clean, proportionate in nav bar */
  .nav__logo {
    font-size: 1.25rem;
  }

  .nav__mobile-menu a {
    font-size: 1.625rem;
  }

  /* ─── Cards ──────────────────────────────────────────────────────────── */
  .card {
    padding: 1.125rem;
  }

  .card__title {
    font-size: 1.0625rem;
  }

  .card__text {
    font-size: 0.875rem;
  }

  /* ─── Page Hero ──────────────────────────────────────────────────────── */
  .page-hero {
    padding: 5.5rem 0 2rem;
  }

  .page-hero__title {
    font-size: clamp(1.875rem, 7vw, 2.75rem);
  }

  .page-hero__sub {
    font-size: 0.9375rem;
  }
}

/* ─── 360px — Very Small Phones (Samsung Galaxy S8 etc.) ────────────────── */
@media (max-width: 360px) {

  .container {
    padding: 0 0.875rem;
  }

  .hero__headline-dynamic {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .hero__headline-static {
    font-size: 0.9375rem;
  }

  .toggle__label {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
  }

  .stat__value {
    font-size: clamp(1.375rem, 8vw, 2rem);
  }

  .display-lg {
    font-size: 1.625rem;
  }

  .display-md {
    font-size: 1.375rem;
  }

  .btn--large {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .ca-sa-card {
    padding: 1.25rem 1rem;
  }

  .ca-sa-stat__value {
    font-size: 1.25rem;
  }
}
