/* ============================================
   OUTCOME MARKETING — DESIGN SYSTEM
   Base + Layout + Navigation
   ============================================ */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* --- Color Tokens --- */
:root {
  --deep-indigo: #1A003B;
  --periwinkle: #7471FF;
  --frost-blue: #F0F0FF;
  --lavender: #D58DFF;
  --royal-blue: #1F69FF;
  --white: #FFFFFF;
  --off-white: #F7F7FB;
  --gray-100: #EEEEF4;
  --gray-200: #D8D8E4;
  --gray-400: #9494A8;
  --gray-600: #5E5E72;
  --gray-800: #2E2E3E;
  --black: #16161F;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Type scale (base 15px) */
  --text-caption: 0.75rem;     /* 11.25px */
  --text-sm: 0.8125rem;        /* 12.19px */
  --text-base: 0.9375rem;      /* 15px (14.06 rounds to 15 at root) */
  --text-body: 1rem;           /* 15px */
  --text-h4: 1.0625rem;        /* ~17px */
  --text-h3: 1.3125rem;        /* ~21px */
  --text-h2: 1.875rem;         /* ~30px */
  --text-h1: 2.625rem;         /* ~42px */
  --text-display: 3.5rem;      /* ~56px */

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 72px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* --- Base --- */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--off-white);
}

a { color: var(--periwinkle); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--royal-blue); }

img { max-width: 100%; height: auto; display: block; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--deep-indigo); line-height: 1.2; }
h1 { font-size: var(--text-h1); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); font-weight: 600; letter-spacing: -0.01em; margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-h3); font-weight: 600; }
h4 { font-size: var(--text-sm); font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gray-600); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.text-label {
  font-size: var(--text-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--periwinkle);
  margin-bottom: var(--space-sm);
}

/* On dark backgrounds */
.on-dark { color: var(--white); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark h4 { color: var(--periwinkle); }
.on-dark p { color: rgba(255, 255, 255, 0.75); }
.on-dark a { color: var(--periwinkle); }
.on-dark a:hover { color: var(--lavender); }
.on-dark .text-label { color: var(--periwinkle); }


/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

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

.section--white { background: var(--white); }
.section--offwhite { background: var(--off-white); }
.section--frost { background: var(--frost-blue); }
.section--lavender-light { background: #F6F2FF; }
.section--indigo { background: var(--deep-indigo); }

/* Grid system */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

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

/* Split layout (text + image) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.split--reverse > *:first-child { order: 2; }
.split--reverse > *:last-child { order: 1; }

/* Stack utility */
.stack { display: flex; flex-direction: column; }
.stack--sm { gap: var(--space-sm); }
.stack--md { gap: var(--space-md); }
.stack--lg { gap: var(--space-lg); }

/* Spacing utilities */
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }


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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--deep-indigo);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-xl);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  margin-left: auto;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 var(--space-md);
  height: var(--nav-height);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li:hover > a {
  color: var(--white);
}

/* Dropdown arrow */
.nav-links > li > a .nav-arrow {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-links > li:hover > a .nav-arrow {
  opacity: 0.8;
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 12px 40px rgba(26, 0, 59, 0.12);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-links > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--gray-800);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:hover {
  background: var(--frost-blue);
  color: var(--deep-indigo);
}

/* Nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--periwinkle);
  color: var(--white) !important;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  margin-left: var(--space-md);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #5f5ce6;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 1px;
}

/* Hamburger active state */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  background: var(--deep-indigo);
  padding: var(--space-lg);
  overflow-y: auto;
  flex-direction: column;
}

.nav-mobile.is-open {
  display: flex;
}

/* Mobile nav sections */
.nav-mobile-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md) 0;
}

.nav-mobile-section:last-of-type {
  border-bottom: none;
}

.nav-mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-sm) 0;
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-body);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 0.2s;
}

.nav-mobile-trigger:hover { color: var(--white); }

.nav-mobile-trigger .mobile-arrow {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  transition: transform 0.3s;
}

.nav-mobile-trigger[aria-expanded="true"] .mobile-arrow {
  transform: rotate(180deg);
}

.nav-mobile-links {
  display: none;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
}

.nav-mobile-links.is-open {
  display: block;
}

.nav-mobile-links a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Simple mobile link (Resources) */
.nav-mobile > a {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--text-body);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
}

.nav-mobile > a:hover { color: var(--white); }

/* Mobile CTA (sticky at bottom of drawer) */
.nav-mobile .nav-cta {
  display: block;
  text-align: center;
  margin: auto 0 0 0;
  padding: 14px 22px;
  font-size: var(--text-body);
}


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

.hero {
  position: relative;
  background: var(--deep-indigo);
  padding: 140px 0 120px;
  overflow: hidden;
}

/* Wave texture — SVG curve at bottom edge */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z' fill='%23F7F7FB'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
  z-index: 2;
}

/* When hero is followed by white section */
.hero--wave-white::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
}

/* When hero is followed by frost section */
.hero--wave-frost::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z' fill='%23F0F0FF'/%3E%3C/svg%3E");
}

/* Grid overlay — subtle methodology pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Gradient orbs — depth on dark backgrounds */
.hero .hero-orb-1,
.hero .hero-orb-2,
.hero .hero-orb-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero .hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(116, 113, 255, 0.35) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero .hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(213, 141, 255, 0.18) 0%, transparent 70%);
  bottom: -150px;
  left: -80px;
}

.hero .hero-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31, 105, 255, 0.12) 0%, transparent 70%);
  top: 30%;
  left: 50%;
}

/* Hero content sits above textures */
.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  color: var(--white);
  max-width: 720px;
}

.hero .hero-sub {
  max-width: 560px;
  margin-top: var(--space-lg);
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* Hero content constrained to 2/3 — breathing room on right */
.hero-content-wide {
  max-width: 66.666%;
}

/* Hero split — text left, visual right */
.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-xl);
  align-items: center;
}

.hero-split-text {
  min-width: 0;
}

.hero-split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-split-visual svg {
  max-width: 100%;
  height: auto;
}


/* ============================================
   PATTERN TILES (Five Patterns diagnostic)
   ============================================ */

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.pattern-tile {
  background: var(--frost-blue);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pattern-tile:hover {
  box-shadow: 0 6px 24px rgba(26, 0, 59, 0.06);
  transform: translateY(-2px);
}

.pattern-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(116, 113, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.pattern-icon svg {
  width: 28px;
  height: 28px;
}

.pattern-tile h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.3;
}

.hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}


/* ============================================
   CTA BUTTONS (all variants)
   ============================================ */

/* Primary — Periwinkle bg, white text */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--periwinkle);
  color: var(--white) !important;
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-body);
  font-weight: 500;
  border-radius: 6px;
  border: 2px solid var(--periwinkle);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.cta-primary:hover {
  background: #5f5ce6;
  border-color: #5f5ce6;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(116, 113, 255, 0.3);
}

/* Secondary — Deep Indigo outline */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--deep-indigo);
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-body);
  font-weight: 500;
  border-radius: 6px;
  border: 2px solid var(--deep-indigo);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.cta-secondary:hover {
  background: var(--deep-indigo);
  color: var(--white);
  transform: translateY(-1px);
}

/* Secondary on dark — white outline */
.on-dark .cta-secondary,
.cta-secondary--dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.on-dark .cta-secondary:hover,
.cta-secondary--dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* Book — Ghost/text with arrow */
.cta-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  background: transparent;
  color: var(--periwinkle);
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-body);
  font-weight: 500;
  border: none;
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, gap 0.2s;
}

.cta-book::after {
  content: '→';
  transition: transform 0.2s;
}

.cta-book:hover {
  color: var(--royal-blue);
}

.cta-book:hover::after {
  transform: translateX(4px);
}

.on-dark .cta-book {
  color: var(--periwinkle);
}

.on-dark .cta-book:hover {
  color: var(--lavender);
}

/* Assessment — Periwinkle bg with price */
.cta-assessment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--periwinkle);
  color: var(--white) !important;
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-body);
  font-weight: 500;
  border-radius: 6px;
  border: 2px solid var(--periwinkle);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.cta-assessment:hover {
  background: #5f5ce6;
  border-color: #5f5ce6;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(116, 113, 255, 0.3);
}

/* Workshop — Deep Indigo bg, white text */
.cta-workshop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--deep-indigo);
  color: var(--white) !important;
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-body);
  font-weight: 500;
  border-radius: 6px;
  border: 2px solid var(--deep-indigo);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.cta-workshop:hover {
  background: #2D1B69;
  border-color: #2D1B69;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Download — text link with icon */
.cta-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  background: transparent;
  color: var(--periwinkle);
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-body);
  font-weight: 500;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}

.cta-download::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237471FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.cta-download:hover {
  color: var(--royal-blue);
}

.cta-newsletter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--periwinkle);
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-body);
  font-weight: 500;
  border-radius: 6px;
  border: 2px solid var(--periwinkle);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.cta-newsletter:hover {
  background: var(--periwinkle);
  color: var(--white);
  transform: translateY(-1px);
}


/* ============================================
   DARK SECTION (CTA blocks, etc.)
   ============================================ */

.section--indigo-textured {
  position: relative;
  background: var(--deep-indigo);
  overflow: hidden;
}

/* Grid overlay on dark sections */
.section--indigo-textured::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Wave top edge for dark sections mid-page */
.section--indigo-textured .wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
}

/* Wave bottom edge for dark sections mid-page */
.section--indigo-textured .wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
}

.section--indigo-textured .container {
  position: relative;
  z-index: 3;
}

/* Orbs for mid-page dark sections */
.section--indigo-textured .section-orb-1 {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 113, 255, 0.25) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  top: -120px;
  right: 5%;
}

.section--indigo-textured .section-orb-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 141, 255, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  bottom: -80px;
  left: 5%;
}


/* ============================================
   VALUE CARDS (Setup/Execute/Scale pattern)
   ============================================ */

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--periwinkle);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: box-shadow 0.2s, transform 0.2s;
}

.value-card:hover {
  box-shadow: 0 8px 32px rgba(26, 0, 59, 0.08);
  transform: translateY(-2px);
}

.value-card h3 {
  margin-bottom: var(--space-sm);
}

.value-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(116, 113, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.value-card-icon svg {
  width: 26px;
  height: 26px;
}


/* ============================================
   STAT BLOCK CARDS
   ============================================ */

.stat-block {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--periwinkle);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.stat-block .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--deep-indigo);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.stat-block .stat-label {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--deep-indigo);
  margin-bottom: var(--space-sm);
}

.stat-block .stat-context {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--gray-600);
  line-height: 1.5;
}


/* ============================================
   GLASS CARDS (dark background contexts)
   ============================================ */

.card-glass {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  color: inherit;
}

.card-glass h3 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.card-glass p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.card-glass .card-glass-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--periwinkle);
  transition: color 0.2s;
}

.card-glass:hover .card-glass-link {
  color: var(--lavender);
}


/* ============================================
   STEP CARDS / TIMELINE
   ============================================ */

/* Step list — vertical, numbered circles */
.step-list {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-list-item {
  display: flex;
  gap: var(--space-lg);
  position: relative;
}

/* Dashed connector line between circles */
.step-list-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: -4px;
  width: 0;
  border-left: 1.5px dashed var(--gray-200);
}

.step-list-circle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--periwinkle);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.step-list-content {
  flex: 1;
  padding-bottom: var(--space-xl);
}

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

.step-list-content h3 {
  margin-bottom: var(--space-xs);
}


/* ============================================
   CATEGORY CARDS (marketplace hub)
   ============================================ */

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--deep-indigo);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.category-card:hover {
  box-shadow: 0 8px 32px rgba(26, 0, 59, 0.15);
  transform: translateY(-2px);
}

.category-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
}

.category-card-icon svg {
  width: 100%;
  height: 100%;
}

.category-card h3 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.category-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-sm);
  line-height: 1.6;
  flex: 1;
}

.category-card-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--periwinkle);
  transition: color 0.2s;
}

.category-card:hover .category-card-link {
  color: var(--lavender);
}

/* --- Peer Review Flow --- */
.pr-flow {
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.pr-flow-block {
  flex: 1;
  background: var(--deep-indigo);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.pr-flow-block h4 {
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.pr-flow-time {
  display: inline-block;
  background: var(--periwinkle);
  color: var(--white);
  font-size: var(--text-caption);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: var(--space-sm);
}

.pr-flow-block p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
}

.pr-flow-arrow {
  display: flex;
  align-items: center;
  color: var(--periwinkle);
  flex-shrink: 0;
}

.pr-flow-arrow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .pr-flow {
    flex-direction: column;
  }
  .pr-flow-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }
}


/* ============================================
   PRACTITIONER CARDS (marketplace preview)
   ============================================ */

.practitioner-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.practitioner-card:hover {
  box-shadow: 0 8px 32px rgba(26, 0, 59, 0.08);
  transform: translateY(-2px);
}

.practitioner-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--frost-blue);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gray-100);
}

.practitioner-photo svg {
  width: 40px;
  height: 40px;
  color: var(--gray-400);
}

.practitioner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.practitioner-card h3 {
  margin-bottom: 2px;
  font-size: var(--text-h4);
}

.practitioner-title {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: var(--space-xs);
}

.practitioner-credential {
  font-size: var(--text-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--periwinkle);
  margin-bottom: var(--space-sm);
}

.practitioner-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.practitioner-card .cta-primary {
  font-size: var(--text-sm);
  padding: 10px 20px;
  width: 100%;
  margin-top: auto;
}

/* --- Spoke cards: full-width horizontal layout --- */
.practitioner-card--spoke {
  flex-direction: row;
  text-align: left;
  gap: var(--space-xl);
  align-items: flex-start;
}

.practitioner-card--spoke .practitioner-photo {
  margin: 0;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

.practitioner-card--spoke .practitioner-content {
  flex: 1;
  min-width: 0;
}

.practitioner-card--spoke .practitioner-meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xs);
}

.practitioner-card--spoke .practitioner-meta h3 {
  margin-bottom: 0;
}

.practitioner-card--spoke .practitioner-location {
  font-size: var(--text-sm);
  color: var(--gray-400);
}

.practitioner-card--spoke .practitioner-desc {
  flex: none;
}

.practitioner-card--spoke .practitioner-ctas {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-md);
}

.practitioner-card--spoke .cta-primary {
  width: auto;
}

/* Tag pills for industry / expertise */
.practitioner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.tag-pill {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--frost-blue);
  color: var(--gray-600);
  white-space: nowrap;
}

.tag-pill--industry {
  background: rgba(116, 113, 255, 0.1);
  color: var(--periwinkle);
}

/* Spoke card responsive */
@media (max-width: 640px) {
  .practitioner-card--spoke {
    flex-direction: column;
    text-align: center;
  }
  .practitioner-card--spoke .practitioner-photo {
    margin: 0 auto;
  }
  .practitioner-card--spoke .practitioner-meta {
    justify-content: center;
  }
  .practitioner-card--spoke .practitioner-tags {
    justify-content: center;
  }
  .practitioner-card--spoke .practitioner-ctas {
    justify-content: center;
  }
}


/* ============================================
   PROOF / TESTIMONIAL BLOCKS
   ============================================ */

/* --- Proof Block: Oversized quote mark, left-aligned --- */
.proof-block-a {
  position: relative;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  background: rgba(116, 113, 255, 0.04);
  border-radius: var(--border-radius-lg);
  border-left: 3px solid var(--periwinkle);
}

.proof-block-a::before {
  content: '';
  position: absolute;
  top: var(--space-lg);
  left: var(--space-xl);
  width: 48px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40' fill='none'%3E%3Cpath d='M0 40V24.8C0 20.267 0.8 16.2 2.4 12.6C4.067 8.933 6.333 5.933 9.2 3.6C12.133 1.2 15.467 0 19.2 0V8.4C16.533 8.4 14.267 9.533 12.4 11.8C10.6 14 9.7 16.667 9.7 19.8H19.2V40H0ZM28.8 40V24.8C28.8 20.267 29.6 16.2 31.2 12.6C32.867 8.933 35.133 5.933 38 3.6C40.933 1.2 44.267 0 48 0V8.4C45.333 8.4 43.067 9.533 41.2 11.8C39.4 14 38.5 16.667 38.5 19.8H48V40H28.8Z' fill='%237471FF' fill-opacity='0.15'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.proof-block-a blockquote {
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--deep-indigo);
  margin-bottom: var(--space-md);
  margin-top: var(--space-lg);
}

.proof-block-a .proof-rule {
  width: 32px;
  height: 2px;
  background: var(--periwinkle);
  margin-bottom: var(--space-sm);
}

.proof-block-a cite {
  font-style: normal;
  display: block;
}

.proof-block-a .cite-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--deep-indigo);
}

.proof-block-a .cite-title {
  font-size: var(--text-caption);
  font-weight: 400;
  color: var(--gray-400);
}

/* Proof Block — dark */
.proof-block-a--dark {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--periwinkle);
}

.proof-block-a--dark::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40' fill='none'%3E%3Cpath d='M0 40V24.8C0 20.267 0.8 16.2 2.4 12.6C4.067 8.933 6.333 5.933 9.2 3.6C12.133 1.2 15.467 0 19.2 0V8.4C16.533 8.4 14.267 9.533 12.4 11.8C10.6 14 9.7 16.667 9.7 19.8H19.2V40H0ZM28.8 40V24.8C28.8 20.267 29.6 16.2 31.2 12.6C32.867 8.933 35.133 5.933 38 3.6C40.933 1.2 44.267 0 48 0V8.4C45.333 8.4 43.067 9.533 41.2 11.8C39.4 14 38.5 16.667 38.5 19.8H48V40H28.8Z' fill='%237471FF' fill-opacity='0.25'/%3E%3C/svg%3E");
}

.proof-block-a--dark blockquote {
  color: var(--white);
}

.proof-block-a--dark .cite-name {
  color: var(--white);
}

.proof-block-a--dark .cite-title {
  color: rgba(255, 255, 255, 0.5);
}


/* --- Original (kept for inline pull-quotes) --- */
.proof-block {
  border-left: 3px solid var(--periwinkle);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(116, 113, 255, 0.04);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.proof-block blockquote {
  font-size: 1.0625rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.proof-block cite {
  font-size: var(--text-sm);
  color: var(--gray-400);
  font-weight: 500;
  font-style: normal;
  display: block;
}

/* Dark variant */
.proof-block--dark {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--periwinkle);
}

.proof-block--dark blockquote {
  color: var(--white);
}

.proof-block--dark cite {
  color: rgba(255, 255, 255, 0.5);
}

/* Proof block with headshot */
.proof-block--with-photo {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.proof-block__photo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.proof-block--dark .proof-block__photo {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}


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

.faq-list {
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-100);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--deep-indigo);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  gap: var(--space-md);
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--periwinkle);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--periwinkle);
  transition: transform 0.3s;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-content-inner {
  padding: 0 0 var(--space-lg) 0;
}

.faq-content-inner p {
  color: var(--gray-600);
  font-size: var(--text-base);
}


/* ============================================
   CONTENT + DIAGRAM SPLIT (cards left, diagram right)
   ============================================ */

.content-diagram-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.content-diagram-split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.content-diagram-split__diagram {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

@media (max-width: 900px) {
  .content-diagram-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .content-diagram-split__diagram {
    position: static;
  }
}


/* ============================================
   DIAGRAM ABOVE + CARD GRID (diagram centered, 2x2 cards below)
   ============================================ */

.diagram-above-grid__diagram {
  max-width: 740px;
  margin: 0 auto var(--space-2xl);
}

.diagram-above-grid__diagram img {
  width: 100%;
  height: auto;
}

.diagram-above-grid__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 700px) {
  .diagram-above-grid__cards {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   CONTACT PAGE — two-column layout
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-form-col {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-form-col {
    position: static;
  }
}


/* ============================================
   FORM (custom-styled HubSpot layout)
   ============================================ */

.om-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: var(--space-xs);
}

.form-label .required {
  color: var(--periwinkle);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--gray-800);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 12px var(--space-md);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--periwinkle);
  box-shadow: 0 0 0 3px rgba(116, 113, 255, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
  font-weight: 300;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239494A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: var(--space-lg);
}

.form-submit .cta-primary {
  border: none;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}


/* ============================================
   PILLAR PAGE — Section Nav (sticky sidebar)
   ============================================ */

.pillar-nav {
  position: fixed;
  top: 50%;
  left: max(calc((100% - var(--container-max)) / 2 - 180px), 16px);
  transform: translateY(-50%);
  z-index: 100;
  display: none;
}

@media (min-width: 1400px) {
  .pillar-nav { display: block; }
}

.pillar-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pillar-nav-link {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-400);
  text-decoration: none;
  padding: 6px 12px;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.pillar-nav-link:hover {
  color: var(--gray-600);
}

.pillar-nav-link.is-active {
  color: var(--periwinkle);
  border-left-color: var(--periwinkle);
  font-weight: 500;
}


/* ============================================
   PATTERN DEEP — Two-column expand/collapse
   ============================================ */

.pattern-deep {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 var(--space-xl);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-md);
  transition: box-shadow 0.2s;
}

.pattern-deep:hover {
  box-shadow: 0 4px 20px rgba(26, 0, 59, 0.05);
}

.pattern-deep-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding-top: 2px;
}

.pattern-deep-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--frost-blue);
  border: 1px solid rgba(116, 113, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pattern-deep-icon svg {
  width: 24px;
  height: 24px;
}

.pattern-deep-header h3 {
  margin-bottom: 0;
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.3;
}

.pattern-deep-body p {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--gray-800);
}

.pattern-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.pattern-expand.is-open {
  max-height: 2000px;
}

.pattern-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--periwinkle);
  cursor: pointer;
  padding: var(--space-sm) 0;
  transition: color 0.2s;
}

.pattern-toggle:hover {
  color: var(--royal-blue);
}

.pattern-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.pattern-toggle[aria-expanded="true"] svg {
  transform: rotate(45deg);
}


/* ============================================
   ANTIDOTE — Tagline
   ============================================ */

.antidote-tagline {
  font-size: var(--text-h3);
  font-weight: 600;
  font-style: italic;
  color: var(--periwinkle);
  text-align: center;
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .pattern-deep {
    grid-template-columns: 1fr;
    padding: var(--space-lg);
  }
  .pattern-deep-header {
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
  }
  .pattern-deep-header h3 {
    font-size: var(--text-sm);
  }
  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .split--reverse > *:first-child { order: 1; }
  .split--reverse > *:last-child { order: 2; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}


/* ============================================
   INTERNAL LINK BLOCKS (hub routing)
   ============================================ */

.link-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.link-card:hover {
  box-shadow: 0 8px 32px rgba(26, 0, 59, 0.08);
  transform: translateY(-2px);
  border-color: var(--periwinkle);
  color: inherit;
}

.link-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: var(--frost-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--periwinkle);
}

.link-card-icon svg {
  width: 24px;
  height: 24px;
}

.link-card-body {
  flex: 1;
  min-width: 0;
}

.link-card-label {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--deep-indigo);
  margin-bottom: 2px;
}

.link-card-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.5;
}

.link-card-arrow {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.link-card:hover .link-card-arrow {
  color: var(--periwinkle);
  transform: translateX(4px);
}


/* ============================================
   DOWNLOAD BLOCKS
   ============================================ */

.download-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.download-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: var(--frost-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--periwinkle);
}

.download-card-icon svg {
  width: 24px;
  height: 24px;
}

.download-card-body h3 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-h4);
}

.download-card-body p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
}


/* ============================================
   SPLIT LAYOUT (text + image placeholder)
   ============================================ */

.split-image-placeholder {
  background: var(--frost-blue);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: var(--text-sm);
  font-weight: 500;
}


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

.site-footer {
  background: var(--deep-indigo);
  padding: var(--space-4xl) 0 var(--space-xl);
  color: rgba(255, 255, 255, 0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  padding-right: var(--space-xl);
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: rgba(116, 113, 255, 0.2);
  color: var(--periwinkle);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: var(--text-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal span {
  opacity: 0.5;
}


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

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --text-h1: 2rem;
    --text-h2: 1.5rem;
    --text-h3: 1.125rem;
    --text-display: 2.5rem;
  }

  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-3xl) 0; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .split--reverse > *:first-child { order: 0; }
  .split--reverse > *:last-child { order: 0; }

  /* Chunk 3 responsive */
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-xl) var(--space-lg); }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .download-card { flex-direction: column; }
  .link-card { padding: var(--space-lg); }

  /* Nav: hide desktop links, show hamburger */
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: block; }

  /* Hero text — full width on mobile */
  .hero-content-wide { max-width: 100%; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-visual { max-width: 360px; margin: var(--space-xl) auto 0; }

  /* Pattern tiles — stack on mobile */
  .pattern-grid { grid-template-columns: 1fr 1fr; }
  .pattern-tile:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
}

@media (max-width: 480px) {
  :root {
    --text-h1: 1.75rem;
    --text-display: 2rem;
  }

  .hero { padding: 100px 0 80px; }
  .hero::after { height: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .pattern-grid { grid-template-columns: 1fr; }
  .pattern-tile:last-child { max-width: 100%; }
}
