/* ============================================
   AJILE CO. — DESIGN SYSTEM
   ============================================ */

/* Google Fonts loaded via <link> in HTML head for better performance */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --blue: #212F60;
  --cream: #FFF8E8;
  --electric: #2547A0;

  /* Extended Palette */
  --blue-light: #2E3F7A;
  --blue-dark: #181F40;
  --cream-dark: #F0E8D4;
  --electric-light: #3A5FBF;
  --electric-dark: #1C3680;

  /* Status Colors */
  --color-success: #166534;
  --color-error: #DC2626;
  --color-live: #22C55E;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic */
  --text-primary: var(--blue);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --text-on-dark: var(--cream);
  --bg-primary: var(--white);
  --bg-secondary: var(--cream);
  --bg-dark: var(--blue);
  --accent: var(--electric);

  /* Typography Scale (bumped ~15% for readability) */
  --font-body: 'Darker Grotesque', sans-serif;
  --text-2xs: 0.8rem;
  --text-xs: 0.9rem;
  --text-sm: 1rem;
  --text-base: 1.125rem;
  --text-lg: 1.3rem;
  --text-xl: 1.45rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.15rem;
  --text-4xl: 2.6rem;
  --text-5xl: 3.45rem;
  --text-6xl: 4.3rem;
  --text-7xl: 5.15rem;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 1.8;

  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* Spacing Scale (8px base) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  --space-40: 10rem;    /* 160px */

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-max: 1400px;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(33, 47, 96, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(33, 47, 96, 0.07), 0 2px 4px -2px rgba(33, 47, 96, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(33, 47, 96, 0.08), 0 4px 6px -4px rgba(33, 47, 96, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(33, 47, 96, 0.1), 0 8px 10px -6px rgba(33, 47, 96, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(33, 47, 96, 0.15);
  --shadow-glow: 0 0 40px rgba(37, 71, 160, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */

body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  letter-spacing: var(--tracking-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: 1.3;
}

h5 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: 1.35;
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
}

strong {
  font-weight: var(--weight-bold);
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-6);
  background: var(--electric);
  color: var(--white);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  z-index: 9999;
  text-decoration: none;
}

/* Focus-visible ring for keyboard navigation */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 71, 160, 0.3);
  border-radius: inherit;
}

.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(37, 71, 160, 0.3), 0 4px 14px rgba(37, 71, 160, 0.3);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

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

.section {
  padding: var(--space-24) 0;
}

.section--sm {
  padding: var(--space-16) 0;
}

.section--lg {
  padding: var(--space-32) 0;
}

.section--dark {
  background:
    radial-gradient(ellipse 50% 50% at 70% 30%, rgba(37, 71, 160, 0.15), transparent),
    var(--bg-dark);
  color: var(--text-on-dark);
}

.section--dark p {
  color: rgba(255, 248, 232, 0.75);
}

.section--cream {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 71, 160, 0.03), transparent),
    var(--bg-secondary);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-5) 0;
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: var(--space-3) 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 36px;
  width: auto;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.nav__logo:hover img {
  opacity: 0.8;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-wide);
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

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

.nav__link:hover {
  color: var(--electric);
}

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

.nav__cta {
  margin-left: var(--space-4);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--electric);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37, 71, 160, 0.15), 0 1px 3px rgba(37, 71, 160, 0.1);
}

.btn--primary:hover {
  background: var(--electric-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 71, 160, 0.25), 0 3px 10px rgba(37, 71, 160, 0.15);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(37, 71, 160, 0.2);
  transition-duration: 100ms;
}

.btn--secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--electric);
  padding: var(--space-2) 0;
}

.btn--ghost:hover {
  color: var(--electric-light);
}

.btn--ghost .btn__arrow {
  transition: transform var(--duration-normal) var(--ease-out);
}

.btn--ghost:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--ghost--muted {
  color: var(--blue);
  opacity: 0.7;
}

.btn--ghost--muted:hover {
  opacity: 1;
  color: var(--electric);
}

.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
}

.btn--on-dark {
  background: var(--cream);
  color: var(--blue);
}

.btn--on-dark:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 248, 232, 0.3);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
  transition: transform 400ms var(--ease-out),
              box-shadow 500ms var(--ease-out),
              border-color 300ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 71, 160, 0.08);
}

.card--bordered {
  box-shadow: none;
  border: 1px solid var(--gray-200);
}

.card--bordered:hover {
  border-color: var(--electric);
  box-shadow: var(--shadow-glow);
}

.card--lead-magnet {
  text-align: center;
  background: var(--white);
  text-decoration: none;
  border: 1px solid var(--gray-200);
  padding: var(--space-6);
  box-shadow: none;
}

.card--lead-magnet:hover {
  border-color: var(--electric);
  box-shadow: var(--shadow-glow);
}

.card--lead-magnet:hover svg {
  transform: translateY(-2px);
  transition: transform var(--duration-normal) var(--ease-out);
}

.card--lead-magnet svg {
  transition: transform var(--duration-normal) var(--ease-out);
}

/* ============================================
   BADGE / TAG
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(37, 71, 160, 0.08);
  color: var(--electric);
  border: 1px solid rgba(37, 71, 160, 0.18);
}

.badge--on-dark {
  background: rgba(255, 248, 232, 0.12);
  color: var(--cream);
}

/* ============================================
   VIDEO PLACEHOLDER
   ============================================ */

.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.video-placeholder:hover {
  box-shadow: var(--shadow-2xl);
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.15) 100%);
}

.video-placeholder__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out);
}

.video-placeholder:hover .video-placeholder__play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.video-placeholder__play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent var(--blue);
  margin-left: 4px;
}

.video-placeholder__label {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255, 248, 232, 0.7);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* ============================================
   GUARANTEE BADGE
   ============================================ */

.guarantee {
  text-align: center;
  padding: var(--space-12) 0;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 248, 232, 0.3); }
  50% { box-shadow: 0 0 0 14px rgba(255, 248, 232, 0); }
}

.guarantee__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid var(--electric);
  position: relative;
  margin-bottom: var(--space-8);
  animation: subtlePulse 3s ease-in-out infinite;
}

.guarantee__badge::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid var(--electric);
  opacity: 0.3;
}

.guarantee__days {
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  line-height: 1;
  color: var(--electric);
}

.guarantee__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--blue);
}

/* Guarantee badge on dark backgrounds */
.section--dark .guarantee__badge {
  border-color: var(--cream);
}

.section--dark .guarantee__days {
  color: var(--cream);
}

.section--dark .guarantee__label {
  color: rgba(255, 248, 232, 0.7);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq__item {
  border-bottom: 1px solid var(--gray-200);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq__question:hover {
  color: var(--electric);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: var(--space-4);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq__icon::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq__item.active .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq__answer-inner {
  padding-bottom: var(--space-6);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ============================================
   METRICS STRIP
   ============================================ */

.metrics {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  padding: var(--space-8) 0;
}

.metric {
  text-align: center;
}

.metric__number {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.section--dark .metric__number {
  color: var(--cream);
}

.section--dark .metric__label {
  color: rgba(255, 248, 232, 0.6);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison th {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--gray-200);
}

.comparison th:first-child {
  color: transparent;
}

.comparison th.comparison__highlight {
  color: var(--electric);
  background: rgba(37, 71, 160, 0.07);
  border-bottom-color: var(--electric);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.comparison td {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--gray-100);
  color: var(--text-secondary);
}

.comparison td:first-child {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.comparison td.comparison__highlight {
  background: rgba(37, 71, 160, 0.07);
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
  border-left: 2px solid rgba(37, 71, 160, 0.15);
  border-right: 2px solid rgba(37, 71, 160, 0.15);
}

.comparison tbody tr {
  transition: background var(--duration-fast) var(--ease-out);
}

.comparison tbody tr:hover {
  background: var(--gray-50);
}

.comparison tbody tr:hover td.comparison__highlight {
  background: rgba(37, 71, 160, 0.08);
}

/* ============================================
   LOGO BAR
   ============================================ */

.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-4) 0;
}

.logo-bar img {
  height: 28px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.logo-bar img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   FORM
   ============================================ */

.form__group {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  -webkit-appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 4px rgba(37, 71, 160, 0.1);
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__textarea {
  resize: vertical;
  min-height: 160px;
}

.form__input,
.form__select,
.form__textarea {
  font-family: var(--font-body);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__select:hover {
  border-color: rgba(37, 71, 160, 0.4);
}

.form__input:hover,
.form__textarea:hover {
  border-color: rgba(37, 71, 160, 0.4);
}

/* Field-level validation (only shows after user interaction) */
.form__input.is-touched:invalid,
.form__select.is-touched:invalid,
.form__textarea.is-touched:invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form__input.is-touched:invalid:focus,
.form__select.is-touched:invalid:focus,
.form__textarea.is-touched:invalid:focus {
  border-color: var(--color-error);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

/* Value Brief (What's Included) */
.value-brief {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  list-style: none;
  padding: var(--space-4) var(--space-6);
  margin: 0;
  background: rgba(37, 71, 160, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 71, 160, 0.06);
}

.value-brief li {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.value-brief li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  flex-shrink: 0;
}

/* Form Social Proof */
.form-proof {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-align: center;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-6);
}

/* Form Card */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--electric);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: 0 4px 24px rgba(33, 47, 96, 0.06);
}

/* Submit Button Loading State */
.btn--loading {
  pointer-events: none;
  opacity: 0.75;
  position: relative;
}

.btn--loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 600ms linear infinite;
  margin-left: var(--space-2);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Proof Cards (Apply Page) */
.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.proof-card {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.proof-card:hover {
  border-color: var(--electric);
  box-shadow: var(--shadow-glow);
}

.proof-card__number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: var(--electric);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.proof-card__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Success Timeline */
.success-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.success-timeline li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding-left: var(--space-6);
  position: relative;
}

.success-timeline li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: var(--weight-bold);
}

/* Form Success/Error Messages */
.form-message {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: var(--space-6);
}

.form-message--success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--color-success);
}

.form-message--error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--color-error);
}

/* ============================================
   STEPS (What Happens Next)
   ============================================ */

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  position: relative;
  padding-bottom: var(--space-8);
}

.step:last-child {
  padding-bottom: 0;
}

/* Connector line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(48px / 2 - 1px);
  width: 2px;
  height: calc(100% - 48px);
  background: rgba(37, 71, 160, 0.15);
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--electric);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  box-shadow: 0 4px 12px rgba(37, 71, 160, 0.2);
  position: relative;
  z-index: 1;
}

.step__content {
  padding-top: var(--space-2);
}

.step__content strong {
  display: block;
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.step__content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
}

/* Step hover states */
.step {
  transition: background var(--duration-normal) var(--ease-out);
  border-radius: var(--radius-lg);
  padding-left: var(--space-3);
  padding-right: var(--space-3);
  margin-left: calc(-1 * var(--space-3));
  margin-right: calc(-1 * var(--space-3));
}

.step:hover {
  background: rgba(37, 71, 160, 0.03);
}

.step:hover .step__number {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 71, 160, 0.3);
  /* Spring easing on hover-in */
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out);
}

.step__number {
  /* Smooth ease-out on hover-out (no spring bounce) */
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

/* ============================================
   APPLY PAGE — SECTION MODIFIERS
   ============================================ */

/* Reading-width container for apply page flow */
.container--reading {
  max-width: 640px;
}

/* Flush-top section for tight stacking */
.section--flush-top {
  padding: var(--space-8) 0 var(--space-4);
}

/* Qualifier section */
.qualifier-headline {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.qualifier-list {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-6);
  max-width: 480px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.qualifier-list li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.5;
}

.qualifier-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-weight: var(--weight-bold);
}

.qualifier-mechanism {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-4);
  line-height: 1.6;
}

.qualifier-mechanism strong {
  color: var(--text-primary);
}

.qualifier-alt {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.qualifier-alt a {
  color: var(--electric);
  font-weight: var(--weight-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qualifier-alt a:hover {
  color: var(--electric-light);
}

/* Inline testimonial */
.inline-testimonial {
  text-align: center;
  padding: var(--space-6) var(--space-8);
  background: rgba(37, 71, 160, 0.03);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(37, 71, 160, 0.06);
  margin: 0;
}

.inline-testimonial__text {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  font-style: italic;
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.inline-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inline-testimonial__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  font-style: normal;
}

.inline-testimonial__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: normal;
}

/* Proof card context line */
.proof-card__context {
  display: block;
  font-size: var(--text-2xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
  font-style: italic;
}

/* Form guarantee callout */
.form__footnote {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-4);
}

.form__guarantee {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.form__guarantee-icon {
  color: var(--color-success);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  font-size: var(--text-base);
}

.form__guarantee strong {
  color: var(--text-primary);
}

/* Card CTA (replaces misused btn--ghost in cards) */
.card__cta {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--electric);
  margin-top: var(--space-3);
  transition: color var(--duration-fast) var(--ease-out);
}

.card__arrow {
  display: inline-block;
  transition: transform var(--duration-normal) var(--ease-out);
}

.card--lead-magnet:hover .card__arrow {
  transform: translateX(4px);
}

.card--lead-magnet:hover .card__cta {
  color: var(--electric-light);
}

/* Lead magnet card parts */
.card__icon-wrapper {
  margin-bottom: var(--space-3);
}

.card__icon-wrapper svg {
  display: inline-block;
}

.card__title {
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* Lead magnets section */
.lead-magnets__heading {
  font-size: var(--text-3xl);
}

.lead-magnets__sub {
  max-width: 450px;
  margin: 0 auto var(--space-8);
}

.grid--lead-magnets {
  gap: var(--space-6);
}

/* Full-width button modifier */
.btn--full {
  width: 100%;
}

/* Trust bar grid */
.trust-bar__grid {
  max-width: 800px;
  margin: 0 auto;
  gap: var(--space-8);
}

/* Metric sub-line */
.metric__sub {
  font-size: var(--text-2xs);
  margin-top: var(--space-1);
}

.section--dark .metric__sub {
  color: rgba(255, 248, 232, 0.4);
}

/* Form success state */
.form-success__heading {
  font-size: var(--text-xl);
  display: block;
  margin-bottom: var(--space-4);
}

.form-success__note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.form-success__cta {
  margin-top: var(--space-3);
}

/* Hero proof stat (cost-of-inaction) */
.hero__proof-stat {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--electric);
  margin-bottom: var(--space-8);
  animation: heroEntrance 600ms var(--ease-out) 450ms both;
}

/* Hero guarantee line */
.hero__guarantee {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-4);
  animation: heroEntrance 600ms var(--ease-out) 650ms both;
}

.hero__guarantee-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-4);
  animation: heroEntrance 600ms var(--ease-out) 650ms both;
  letter-spacing: var(--tracking-wide);
}

/* Value brief cost-comparison anchor */
.value-brief__anchor {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--electric);
  text-align: center;
  margin-top: var(--space-4);
}

/* Testimonial references line */
.inline-testimonial__references {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-3);
  font-style: italic;
}

/* Value brief header */
.value-brief__heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-4);
}

/* ============================================
   HERO
   ============================================ */

/* Hero entrance animation */
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  padding: calc(var(--space-24) + 80px) 0 var(--space-20);
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.hero__content .badge { animation: heroEntrance 600ms var(--ease-out) 100ms both; }
.hero__title {
  animation: heroEntrance 600ms var(--ease-out) 250ms both;
  background: linear-gradient(135deg, var(--blue) 0%, var(--electric) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub { animation: heroEntrance 600ms var(--ease-out) 400ms both; }
.hero__ctas { animation: heroEntrance 600ms var(--ease-out) 550ms both; }
.hero .flex { animation: heroEntrance 600ms var(--ease-out) 550ms both; }
.hero #video { animation: heroEntrance 800ms var(--ease-out) 700ms both; }

.hero--apply {
  padding-bottom: var(--space-12);
}

.hero--apply .hero__sub {
  margin-bottom: var(--space-4);
}

.hero--apply .hero__title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title--solid {
  -webkit-text-fill-color: unset;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--blue);
}

.hero__sub {
  font-size: var(--text-xl);
  max-width: 560px;
  margin: 0 auto var(--space-10);
  font-weight: var(--weight-medium);
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__ghost-cta {
  color: var(--blue);
}

/* ============================================
   PROOF BAR
   ============================================ */

.proof-bar {
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--gray-100);
}

.logo-placeholder {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gray-400);
  padding: var(--space-2) var(--space-5);
  background: var(--gray-50);
  border: none;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background var(--duration-normal) var(--ease-out),
              color var(--duration-normal) var(--ease-out);
}

.logo-placeholder:hover {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* ============================================
   PHASES (AjileROS)
   ============================================ */

.phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.phases__line {
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-200), var(--electric), var(--gray-200));
  opacity: 0.4;
}

.phase {
  text-align: center;
  position: relative;
  z-index: 1;
}

.phase__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  color: var(--electric);
  box-shadow: 0 4px 12px rgba(37, 71, 160, 0.12);
  transition: all var(--duration-normal) var(--ease-out);
}

.phase:hover .phase__circle {
  background: var(--electric);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 71, 160, 0.25);
}

.phase__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

.phase__desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* ============================================
   RESULT CARDS
   ============================================ */

.card--result {
  padding: var(--space-10);
  border: 1px solid var(--gray-200);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.card--result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--electric-light));
}

.card--result:hover {
  border-color: var(--electric);
  box-shadow: var(--shadow-glow);
}

.result__brand {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.result__number {
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  color: var(--electric);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.result__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.result__desc {
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
}

.result__phase-tag {
  display: inline-block;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--electric);
  background: rgba(37, 71, 160, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.result__quote {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--text-secondary);
  border-left: 2px solid var(--electric);
  padding-left: var(--space-4);
  margin: 0 0 var(--space-6);
  text-align: left;
}

.result__quote cite {
  display: block;
  font-style: normal;
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* ============================================
   VALUE STACK
   ============================================ */

.value-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.value-item:hover {
  box-shadow: var(--shadow-md);
}

.value-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(37, 71, 160, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.value-item__content strong {
  font-size: var(--text-base);
  color: var(--text-primary);
}

.value-item__content span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.value-item__check {
  flex-shrink: 0;
  font-size: var(--text-lg);
  color: var(--electric);
  font-weight: var(--weight-bold);
}

/* ============================================
   TESTIMONIAL CARDS (Modern)
   ============================================ */

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(37, 71, 160, 0.06);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__text {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out),
              transform 600ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.97);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }
.reveal--delay-5 { transition-delay: 500ms; }

/* Stagger children in grid/group containers */
.reveal.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal.visible > *:nth-child(6) { transition-delay: 400ms; }

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-balance { text-wrap: balance; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

/* Screen-reader only (accessible hide) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.max-w-prose { max-width: 65ch; }
.max-w-sm { max-width: var(--container-sm); }
.max-w-md { max-width: var(--container-md); }

.grid { display: grid; gap: var(--space-8); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--col { flex-direction: column; }
.flex--gap-4 { gap: var(--space-4); }
.flex--gap-8 { gap: var(--space-8); }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--blue-dark);
  color: var(--text-on-dark);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-12);
}

.footer__logo img {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 248, 232, 0.5);
  font-style: italic;
}

.footer__links {
  display: flex;
  gap: var(--space-8);
}

.footer__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255, 248, 232, 0.6);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--cream);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 248, 232, 0.08);
  color: rgba(255, 248, 232, 0.6);
  font-size: var(--text-sm);
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  background: rgba(255, 248, 232, 0.15);
  color: var(--cream);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 248, 232, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255, 248, 232, 0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
    --text-7xl: 3.5rem;
  }

  .hero { padding: calc(var(--space-20) + 80px) 0 var(--space-16); }
  .section { padding: var(--space-16) 0; }
  .section--lg { padding: var(--space-24) 0; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .metrics { gap: var(--space-8); }
  .phases { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .phases__line { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --text-4xl: 1.875rem;
    --text-5xl: 2.25rem;
    --text-6xl: 2.5rem;
  }

  body { font-size: var(--text-base); }

  .container { padding: 0 var(--space-5); }
  .hero { padding: calc(var(--space-16) + 70px) 0 var(--space-12); }
  .section { padding: var(--space-12) 0; }
  .section--lg { padding: var(--space-16) 0; }

  .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-6);
    box-shadow: var(--shadow-xl);
    gap: var(--space-4);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out),
                visibility 0s linear var(--duration-normal);
  }
  .nav__links.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out),
                visibility 0s;
  }
  .nav__toggle { display: flex; }
  .nav__cta { margin-left: 0; }

  .grid--2,
  .grid--4 { grid-template-columns: 1fr; }

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

  /* Keep trust metrics 3-col on mobile (only the trust-bar section) */
  .trust-bar__grid.grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .trust-bar__grid .metric__number {
    font-size: var(--text-2xl);
  }

  .trust-bar__grid .metric__label {
    font-size: var(--text-2xs);
  }

  .section--flush-top {
    padding: var(--space-6) 0 var(--space-3);
  }

  .proof-cards {
    grid-template-columns: 1fr;
  }

  .phases { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .phases__line { display: none; }
  .phase:last-child { grid-column: 1 / -1; }

  .metrics {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
  }

  .btn--lg {
    padding: var(--space-4) var(--space-8);
    width: 100%;
    justify-content: center;
  }

  .value-item {
    padding: var(--space-4);
    gap: var(--space-3);
  }
  .value-item__icon { width: 40px; height: 40px; }

  .form-card {
    padding: var(--space-6);
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
}

/* ============================================
   HOW IT WORKS PAGE
   ============================================ */

/* Inner-page hero (shorter than homepage) */
.hero--inner {
  padding-bottom: var(--space-12);
}

.hero--inner .hero__title {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Constrained heading for how-it-works sections */
.hiw-heading--constrained {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Phases sub-headline */
.hiw-phases-sub {
  font-size: var(--text-xl);
  max-width: 640px;
  margin: 0 auto;
}

/* Pain cards grid */
.hiw-pain-grid {
  max-width: 900px;
  margin: 0 auto;
  gap: var(--space-6);
}

.pain-card {
  background: rgba(255, 248, 232, 0.06);
  border: 1px solid rgba(255, 248, 232, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
}

.pain-card:hover {
  border-color: rgba(255, 248, 232, 0.2);
  background: rgba(255, 248, 232, 0.09);
}

.pain-card__icon {
  color: var(--cream);
  margin-bottom: var(--space-4);
  opacity: 0.7;
}

.pain-card__title {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--cream);
  margin-bottom: var(--space-2);
}

.pain-card__desc {
  font-size: var(--text-base);
  color: rgba(255, 248, 232, 0.7);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Pain section summary */
.hiw-pain-summary {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: rgba(255, 248, 232, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-4);
}

.hiw-pain-sub {
  font-size: var(--text-lg);
  color: rgba(255, 248, 232, 0.6);
  max-width: 550px;
  margin: 0 auto;
}

/* Inline CTA between sections */
.hiw-inline-cta {
  text-align: center;
  padding: var(--space-12) 0;
  background: var(--cream);
}

.hiw-inline-cta__link {
  font-size: var(--text-base);
}

/* Phase Detail Blocks */
.phase-detail {
  max-width: 800px;
  margin: 0 auto var(--space-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.phase-detail:hover {
  border-color: rgba(37, 71, 160, 0.2);
  box-shadow: var(--shadow-lg);
}

.phase-detail:last-of-type {
  margin-bottom: 0;
}

.phase-detail__header {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.phase-detail__number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--electric);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  box-shadow: 0 4px 12px rgba(37, 71, 160, 0.2);
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out);
}

.phase-detail:hover .phase-detail__number {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 71, 160, 0.3);
}

.phase-detail__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.phase-detail__timeline {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--electric);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.phase-detail__body {
  padding: var(--space-6) var(--space-8);
}

.phase-detail__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

.phase-detail__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.phase-detail__list li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.5;
}

.phase-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
}

.phase-detail__deliverable {
  background: rgba(37, 71, 160, 0.04);
  border: 1px solid rgba(37, 71, 160, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.phase-detail__deliverable-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--electric);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.phase-detail__deliverable-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: 1.5;
}

/* Value stack override for HIW page */
.hiw-value-stack {
  max-width: 800px;
  margin: 0 auto;
}

/* MER Dashboard Section */
.hiw-mer-grid {
  max-width: 1000px;
  margin: 0 auto;
  gap: var(--space-8);
  align-items: start;
}

.hiw-mer-explain {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hiw-mer-comparison {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hiw-mer-comparison__item {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.hiw-mer-comparison__item--roas {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.hiw-mer-comparison__item--mer {
  background: rgba(37, 71, 160, 0.04);
  border-color: rgba(37, 71, 160, 0.15);
}

.hiw-mer-comparison__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

.hiw-mer-comparison__item--roas .hiw-mer-comparison__label {
  color: var(--text-muted);
}

.hiw-mer-comparison__item--mer .hiw-mer-comparison__label {
  color: var(--electric);
}

.hiw-mer-comparison__formula {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-family: monospace, var(--font-body);
}

.hiw-mer-comparison__problem {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.hiw-mer-comparison__benefit {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.hiw-mer-comparison__divider {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.hiw-mer-anchor {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
}

/* Dashboard Mockup */
.hiw-dashboard-mockup {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.hiw-dashboard-mockup:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
}

.hiw-dashboard-mockup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--blue-dark);
  color: var(--cream);
}

.hiw-dashboard-mockup__title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
}

.hiw-dashboard-mockup__badge {
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  color: var(--color-live);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.hiw-dashboard-mockup__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-live);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hiw-dashboard-mockup__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.hiw-dashboard-mockup__metric {
  padding: var(--space-4) var(--space-3);
  background: var(--white);
  text-align: center;
}

.hiw-dashboard-mockup__metric-label {
  display: block;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.hiw-dashboard-mockup__metric-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: var(--electric);
  line-height: 1;
}

.hiw-dashboard-mockup__chart {
  padding: var(--space-4) var(--space-5);
}

.hiw-dashboard-mockup__chart svg {
  width: 100%;
  height: 80px;
}

.hiw-dashboard-mockup__trend {
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  color: var(--color-live);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}

.hiw-dashboard-mockup__trend--up::before {
  content: '▲';
  font-size: 7px;
}

.hiw-dashboard-mockup__note {
  font-size: var(--text-2xs);
  color: var(--text-muted);
  text-align: center;
  padding: var(--space-2) var(--space-4) var(--space-3);
  margin: 0;
  font-style: italic;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* Comparison table wrapper */
.hiw-comparison-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

/* Guarantee section on HIW page */
.hiw-guarantee-body {
  font-size: var(--text-xl);
  max-width: 680px;
  margin: 0 auto var(--space-4);
  color: var(--text-secondary);
}

.section--dark .hiw-guarantee-body {
  color: rgba(255, 248, 232, 0.85);
}

.hiw-guarantee-emphasis {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-10);
}

.section--dark .hiw-guarantee-emphasis {
  color: var(--cream);
}

/* Final CTA section */
.hiw-final-cta {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.hiw-cta-sub {
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 auto var(--space-4);
}

.hiw-cta-urgency {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--electric);
  margin-bottom: var(--space-8);
}

.hiw-cta-guarantee {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-4);
}

/* Nav active state */
.nav__link--active {
  color: var(--electric);
}

.nav__link--active::after {
  width: 100%;
}

/* ============================================
   RESULTS PAGE
   ============================================ */

/* Aggregate Metrics Strip */
.results-metrics-strip {
  padding: var(--space-16) 0;
  border-bottom: 1px solid rgba(255, 248, 232, 0.1);
}

.results-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.results-metric {
  padding: var(--space-6) var(--space-4);
  position: relative;
}

/* Vertical dividers between metrics */
.results-metric + .results-metric {
  border-left: 1px solid rgba(255, 248, 232, 0.15);
}

.results-metric__number {
  font-size: var(--text-6xl);
  font-weight: var(--weight-black);
  color: var(--cream);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.results-metric__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 248, 232, 0.7);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Client attribution under metric label */
.results-metric__source {
  display: block;
  font-size: var(--text-2xs);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-normal);
  text-transform: none;
  color: rgba(255, 248, 232, 0.55);
  margin-top: var(--space-1);
}

/* Why This System Works / Mechanism Section */
.results-mechanism {
  padding: var(--space-16) 0;
}

.results-mechanism__body {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 640px;
  margin: 0 auto;
}

.results-mechanism__body a {
  color: var(--electric);
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease;
}

.results-mechanism__body a:hover {
  text-decoration-color: var(--electric);
}

/* Case Study Trajectory Text */
.case-study__trajectory {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

/* Case Study Cards */
.case-study {
  max-width: 800px;
  margin: 0 auto;
}

/* Card treatment */
.case-study--card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.case-study--card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.section--cream .case-study--card {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
}

.case-study__header {
  text-align: center;
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--gray-100);
}

.case-study__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.case-study__category {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  background: var(--gray-50);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: var(--tracking-wide);
}

.case-study__brand {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.case-study__starting-context {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.case-study__hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.case-study__number {
  font-size: var(--text-6xl);
  font-weight: var(--weight-black);
  color: var(--electric);
  line-height: 1;
}

.case-study__metric-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-study__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.case-study__section {
  /* visual grouping */
}

.case-study__subhead {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid rgba(37, 71, 160, 0.1);
}

.case-study__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.case-study__list li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.case-study__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  opacity: 0.8;
}

/* Results Grid within Case Study */
.case-study__results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.case-study__result-item {
  text-align: center;
  padding: var(--space-5);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.case-study__result-item:hover {
  border-color: rgba(37, 71, 160, 0.15);
  box-shadow: var(--shadow-md);
}

.section--cream .case-study__result-item {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.case-study__result-number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: var(--electric);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.case-study__result-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
}

/* Case Study Footnote */
.case-study__footnote {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-3);
  line-height: var(--leading-relaxed);
}

/* Case Study Quote */
.case-study__quote {
  border-left: 3px solid var(--electric);
  padding: var(--space-6) var(--space-8);
  background: rgba(37, 71, 160, 0.03);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 0;
}

.case-study__quote p {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
}

.case-study__quote cite {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-muted);
}

.section--cream .case-study__quote {
  background: rgba(37, 71, 160, 0.05);
}

/* Testimonial Cards */
.testimonials-grid {
  gap: var(--space-6);
}

/* Results Disclaimer */
.results-disclaimer {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.results-disclaimer p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* Hero note spacing on results page */
.results-hero__note {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
}

/* ============================================
   RESPONSIVE — RESULTS PAGE
   ============================================ */

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

@media (max-width: 768px) {
  .results-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  /* On 2-col layout, remove left divider from 1st and 3rd items, add top divider to bottom row */
  .results-metric + .results-metric {
    border-left: none;
  }

  .results-metric {
    padding: var(--space-5) var(--space-4);
  }

  .results-metric:nth-child(even) {
    border-left: 1px solid rgba(255, 248, 232, 0.15);
  }

  .results-metric:nth-child(n+3) {
    border-top: 1px solid rgba(255, 248, 232, 0.15);
  }

  .results-metric__number {
    font-size: var(--text-4xl);
  }

  .case-study--card {
    padding: var(--space-6);
  }

  .case-study__brand {
    font-size: var(--text-3xl);
  }

  .case-study__number {
    font-size: var(--text-5xl);
  }

  .case-study__header {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
  }

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

  .case-study__quote {
    padding: var(--space-5) var(--space-6);
  }

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

@media (max-width: 375px) {
  .results-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .results-metric__number {
    font-size: var(--text-3xl);
  }

  .case-study--card {
    padding: var(--space-5);
  }

  .case-study__brand {
    font-size: var(--text-2xl);
  }

  .case-study__results-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .case-study__result-number {
    font-size: var(--text-xl);
  }
}

/* ============================================
   RESPONSIVE — HOW IT WORKS
   ============================================ */

@media (max-width: 768px) {
  .phase-detail__header {
    padding: var(--space-4) var(--space-5);
    gap: var(--space-4);
  }

  .phase-detail__body {
    padding: var(--space-5);
  }

  .phase-detail__number {
    width: 44px;
    height: 44px;
    font-size: var(--text-lg);
  }

  .phase-detail__title {
    font-size: var(--text-xl);
  }

  .hiw-mer-grid {
    grid-template-columns: 1fr;
  }

  .hiw-dashboard-mockup__metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .hiw-dashboard-mockup__metric-value {
    font-size: var(--text-xl);
  }

  .pain-card {
    padding: var(--space-5);
  }
}

/* Small mobile */
@media (max-width: 375px) {
  :root {
    --text-4xl: 1.75rem;
    --text-5xl: 2rem;
  }

  .container { padding: 0 var(--space-4); }

  .hiw-dashboard-mockup__metric-value {
    font-size: var(--text-lg);
  }

  .hiw-dashboard-mockup__metric-label {
    font-size: 0.6rem;
  }
}

/* ============================================
   RESPONSIVE — HOMEPAGE NEW SECTIONS
   ============================================ */

@media (max-width: 768px) {
  /* "What We Hear" cards — stack on mobile */
  .section--dark .grid--3 {
    grid-template-columns: 1fr;
  }

  /* "Who We Work With" profiles */
  .section .grid--2 {
    gap: var(--space-6);
  }

}

@media (max-width: 480px) {
  /* Tighten card padding on small phones */
  .section--dark .card {
    padding: var(--space-4);
  }

  /* Credential steps text */
  .section > .container > .reveal > div > div {
    gap: var(--space-3);
  }
}

/* ============================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
  }

  .guarantee__badge {
    animation: none;
  }

  .hiw-dashboard-mockup__badge::before {
    animation: none;
  }
}

/* ============================================
   ACTIVE STATES (PRESS FEEDBACK)
   ============================================ */

.btn--secondary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 100ms;
}

.btn--ghost:active {
  opacity: 0.7;
  transition-duration: 100ms;
}

.btn--on-dark:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(255, 248, 232, 0.15);
  transition-duration: 100ms;
}

/* ============================================
   DARK BACKGROUND FOCUS RINGS
   ============================================ */

.section--dark :focus-visible,
.footer :focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 248, 232, 0.5);
}

.btn--on-dark:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 248, 232, 0.5), 0 4px 14px rgba(255, 248, 232, 0.2);
}

.footer__social a:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 248, 232, 0.5);
  border-radius: var(--radius-sm);
}

/* ============================================
   TOUCH TARGET SIZES
   ============================================ */

@media (max-width: 768px) {
  .footer__social a {
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   HERO GHOST CTA COLOR FIX
   ============================================ */

.hero__ghost-cta {
  color: var(--electric);
}

.hero__ghost-cta:hover {
  color: var(--electric-light);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* Story Section */
.about-story {
  max-width: 680px;
  margin: 0 auto;
}

.about-story__heading {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.about-story__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.about-story__body p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-story__body p:first-child {
  font-size: var(--text-xl);
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

.about-story__lead-in {
  color: var(--text-primary);
}

.about-story__proof {
  margin-top: var(--space-8);
}

/* Values / Differentiators Grid */
.about-values {
  gap: var(--space-6);
}

.about-value {
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms var(--ease-out),
              transform 300ms var(--ease-out);
}

.about-value:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.about-value__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.about-value__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Team Section */
.about-team-intro {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-4) auto 0;
  line-height: var(--leading-relaxed);
}

.about-team-grid {
  gap: var(--space-8);
  max-width: 800px;
  margin: 0 auto;
}

.about-team-card {
  padding: var(--space-8);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: border-color 300ms var(--ease-out),
              box-shadow 300ms var(--ease-out),
              transform 300ms var(--ease-out);
}

.about-team-card:hover {
  border-color: rgba(37, 71, 160, 0.15);
  box-shadow: 0 6px 20px rgba(37, 71, 160, 0.08);
  transform: translateY(-3px);
}

.about-team-card__name {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.about-team-card__role {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--electric);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.about-team-card__bio {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-team-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 640px;
  margin: var(--space-8) auto 0;
  line-height: var(--leading-relaxed);
}

.about-mid-cta {
  margin-top: var(--space-12);
}

/* Testimonial Section */
.about-proof-section {
  padding: var(--space-20) 0;
}

.about-testimonials {
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

.about-testimonial {
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms var(--ease-out),
              transform 300ms var(--ease-out);
}

.about-testimonial:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.about-testimonial__text {
  font-size: var(--text-lg);
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-6);
}

.about-testimonial__text::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--electric);
  margin-bottom: var(--space-5);
  border-radius: var(--radius-full);
}

.about-testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.about-testimonial__attribution strong {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.about-testimonial__attribution span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ICP Fit Section */
.about-icp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 800px;
  margin: var(--space-10) auto 0;
  text-align: left;
}

.about-icp__heading {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid rgba(37, 71, 160, 0.1);
}

.about-icp__yes .about-icp__heading {
  border-bottom-color: var(--color-live);
}

.about-icp__no .about-icp__heading {
  border-bottom-color: var(--color-error);
}

.about-icp__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about-icp__list li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

.about-icp__yes .about-icp__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-live);
  opacity: 0.8;
}

.about-icp__no .about-icp__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-error);
  opacity: 0.6;
}

.about-icp-intro {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-4);
  line-height: 1.7;
}

.about-icp-cta {
  margin-top: var(--space-10);
}

/* ============================================
   RESPONSIVE — ABOUT PAGE
   ============================================ */

@media (max-width: 960px) {
  .about-icp {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

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

  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .about-testimonials {
    grid-template-columns: 1fr;
  }

  .about-value {
    padding: var(--space-6);
  }

  .about-team-card {
    padding: var(--space-6);
  }

  .about-testimonial {
    padding: var(--space-6);
  }

  .about-story__heading {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 480px) {
  .about-story__body p {
    font-size: var(--text-base);
  }

  .about-story__body p:first-child {
    font-size: var(--text-lg);
  }

  .about-testimonial__text {
    font-size: var(--text-base);
  }

  .about-team-card__name {
    font-size: var(--text-xl);
  }
}

/* ============================================
   LINKEDIN FEED — "From the Founder"
   ============================================ */

.linkedin-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.linkedin-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-normal), box-shadow var(--duration-normal);
  text-decoration: none;
  color: inherit;
}

.linkedin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.linkedin-card__type {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--electric);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.linkedin-card__hook {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
  flex: 1;
}

.linkedin-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.linkedin-card__cta {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--electric);
}

/* 2-col row for the remaining 2 cards */
.linkedin-feed--secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 780px;
  margin: var(--space-6) auto 0;
}

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

  .linkedin-feed--secondary {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* LinkedIn icon SVG */
.linkedin-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
