/* Growth by AI - Premium Editorial Design System with Visual Depth Layers */

/* ========================================
   DESIGN PRINCIPLES
   - Editorial restraint
   - Strong typography
   - Generous whitespace
   - Single-column focus
   - Commercial clarity without pressure
   - Subtle visual depth (stage, cadence, elevation, accent)
   ======================================== */

/* ========================================
   LAYER 1: PAGE STAGE
   Subtle tinted background that creates a sense of platform/stage
   ======================================== */

/* Core Layout */
body {
  /* Base background - subtle warm off-white */
  background: linear-gradient(to bottom, #FDFDF9 0%, #F9F9F5 100%);
  color: var(--text-gray);
  font-family: var(--font-family);
  font-size: var(--body-size);
  line-height: var(--body-line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Content Stage Container - slightly lighter panel that frames main content */
.content-stage {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(1px);
}

/* ========================================
   LAYER 4: ACCENT COLOR
   Single accent used only for interaction and labels
   ======================================== */
:root {
  --accent-color: #5B8C6F; /* Sophisticated sage green editorial accent */
  --accent-hover: #4A7359;
}

/* Typography Refinements */
h1, h2, h3 {
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
  font-weight: 700;
}

h2 {
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
  position: relative;
  padding-bottom: var(--space-sm);
}

/* Heading underline accent */
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  opacity: 0.3;
}

h3 {
  font-size: var(--h3-size);
  line-height: var(--h3-line-height);
}

p {
  margin: 0 0 var(--space-md) 0;
  max-width: 65ch;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text-dark);
  font-weight: 600;
}

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

.narrow-container {
  max-width: var(--narrow-container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Section Rhythm - More aggressive whitespace */
section {
  padding: calc(var(--space-3xl) * 1.25) 0;
}

@media (max-width: 768px) {
  section {
    padding: calc(var(--space-2xl) * 1.15) 0;
  }

  .container,
  .narrow-container {
    padding: 0 var(--space-md);
  }
}

/* Header - Centered Elegance */
.site-header {
  background: var(--background-white);
  border-bottom: 1px solid var(--border-light);
  padding: calc(var(--space-md) * 1.5) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(250, 250, 248, 0.95);
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.site-header .logo {
  grid-column: 2;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
  transition: opacity 0.2s ease;
  text-align: center;
}

.site-header .logo:hover {
  opacity: 0.7;
}

.site-header .logo-main {
  font-size: inherit;
  display: block;
}

.site-header .logo-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
}

.site-header .nav-left {
  justify-self: start;
}

.site-header .nav-right {
  justify-self: end;
}

.site-header .main-nav {
  display: none;
}

.site-header nav ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header nav a {
  font-size: 0.9375rem;
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.site-header nav a:hover {
  color: var(--accent-color);
}

/* Active page indicator - green dot */
.site-header nav a[href]:not([href*="mailto"]) {
  padding-bottom: 0.25rem;
}

.site-header nav a[href]:not([href*="mailto"])::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

/* Show green dot on active page */
body:not(.tier-1-page):not(.tier-2-page):not(.tier-3-page) .site-header nav a[href="./"]::after,
body.tier-1-page .site-header nav a[href="tier-1.html"]::after,
body.tier-2-page .site-header nav a[href="tier-2.html"]::after,
body.tier-3-page .site-header nav a[href="tier-3.html"]::after {
  transform: translateX(-50%) scale(1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  grid-column: 1;
  justify-self: start;
}

@media (max-width: 768px) {
  .site-header .container {
    grid-template-columns: auto 1fr auto;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .site-header .logo {
    grid-column: 2;
    font-size: 1.375rem;
  }

  .site-header .nav-left,
  .site-header .nav-right {
    display: none;
  }

  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-white);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md);
    grid-column: 1 / -1;
  }

  .site-header .main-nav.active {
    display: block;
  }

  .site-header .main-nav ul {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* Hero Section - Editorial Focus with Depth */
.hero {
  text-align: left;
  padding: calc(var(--space-3xl) * 1.25) 0 calc(var(--space-3xl) * 1.5);
  background:
    radial-gradient(
      ellipse 140% 100% at 50% 0%,
      rgba(246, 247, 249, 0.5) 0%,
      var(--background-white) 70%
    );
  position: relative;
}

/* Subtle top accent */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(43, 43, 40, 0.06) 30%,
    rgba(43, 43, 40, 0.06) 70%,
    transparent 100%
  );
}

.hero h1 {
  margin-bottom: var(--space-xl);
  max-width: 20ch;
  margin-top: 0;
}

/* Headline Weight Contrast */
.hero h1 br + * {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero .lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 55ch;
  margin: 0 0 var(--space-2xl);
}

/* ========================================
   LAYER 2: SECTION CADENCE
   Hairline separators and whitespace rhythm
   ======================================== */

.section-separator {
  border-top: 1px solid rgba(43, 43, 40, 0.08);
  margin: var(--space-3xl) 0;
}

.section-separator-subtle {
  border-top: 1px solid rgba(43, 43, 40, 0.04);
  margin: var(--space-2xl) 0;
}

/* ========================================
   LAYER 3: MICRO-ELEVATION
   Single elevation style for video + assets ONLY
   ======================================== */

/* Video Frame - Multi-Layer Visual Architecture */
.video-frame {
  max-width: calc(100vw - 2in); /* 1 inch from each edge = 2 inches total */
  margin: calc(var(--space-3xl) * 1.5) auto;
  position: relative;
  padding: calc(var(--space-xl) * 1.5);

  /* Multi-plane atmospheric background with warm tones */
  background:
    /* Foreground ambient glow - creates light pooling */
    radial-gradient(
      ellipse 120% 80% at 50% 50%,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(246, 247, 249, 0.4) 30%,
      transparent 60%
    ),
    /* Subtle warm accent layers for depth */
    radial-gradient(
      circle at 30% 40%,
      rgba(246, 247, 249, 0.8) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(250, 250, 248, 0.6) 0%,
      transparent 50%
    ),
    /* Deep background gradient with warm bias */
    linear-gradient(
      155deg,
      #fafaf9 0%,
      var(--background-light) 40%,
      #f6f7f9 100%
    );
  border-radius: calc(var(--radius-md) * 1.5);
  border: 1px solid rgba(43, 43, 40, 0.06);

  /* Atmospheric depth system with warm edge glow */
  box-shadow:
    /* Inner warm glow */
    inset 0 0 60px rgba(255, 248, 240, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.02),
    /* Outer halos - create emanating light effect */
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 0 80px rgba(255, 255, 255, 0.4),
    0 0 120px rgba(255, 248, 240, 0.2);
}

/* Corner accents removed for cleaner presentation */

/* Secondary corner accents removed - keeping only 2 corners for clarity */

/* Video Frame Header - Layered Above Background */
.video-frame-header {
  margin-bottom: var(--space-xl);
  text-align: left;
  padding: 0;
  position: relative;
  z-index: 2;
}

.video-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.video-context {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 65ch;
  margin: 0;
}

/* Video Container - Elevated Foreground Element */
.video-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--text-dark);

  /* Metallic beveled edge treatment with warm tones */
  box-shadow:
    /* Inner bevel highlights (top/left) - warm edge catching light */
    inset 4px 4px 0 rgba(255, 252, 248, 0.6),
    inset 2px 2px 0 rgba(255, 254, 252, 0.8),
    /* Inner bevel shadows (bottom/right) */
    inset -4px -4px 0 rgba(43, 43, 40, 0.08),
    inset -2px -2px 0 rgba(43, 43, 40, 0.04),
    /* Inner warm edge glow */
    inset 0 0 2px rgba(255, 248, 240, 0.3),
    /* Warm white frame */
    0 0 0 3px #fffffb,
    /* Frame edge definition */
    0 0 0 4px rgba(43, 43, 40, 0.12),
    /* Multi-layer depth system */
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.08),
    0 16px 32px rgba(0, 0, 0, 0.12),
    0 32px 64px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.3s ease;
  z-index: 3;
}

/* Dramatic lift on hover with subtle brightness */
.video-container:hover {
  transform: translateY(-8px) scale(1.01);
  filter: brightness(1.02);
  box-shadow:
    /* Enhanced inner bevel on hover */
    inset 4px 4px 0 rgba(255, 252, 248, 0.7),
    inset 2px 2px 0 rgba(255, 254, 252, 0.9),
    inset -4px -4px 0 rgba(43, 43, 40, 0.10),
    inset -2px -2px 0 rgba(43, 43, 40, 0.06),
    inset 0 0 2px rgba(255, 248, 240, 0.4),
    /* Warm white frame (slightly brighter) */
    0 0 0 3px #fffffc,
    0 0 0 4px rgba(43, 43, 40, 0.14),
    /* Enhanced depth shadows */
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.10),
    0 24px 48px rgba(0, 0, 0, 0.14),
    0 48px 96px rgba(0, 0, 0, 0.10);
}

/* Multi-layer surface treatment - Light reflection + contact shadow */
.video-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius-md) - 3px);
  background:
    /* Contact shadow at bottom - grounds the video */
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.12) 0%,
      transparent 8%
    ),
    /* Light reflection from top-left */
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.04) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* Warm-tinted vignette overlay */
.video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius-md) - 3px);
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(43, 43, 40, 0.12) 85%,
    rgba(62, 56, 48, 0.18) 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}

/* Section Separator - Hairline with Stronger Presence */
.section-separator {
  border-top: 1px solid rgba(43, 43, 40, 0.12);
  margin: var(--space-3xl) 0;
  position: relative;
}

/* Add subtle accent mark on separator */
.section-separator::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-color) 50%,
    transparent 100%
  );
  opacity: 0.2;
}

/* Section Labels - Editorial Entry Points */
.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  display: inline-block;
  position: relative;
  padding-bottom: 0.375rem;
}

/* Green underline accent on section labels */
.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    var(--accent-color) 60%,
    transparent 100%
  );
  opacity: 0.4;
}

/* Content Sections - Editorial Spacing with Aggressive Depth */
.content-section {
  padding: calc(var(--space-3xl) * 1.5) 0;
  position: relative;
}

/* Alternating backgrounds with subtle gradients */
.content-section:nth-child(even) {
  background: linear-gradient(
    180deg,
    var(--background-white) 0%,
    var(--background-light) 50%,
    var(--background-white) 100%
  );
}

.content-section:nth-child(odd) {
  background: var(--background-white);
}

/* Progressive Visual Intensity for Key Sections */
/* Problem section - Medium emphasis */
.content-section:has(.section-label:contains("Problem")) {
  background: linear-gradient(
    180deg,
    var(--background-white) 0%,
    rgba(246, 247, 249, 0.6) 50%,
    var(--background-white) 100%
  );
}

/* Principles section gets special treatment (already has .principles-section) */

/* Outcomes section on Tier 1 - Stronger emphasis */
.tier-1-page .content-section:has(.section-label:contains("What You'll Achieve")) {
  background: linear-gradient(
    180deg,
    rgba(246, 247, 249, 0.3) 0%,
    rgba(246, 247, 249, 0.7) 50%,
    rgba(246, 247, 249, 0.3) 100%
  );
  border-top: 1px solid rgba(43, 43, 40, 0.08);
  border-bottom: 1px solid rgba(43, 43, 40, 0.08);
}

/* Top border accent for visual separation */
.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(43, 43, 40, 0.15) 50%,
    transparent 100%
  );
}

.content-section h2 {
  margin-bottom: var(--space-xl);
  margin-top: 0;
  position: relative;
}

.content-section h3 {
  margin: var(--space-xl) 0 var(--space-md);
}

/* Tier Sections - Structured Content */
.tier-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-light);
}

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

.tier-section h2 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--text-dark);
  display: inline-block;
}

.tier-section ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.tier-section li {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  position: relative;
}

.tier-section li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-dark);
  font-weight: 600;
}

/* Asset List - Plain & Factual with Elevation */
.assets-list {
  background: var(--background-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  /* Micro-elevation: same as video */
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(43, 43, 40, 0.06);
}

.assets-list h3 {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.assets-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.assets-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

.assets-list li:last-child {
  border-bottom: none;
}

.assets-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.assets-list a:hover {
  text-decoration: underline;
}

/* Pricing - Clear Not Emphasized */
.pricing {
  text-align: center;
  padding: var(--space-xl) 0;
}

.pricing h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.pricing .price {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.pricing .price-description {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: var(--space-lg);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.pricing .price-note {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* Button - Quiet & Confident */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--text-dark);
  color: var(--background-white);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-large {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.0625rem;
}

/* CTA Section - Restrained and De-emphasized */
.cta-section {
  text-align: left;
  padding: var(--space-3xl) 0;
  background: var(--background-light);
}

.cta-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.cta-section p {
  max-width: 55ch;
  margin-bottom: var(--space-lg);
}

/* CTA Inline - Strengthened Conversion Moment */
.cta-inline {
  text-align: center;
  padding: calc(var(--space-3xl) * 1.25) 0;
  background: linear-gradient(
    180deg,
    var(--background-white) 0%,
    rgba(246, 247, 249, 0.5) 50%,
    var(--background-white) 100%
  );
  border-top: 1px solid rgba(43, 43, 40, 0.08);
  border-bottom: 1px solid rgba(43, 43, 40, 0.08);
  position: relative;
}

/* Visual anchor above CTA */
.cta-inline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  opacity: 0.3;
}

/* Purchase Message - Calm & Inline */
.purchase-message {
  margin-top: var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-light);
  font-style: italic;
}

/* Footer - Quiet Institutional Signature */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: calc(var(--space-3xl) * 2);
}

.footer-content {
  max-width: var(--narrow-container-max);
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 769px) {
  .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }
}

.footer-section h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: var(--space-xs);
}

.footer-section p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-bottom {
  max-width: var(--narrow-container-max);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-lg) 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

/* Under Construction Badge - Uses Accent */
.construction-badge {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--accent-color);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

/* ========================================
   LAYER 4 APPLICATION: LINKS & INTERACTION
   ======================================== */

/* Standard Links */
a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: var(--accent-color);
}

/* Focus States for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Editorial CTA Link Style (text + underline + arrow) */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.25rem;
  transition: all 0.2s;
}

.cta-link::after {
  content: "→";
  color: var(--accent-color);
  transition: transform 0.2s;
}

.cta-link:hover,
.cta-link:focus {
  color: var(--accent-color);
  border-bottom-color: var(--accent-hover);
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.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); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* ========================================
   CONVERSION-FOCUSED COMPONENTS
   ======================================== */

/* Hero Section - Above the Fold Conversion */
.hero-subhead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 60ch;
  margin-bottom: var(--space-md);
}

.hero-offer {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 60ch;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.hero-format-note {
  font-size: 0.875rem;
  color: var(--text-light);
  max-width: 60ch;
  margin-bottom: var(--space-xl);
}

.hero-format-note small {
  font-size: inherit;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

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

.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--background-white);
  border-color: var(--text-dark);
  transform: translateY(-1px);
}

/* Card System - Elevated with Depth */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.card {
  background: var(--background-white);
  border: 2px solid rgba(43, 43, 40, 0.15);
  border-radius: var(--radius-md);
  padding: calc(var(--space-lg) * 1.25);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 4px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Tier 1 Card - Primary Emphasis */
.card.tier-card:first-child {
  border: 3px solid var(--accent-color);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 8px 16px rgba(0, 0, 0, 0.08),
    0 0 0 4px rgba(70, 130, 180, 0.05);
  transform: scale(1.02);
}

.card.tier-card:first-child .card-badge {
  background: var(--accent-color);
  font-size: 0.8125rem;
  padding: 0.3rem 0.875rem;
}

/* Subtle inner glow */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(
    circle at top left,
    rgba(246, 247, 249, 0.5) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.card:hover {
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.06);
  transform: translateY(-6px);
  border-color: rgba(43, 43, 40, 0.25);
}

.card-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-badge.coming-soon {
  background: var(--text-light);
}

.card h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.card p {
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* Trust Strip */
.trust-strip {
  background: var(--background-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-xl) 0;
  margin: var(--space-3xl) 0;
  position: relative;
}

/* Green accent borders on trust strip */
.trust-strip::before,
.trust-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-color) 20%,
    var(--accent-color) 80%,
    transparent 100%
  );
  opacity: 0.2;
}

.trust-strip::before {
  top: 0;
}

.trust-strip::after {
  bottom: 0;
}

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

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.trust-item {
  padding: var(--space-md);
}

.trust-item .icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--accent-color);
}

.trust-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

.trust-item p {
  font-size: 0.9375rem;
  color: var(--text-gray);
  margin: 0;
  max-width: none;
  line-height: 1.5;
}

/* Outcomes Section */
.outcomes-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
  display: grid;
  gap: var(--space-md);
}

.outcomes-list li {
  padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-xl) + var(--space-sm));
  background: var(--background-white);
  border-left: 3px solid var(--accent-color);
  border-radius: var(--radius-sm);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.outcomes-list li:before {
  content: "✓";
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.25rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: var(--space-xl) auto;
}

.faq-item {
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--background-light);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-question.active::after {
  content: "−";
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--text-gray);
  display: none;
  line-height: 1.7;
}

.faq-answer.active {
  display: block;
}

.faq-answer p {
  margin-bottom: var(--space-sm);
  max-width: none;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Asset Cards */
.asset-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.asset-card {
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.asset-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--accent-color);
}

.asset-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--accent-color);
}

.asset-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.asset-card-type {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tier Ladder Section */
.tier-ladder {
  background: var(--background-white);
  padding: var(--space-3xl) 0;
}

.tier-ladder h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.tier-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tier-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  font-weight: 600;
  margin: var(--space-xs) 0 var(--space-sm);
}

.tier-description {
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.tier-bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  font-size: 0.9375rem;
  color: var(--text-gray);
}

.tier-bullets li {
  padding-left: var(--space-lg);
  position: relative;
  margin-bottom: var(--space-xs);
}

.tier-bullets li:before {
  content: "•";
  position: absolute;
  left: var(--space-sm);
  color: var(--accent-color);
  font-weight: 700;
}

.tier-deliverables {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-light);
}

.tier-deliverables small {
  font-size: inherit;
}

/* Principles Section - Immersive Background Treatment with Hard Boundaries */
.principles-section {
  background:
    linear-gradient(
      180deg,
      var(--background-white) 0%,
      var(--background-light) 20%,
      var(--background-light) 80%,
      var(--background-white) 100%
    );
  padding: calc(var(--space-3xl) * 1.75) 0;
  position: relative;
  border-top: 3px solid rgba(43, 43, 40, 0.12);
  border-bottom: 3px solid rgba(43, 43, 40, 0.12);
}

/* Accent top and bottom markers */
.principles-section::before,
.principles-section::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-color) 50%,
    transparent 100%
  );
  opacity: 0.3;
}

.principles-section::before {
  top: -2px;
}

.principles-section::after {
  bottom: -2px;
}

.principles-intro {
  text-align: center;
  max-width: 65ch;
  margin: 0 auto calc(var(--space-2xl) * 1.5);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--space-xl) * 1.25);
  margin: var(--space-xl) 0;
}

.principle-card {
  background: var(--background-white);
  border: 2px solid rgba(43, 43, 40, 0.15);
  border-radius: var(--radius-md);
  padding: calc(var(--space-xl) * 1.5);
  text-align: center;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 4px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Gradient overlay on card */
.principle-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(
    circle at top center,
    rgba(246, 247, 249, 0.6) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.principle-card:hover {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.06);
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-color);
}

.principle-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.principle-card h3 {
  margin-top: 0;
  margin-bottom: var(--space-md);
  font-size: 1.375rem;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.principle-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin: 0;
  max-width: none;
  text-align: left;
  position: relative;
  z-index: 1;
}

/* Program Details Grid */
.program-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
  padding: var(--space-xl);
  background: var(--background-light);
  border-radius: var(--radius-md);
}

.program-detail h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.program-detail p {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  max-width: none;
}

/* Tier Differentiation - Visual Identity Per Tier */
/* Tier 1: Product Solidity - Confident, Complete, Productized */
body.tier-1-page .hero {
  background: var(--background-white);
}

body.tier-1-page .content-stage {
  background: var(--background-white);
  border-bottom: 1px solid var(--border-light);
}

body.tier-1-page .pricing {
  background:
    linear-gradient(
      135deg,
      rgba(246, 247, 249, 0.8) 0%,
      var(--background-light) 50%,
      rgba(246, 247, 249, 0.8) 100%
    );
  padding: calc(var(--space-3xl) * 1.5) calc(var(--space-xl) * 1.5);
  border-radius: var(--radius-md);
  border: 3px solid var(--text-dark);
  border-top: 6px solid var(--accent-color);
  max-width: 650px;
  margin: 0 auto;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
}

/* Inner frame detail */
body.tier-1-page .pricing::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-md) - 6px);
  border: 2px solid rgba(43, 43, 40, 0.08);
  pointer-events: none;
}

/* Tier 2: Light-Touch Facilitation - Open, Reflective, Periodic */
body.tier-2-page .hero {
  background: var(--background-light);
}

body.tier-2-page .content-stage {
  background: var(--background-light);
}

/* Tier 3: Bespoke Constraint - Sparse, Limited, Exclusive */
body.tier-3-page .hero {
  background: var(--background-white);
}

body.tier-3-page .content-stage {
  padding: var(--space-2xl) 0;
}

body.tier-3-page .card-grid {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Doctrinal Markers - Visual Anchors Throughout Scroll */
.doctrinal-marker {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--accent-color);
  border-radius: var(--radius-full);
  display: inline-block;
  margin: var(--space-md) 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.doctrinal-marker:hover {
  opacity: 1;
}

/* Layered Frame System - Boxes Within Boxes */
.frame-outer {
  border: 2px solid rgba(43, 43, 40, 0.12);
  border-radius: calc(var(--radius-md) * 1.5);
  padding: calc(var(--space-xl) * 1.5);
  position: relative;
  background: var(--background-white);
}

.frame-outer::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(43, 43, 40, 0.06);
  border-radius: calc(var(--radius-md) * 1.25);
  pointer-events: none;
}

.frame-inner {
  border: 2px solid rgba(43, 43, 40, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  background: var(--background-light);
}

/* Progression Markers */
.progression-marker {
  position: relative;
  padding-left: var(--space-xl);
  margin: var(--space-lg) 0;
}

.progression-marker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--accent-color) 0%,
    transparent 100%
  );
  border-radius: var(--radius-full);
}

.progression-step {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

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

  .asset-card-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .program-details {
    grid-template-columns: 1fr;
  }

  /* Video frame mobile adjustments */
  .video-frame {
    max-width: 100%;
    margin: var(--space-2xl) 0;
    padding: var(--space-lg);
    box-shadow:
      inset 0 0 40px rgba(255, 248, 240, 0.1),
      0 0 60px rgba(255, 255, 255, 0.3);
  }

  .video-frame-header {
    margin-bottom: var(--space-md);
  }

  .video-title {
    font-size: 1.125rem;
  }

  .video-context {
    font-size: 0.9375rem;
  }

  .video-container {
    box-shadow:
      inset 2px 2px 0 rgba(255, 252, 248, 0.5),
      inset -2px -2px 0 rgba(43, 43, 40, 0.06),
      0 0 0 2px #fffffb,
      0 0 0 3px rgba(43, 43, 40, 0.1),
      0 4px 8px rgba(0, 0, 0, 0.06),
      0 8px 16px rgba(0, 0, 0, 0.08);
  }

  /* Disable hover effects on mobile */
  .video-container:hover {
    transform: none;
    filter: none;
  }

  /* About section mobile adjustments */
  .progression-marker {
    padding-left: var(--space-md);
  }

  .outcomes-list li {
    padding: var(--space-sm) var(--space-sm) var(--space-sm) calc(var(--space-lg) + var(--space-sm));
    font-size: 0.9375rem;
  }

  .outcomes-list li:before {
    left: var(--space-sm);
    top: var(--space-sm);
    font-size: 1.125rem;
  }

  /* Card and boxed sections mobile adjustments */
  .card {
    padding: var(--space-lg);
  }

  .card h3 {
    font-size: 1.125rem;
  }

  .card p {
    font-size: 0.875rem;
  }

  .card:hover {
    transform: translateY(-3px);
  }

  .asset-card {
    padding: var(--space-md) var(--space-sm);
  }

  .asset-card:hover {
    transform: translateY(-1px);
  }

  .faq-question {
    padding: var(--space-md);
    font-size: 0.9375rem;
  }

  .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 0.9375rem;
  }

  .trust-item {
    padding: var(--space-sm) 0;
  }

  .trust-item .icon {
    font-size: 1.75rem;
  }

  .tier-bullets li {
    padding-left: var(--space-md);
    font-size: 0.875rem;
  }

  /* Pricing section mobile adjustments */
  .pricing .price {
    font-size: 2rem;
  }

  .pricing h2 {
    font-size: 1.25rem;
  }

  .pricing .price-description {
    font-size: 0.9375rem;
  }

  /* Program details mobile adjustments */
  .program-details {
    padding: var(--space-lg);
    gap: var(--space-lg);
  }

  .program-detail h4 {
    font-size: 0.8125rem;
  }

  .program-detail p {
    font-size: 1rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .container,
  .narrow-container {
    padding: 0 var(--space-sm);
  }

  .site-header {
    padding: var(--space-sm) 0;
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9375rem;
  }

  .video-frame {
    padding: var(--space-md);
    margin: var(--space-xl) 0;
  }

  .video-title {
    font-size: 1rem;
  }

  .video-context {
    font-size: 0.875rem;
  }

  /* Card and boxed sections extra small adjustments */
  .card {
    padding: var(--space-md);
  }

  .card h3 {
    font-size: 1rem;
  }

  .faq-question {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }

  .faq-answer {
    padding: 0 var(--space-md) var(--space-sm);
    font-size: 0.875rem;
  }

  .card-badge {
    font-size: 0.6875rem;
    padding: 0.2rem 0.5rem;
  }

  .pricing .price {
    font-size: 1.75rem;
  }

  .pricing h2 {
    font-size: 1.125rem;
  }

  .program-details {
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .program-detail h4 {
    font-size: 0.75rem;
  }

  .program-detail p {
    font-size: 0.9375rem;
  }
}
