/* === RESET & BASE === */
/* Override WordPress/Divi defaults */
body.et_pb_pagebuilder_layout .et_pb_section {
  padding: 0;
}

body .entry-content {
  padding: 0;
}


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  font-weight: var(--fw-400);
  line-height: var(--lh-normal);
  color: var(--ink);
  background-color: var(--surface-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

@media (max-width: 768px) {
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 12px; /* Reduced margin for mobile headers */
    margin-top: 0; /* Reset top margins */
  }

  /* Section headers get some breathing room */
  .section-title,
  .section h2:first-child {
    margin-top: 0; /* But not if they're first */
  }
}

h1 { 
  font-size: var(--font-size-5xl); 
  font-weight: var(--font-weight-extrabold); 
}
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--fs-lg); }  /* Using existing token from tokens.css */
h4 { 
  font-size: var(--font-size-2xl); 
  font-weight: var(--font-weight-semibold); 
}
h5 { 
  font-size: var(--font-size-xl); 
  font-weight: var(--font-weight-semibold); 
}
h6 { 
  font-size: var(--font-size-lg); 
  font-weight: var(--font-weight-medium); 
}

/* Body Text */
p {
  margin-bottom: var(--space-md);
  color: var(--color-gray);
  line-height: var(--line-height-relaxed);
}

@media (max-width: 768px) {
  p {
    margin-bottom: 16px; /* Reduced paragraph spacing on mobile */
  }
}

/* === LAYOUT === */
/* Legacy Page Grid System - Retained for other sections */
.page-grid {
  display: grid;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

@media (min-width: 1200px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
  }
  
  .page-grid .main {
    min-width: 0;
  }
  
  .page-grid .sidebar {
    position: relative;
  }
  
  /* REMOVED: No sticky positioning in clean layout */
}

@media (max-width: 1199.98px) {
  .page-grid {
    display: block;
  }
  
  .page-grid .sidebar {
    margin-top: 24px;
  }
}

/* Bundle grid styles moved to bundle-grid.css to avoid conflicts */

/* === UNIFIED CONTAINER SYSTEM === */
/* All sections should use this container system for consistency */
.container {
  width: 100%;
  max-width: var(--container-max, 1180px);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

/* Container modifiers for special cases */
.container--narrow {
  max-width: 740px;  /* For letter/prose content */
}

.container--wide {
  max-width: 1280px;  /* For wider sections if needed */
}

.container--full {
  max-width: 100%;  /* Full width with padding */
}

/* Mobile consistency - all containers use same padding */
/* COMMENTED OUT - Handled in mobile-critical-override.css
@media (max-width: 768px) {
  .container,
  .container--narrow,
  .container--wide {
    padding-left: 20px;
    padding-right: 20px;
  }
}
*/

/* DEPRECATED - Remove after migration */
.container-lg {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

/* === GRID SYSTEM === */
/* 12-column CSS Grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

/* Responsive column spans */
.span-1 { grid-column: span 1; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-11 { grid-column: span 11; }
.span-12 { grid-column: span 12; }

/* Mobile responsive grid */
@media (max-width: 768px) {
  .grid-12 {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .span-1, .span-2, .span-3, .span-4, .span-5, .span-6,
  .span-7, .span-8, .span-9, .span-10, .span-11, .span-12 {
    grid-column: span 1;
  }
}

/* Sections */
section {
  padding: var(--space-5xl) 0;
}

.section-sm { padding: var(--space-3xl) 0; }
.section-lg { padding: var(--space-5xl) 0; }
.section-alt { background: var(--color-off-white); }
.section-dark { 
  background: var(--color-dark); 
  color: var(--color-white); 
}

/* === LEGACY HERO SECTION === */
/* Retained for backward compatibility - not used in intro grid */
.legacy-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

/* === BUTTONS === */
/* Base Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Button Variants */
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* Button Sizes */
.btn-sm { 
  padding: var(--space-sm) var(--space-lg); 
  font-size: var(--font-size-sm); 
}

.btn-lg { 
  padding: var(--space-lg) var(--space-3xl); 
  font-size: var(--font-size-lg); 
}

.btn-xl { 
  padding: var(--space-xl) var(--space-4xl); 
  font-size: var(--font-size-xl); 
  border-radius: var(--radius-xl); 
}

/* === SIDEBAR CARD COMPONENTS === */
/* Sidebar card foundation */
.sidebar-card {
  background: var(--surface-white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--elev-1);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

/* Product CTA Card (SB-01/07/15) */
.product-cta-card {
  text-align: center;
}

.product-cta-card .product-image {
  width: 100%;
  max-width: 240px;
  margin: 0 auto var(--space-3) auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.product-cta-card .product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-cta-card .price-headline {
  font-size: var(--fs-xl);
  font-weight: var(--fw-800);
  color: var(--accent);
  margin: 0 0 var(--space-2) 0;
}

.product-cta-card .includes-list {
  list-style: none;
  margin: var(--space-3) 0;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.product-cta-card .includes-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.product-cta-card .includes-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: var(--fw-700);
  font-size: 14px;
}

.product-cta-card .cta-button {
  width: 100%;
  margin-bottom: var(--space-3);
}

.product-cta-card .trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.product-cta-card .trust-row .lock-icon {
  font-size: 12px;
  color: var(--accent);
}

/* Pull Quote Card (SB-02/11) */
.pull-quote-card {
  border-left: var(--card-accent-border);
  background: rgba(57, 181, 74, 0.04);
}

.pull-quote-card .quote {
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--ink);
  margin: 0 0 var(--space-2) 0;
  line-height: var(--lh-relaxed);
}

.pull-quote-card .attribution {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: var(--fw-500);
}

/* Testimonial Card (SB-03/06/09) */
.testimonial-card {
  border-left: var(--card-accent-border);
}

.testimonial-card .testimonial-content {
  font-size: var(--fs-md);
  color: var(--ink);
  margin: 0 0 var(--space-3) 0;
  line-height: var(--lh-normal);
}

.testimonial-card .testimonial-author {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: var(--fw-700);
  margin-bottom: var(--space-2);
}

.testimonial-card .video-embed {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--space-3);
}

/* Guarantee Badge (SB-04/14) */
.guarantee-badge {
  text-align: center;
  background: #E9F8ED;
  border: 1px solid rgba(57,181,74,.35);
}

.guarantee-badge .guarantee-text {
  font-size: var(--fs-lg);
  font-weight: var(--fw-700);
  color: var(--accent);
  margin: 0;
}

.guarantee-badge .guarantee-subtext {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: var(--space-1) 0 0 0;
}

/* Outcomes Mini Card (SB-05) */
.outcomes-mini-card .outcomes-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-700);
  color: var(--ink);
  margin: 0 0 var(--space-2) 0;
}

.outcomes-mini-card .outcomes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.outcomes-mini-card .outcomes-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.outcomes-mini-card .outcomes-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: var(--fw-700);
  font-size: 14px;
  margin-top: 1px;
}

/* Trust Badge (SB-10) */
.trust-badge {
  text-align: center;
  background: var(--surface-white);
  border: 1px solid rgba(57,181,74,.15);
}

.trust-badge .trust-number {
  font-size: var(--fs-xl);
  font-weight: var(--fw-800);
  color: var(--accent);
  margin: 0;
}

.trust-badge .trust-text {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: var(--space-1) 0 0 0;
}

/* Value Stack Cards (SB-13) */
.value-stack-card {
  margin-bottom: var(--space-2);
}

.value-stack-card .value-name {
  font-size: var(--fs-md);
  font-weight: var(--fw-700);
  color: var(--ink);
  margin: 0 0 var(--space-1) 0;
}

.value-stack-card .value-description {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0 0 var(--space-1) 0;
  line-height: var(--lh-normal);
}

.value-stack-card .value-price {
  font-size: var(--fs-md);
  font-weight: var(--fw-700);
  color: var(--accent);
  margin: 0;
}

/* Responsive adjustments for sidebar cards */
@media (max-width: 1199.98px) {
  .sidebar-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .sidebar-card {
    padding: var(--space-3);
    margin-bottom: var(--space-3);
  }
  
  .product-cta-card .price-headline {
    font-size: var(--fs-lg);
  }
}

/* === COMPREHENSIVE COMPONENT SYSTEM === */
/* Section Component */
.section { 
  padding-block: var(--space-7); 
  background: var(--surface-white); 
}

.section--alt { 
  background: var(--surface-white); 
}

.section--offer-green {
  background: var(--accent);
  color: var(--surface-white);
  padding-block: var(--space-7);
}

@media (max-width: 768px) {
  .section {
    padding-block: 20px !important; /* Force 20px top and bottom */
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  /* Specific overrides for problematic sections */
  #intro-group.section {
    padding-top: 0px !important;
    padding-bottom: 20px !important;
  }

  /* Override the section element rule too */
  section {
    padding: 20px 0 !important;
  }

  /* Target specific sections with excessive spacing */
  .section h2:first-child,
  .section h3:first-child {
    margin-top: 0 !important;
  }
}

/* Note Component */
.note {
  border-left: 3px solid var(--accent);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  background: rgba(57,181,74,.06);
}

/* Checkmark List Component */
.ul-check {
  list-style: none; 
  margin: 0; 
  padding: 0;
  display: grid; 
  gap: var(--space-2);
}

.ul-check li { 
  display: flex; 
  gap: 10px; 
  align-items: flex-start; 
}

.ul-check svg { 
  flex: 0 0 18px; 
  margin-top: 3px; 
}

.ul-check .emoji {
  flex: 0 0 24px;
  font-size: 20px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Cross List Component */
.ul-cross {
  list-style: none; 
  margin: 0; 
  padding: 0;
  display: grid; 
  gap: var(--space-2);
}

.ul-cross li { 
  display: flex; 
  gap: 10px; 
  align-items: flex-start; 
}

.ul-cross svg { 
  flex: 0 0 18px; 
  margin-top: 3px; 
}

/* Media Component (16:9 aspect ratio) */
.media-16x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--elev-1);
}

.media-16x9 img,
.media-16x9 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Divider Component */
.divider { 
  height: 1px; 
  background: rgba(12,15,10,.08); 
  margin: var(--space-4) 0; 
}

/* Benefit Row Component */
.benefit-row { 
  display: grid; 
  grid-template-columns: repeat(3,1fr); 
  gap: var(--space-3); 
}

@media (max-width: 900px) { 
  .benefit-row { 
    grid-template-columns: 1fr; 
  } 
}

.benefit {
  background: var(--surface-white); 
  border: var(--border);
  border-radius: var(--radius); 
  padding: var(--space-3); 
  box-shadow: var(--elev-1);
}

/* Standard Card Component */
.card {
  background: var(--surface-white); 
  border: var(--border);
  border-radius: var(--radius); 
  box-shadow: var(--elev-1);
  padding: var(--rhythm-card);
  margin-bottom: var(--rhythm-vertical-lg);
}

.card--accent { 
  border-left: var(--card-accent-border); 
}

.card--note {
  background: rgba(57,181,74,.06);
  border-left: 4px solid var(--accent);
}

.card--yellow {
  background: #FFFCE8;
  border-left: 4px solid #f59e0b;
}

/* Mobile card adjustments */
@media (max-width: 768px) {
  .card {
    padding: 20px; /* Reduced padding on mobile */
    gap: 12px; /* Tighter gap */
    margin-bottom: 16px; /* Less space between cards */
  }
}

.card h3 { 
  font-size: var(--fs-lg); 
  font-weight: var(--fw-700);
  margin: 0 0 var(--space-2) 0; 
  color: var(--ink);
}

.card p { 
  margin: 0; 
  color: var(--muted);
}

.card-header { margin-bottom: var(--space-lg); }

.card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-700);
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.card-description {
  color: var(--muted);
  margin-bottom: 0;
}

/* Button Components - Unified Style */
.btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  padding: 14px 28px; 
  min-height: 48px; 
  border-radius: 999px;
  background: var(--accent); 
  color: var(--surface-white); 
  font-weight: var(--fw-700); 
  font-size: var(--fs-md);
  border: none; 
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(57,181,74,.2);
}

.btn:hover { 
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(57,181,74,.25);
}

.btn--ghost {
  border: 1px solid var(--accent); 
  color: var(--accent); 
  background: transparent;
}

.btn--ghost:hover {
  background: var(--accent);
  color: var(--surface-white);
}

/* Input Component */
.input { 
  height: var(--input-height); 
  border: var(--input-border); 
  border-radius: var(--input-radius); 
  padding: var(--input-padding);
  font-size: var(--fs-md);
  font-family: var(--font-sans);
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(57,181,74,.1);
}

/* Form Card Component */
.offer__form { 
  background: var(--surface-white); 
  color: var(--ink); 
  border-radius: var(--radius);
  padding: var(--space-4); 
  box-shadow: var(--elev-1); 
  margin-top: var(--space-4);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Comparison Component */
.compare { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: var(--space-3); 
}

.compare .col { 
  display: grid; 
  gap: var(--space-2); 
}

.compare .item {
  display: flex; 
  gap: 10px; 
  align-items: flex-start; 
  background: var(--surface-white); 
  border: var(--border);
  border-radius: var(--radius); 
  padding: var(--space-3); 
  box-shadow: var(--elev-1);
}

.compare .outcome {
  grid-column: 1 / -1; 
  background: var(--surface-white); 
  border: 1px solid rgba(57,181,74,.35);
}

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

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-500);
  line-height: 1;
  border-radius: var(--btn-radius);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-primary {
  background: rgba(57,181,74,.1);
  color: var(--accent);
}

.badge-accent {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* === GRID & FLEX === */
/* Grid System */
.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gaps */
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* === UTILITIES === */
/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-gray { color: var(--color-gray); }
.text-white { color: var(--color-white); }

/* Spacing */
.mb-0 { margin-bottom: 0; }
.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); }

.mt-0 { margin-top: 0; }
.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); }
.mt-2xl { margin-top: var(--space-2xl); }

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .legacy-hero {
    min-height: 80vh;
    padding: var(--space-3xl) 0;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .container {
    padding: 0 var(--space-lg);
  }
  
  section {
    padding: 20px 0 !important; /* Force smaller padding on mobile */
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .btn {
    padding: var(--space-md) var(--space-xl);
  }
  
  .btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-base);
  }
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  animation: fadeIn var(--duration-700) ease-out forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp var(--duration-700) ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ICON LISTS === */
.ul-icon {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ul-icon li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.ul-icon li::before {
  font-size: 18px;
  flex-shrink: 0;
  font-weight: 700;
}

.ul-q li::before {
  content: "❓";
  color: #D84B4B;
}

.ul-x li::before {
  content: "✕";
  color: #D84B4B;
}

/* Removed ul-check li::before - using emoji spans instead */

/* Pull Quote Highlight */
.highlight {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin: 24px 0;
  text-align: center;
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: var(--space-4);
  background: rgba(57, 181, 74, 0.05);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
}

/* Section Headers for Longform */
.wrong-header {
  font-size: 20px;
  margin: var(--space-5) 0 var(--space-3) 0;
  color: #1a4d2e;
  font-weight: var(--fw-700);
}

/* === LONGFORM HEADER SECTION === */
.longform-header {
  background: #f2f3f3;  /* Gray background to match letter section */
  padding: var(--space-6) 0;
  text-align: center;
}

.header-eyebrow {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.header-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--ink);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto var(--space-xl);
}

.header-subtitle {
  font-size: var(--font-size-xl);
  color: var(--muted);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
}

@media (max-width: 768px) {
  .header-eyebrow {
    font-size: var(--font-size-base);
  }
  
  .header-title {
    font-size: var(--font-size-2xl);
  }
  
  .header-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .longform-letter {
    padding: var(--space-4xl) var(--space-3xl);  /* Good padding on mobile */
  }
  
  .longform-letter .start-reading {
    left: var(--space-lg);  /* Position for mobile */
  }
}

/* === LONGFORM LETTER SECTION === */
.long-form-gray {
  background: #f2f3f3;  /* Gray background for entire section */
  padding-top: 0;  /* No top padding since header is above */
}

.longform-letter {
  background: var(--color-white);  /* White background for content */
  padding: var(--space-6) var(--space-5) var(--space-6);  /* Increased padding all around */
  padding-top: var(--space-5);  /* Ensure content starts below tab */
  margin: 0 auto;
  max-width: 900px;
  border-radius: var(--radius);
  box-shadow: var(--elev-1);
  position: relative;
  overflow: visible;  /* Allow tab to show properly */
}

.letter-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  font-family: 'Georgia', serif;
}

.longform-letter .headline {
  font-size: var(--font-size-4xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-tight);
}

.longform-letter .subheadline {
  font-size: var(--font-size-2xl);
  color: var(--color-secondary);
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-normal);
  font-style: italic;
}

.longform-letter .intro-text {
  font-size: var(--font-size-lg);
  color: var(--color-gray);
  margin-bottom: var(--space-2xl);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-lg);
}

.longform-letter .start-reading {
  background: var(--ink);  /* Black background */
  color: var(--color-white);  /* White text */
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-sm);
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  display: inline-block;
  position: absolute;
  top: -20px;  /* Position to straddle the overlap */
  left: var(--space-2xl);  /* Moved more to the left but not all the way */
  border-radius: var(--radius);  /* Full border radius */
  z-index: 10;  /* Ensure it's above both backgrounds */
}

.longform-letter .letter-header {
  margin-top: var(--space-2xl);  /* Added space to push text down */
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-light-gray);
}

.longform-letter .letter-header p {
  margin: var(--space-xs) 0;
  color: var(--color-gray);
  font-size: var(--font-size-base);
}

.longform-letter .salutation {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  font-weight: var(--font-weight-bold);
}

.longform-letter .letter-body p {
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
  color: var(--color-gray);
  line-height: var(--line-height-relaxed);
}

.longform-letter .emphasized {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-secondary);
  margin: var(--space-2xl) 0;
}

.longform-letter .section-header {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-dark);
  margin: var(--space-3xl) 0 var(--space-xl);
  padding-top: var(--space-2xl);
  border-top: 2px solid var(--color-light-gray);
}

.longform-letter .testimonial-section {
  background: rgba(57, 181, 74, 0.05);  /* Light green tint */
  padding: var(--space-2xl);
  margin: var(--space-3xl) 0;
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius);
}

.longform-letter .testimonial-intro {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.longform-letter .testimonial-content {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-gray);
  margin-bottom: var(--space-lg);
}

/* Mobile styles for testimonial sections - Fix narrow formatting on mobile */
@media (max-width: 768px) {
  .longform-letter .testimonial-section {
    padding: 20px 15px;  /* Much less horizontal padding for better width usage */
    margin: 30px -15px;  /* Negative margins to extend wider on mobile */
    border-left-width: 3px;  /* Thinner border on mobile */
    border-radius: 0;  /* Remove border radius on mobile for full width effect */
  }

  .longform-letter .testimonial-content {
    font-size: 16px;  /* Good readable size on mobile */
    line-height: 1.6;  /* Comfortable line height */
    margin-bottom: 15px;  /* Less spacing between paragraphs */
  }

  .longform-letter .testimonial-intro {
    font-size: 20px;  /* Smaller heading on mobile */
    margin-bottom: 12px;
    line-height: 1.3;
  }
}

.longform-letter .video-placeholder {
  background: var(--color-dark);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--font-size-lg);
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
}

.longform-letter .cta-button {
  display: block;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-lg) var(--space-3xl);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  margin: var(--space-3xl) auto;
  max-width: 400px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.longform-letter .cta-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.longform-letter .question-section {
  margin: var(--space-4xl) 0;
  padding: var(--space-3xl) 0;
  border-top: 2px solid var(--color-light-gray);
  border-bottom: 2px solid var(--color-light-gray);
}

.longform-letter .question-header {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

/* Icon lists in longform letter use global ul-icon styles */
.longform-letter .ul-icon li {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-md);
}

/* === STICKY CTA BUTTON === */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--surface-white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--btn-radius);
  font-weight: var(--fw-700);
  font-size: var(--fs-md);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sticky-cta:hover {
  background: var(--accent-hover);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .sticky-cta {
    bottom: 15px;
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
  }
}

/* === INTRO SECTION GRID SYSTEM === */
/* Clean Grid System for intro section - No Sticky, No Overlaps */

/* === INTRO SECTION - CLEAN RESTART === */

/* Section container - override default section padding for intro */
#intro-group {
  padding-top: 0px !important; /* No top padding on mobile */
  padding-bottom: 30px !important; /* Consistent bottom padding */
}

@media (min-width: 992px) {
  #intro-group {
    padding-top: 10px !important; /* Reduced desktop padding */
    padding-bottom: var(--space-5) !important; /* Normal bottom padding */
  }
}

/* Container handled by unified system */

/* Grid layout - Mobile first */
#intro-group .grid {
  display: grid;
  gap: 20px; /* Standard gap */
  grid-template-columns: 1fr;
  grid-template-areas:
    "head"
    "media"
    "main"     /* Main content (What is L...) comes BEFORE sidebar on mobile */
    "sidebar";
}

/* Desktop layout */
@media (min-width: 992px) {
  .hero-eyebrow {
    margin: -1.5rem 0 0; /* Negative margin only on desktop */
  }

  .hero-subhead,
  p.hero-subhead,
  .hero-title .hero-subhead,
  header .hero-subhead,
  .head .hero-subhead,
  #intro-group .hero-subhead {
    margin: .3rem auto 1.75rem !important; /* More space on desktop */
  }
}

@media (min-width: 1200px) {
  #intro-group .grid {
    grid-template-columns: 1fr 340px; /* Main content + sidebar */
    grid-template-areas:
      "head head"      /* Header spans full width */
      "media sidebar"  /* Media next to sidebar */
      "main sidebar";  /* Main content next to sidebar */
    align-items: start;
  }
}

/* Grid area assignments */
#intro-group .head {
  grid-area: head;
  text-align: center;
  /* Same width as rest of content - no extended margins */
}

#intro-group .media {
  grid-area: media;
}

#intro-group .offer-sidebar {
  grid-area: sidebar;
}

#intro-group .main {
  grid-area: main;
}

/* Intro section specific styles */
#intro-group .media .media-16x9 {
  margin: 0;
}

#intro-group .offer-sidebar .stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4, 1.5rem);
}

/* Intro section card overrides */
#intro-group .cta-card {
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
}

#intro-group .product-img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 16px auto;
  border-radius: var(--radius, 8px);
  display: block;
}

#intro-group .cta-head {
  font-size: var(--fs-xl, 1.5rem);
  font-weight: var(--fw-800, 800);
  color: var(--accent, #39B54A);
  margin: 0 0 16px 0;
}

#intro-group .trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: var(--fs-sm, 0.875rem);
  color: var(--muted, #6B7280);
  margin: 0;
}

/* Intro section pullquote card */
#intro-group .pullquote {
  border-left: 4px solid var(--accent, #39B54A);
  background: rgba(57, 181, 74, 0.04);
}

#intro-group .pullquote blockquote {
  font-size: var(--fs-lg, 1.125rem);
  font-style: italic;
  color: var(--ink, #1F2937);
  margin: 0 0 12px 0;
  line-height: var(--lh-relaxed, 1.6);
}

#intro-group .pullquote figcaption {
  font-size: var(--fs-sm, 0.875rem);
  color: var(--muted, #6B7280);
  font-weight: var(--fw-500, 500);
  margin: 0;
}

/* Intro section guarantee badge */
#intro-group .guarantee-badge {
  text-align: center;
  background: var(--dark-green-bg);
  color: white;
  border: none;
}

#intro-group .guarantee-text {
  font-size: var(--fs-md, 1rem);
  font-weight: var(--fw-700, 700);
  margin: 0 0 4px 0;
}

#intro-group .guarantee-subtext {
  font-size: var(--fs-sm, 0.875rem);
  opacity: 0.9;
  margin: 0;
}

/* Intro section main content typography */
#intro-group .main .section-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-800);
  text-align: center;
  margin-bottom: var(--rhythm-title-to-sub);
  color: var(--ink);
}

#intro-group .main p {
  font-size: var(--fs-md, 1rem);
  line-height: 1.5;
  margin-bottom: var(--rhythm-sub-to-body, 1rem);
  color: var(--ink, #1F2937);
}

#intro-group .main p strong {
  color: var(--ink, #1F2937);
  font-weight: var(--fw-700, 700);
}

/* Intro section responsive adjustments */
@media (max-width: 768px) {
  #intro-group .cta-head {
    font-size: var(--fs-lg, 1.125rem);
  }
}

/* === SECOND SIDEBAR GRID SYSTEM (Mid-Offer Section) === */
/* Grid system for offer section with named areas */
.offer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "main"
    "sidebar";
}

@media (min-width: 1200px) {
  .offer-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas:
      "main sidebar";
    align-items: start; /* Back to start for proper layout */
  }

  /* Make sidebar extend upward to bridge sections */
  .offer-grid .bundle-sidebar {
    margin-top: -1400px; /* Large negative to pull up near first sidebar */
    margin-bottom: 100px; /* Space below sidebar */
    position: sticky;
    top: 20px; /* Stick when scrolling */
  }
}

.offer-grid .offer-main { 
  grid-area: main; 
  min-width: 0;
}

.offer-grid .offer-sidebar {
  grid-area: sidebar;
  position: relative;
  /* Will extend upward since we're aligning at bottom */
}

/* === THIRD SIDEBAR GRID SYSTEM (Long-Form Section) === */
/* Grid system for long-form section with named areas */
.longform-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "main"
    "sidebar";
}

@media (min-width: 1200px) {
  .longform-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas:
      "main sidebar";
    align-items: start;
  }
  
  /* Remove sticky positioning for long-form sidebar */
  .longform-grid .longform-sidebar {
    /* position: sticky; */
    /* top: 2rem; */
    /* max-height: calc(100vh - 4rem); */
    /* overflow-y: auto; */
  }
}

.longform-grid .longform-main { 
  grid-area: main; 
  min-width: 0;
}

.longform-grid .longform-sidebar { 
  grid-area: sidebar; 
}

/* Mobile responsive for both grids */
@media (max-width: 1199.98px) {
  .offer-grid,
  .longform-grid {
    display: block;
  }
  
  .offer-grid .offer-sidebar,
  .longform-grid .longform-sidebar {
    margin-top: 24px;
  }
}

/* === ACCESSIBILITY === */
/* High Contrast Mode */
@media (prefers-contrast: high) {
  .hero { background: var(--color-dark); }
  .btn-secondary { border-width: 3px; }
  .sticky-cta { border: 2px solid var(--surface-white); }
  #intro-group .guarantee-badge {
    background: var(--dark-green-bg);
  }
}

/* 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;
  }
}


/* From 02-hero-vsl.html */
/* ===========================
   Hero Typography & Layout
   =========================== */

/* Header Content - clean grid integration */
.head {
  margin: 0;
}

/* Media container - clean grid integration */
.media {
  margin: 0;
}

/* Hero title section with refined spacing */
.hero-title {
  max-width: 100%; /* Full width for better headline display */
  width: 100%;
  margin: 0 auto;
  margin-bottom: 0.4rem; /* Minimal bottom margin */
  padding: 0 !important; /* Remove all padding including top */
  padding-top: 0 !important; /* Extra specific override */
  padding-bottom: 0 !important; /* Extra specific override */
  text-align: center;
}

/* Eyebrow text */
.hero-eyebrow {
  margin: 0; /* Reset margins for mobile */
  padding: 0 !important; /* Force no padding */
  padding-top: 0 !important; /* Specific top padding override */
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent); /* matches theme green */
  font-weight: 600;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  text-align: center;
}

/* Main headline - with higher specificity to override conflicts */
.hero-h1,
h1.hero-h1,
#hero-title {
  margin: 0 !important;
  font-weight: 800 !important;
  line-height: 1.1 !important; /* Slightly increased for readability at smaller size */
  letter-spacing: -0.02em !important;
  color: var(--ink) !important;
  /* Increased font size for better impact */
  font-size: clamp(1.75rem, 3.5vw, 2.875rem) !important;
  text-align: center !important;
  white-space: normal !important;
  width: 100% !important;
  max-width: none !important;
  text-wrap: balance !important; /* Re-enable to balance line lengths */
}

/* Headline color classes for spans */
.headline-black {
  color: #000000 !important;
}

.headline-green {
  color: #007140 !important; /* Brand green */
}

/* Green text for the benefits portion of headline (legacy) */
.green-text,
.hero-h1 .green-text,
h1 .green-text,
#hero-title .green-text {
  color: #39B54A !important; /* Brand green color */
  color: rgb(57, 181, 74) !important; /* Brand green in RGB as fallback */
}

/* Subtle underline highlight for the year */
.year-underline {
  background-image: linear-gradient(transparent 60%, var(--surface-white) 60%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 .14em; /* optical breathing room */
  border-radius: 2px; /* softens the underline edge slightly */
}

/* Subhead - dark green color */
.hero-subhead,
p.hero-subhead,
.hero-title .hero-subhead,
header .hero-subhead,
.head .hero-subhead,
#intro-group .hero-subhead {
  margin: .3rem auto 1rem !important; /* Reduced bottom margin for mobile */
  display: block !important;
  text-align: center !important;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem) !important; /* Increased font size */
  color: #223932 !important; /* Dark green color */
  color: rgb(34, 57, 50) !important; /* Dark green in RGB as fallback */
  font-weight: 600 !important; /* Added weight for emphasis */
}

/* Underline text in subhead */
.underline-text {
  text-decoration: underline;
}

.hero-subhead span {
  position: relative;
  padding-left: 1.4rem; /* Increased for larger bullet */
}

.hero-subhead span::before {
  content: "";
  position: absolute;
  left: 0; 
  top: .5em;
  width: .5rem; /* Larger bullet */
  height: .5rem; /* Larger bullet */
  border-radius: 999px;
  background: var(--accent); /* same green */
  opacity: .9;
}

/* Supporting italic line - back to original style */
.hero-italics {
  margin: 0.2rem auto 0;  /* Small positive margin for spacing */
  max-width: 720px;
  font-style: italic;
  font-size: 1.35rem;  /* Increased from 1.1rem */
  color: var(--muted);
  text-align: center;
  display: block;
}

/* Responsive refinements */
@media (max-width: 900px) {
  .hero-title {
    max-width: 100%;
  }
  .hero-h1 { 
    line-height: 1.14; 
  }
}

@media (max-width: 560px) {
  .hero-h1 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    letter-spacing: -0.01em;
  }
  .hero-subhead {
    gap: .6rem;
  }
}

/* Accessibility */
@media (prefers-contrast: high) {
  .hero-eyebrow {
    color: var(--accent-hover);
  }
  
  .hero-h1 {
    color: #000;
  }
}


/* From 05-cta-mid-offer.html */
/* Mid Offer Section Styles - Keep white background */
.section--offer {
  background: var(--surface-white);
  color: var(--ink);
}

/* Bottom-align columns with calculated overlap on desktop */
@media (min-width: 769px) {
  .section--offer .page-grid {
    align-items: flex-end; /* Both columns align at bottom */
  }
  
  /* Sidebar overlaps upward by its height difference */
  .section--offer .sidebar {
    /* The sidebar is taller, so we pull it up to compensate */
    /* This makes the top of main content align with top of green section */
    margin-top: calc(-1 * (var(--sidebar-extra-height, 400px)));
  }
  
  /* Main content stays at natural position */
  .section--offer .main {
    /* Starts at top of green section when bottom-aligned */
    max-width: 100%; /* Override the 75ch limit for offer section */
  }
}

/* Define the height difference as a custom property for easier adjustment */
/* Padding handled by main #intro-group rule above */

.section--offer {
  --sidebar-extra-height: 2400px; /* Further reduced for optimal alignment */
  padding-top: 2rem; /* Reduced from 80px */
  padding-bottom: 2rem; /* Add consistent bottom padding */
}

@media (max-width: 768px) {
  .section--offer {
    padding: 30px 0; /* Consistent mobile padding */
  }
}

/* Unified section header style for consistency */
.section-header-unified,
.offer-headline,
.case-studies-heading,
#intro-group .main .section-title {
  font-size: 1.875rem !important; /* Increased from 1.5rem */
  font-weight: 700 !important;
  color: var(--ink) !important;
  margin: 2rem 0 1.5rem 0 !important;
  line-height: 1.3 !important;
  text-align: center !important; /* All headers centered */
}

/* Reduce top margin specifically for offer-headline */
.offer-headline {
  margin-top: 0.5rem !important; /* Reduced from 2rem */
}

.offer-content {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--ink);
  text-align: left;
}

.offer-content p {
  margin: 0 0 var(--space-3) 0;
}

.offer-content p:last-of-type {
  font-size: var(--fs-lg);
  opacity: 1;
}

/* Comparison Image */
.comparison-image {
  margin-top: var(--space-4);
  margin-bottom: 0;
  text-align: center;
}

.comparison-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius);
  margin: 0 auto;
  display: block;
}

/* Case Studies Section */
.case-studies-section {
  margin-top: var(--space-5);
}

.case-studies-heading {
  text-align: center; /* Keep center alignment for this one */
}

.wistia-video-wrapper {
  margin-bottom: var(--space-4);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.offer__form {
  max-width: 520px;
  margin: 0 auto;
}

.cta-form {
  background: var(--surface-white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--elev-1);
}

.form-row {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.form-row .input {
  flex: 1;
  min-width: 0;
}

.form-row .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.form-disclaimer {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-disclaimer .lock-icon {
  color: var(--accent);
  font-size: 12px;
}

/* Included Container Styles - Default with green border */
.included-container {
  /* Default styles - overridden in sidebar contexts */
  color: var(--ink);
}

/* First sidebar in intro section - green border handled by .offer-sidebar */
#intro-group .offer-sidebar {
  /* Border handled by .offer-sidebar class */
}

#intro-group .offer-sidebar .included-container {
  background: transparent;  /* Transparent since sidebar has background */
  border: none;  /* No double border */
  border-radius: 0;
  padding: 0;  /* No extra padding */
  color: var(--ink);
}

/* Second sidebar in offer section - no double borders */
.section--offer .offer-sidebar .included-container,
.section--offer .bundle-sidebar .included-container {
  background: transparent;  /* Transparent since sidebar has background */
  border: none !important;  /* No double border */
  border-radius: 0;
  padding: 0;  /* No extra padding - sidebar has padding */
}

/* Third sidebar in long-form section - NO green border, transparent background */
.longform-sidebar .included-container,
.page-ref-sidebar .included-container {
  background: transparent !important;  /* Transparent background */
  border: none !important;  /* No green border */
  border-radius: var(--radius);
  padding: 24px;
}

/* Sidebar header styles - specifically for bundle sidebars */
.included-container h3.included-heading,
h3.included-heading {
  text-align: center !important;
  font-size: 13px !important;  /* Balanced size - smaller than body but readable */
  font-weight: 600 !important;  /* Medium weight for good hierarchy */
  color: var(--ink) !important;
  margin: 0 0 14px 0 !important;  /* Comfortable spacing */
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;  /* Good letter spacing for small caps */
  line-height: 1.35 !important;  /* Comfortable line height for multi-line */
  padding: 0 !important;  /* Ensure no extra padding */
  opacity: 0.9;  /* Slightly muted to show lower priority */
}

.bundle-hero {
  margin-bottom: 24px;
}

.bundle-hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Item Blocks - Default */
.item-block {
  background: var(--surface-white);  /* White background */
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

/* Override for sidebar version - transparent */
.sidebar .item-block {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.item-content {
  display: flex;
  flex-direction: column;
  gap: 0; /* No gap - title and desc should touch */
}

/* Item Images in Sidebar */
.item-image {
  width: 80px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  margin: 0 auto 4px auto; /* Reduced bottom margin */
  display: block;
}

.item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 !important;
  padding: 0;
  line-height: 1.2;
}

.item-desc {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 !important;
  padding: 0;
}

/* Access Row */
.access-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.75rem;
}

.access-icon {
  color: var(--muted);
  font-size: 0.75rem;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
}

.price-free {
  color: var(--accent);
  font-weight: 700;
  margin-left: auto;
}

/* Pricing Footer */
.pricing-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid #e0e0e0;
  text-align: center;
}

.main-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.price-was {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1.25rem;
}

.price-now {
  color: #d32f2f;
  font-size: 2rem;
  font-weight: 800;
}

.save-text {
  color: var(--accent);
  font-size: 0.875rem;
  margin: 0 0 16px 0;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 12px 0;
}

.available-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin: 12px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px 0;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

.check-icon {
  font-size: 1.25rem;
}

.guarantee {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guarantee p {
  margin: 0;
  flex: 1;
}

.guarantee-seal {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.guarantee p {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .included-container {
    padding: 16px;
  }
  
  .item-block {
    padding: 12px;
  }
  
  .main-price {
    flex-direction: column;
    gap: 4px;
  }
}


/* From 06-social-proof-results.html */
/* Proof Section Styles */
.proof-cards {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.proof-cards .card {
  border-left: var(--card-accent-border);
}

.proof-cards .card h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-700);
  color: var(--accent);
  margin: 0 0 var(--space-2) 0;
}

.proof-cards .card p {
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--ink);
  margin: 0 0 var(--space-3) 0;
}

.proof-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-2) 0;
  border-top: 1px solid rgba(57,181,74,.15);
}

.metric-number {
  font-size: var(--fs-xl);
  font-weight: var(--fw-800);
  color: var(--accent);
  line-height: 1;
}

.metric-label {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .proof-cards {
    gap: var(--space-3);
  }
}


/* From 07-comparison-old-vs-new.html */
/* Compare Section Styles */
.compare-header {
  font-size: var(--fs-lg);
  font-weight: var(--fw-700);
  margin: 0 0 var(--space-3) 0;
  text-align: center;
  color: var(--ink);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.compare .col {
  display: grid;
  gap: var(--space-2);
}

.compare .item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--surface-white);
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--elev-1);
}

.compare .item span {
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--ink);
}

.compare .outcome {
  grid-column: 1 / -1;
  background: var(--surface-white);
  border: 1px solid rgba(57,181,74,.35);
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-top: var(--space-3);
}

.compare .outcome p {
  font-size: var(--fs-lg);
  color: var(--accent);
  margin: 0;
  font-weight: var(--fw-700);
}

/* Mobile responsive */
@media (max-width: 900px) {
  .compare {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .compare .outcome {
    grid-column: 1;
  }
}


/* From 08-cta-final-offer.html */
/* Final Offer Section Styles */
.everything-included {
  margin-top: var(--space-5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.everything-included h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-700);
  color: var(--surface-white);
  margin: 0 0 var(--space-3) 0;
}

.everything-included .ul-check {
  text-align: left;
}

.everything-included .ul-check li {
  margin-bottom: var(--space-2);
}

.everything-included .ul-check li span {
  color: var(--surface-white);
  font-size: var(--fs-md);
}

/* Value Stack Styles */
.value-stack {
  display: flex;
  flex-direction: column;
}

.value-total {
  margin: var(--space-3) 0;
}

.value-total .guarantee-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--accent);
}

.value-total .guarantee-text {
  font-size: var(--fs-xl);
  color: var(--accent);
}

.value-total .guarantee-subtext {
  font-size: var(--fs-lg);
  color: var(--ink);
  font-weight: var(--fw-700);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .everything-included {
    margin-top: var(--space-4);
  }
  
  .value-stack .sidebar-card {
    margin-bottom: var(--space-2);
  }
}


/* From 09-bundle-everything-included.html */
/* Bundle Showcase Section */
}

/* From 09-bundle-everything-included.html */
/* Bundle Showcase Section */
.section--bundle-showcase {
  background: var(--surface-white);
  padding: var(--space-6) 0;
}

/* Note: More specific selectors override this in grid layouts */
.main:not(.page-grid .main) {
  max-width: 75ch;
  margin: 0 auto;
}

.bundle-intro-headline {
  font-size: var(--fs-xxl);
  font-weight: var(--fw-800);
  color: var(--ink);
  margin: 0 0 var(--space-3) 0;
  text-align: center;
}

.bundle-intro-text {
  font-size: var(--fs-lg);
  color: var(--muted);
  margin: 0 0 var(--space-5) 0;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Bundle Sidebar Styles */
.bundle-sidebar {
  /* Border removed - handled by .included-container */
  border-radius: 12px;
  background: var(--surface-white);
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  max-width: 360px;
  margin: -200px auto 0 auto; /* Pull up to align with content */
}

.bundle-sidebar__header {
  border-bottom: 1px solid #ededed;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.bundle-sidebar__title {
  font: 600 13px/1.2 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 0;
  color: var(--ink);
}

/* Bundle List */
.bundle-list {
  list-style: decimal;
  padding-left: 18px;
  margin: 0;
}

.bundle-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

.bundle-item:first-child {
  border-top: 0;
}

.bundle-item__thumb img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  background: #f5f5f5;
}

.bundle-item__name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--ink);
}

.bundle-item__emoji {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.bundle-item__desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 6px;
}

.bundle-item__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #3d3d3d;
}

.meta {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.icon-clock {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.meta--price s {
  color: #a6a6a6;
}

.badge {
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
}

.badge--free {
  background: #e9f8ef;
  color: var(--accent);
}

/* Bundle Summary */
.bundle-summary {
  border-top: 2px solid #e6e6e6;
  margin-top: 14px;
  padding-top: 14px;
  text-align: center;
}

.bundle-summary__price {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bundle-summary__only {
  font-size: 11px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--muted);
}

.bundle-summary__was s {
  color: var(--muted);
  font-size: 16px;
}

.bundle-summary__now {
  font-size: 24px;
  font-weight: 800;
  color: #d93025;
}

.bundle-summary__save {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.bundle-summary__note,
.bundle-summary__instant,
.bundle-summary__secure {
  font-size: 12.5px;
  color: var(--muted);
  margin: 6px 0;
}

.bundle-summary__note strong {
  color: #d93025;
  font-weight: 700;
}

.bundle-summary__secure {
  color: var(--accent);
  font-weight: 600;
}

.bundle-summary__guarantee img {
  max-width: 160px;
  width: 100%;
  height: auto;
  margin: 12px auto 0;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bundle-sidebar {
    max-width: 100%;
    padding: 12px;
  }
  
  .bundle-item {
    grid-template-columns: 56px 1fr;
    gap: 10px;
  }
  
  .bundle-item__thumb img {
    width: 56px;
    height: 56px;
  }
  
  .bundle-item__name {
    font-size: 13px;
  }
  
  .bundle-item__desc {
    font-size: 11.5px;
  }
  
  .bundle-summary__now {
    font-size: 20px;
  }
}


/* === FEATURE POSTER LAYOUT === */
.feature-poster-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "features-top features-top features-top"
    "features-left center-image features-right"
    "features-bottom features-bottom features-bottom";
  gap: var(--space-5) var(--space-4);
  align-items: center;
  margin-top: var(--space-5);
}

.poster-header { text-align: center; margin-bottom: var(--space-5); }
.poster-features-top { grid-area: features-top; }
.poster-features-left { grid-area: features-left; }
.poster-center-image { grid-area: center-image; }
.poster-features-right { grid-area: features-right; }
.poster-features-bottom { grid-area: features-bottom; }
.poster-footer { text-align: center; margin-top: var(--space-5); }

.poster-eyebrow {
  font-size: var(--fs-md);
  font-weight: var(--fw-700);
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.poster-headline {
  font-size: var(--fs-xxl);
  color: var(--ink);
  max-width: 800px;
  margin: 0 auto var(--space-3) auto;
}

.poster-intro {
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

.poster-center-image img {
  max-width: 640px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
}

.poster-features-top, .poster-features-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.poster-features-left, .poster-features-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.feature-item {
  text-align: center;
}

.poster-features-left .feature-item {
  text-align: right;
}

.poster-features-right .feature-item {
  text-align: left;
}

.feature-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-700);
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.feature-item p {
  font-size: var(--fs-md);
  color: var(--muted);
  margin: 0;
  max-width: 30ch;
}

.poster-features-left .feature-item p, 
.poster-features-right .feature-item p {
    margin: 0;
}

.poster-cta .btn {
    margin-bottom: var(--space-2);
}

.poster-cta .cta-subtext {
    font-size: var(--fs-sm);
    color: var(--muted);
    text-transform: uppercase;
}

.poster-guarantee-img {
    margin-top: var(--space-3);
}

@media (max-width: 900px) {
  .feature-poster-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "features-top"
      "center-image"
      "features-left"
      "features-right"
      "features-bottom";
  }

  .poster-features-top, .poster-features-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-item, 
  .poster-features-left .feature-item, 
  .poster-features-right .feature-item {
    text-align: center;
  }

  .feature-item p {
      margin: 0 auto;
  }
}

/* When inside a grid layout */
.page-grid .bundle-sidebar {
  max-width: 100%;
}

.item-block .page-ref {
    display: block;
    font-style: italic;
    margin-top: var(--space-1);
    color: var(--ink);
    font-weight: var(--fw-500);
}

.testimonial-link-block {
    text-align: center;
    padding: var(--space-3);
    background-color: var(--surface-white);
}

.testimonial-link-block a {
    color: var(--accent);
    font-weight: var(--fw-700);
    text-decoration: underline;
}

/* === SOCIAL PLATFORMS SECTION === */
.social-platforms-section {
  background: #1e3932;
  padding: 40px 0;  /* Consistent padding */
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 300px;  /* Ensures section has enough height for centering */
}

.social-platforms-section .container {
  text-align: center;
}

/* Desktop styles for social platforms headline */
@media (min-width: 769px) {
  .social-platforms-headline,
  .social-platforms-section .social-platforms-headline,
  .social-platforms-section h2.social-platforms-headline {
    font-size: 1.75rem !important;
  }
}

/* Unified styling for all main section headers */
.section-title,
.offer-headline,
.case-studies-heading,
.bundle-headline,
.letter-headline,
h2.section-title,
h2.offer-headline,
h3.case-studies-heading,
h2.bundle-headline,
h2.letter-headline,
h3[style*="font-size: 1.875rem"],
h4:contains("So the question is"),
h4:contains("Why is it that"),
h4:contains("Here's What They Do") {
  /* Desktop size */
  font-size: 1.875rem !important; /* 30px */
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 2rem 0 1.5rem 0 !important;
}

/* Base styles for all screen sizes */
.social-platforms-headline,
.social-platforms-section .social-platforms-headline,
.social-platforms-section h2.social-platforms-headline {
  color: white !important;
  font-weight: 600 !important;
  margin: 0 0 30px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.social-platforms-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .social-platforms-section {
    padding: 30px 0;  /* Match other section mobile padding */
    min-height: auto; /* Let content determine height */
  }

  .social-platforms-headline {
    font-size: 14px !important;
    padding: 0 10px;
    text-wrap: balance !important; /* Modern CSS for balanced line breaks */
    text-align: center !important;
    max-width: 280px !important; /* Force better line wrapping */
    margin: 0 auto 30px auto !important;
    display: block !important; /* Ensure block display for centering */
  }

  /* Ensure parent container is also centered */
  .social-platforms-section .container {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}

  .social-platforms-image {
    max-width: 100%;
  }
}

/* === COMPLETE BUNDLE GRID SECTION - ISOLATED STYLES === */
/* This file contains isolated styles for the bundle grid to avoid conflicts */
/* Higher specificity to override base.css conflicts */

.complete-bundle-section {
  padding: 60px 0;
  background: var(--dark-green-bg) !important;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container now handled by unified system */

.complete-bundle-section .bundle-headline {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #ffffff !important;
  font-weight: 600;
}

.complete-bundle-section .bundle-headline .highlight-text {
  color: #c53500 !important;
  text-decoration: underline;
}

.complete-bundle-section .bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

/* Bundle Card Specific Styles - High specificity */
.complete-bundle-section .bundle-grid .bundle-card {
  background: #1e3932 !important;
  padding: 20px !important;
  border-radius: 8px !important;
  color: white !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 280px !important; /* Ensure consistent card height */
  border: none !important;
  box-shadow: none !important;
}

.complete-bundle-section .card-content {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.complete-bundle-section .card-image {
  width: 95px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  flex-shrink: 0;
}

.complete-bundle-section .card-text {
  flex-grow: 1;
}

/* Force card title to be properly sized and orange - Override base.css */
.complete-bundle-section .bundle-card .card-title,
.complete-bundle-section .bundle-grid .bundle-card h3.card-title {
  color: #c53500 !important;
  margin: 0 0 10px 0 !important;
  font-size: 1.5rem !important; /* Proper size for readability */
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: block !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.complete-bundle-section .card-subtitle {
  font-size: 0.875rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.complete-bundle-section .card-description {
  font-size: 0.875rem;
  margin: 0 0 15px 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  flex-grow: 1; /* Pushes footer to bottom */
}

.complete-bundle-section .card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}

.complete-bundle-section .icon {
  width: 20px;
  height: 20px;
}

.complete-bundle-section .free-icon {
  width: 58px;
  height: 32px;
}

.complete-bundle-section .access-type {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.complete-bundle-section .price {
  font-size: 0.875rem;
  font-weight: 600;
}

.complete-bundle-section .old-price {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* CTA Section */
.complete-bundle-section .bundle-cta {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.complete-bundle-section .bundle-cta-headline {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}

/* Mobile styles for bundle CTA - better mobile design */
@media (max-width: 768px) {
  .complete-bundle-section .bundle-cta {
    padding: 30px 20px;  /* Good padding on mobile */
  }

  .complete-bundle-section .bundle-cta-headline {
    font-size: 1.5rem;  /* Readable size */
    margin-bottom: 20px;  /* Reasonable space */
    line-height: 1.3;
  }

  .complete-bundle-section .bundle-cta-button {
    display: block;  /* Full width on mobile */
    width: 100%;  /* Take full container width */
    max-width: 100%;  /* No max width restriction */
    font-size: 1.1rem;  /* Larger, more readable text */
    padding: 18px 20px;  /* Generous tap target */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;  /* Less rounded on mobile for modern look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);  /* Subtle shadow */
    word-wrap: break-word;  /* Allow text to wrap if needed */
    white-space: normal;  /* Allow text wrapping */
    line-height: 1.4;  /* Good line height for wrapped text */
  }

  .complete-bundle-section .bundle-cta-button:hover {
    transform: none;  /* Disable hover scale on mobile */
  }
}

.complete-bundle-section .bundle-cta-button {
  display: inline-block;
  background: #ffd700;
  color: #2c3e50;
  padding: 16px 35px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.complete-bundle-section .bundle-cta-button:hover {
  background: #ffed4e;
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 991px) {
  .complete-bundle-section .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .complete-bundle-section .card-title {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .complete-bundle-section .bundle-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .complete-bundle-section .card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .complete-bundle-section .card-footer {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .complete-bundle-section .bundle-headline {
    font-size: 1.5rem;
    padding: 0 10px;
  }
  
  .complete-bundle-section .card-title {
    text-align: center;
  }
}

/* === INTRO SECTION WITH SIDEBAR === */
/* Intro section keeps default white background */

/* === RISK REVERSAL LETTER SECTION === */
.risk-reversal-letter {
  padding: 80px 0;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 20%);
  position: relative;
}

/* Paper-like container with shadow */
.letter-content {
  padding: 56px 48px;
  background: var(--surface-white);
  box-shadow:
    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.06);
  border-radius: 4px;
  position: relative;
  /* Subtle paper texture */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 29px,
      rgba(0, 0, 0, 0.025) 29px,
      rgba(0, 0, 0, 0.025) 30px
    );
}

/* Green accent bar at top */
.letter-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--accent);
  opacity: 0.8;
}

/* Letterhead-style headline */
.letter-headline {
  font-size: clamp(26px, 3.5vw, 34px);
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.4;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 24px;
}

/* Decorative separator after headline */
.letter-headline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
}

/* Letter body with better typography */
.letter-body {
  text-align: left;
  font-family: Georgia, 'Times New Roman', serif;
}

.letter-body p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #2c2c2c;
}

/* First paragraph stands out */
.letter-body p:first-child {
  font-size: 19px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 28px;
}

/* Short impactful lines get more spacing */
.letter-body p:nth-child(2),
.letter-body p:nth-child(3),
.letter-body p:nth-child(4) {
  padding-left: 20px;
  border-left: 3px solid rgba(57, 181, 74, 0.2);
  margin: 16px 0;
  font-style: italic;
}

/* Highlighted text with subtle background */
.letter-body strong {
  color: #1a1a1a;
  font-weight: 600;
  background: linear-gradient(to bottom, transparent 60%, rgba(255, 220, 0, 0.2) 60%);
  padding: 0 3px;
}

/* Special styling for rhetorical questions */
.letter-body p:has(strong:first-child) {
  margin-top: 28px;
  margin-bottom: 24px;
  font-size: 18px;
}

.letter-body a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.letter-body a:hover {
  color: var(--color-primary-dark);
  background: rgba(57, 181, 74, 0.1);
  padding: 0 2px;
}

/* Prominent CTA button */
.letter-cta {
  text-align: center;
  margin-top: 48px;
  padding-bottom: 32px;
  position: relative;
}

/* Add signature line before CTA */
.letter-cta::before {
  content: "— Chris —";
  display: block;
  font-family: 'Brush Script MT', cursive;
  font-size: 24px;
  color: #555;
  margin-bottom: 32px;
  opacity: 0.8;
}

.letter-cta-link {
  display: inline-block;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  box-shadow:
    0 4px 14px rgba(255, 140, 0, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.letter-cta-link:hover {
  background: linear-gradient(135deg, #FF8C00 0%, #FF7F00 100%);
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(255, 140, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.1);
  color: white;
  text-decoration: none;
}

/* Responsive adjustments for letter section */
@media (max-width: 768px) {
  .letter-headline {
    font-size: var(--font-size-2xl);
  }
  
  .letter-content {
    padding: 0 var(--space-md);
  }
  
  .letter-body p {
    font-size: var(--font-size-md);
  }
  
  .letter-cta {
    padding-bottom: var(--space-6);  /* Increased for mobile too */
  }
  
  .letter-cta-link {
    font-size: var(--font-size-md);
  }
}

/* === FAQ SECTION === */
.faq-section {
  padding: var(--space-4xl) 0;
  background: var(--dark-green-bg);
}

.faq-section .section-title {
  color: white !important;
  text-align: center;
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-3xl);
  font-weight: var(--font-weight-bold);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.faq-column {
  max-width: 100%;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: white;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  background-color: rgba(58, 125, 68, 0.05);
  color: #2a5d34;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-md);
  line-height: 1.4;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(58, 125, 68, 0.1);
}

.faq-question:after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: #2a5d34;
  margin-left: 10px;
  flex-shrink: 0;
}

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

.faq-answer {
  display: none;
  padding: 20px;
  color: var(--ink);
  background: white;
}

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

.faq-answer p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: var(--font-size-md);
}

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

/* FAQ CTA Block */
.faq-cta-block {
  text-align: center;
  margin-top: var(--space-4xl);
  padding-top: var(--space-3xl);
}

.faq-price {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: var(--space-xl);
}

.faq-download-btn {
  display: inline-block;
  font-size: var(--font-size-lg);  /* Reduced to match risk reversal section */
  font-weight: var(--font-weight-bold);
  color: white;
  text-decoration: underline;
  transition: opacity 0.3s ease;
  padding: var(--space-md) var(--space-xl);
}

.faq-download-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
  color: white;
}

/* Responsive FAQ */
@media (max-width: 991px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .faq-section .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .faq-cta-block {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: var(--space-3xl) 0;  /* Container handles horizontal padding */
  }
  
  .faq-question {
    padding: 12px 15px;
    font-size: var(--font-size-sm);
  }
  
  .faq-answer {
    padding: 15px;
  }
  
  .faq-answer p {
    font-size: var(--font-size-sm);
  }
}

/* === FOOTER FINAL SECTION === */
.footer-final {
  padding: 40px 0;
  background: var(--dark-green-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Trust badges bar */
.footer-trust {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.trust-badges {
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  opacity: 0.95;
}

/* Legal disclaimer styling */
.legal-disclaimer {
  margin-bottom: 20px;
}

.disclaimer-fb {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 0 0 15px 0;
  font-style: italic;
}

/* Collapsible disclaimer */
.disclaimer-details {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin: 0 auto;
}

.disclaimer-details summary {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 5px;
  user-select: none;
}

.disclaimer-details summary:hover {
  color: white;
}

.disclaimer-details[open] summary {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-details p {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Copyright */
.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .footer-final {
    padding: 30px 0;
  }

  .trust-badges {
    font-size: 12px;
    line-height: 1.6;
  }

  .disclaimer-fb {
    font-size: 10px;
  }

  .disclaimer-details summary {
    font-size: 12px;
  }

  .disclaimer-details p {
    font-size: 10px;
    line-height: 1.5;
  }
}

/* === AGGRESSIVE MOBILE SPACING OVERRIDES === */
/* These rules MUST take precedence over all other spacing rules */
/* COMMENTED OUT - Handled in mobile-critical-override.css
@media (max-width: 768px) {
  /* Override WordPress/theme container padding */
  .container,
  .container--narrow,
  .page-grid,
  [class*="container"] {
    padding-top: 16px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Target WordPress body and entry content */
  body .entry-content > :first-child,
  body .et_pb_section:first-child,
  body .et_pb_row:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  /* Force all sections to have minimal padding */
  section,
  .section,
  section.section,
  div.section,
  [class*="section"] {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-block: 20px !important;
  }

  /* Specific section overrides */
  #intro-group,
  #intro-group.section,
  section#intro-group {
    padding-top: 0px !important; /* No top padding for intro */
    padding-bottom: 20px !important;
  }

  /* Remove excessive heading margins */
  h1, h2, h3, h4, h5, h6,
  .section h1,
  .section h2,
  .section h3,
  .section h4,
  .section h5,
  .section h6 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  /* Tighter paragraph spacing */
  p,
  .section p {
    margin-bottom: 12px !important;
  }

  /* Common problematic sections */
  .case-studies-section,
  .social-platforms-section,
  .complete-bundle-section,
  .faq-section,
  .testimonial-section,
  .question-section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  /* Remove any stray top margins on first elements */
  section > :first-child,
  .section > :first-child {
    margin-top: 0 !important;
  }

  /* Remove any stray bottom margins on last elements */
  section > :last-child,
  .section > :last-child {
    margin-bottom: 0 !important;
  }

  /* Override Divi/WordPress specific styles */
  .et_pb_section,
  .et_pb_row,
  .et_pb_column,
  .et_pb_module {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Force container adjustments */
  .container:first-child,
  body > .container:first-child,
  .entry-content > .container:first-child,
  #intro-group .container {
    padding-top: 10px !important;
  }

  /* Target the eyebrow text specifically */
  .eyebrow,
  .intro-eyebrow {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Override any inline styles with higher specificity */
  [style*="padding-top"]:not(.hero-title):not(.hero-eyebrow) {
    padding-top: 20px !important;
  }

  /* Force hero elements to have no padding regardless of inline styles */
  .hero-title[style*="padding-top"],
  section.hero-title[style*="padding-top"],
  .hero-title,
  .hero-eyebrow[style*="padding-top"],
  p.hero-eyebrow[style*="padding-top"],
  .hero-eyebrow {
    padding-top: 0 !important;
  }

  /* First container in intro should be tight */
  #intro-group > .container,
  #intro-group > .container--narrow {
    padding-top: 10px !important;
  }
}