/* CoachStackHub Design System — 2026 Brand */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Primary — warm coral-orange */
  --coral:        #E8622A;
  --coral-light:  #F07D4A;
  --coral-dark:   #A83A10;
  --coral-glow:   rgba(232, 98, 42, 0.12);
  --coral-glow-lg: rgba(232, 98, 42, 0.18);
  /* Dark — ink */
  --ink:          #1B3A5C;
  --ink-light:    #2A4F78;
  --ink-dark:     #0F1628;
  /* Neutrals */
  --cream:        #F8FAFC;
  --warm-gray:    #E2E8F0;
  --text:         #1a1a1a;
  --text-secondary: #6B7280;
  --white:        #ffffff;
  /* Gold accent — used for primary CTAs like nav "CoachLeadGen" */
  --gold:         #D4A017;
  --gold-light:   #E8B830;
  --gold-glow:    rgba(212, 160, 23, 0.18);
  /* Legacy aliases (keeps existing markup working) */
  --navy:         var(--ink);
  --navy-light:   var(--ink-light);
  --navy-dark:    var(--ink-dark);
  /* Structural */
  --border:       rgba(30,35,50,0.08);
  --radius:       14px;
  --radius-lg:    24px;
  --radius-xl:    28px;
  /* Shadow system — clean + ember-tinted */
  --shadow-sm:    0 2px 10px rgba(30,35,50,0.06);
  --shadow-md:    0 10px 40px rgba(30,35,50,0.10);
  --shadow-lg:    0 20px 56px rgba(30,35,50,0.13);
  --shadow-ember: 0 8px 32px rgba(232,98,42,0.15);
  --shadow-ember-lg: 0 20px 56px rgba(232,98,42,0.18);
  --shadow-card-hover: 0 14px 44px rgba(30,35,50,0.14), 0 2px 8px rgba(30,35,50,0.06);
  /* Type scale */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  /* Spacing scale — used for section rhythm */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 8rem;
  /* Trust palette — used for revenue/subscriber strips */
  --trust-bg:  #F7F6F1;
  --trust-line: #E5E1D7;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Global heading scale — premium, spacious feel */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 {
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h3 {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
h4 { font-weight: 700; }
p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==================== NAVIGATION ==================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 2.5rem;
  display: flex;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(30,35,50,0.07);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.site-nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.site-nav.scrolled {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 20px rgba(30,35,50,0.07);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.nav-logo span { color: var(--coral); }
.nav-logo .nav-logo-hub { color: var(--ink); opacity: 0.4; font-weight: 600; }
.nav-logo-icon { width: 26px; height: 26px; flex-shrink: 0; }
.footer-logo-icon { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-simple-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-simple-link:hover { color: var(--navy); }
.nav-simple-link.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1) !important;
  box-shadow: 0 4px 14px rgba(232,98,42,0.25) !important;
  white-space: nowrap !important;
}
.nav-cta:hover {
  background: var(--coral-dark) !important;
  box-shadow: 0 6px 20px rgba(232,98,42,0.35) !important;
  transform: translateY(-1px) !important;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

.mobile-menu-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0;
}
.mobile-menu-divider span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  white-space: nowrap;
}
.mobile-menu-divider::before,
.mobile-menu-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--coral-light), var(--coral));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-ember);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232,98,42,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: var(--gold-glow);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-gold:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,98,42,0.3);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 1.1rem 2.1rem;
  font-size: 1.05rem;
  border-radius: 14px;
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11rem 2.5rem 7rem;
  background: linear-gradient(160deg, #ffffff 0%, var(--cream) 50%, #EDE8E0 100%);
  position: relative;
  overflow: hidden;
}
/* Large coral orb — top right */
.hero::after {
  content: '';
  position: absolute;
  top: -5%;
  right: -8%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(232,98,42,0.10) 0%, rgba(240,125,74,0.05) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroOrb 12s ease-in-out infinite alternate;
}
/* Subtle ink orb — bottom left */
.hero::before {
  content: '';
  position: absolute;
  bottom: -8%;
  left: -12%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,35,50,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
@keyframes heroOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -20px) scale(1.05); }
}
/* Respect user motion preferences — improves INP + accessibility score */
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
  .hero::before { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}
.hero-content { max-width: 580px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  background: rgba(232,98,42,0.08);
  border: 1px solid rgba(232,98,42,0.2);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.85rem, 6vw, 4.75rem);
  line-height: 1.04;
  color: var(--navy);
  margin-bottom: 2rem;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--coral-light) 100%);
  opacity: 0.35;
  border-radius: 2px;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 560px;
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(30,35,50,0.08);
  flex-wrap: wrap;
}
.hero-stat-item {}
.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-stat-num span { color: var(--coral); }
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(232,98,42,0.10) 0%, transparent 65%);
  pointer-events: none;
  border-radius: 50%;
}
.hero-mockup {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-ember);
  display: block;
}
.hero-mockup-bar {
  background: linear-gradient(135deg, var(--ink-dark) 0%, var(--ink) 100%);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero-mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.hero-mockup-dot:first-child { background: #ff5f57; }
.hero-mockup-dot:nth-child(2) { background: #febc2e; }
.hero-mockup-dot:nth-child(3) { background: #28c840; }
.hero-mockup-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.mockup-badge {
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(40,200,64,0.1);
  color: #28c840;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.mockup-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--border);
}
.mockup-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.mockup-card-text {
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.mockup-progress {
  height: 6px;
  background: rgba(30,35,50,0.1);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.mockup-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}
.mockup-ai-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-glow);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232,98,42,0.15);
}
.mockup-ai-icon {
  font-size: 0.9rem;
}
.mockup-ai-text {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--navy);
}

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
  padding: 6rem 2.5rem;
  background: var(--white);
}
.social-proof-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

/* ==================== SECTION RHYTHM ==================== */
.section           { padding: 6rem 2.5rem; }
.section--tight    { padding: 4rem 2.5rem; }
.section--alt      { background: var(--trust-bg); }
.section-inner     { max-width: 1180px; margin: 0 auto; }

/* ==================== TRUST STRIP ==================== */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  padding: 2.25rem 2.5rem;
  background: var(--trust-bg);
  border-top: 1px solid var(--trust-line);
  border-bottom: 1px solid var(--trust-line);
}
.site-footer .trust-strip {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}
.trust-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.site-footer .trust-num { color: var(--white); }
.trust-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.site-footer .trust-label { color: rgba(255,255,255,0.55); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.testimonial {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--coral);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
  font-weight: 900;
}
.testimonial:hover {
  border-color: rgba(232,98,42,0.3);
  box-shadow: var(--shadow-md), var(--shadow-ember);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: var(--coral);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  letter-spacing: 3px;
}
.testimonial-text {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(30,35,50,0.15);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* ==================== FEATURES ==================== */
.features-section {
  padding: 7rem 2.5rem;
  background: linear-gradient(160deg, var(--ink-dark) 0%, var(--ink) 100%);
  position: relative;
  overflow: hidden;
}
.features-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232,98,42,0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.features-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,98,42,0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.features-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.features-inner .section-label { color: rgba(240,125,74,0.9); }
.features-inner .section-title { color: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
/* 3-column grid variant for product showcase */
.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .features-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid-3 { grid-template-columns: 1fr; }
}
/* Feature card link wrappers */
.feature-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius-lg);
  cursor: pointer;
}
.feature-card-link:hover,
.feature-card-link:focus,
.feature-card-link:active {
  text-decoration: none;
  color: inherit;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(4px);
  cursor: pointer;
  position: relative;
}
.feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(232,98,42,0.35);
  box-shadow: 0 12px 40px rgba(232,98,42,0.12);
  transform: translateY(-4px);
}
.feature-card-arrow {
  display: block;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--coral);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.feature-card-link:hover .feature-card-arrow,
.feature-card-link:focus .feature-card-arrow {
  opacity: 1;
  transform: translateX(0);
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(232,98,42,0.15);
  border: 1px solid rgba(232,98,42,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.35rem;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ==================== TRUST LINE ==================== */
.trust-line {
  padding: 2.5rem 2.5rem;
  background: var(--cream);
  text-align: center;
  border-top: 1px solid rgba(30,35,50,0.07);
  border-bottom: 1px solid rgba(30,35,50,0.07);
}
.trust-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.trust-text strong {
  color: var(--navy);
  font-weight: 700;
}

/* ==================== PRICING ==================== */
.pricing-hero {
  padding: 9rem 2.5rem 4rem;
  background: linear-gradient(160deg, #ffffff 0%, var(--cream) 60%, #EDE8E0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232,98,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.035em;
  position: relative;
  z-index: 1;
}
.pricing-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.pricing-currency-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  opacity: 0.8;
  margin-top: 0.5rem;
}
.pricing-section {
  padding: 3rem 2.5rem 7rem;
  background: var(--cream);
}
.pricing-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1.5px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30,35,50,0.15);
}
.pricing-card.popular {
  background: linear-gradient(160deg, var(--ink-dark) 0%, var(--ink) 100%);
  border-color: transparent;
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-ember);
}
.pricing-card.popular .pricing-tier,
.pricing-card.popular .pricing-price,
.pricing-card.popular .pricing-period { color: var(--white); }
.pricing-card.popular .pricing-price .currency { color: var(--coral-light); }
.pricing-card.popular .pricing-desc { color: rgba(255,255,255,0.6); }
.pricing-card.popular .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-card.popular .pricing-features li::before { color: var(--coral-light); }
.pricing-card.popular .pricing-local { color: rgba(255,255,255,0.4); }
.pricing-card.popular .pricing-ai-note { color: rgba(255,255,255,0.4); }
.pricing-card.popular .pricing-ai-note a { color: var(--coral-light); }
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 1.4rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(232,98,42,0.35);
}
.pricing-tier {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.pricing-amount {
  margin-bottom: 0.25rem;
}
.pricing-price {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--navy);
  line-height: 1;
}
.pricing-price .currency { font-size: 1.5rem; }
.pricing-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.pricing-local {
  font-size: 0.78rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-bottom: 1.5rem;
  min-height: 1.2rem;
}
.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.4;
}
.pricing-features li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card .btn { width: 100%; }
.pricing-ai-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.3;
}
.pricing-ai-note a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 500;
}
.pricing-ai-note a:hover { color: var(--gold-light); }

/* Per-Output Pricing */
.per-output {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.per-output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.per-output-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.per-output-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.per-output-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.per-output-price {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.per-output-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ */
.faq-section {
  padding: 4rem 0 0;
  border-top: 1px solid var(--border);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.faq-question {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.faq-answer {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==================== LEGAL PAGES ==================== */
.legal-page {
  padding: 8rem 2rem 4rem;
  background: var(--white);
}
.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}
.legal-inner h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0em;
}
.legal-date {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-inner h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.legal-inner h3 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.legal-inner p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-inner ul, .legal-inner ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.legal-inner li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}
.legal-inner strong { color: var(--navy); }
.legal-inner a {
  color: var(--gold);
  text-decoration: underline;
}
.legal-inner a:hover {
  color: var(--navy);
}
.legal-callout {
  background: var(--gold-glow);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.legal-callout p {
  margin-bottom: 0;
  font-weight: 500;
}

/* ==================== FOOTER ==================== */
.site-footer {
  padding: 5rem 2.5rem 2rem;
  background: linear-gradient(160deg, var(--ink-dark) 0%, var(--ink) 100%);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,98,42,0.06) 0%, transparent 65%);
  pointer-events: none;
  border-radius: 50%;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2.7fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 3.5rem;
}
.footer-brand {
  max-width: 320px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: -0.01em;
}
.footer-logo span { color: var(--coral); }
.footer-logo .nav-logo-hub { color: var(--white); opacity: 0.4; font-weight: 600; }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--white); }

/* ==================== STACK NETWORK ==================== */

/* Footer badge strip */
.stack-network-strip {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
}
.stack-network-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,0.04);
}
.stack-network-strip-link:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
}
.stack-network-strip-link strong {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.stack-network-strip-arrow {
  opacity: 0.5;
  font-size: 0.72rem;
}
.stack-network-icon { flex-shrink: 0; }

/* Contextual cross-link block (above footer) */
.stack-crosslink-block {
  background: #f8f8f8;
  border-top: 1px solid #eee;
  padding: 1.75rem 0;
}
.stack-crosslink-block .stack-crosslink-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 1rem;
}
.stack-crosslink-list {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.stack-crosslink-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
}
.stack-crosslink-item:hover {
  border-color: #E8622A;
  box-shadow: 0 2px 8px rgba(232,98,42,0.12);
}
.stack-crosslink-name { font-size: 0.88rem; font-weight: 700; color: #1E293B; }
.stack-crosslink-desc { font-size: 0.78rem; color: #666; line-height: 1.4; }

/* /network page */
.sn-hero {
  background: linear-gradient(135deg, #0f1117 0%, #1a1e2e 100%);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  color: white;
}
.sn-hero-inner { max-width: 820px; margin: 0 auto; }
.sn-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E8622A;
  margin-bottom: 1.25rem;
}
.sn-headline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.sn-headline em { font-style: normal; color: #E8622A; }
.sn-subhead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.sn-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.sn-stat { text-align: center; }
.sn-stat-num { display: block; font-size: 2rem; font-weight: 700; color: white; }
.sn-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

.sn-current { background: #fff9f6; border-bottom: 1px solid #f0ece8; padding: 2rem 1.5rem; }
.sn-current-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.sn-current-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E8622A;
  margin-bottom: 0.75rem;
}
.sn-current-card {
  display: inline-block;
  background: white;
  border: 2px solid #E8622A;
  border-radius: 12px;
  padding: 0.85rem 1.75rem;
  margin-bottom: 1rem;
}
.sn-current-name { font-size: 1.1rem; font-weight: 700; color: #1E293B; }
.sn-current-desc { font-size: 0.85rem; color: #666; margin-top: 0.25rem; }
.sn-current-arrow { font-size: 0.85rem; color: #999; }

.sn-directory { padding: 4rem 1.5rem; }
.sn-directory-inner { max-width: 1100px; margin: 0 auto; }
.sn-group { margin-bottom: 3.5rem; }
.sn-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}
.sn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.sn-card {
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sn-card:hover { border-color: #E8622A; box-shadow: 0 4px 16px rgba(232,98,42,0.1); }
.sn-card--current { border-color: #E8622A; background: #fff9f6; }
.sn-card-header { display: flex; align-items: center; gap: 0.75rem; justify-content: space-between; }
.sn-card-name { font-size: 0.95rem; font-weight: 700; color: #1E293B; }
.sn-card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #E8622A;
  color: white;
  padding: 2px 7px;
  border-radius: 100px;
}
.sn-card-tagline { font-size: 0.83rem; font-weight: 600; color: #333; }
.sn-card-desc { font-size: 0.8rem; color: #666; line-height: 1.5; flex: 1; }
.sn-card-url { font-size: 0.72rem; color: #E8622A; font-weight: 500; margin-top: auto; }

.sn-api { background: #f4f5f7; padding: 3rem 1.5rem; border-top: 1px solid #eee; }
.sn-api-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.sn-api-content h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; color: #1E293B; }
.sn-api-content p { color: #555; line-height: 1.65; margin-bottom: 1.5rem; }
.sn-api-content code {
  background: #e8e8e8;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.88em;
}

.sn-cta {
  background: linear-gradient(135deg, #E8622A 0%, #c94e1e 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  color: white;
}
.sn-cta-inner { max-width: 700px; margin: 0 auto; }
.sn-cta h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.sn-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; font-size: 1.05rem; }

@media (max-width: 768px) {
  .sn-stats { gap: 2rem; }
  .sn-grid { grid-template-columns: 1fr; }
  .stack-crosslink-item { min-width: 100%; max-width: 100%; }
  .sn-hero { padding: 4rem 1.5rem 3rem; }
}

/* ==================== END STACK NETWORK ==================== */

/* ==================== COOKIE CONSENT ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 1.25rem 2rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cookie-banner.visible { display: flex; }
.cookie-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  padding: 8rem 2.5rem;
  background: linear-gradient(145deg, #E8622A 0%, #A83A10 45%, #A83A10 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,0,0,0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.cta-section p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 2.75rem;
}
.cta-section .btn-primary {
  background: var(--white) !important;
  color: var(--coral) !important;
  border-color: var(--white) !important;
}
.cta-section .btn-primary:hover {
  background: var(--cream) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15) !important;
}
.cta-section .btn-secondary {
  color: rgba(255,255,255,0.9) !important;
  border-color: rgba(255,255,255,0.4) !important;
}
.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.7) !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .per-output-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 3rem; }
}

@media (max-width: 768px) {
  .site-nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .hero { padding: 7.5rem 1.5rem 5rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-mockup { max-width: 380px; }
  .hero-stats { gap: 1.5rem; }

  .section { padding: 3.5rem 1.25rem; }
  .section--tight { padding: 2.5rem 1.25rem; }

  .social-proof { padding: 4rem 1.5rem; }
  .testimonials { grid-template-columns: 1fr; gap: 1.25rem; }

  .features-section { padding: 4rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  .pricing-hero { padding: 7.5rem 1.5rem 2.5rem; }
  .pricing-section { padding: 2.5rem 1.5rem 5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .per-output-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }

  .legal-page { padding: 7rem 1.5rem 3rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal-links { justify-content: center; }

  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-buttons { width: 100%; justify-content: center; }

  .cta-section { padding: 5rem 1.5rem; }
  .btn-group { justify-content: center; }

  .trust-strip { gap: 2rem; padding: 1.75rem 1.25rem; }
}

@media (max-width: 480px) {
  .pricing-card { padding: 1.75rem 1.5rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .product-card { padding: 1.5rem; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ==================== CERTIFICATIONS ==================== */

/* Cert Hub Page */
.cert-hero {
  padding: 7rem 2rem 3rem;
  background: linear-gradient(175deg, var(--white) 0%, var(--cream) 60%, var(--warm-gray) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cert-hero::after {
  content: '';
  position: absolute;
  top: 5%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cert-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.cert-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.cert-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.cert-breadcrumb a { color: var(--gold); }
.cert-breadcrumb a:hover { text-decoration: underline; }

/* Comparison Table */
.cert-table-section {
  padding: 4rem 2rem;
  background: var(--white);
  overflow-x: auto;
}
.cert-table-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cert-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.cert-table th {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cert-table th:first-child { border-radius: var(--radius) 0 0 0; }
.cert-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.cert-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.cert-table tr:nth-child(even) td { background: var(--cream); }
.cert-table tr:hover td { background: var(--gold-glow); }
.cert-badge-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(30,35,50,0.08);
  color: var(--navy);
}
.cert-badge-tag.gold { background: var(--gold-glow); color: #8b6200; }
.cert-badge-tag.green { background: rgba(232,98,42,0.1); color: #E8622A; }

/* Cert Grid */
.cert-grid-section {
  padding: 4rem 2rem;
  background: var(--warm-gray);
}
.cert-grid-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.cert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.cert-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cert-card-org {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.cert-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.cert-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.cert-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.cert-card-arrow {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.cert-card:hover .cert-card-arrow { gap: 0.6rem; }

/* === CERT DETAIL PAGES (2-column layout) === */
.cert-page {
  padding-top: 5rem;
  background: var(--white);
  min-height: 100vh;
}
.cert-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  padding: 0 2rem 4rem;
  align-items: start;
}

/* Sidebar */
.cert-sidebar {
  position: sticky;
  top: 5.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.cert-sidebar-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.cert-sidebar-section {
  margin-bottom: 1.5rem;
}
.cert-sidebar-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}
.cert-sidebar a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  margin-bottom: 0.15rem;
  text-decoration: none;
}
.cert-sidebar a:hover { background: var(--gold-glow); color: var(--navy); }
.cert-sidebar a.active { background: var(--navy); color: var(--white); font-weight: 600; }

/* Cert Content */
.cert-content {
  min-width: 0;
}
.cert-content-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.cert-content-header .cert-breadcrumb { text-align: left; margin-bottom: 0.75rem; }
.cert-content-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.cert-content-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 680px;
}
.cert-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}
.cert-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.cert-meta-item strong { color: var(--navy); }
.cert-meta-item span.emoji { font-size: 1rem; }

/* Cert Sections */
.cert-section {
  margin-bottom: 2.5rem;
}
.cert-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: 0em;
}
.cert-section h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.cert-section p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.cert-section ul, .cert-section ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.cert-section li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}
.cert-section strong { color: var(--navy); }
.cert-section a { color: var(--gold); text-decoration: underline; }
.cert-section a:hover { color: var(--navy); }

/* Info Box */
.cert-info-box {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}
.cert-info-box-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cert-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cert-info-item label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.cert-info-item span {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* Callout */
.cert-callout {
  background: var(--gold-glow);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.cert-callout p { margin-bottom: 0; font-size: 0.92rem; }

/* Update callout — time-sensitive regulatory changes */
.cert-update-callout {
  background: var(--coral-glow-lg);
  border-left: 4px solid var(--coral);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 1.75rem 0;
}
.cert-update-callout .cert-update-callout-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--coral-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.cert-update-callout p { margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--text); }
.cert-update-callout p:last-child { margin-bottom: 0; }
.cert-update-callout a { color: var(--coral-dark); font-weight: 600; }
.cert-update-callout a:hover { text-decoration: underline; }

/* Disclaimer */
.cert-disclaimer {
  background: var(--warm-gray);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border: 1px solid var(--border);
}
.cert-disclaimer strong { color: var(--navy); }

/* CTA Box */
.cert-cta-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}
.cert-cta-box h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cert-cta-box p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Comparison Page specifics */
.cert-compare-hero {
  padding: 7rem 2rem 3rem;
  background: linear-gradient(175deg, var(--white) 0%, var(--cream) 60%, var(--warm-gray) 100%);
  text-align: center;
}
.cert-compare-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.cert-compare-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}
.cert-content-page {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.cert-content-page h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  letter-spacing: 0em;
}
.cert-content-page h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
}
.cert-content-page p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.cert-content-page ul, .cert-content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.cert-content-page li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.4rem;
}
.cert-content-page strong { color: var(--navy); }
.cert-content-page a { color: var(--gold); text-decoration: underline; }
.cert-toc {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  margin: 2rem 0 2.5rem;
}
.cert-toc h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.cert-toc ol {
  padding-left: 1.25rem;
  margin-bottom: 0;
}
.cert-toc li {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.cert-toc li a { color: var(--gold); font-weight: 500; }
.cert-winner-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.cert-winner-box h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.cert-winner-box p {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Responsive cert */
@media (max-width: 900px) {
  .cert-page-inner { grid-template-columns: 1fr; }
  .cert-sidebar { position: static; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cert-grid { grid-template-columns: 1fr; }
  .cert-table { font-size: 0.82rem; }
  .cert-table td, .cert-table th { padding: 0.75rem; }
}

/* ==================== REVENUE CALCULATOR TOOL ==================== */

/* Tool Hero */
.tool-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 7rem 2rem 4rem;
  text-align: center;
}
.tool-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.tool-hero-badge {
  display: inline-block;
  background: var(--gold-glow);
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.tool-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.tool-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

/* Calculator Section */
.calc-section {
  background: var(--warm-gray);
  padding: 3rem 1.5rem 4rem;
}
.calc-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Panel titles */
.calc-panel-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ---- INPUT PANEL ---- */
.calc-inputs {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}
.calc-field {
  margin-bottom: 1.75rem;
}
.calc-field:last-child { margin-bottom: 0; }
.calc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.calc-label-sm { font-size: 0.83rem; }
.calc-value-badge {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  min-width: 2rem;
  text-align: center;
}
.calc-hint {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.45rem;
  line-height: 1.4;
}
.calc-hint strong { color: var(--navy); }

/* Select */
.calc-select-wrap { position: relative; }
.calc-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--warm-gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231B3A5C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s;
}
.calc-select:focus {
  outline: none;
  border-color: var(--navy);
}

/* Slider */
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(to right, var(--navy) 0%, var(--navy) 33%, var(--border) 33%, var(--border) 100%);
  outline: none;
  cursor: pointer;
  margin: 0.25rem 0;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 1px 6px rgba(30,35,50,0.28);
  cursor: pointer;
  transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 1px 6px rgba(30,35,50,0.28);
  cursor: pointer;
}
.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  padding: 0 2px;
}

/* Number input */
.calc-input-wrap {
  position: relative;
}
.calc-input-prefix {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  pointer-events: none;
}
.calc-number-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 1rem 0.7rem 1.8rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--warm-gray);
  transition: border-color 0.2s;
}
.calc-number-input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.calc-number-input:not(.calc-input-wrap .calc-number-input) {
  padding-left: 1rem;
}

/* Toggle group */
.calc-toggle-group {
  display: flex;
  gap: 0.5rem;
}
.calc-toggle-option { flex: 1; cursor: pointer; }
.calc-toggle-option input { display: none; }
.calc-toggle-btn {
  display: block;
  text-align: center;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--warm-gray);
  transition: all 0.2s;
  cursor: pointer;
}
.calc-toggle-option input:checked + .calc-toggle-btn {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  font-weight: 600;
}

/* Package details */
.calc-package-details {
  background: var(--warm-gray);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--border);
}
.calc-package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.calc-sub-field {}

/* ---- RESULTS PANEL ---- */
.calc-results {}
.calc-results-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

/* Metrics */
.calc-metrics {}
.calc-metric-card {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.85rem;
}
.calc-metric-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
}
.calc-metric-primary .calc-metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
}
.calc-metric-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.calc-metric-low, .calc-metric-high {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.calc-metric-high { color: var(--gold-light); }
.calc-metric-sep {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.5);
}
.calc-metric-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.calc-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.calc-metric-secondary {
  background: var(--warm-gray);
  border: 1px solid var(--border);
}
.calc-metric-secondary .calc-metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.calc-metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.calc-metric-capacity {
  background: var(--warm-gray);
  border: 1px solid var(--border);
}
.calc-capacity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.calc-metric-capacity .calc-metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
}
.calc-capacity-pct {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.calc-capacity-bar-bg {
  height: 8px;
  background: rgba(30,35,50,0.10);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.calc-capacity-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.4s ease;
}
.cap-low  { background: var(--gold); }
.cap-mid  { background: var(--navy-light); }
.cap-high { background: #2d7d46; }
.calc-capacity-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Insight box */
.calc-insight-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(232,98,42,0.07);
  border: 1px solid rgba(232,98,42,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
}
.calc-insight-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.calc-insight-text { font-size: 0.85rem; color: var(--text); line-height: 1.55; margin: 0; }

/* Optimization box */
.calc-optim-box {
  background: rgba(30,35,50,0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
}
.calc-optim-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.calc-optim-icon { font-size: 0.95rem; }
.calc-optim-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
}
.calc-optim-text { font-size: 0.85rem; color: var(--text); line-height: 1.55; margin: 0; }

/* Bar chart */
.calc-chart {}
.calc-chart-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.calc-bars { display: flex; flex-direction: column; gap: 0.9rem; }
.calc-bar-item {}
.calc-bar-track {
  height: 10px;
  background: rgba(30,35,50,0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.calc-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1);
  min-width: 4%;
}
.calc-bar-conservative { background: rgba(30,35,50,0.35); }
.calc-bar-projected     { background: var(--navy); }
.calc-bar-optimized     { background: var(--gold); }
.calc-bar-max           { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.calc-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-bar-label { font-size: 0.78rem; color: var(--text-secondary); }
.calc-bar-value { font-size: 0.82rem; font-weight: 700; color: var(--navy); }

/* Disclaimer */
.calc-disclaimer {
  font-size: 0.73rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.calc-disclaimer a { color: var(--gold); }

/* Save box */
.calc-save-box {
  background: var(--warm-gray);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
  border: 1px solid var(--border);
}
.calc-save-content {}
.calc-save-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}
.calc-save-text strong {
  font-size: 0.88rem;
  color: var(--navy);
}
.calc-save-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.calc-save-form {
  display: flex;
  gap: 0.5rem;
}
.calc-email-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.55rem 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  background: var(--white);
  transition: border-color 0.2s;
}
.calc-email-input:focus { outline: none; border-color: var(--navy); }
.calc-save-btn {
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}
.calc-save-confirm {
  font-size: 0.85rem;
  color: #2d7d46;
  font-weight: 600;
  margin: 0;
}

/* Conversion CTAs */
.calc-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
.calc-cta-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.calc-cta-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: rgba(30,35,50,0.15);
}
.calc-cta-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.calc-cta-primary:hover { background: var(--navy-light); }
.calc-cta-primary div strong { color: var(--white); }
.calc-cta-primary div span { color: rgba(255,255,255,0.65); }
.calc-cta-secondary div strong { color: var(--navy); }
.calc-cta-secondary div span { color: var(--text-secondary); }
.calc-cta-row { display: flex; gap: 0.75rem; }
.calc-cta-row .calc-cta-card { flex: 1; }
.calc-cta-icon { font-size: 1.4rem; flex-shrink: 0; }
.calc-cta-card div { flex: 1; }
.calc-cta-card div strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; }
.calc-cta-card div span { font-size: 0.78rem; }
.calc-cta-arrow { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; }

/* About section */
.calc-about {
  background: var(--white);
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
}
.calc-about-inner {
  max-width: 900px;
  margin: 0 auto;
}
.calc-about h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  text-align: center;
}
.calc-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.calc-about-card {
  background: var(--warm-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.calc-about-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.calc-about-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.calc-about-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Nav dropdown for Tools */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-dropdown-toggle:hover { color: var(--navy); }
.nav-dropdown-toggle.active { color: var(--navy); font-weight: 600; }
.nav-dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 0.5rem;
  min-width: 220px;
  z-index: 200;
}
/* Invisible bridge that fills the gap between trigger and dropdown panel.
   Without this, the 0.5rem gap causes mouseleave → dropdown vanishes before
   the cursor reaches it. The ::before extends upward to keep :hover alive. */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s;
}
.nav-dropdown-item:hover {
  background: var(--warm-gray);
  color: var(--navy);
}
.nav-product-price {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 1px 7px;
  background: rgba(232,98,42,0.10);
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-product-price:hover {
  background: var(--coral);
  color: #fff;
}
.nav-dropdown-item span {
  display: block;
  font-size: 0.73rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
  font-weight: 400;
}

/* Gold CTA button variant (CoachLeadGen nav CTA) */
.nav-cta-gold {
  background: #D4A017 !important;
  box-shadow: 0 4px 14px rgba(212,160,23,0.28) !important;
}
.nav-cta-gold:hover {
  background: #B8870E !important;
  box-shadow: 0 6px 20px rgba(212,160,23,0.4) !important;
}

/* Wide dropdown (2-column mega-menu) */
.nav-dropdown-wide {
  min-width: 540px;
  left: 0;
  transform: none;
}
/* Scrollable dropdown (long lists) */
.nav-dropdown-scroll {
  max-height: 80vh;
  overflow-y: auto;
}
/* Right-anchored wide dropdown (Coach Certification) */
.nav-dropdown-right {
  left: auto !important;
  right: 0;
  transform: none !important;
}
/* 2-column grid inside dropdown */
.nav-dropdown-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.25rem;
}
/* Divider line inside dropdown */
.nav-dropdown-divider-line {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.4rem 0;
}
/* Group section label inside dropdown */
.nav-dropdown-group-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem 0.15rem;
  pointer-events: none;
}
/* Country guide pill grid */
.nav-dropdown-country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.25rem 0.9rem 0.5rem;
}
.nav-dropdown-country {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--warm-gray);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-dropdown-country:hover {
  background: #e5e3de;
  color: var(--navy);
}

/* Responsive calculator */
@media (max-width: 1024px) {
  .calc-wrapper { grid-template-columns: 1fr; }
  .calc-inputs { position: static; }
}
@media (max-width: 768px) {
  .tool-hero { padding: 6rem 1.5rem 3rem; }
  .calc-section { padding: 2rem 1rem 3rem; }
  .calc-metric-low, .calc-metric-high { font-size: 1.5rem; }
  .calc-about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .calc-cta-row { flex-direction: column; }
  .calc-package-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .calc-inputs, .calc-results-inner { padding: 1.25rem; }
  .calc-toggle-group { flex-direction: column; }
  .calc-metric-row { grid-template-columns: 1fr; }
}

/* ============================================================
   RATE CALCULATOR — Additional Components
   ============================================================ */

/* Optional label tag */
.calc-label-optional {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-secondary);
  background: var(--warm-gray);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  margin-left: 0.4rem;
}

/* Positioning badge + text */
.rc-positioning-wrap {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--warm-gray);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rc-segment-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}
.rc-seg-entry   { background: rgba(100,116,139,0.12); color: #64748b; }
.rc-seg-mid     { background: rgba(14,44,77,0.1);     color: var(--navy); }
.rc-seg-premium { background: rgba(232,98,42,0.15);  color: #A83A10; }
.rc-seg-elite   { background: var(--gold-glow);        color: var(--gold-light); border: 1px solid rgba(232,98,42,0.4); }
.rc-positioning-text {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Target income section */
.rc-income-target {
  background: linear-gradient(135deg, rgba(30,35,50,0.05) 0%, rgba(232,98,42,0.06) 100%);
  border: 1px solid rgba(14,44,77,0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.25rem;
}
.rc-income-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.rc-income-icon { font-size: 1.1rem; }
.rc-income-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}
.rc-income-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.rc-income-stat {
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.rc-income-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
}
.rc-income-stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
  line-height: 1.3;
}
.rc-income-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* Certification comparison table */
.rc-cert-table-section {
  margin-top: 1.5rem;
}
.rc-cert-table-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.rc-cert-table-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}
.rc-cert-table {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 0.82rem;
}
.rc-cert-table-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.rc-cert-table-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.12s;
}
.rc-cert-table-row:last-child { border-bottom: none; }
.rc-cert-table-row:hover { background: var(--warm-gray); }
.rc-cert-table-current {
  background: rgba(232,98,42,0.07);
  border-left: 3px solid var(--gold);
}
.rc-cert-table-current:hover { background: rgba(232,98,42,0.10); }
.rc-cert-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 500;
}
.rc-cert-you {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.rc-cert-rate {
  font-weight: 700;
  text-align: right;
  min-width: 3rem;
}
.rc-tier-entry   { color: #64748b; }
.rc-tier-mid     { color: var(--navy); }
.rc-tier-premium { color: #A83A10; }
.rc-tier-elite   { color: #B8860B; }
.rc-cert-diff {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: right;
  min-width: 2.8rem;
}
.rc-diff-pos { color: #16a34a; font-weight: 600; }

/* Raise your rates list */
.rc-raise-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: none;
}
.rc-raise-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.rc-raise-list li:last-child { border-bottom: none; }
.rc-raise-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 700;
}

/* Mobile responsive for new components */
@media (max-width: 768px) {
  .rc-income-grid { grid-template-columns: 1fr 1fr; }
  .rc-income-grid .rc-income-stat:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .rc-income-grid { grid-template-columns: 1fr; }
  .rc-income-grid .rc-income-stat:last-child { grid-column: auto; }
  .rc-cert-table-header, .rc-cert-table-row { grid-template-columns: 1fr auto; }
  .rc-cert-table-header span:nth-child(3),
  .rc-cert-table-row .rc-cert-diff { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   NICHE FINDER QUIZ
═══════════════════════════════════════════════════════════ */

.quiz-section {
  padding: 3rem 1rem 5rem;
  background: var(--bg-soft);
  min-height: 60vh;
}

.quiz-outer {
  max-width: 760px;
  margin: 0 auto;
}

/* ── Start Screen ── */
.quiz-start-screen { display: flex; justify-content: center; }
.quiz-start-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 4px 32px rgba(27,42,74,0.10);
  max-width: 520px;
  width: 100%;
}
.quiz-start-icon { font-size: 3rem; margin-bottom: 1rem; }
.quiz-start-title { font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.quiz-start-desc { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 1.5rem; line-height: 1.65; }
.quiz-start-bullets {
  list-style: none; padding: 0; margin: 0 0 2rem;
  text-align: left; display: inline-block;
}
.quiz-start-bullets li {
  color: var(--text-primary); font-size: 0.95rem; padding: 0.3rem 0;
}
.btn-quiz-start {
  background: var(--gold); color: var(--navy);
  border: none; border-radius: 100px;
  padding: 1rem 2.5rem; font-size: 1.05rem; font-weight: 700;
  cursor: pointer; width: 100%;
  transition: background 0.2s, transform 0.15s;
}
.btn-quiz-start:hover { background: #c9a227; transform: translateY(-1px); }
.quiz-start-note { color: var(--text-muted); font-size: 0.82rem; margin-top: 1rem; }

/* ── Progress ── */
.quiz-progress-wrap { margin-bottom: 1.75rem; }
.quiz-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.quiz-progress-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.quiz-progress-pct { font-size: 0.85rem; font-weight: 700; color: var(--gold); }
.quiz-progress-bar {
  height: 6px; background: rgba(27,42,74,0.1); border-radius: 100px; overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; background: var(--gold); border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ── Quiz Card ── */
.quiz-card {
  background: var(--white); border-radius: 1.25rem;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 4px 32px rgba(27,42,74,0.10);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.quiz-card--in { opacity: 1; transform: translateY(0); }
.quiz-q-num {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--gold); margin-bottom: 0.6rem;
}
.quiz-q-text {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--navy); margin-bottom: 1.75rem; line-height: 1.3;
}

/* ── Options ── */
.quiz-options { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.quiz-option {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--bg-soft); border: 2px solid transparent;
  border-radius: 0.875rem; padding: 0.9rem 1.1rem;
  cursor: pointer; text-align: left;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.quiz-option:hover {
  background: rgba(212,175,55,0.08); border-color: rgba(212,175,55,0.4);
  transform: translateX(3px);
}
.quiz-option--selected {
  background: rgba(27,42,74,0.06); border-color: var(--navy);
  box-shadow: 0 2px 12px rgba(27,42,74,0.12);
}
.quiz-opt-label { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.quiz-opt-desc { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.15rem; }

/* ── Nav ── */
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }
.btn-quiz-back {
  background: none; border: 2px solid rgba(27,42,74,0.2); border-radius: 100px;
  padding: 0.6rem 1.4rem; font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s;
}
.btn-quiz-back:hover { border-color: var(--navy); color: var(--navy); }

/* ── Results ── */
.quiz-results-screen {}
.quiz-results-header { text-align: center; margin-bottom: 2.5rem; }
.quiz-results-badge {
  display: inline-block; background: rgba(212,175,55,0.15); color: var(--gold);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 0.75rem;
}
.quiz-results-title {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}
.quiz-results-subtitle { color: var(--text-secondary); font-size: 1rem; }

/* ── Result Cards ── */
.quiz-results-cards { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.result-card {
  background: var(--white); border-radius: 1.25rem;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(27,42,74,0.08);
  border: 2px solid transparent;
  position: relative;
}
.result-card--1 { border-color: var(--gold); box-shadow: 0 6px 32px rgba(212,175,55,0.18); }
.result-card--2 { border-color: rgba(27,42,74,0.12); }
.result-card--3 { border-color: rgba(27,42,74,0.07); }

/* Rank badge */
.rank-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem; border-radius: 100px; margin-bottom: 1.1rem;
}
.rank-1 { background: rgba(212,175,55,0.15); color: #b8860b; }
.rank-2 { background: rgba(180,180,180,0.15); color: #666; }
.rank-3 { background: rgba(180,180,180,0.10); color: #888; }

.result-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.result-card-emoji { font-size: 2rem; }
.result-card-name { font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--navy); }

.result-why {
  background: var(--bg-soft); border-radius: 0.75rem;
  padding: 1rem 1.1rem; margin-bottom: 1.25rem;
}
.result-why-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--gold); margin-bottom: 0.4rem;
}
.result-why-text { font-size: 0.92rem; color: var(--text-primary); line-height: 1.6; }

.result-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.result-stat {
  background: var(--bg-soft); border-radius: 0.625rem; padding: 0.75rem 0.7rem;
}
.result-stat-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.3rem; }
.result-stat-value { font-size: 0.88rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }

/* Competition dots */
.comp-dots { display: inline-flex; gap: 3px; align-items: center; }
.comp-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(27,42,74,0.15); }
.comp-dot--filled { background: var(--navy); }

/* Trend badges */
.trend-badge { font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.trend-up { background: rgba(34,197,94,0.12); color: #16a34a; }
.trend-down { background: rgba(239,68,68,0.12); color: #dc2626; }
.trend-neutral { background: rgba(100,116,139,0.12); color: #475569; }

.result-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.result-tag { font-size: 0.8rem; background: rgba(27,42,74,0.06); color: var(--navy); padding: 0.25rem 0.7rem; border-radius: 100px; font-weight: 500; }

.result-cert-note { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; border-top: 1px solid rgba(27,42,74,0.07); padding-top: 0.85rem; }

/* ── Comparison Table ── */
.quiz-compare-wrap { background: var(--white); border-radius: 1.25rem; padding: 1.75rem 2rem; margin-bottom: 2.5rem; box-shadow: 0 2px 16px rgba(27,42,74,0.07); }
.quiz-compare-title { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 1.1rem; }
.quiz-compare-table-wrap { overflow-x: auto; }
.quiz-compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.quiz-compare-table th { background: var(--navy); color: var(--white); padding: 0.65rem 0.9rem; text-align: left; font-weight: 600; font-size: 0.8rem; white-space: nowrap; }
.quiz-compare-table th.compare-th-name { min-width: 180px; }
.quiz-compare-table td { padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(27,42,74,0.07); color: var(--text-primary); vertical-align: middle; }
.compare-name { font-weight: 700; color: var(--navy); white-space: nowrap; }
.compare-row-1 td { background: rgba(212,175,55,0.04); }

/* ── CTA Section ── */
.quiz-cta-section { display: flex; flex-direction: column; gap: 1.25rem; }
.quiz-email-capture {
  background: var(--navy); color: var(--white); border-radius: 1.25rem;
  padding: 2rem 2rem 1.75rem; text-align: center;
}
.quiz-email-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.quiz-email-title { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.quiz-email-desc { font-size: 0.9rem; opacity: 0.8; margin-bottom: 1.25rem; line-height: 1.6; }
.quiz-email-form { display: flex; gap: 0.5rem; max-width: 420px; margin: 0 auto 0.6rem; }
.quiz-email-input {
  flex: 1; padding: 0.75rem 1rem; border-radius: 100px; border: none;
  font-size: 0.95rem; outline: none; color: var(--navy);
}
.btn-quiz-email {
  background: var(--gold); color: var(--navy); border: none;
  border-radius: 100px; padding: 0.75rem 1.5rem; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.btn-quiz-email:hover { background: #c9a227; }
.quiz-email-fine { font-size: 0.75rem; opacity: 0.5; margin-top: 0; }
.quiz-email-success { color: var(--gold); font-weight: 700; font-size: 1rem; padding: 0.75rem 0; }
.quiz-success-icon { margin-right: 0.35rem; }

.quiz-action-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.quiz-action-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem;
  background: var(--white); border-radius: 0.875rem;
  box-shadow: 0 2px 12px rgba(27,42,74,0.07);
  text-decoration: none; color: inherit;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
  cursor: pointer; text-align: left; width: 100%;
}
.quiz-action-card--btn { appearance: none; font-family: inherit; font-size: inherit; }
.quiz-action-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(212,175,55,0.15); transform: translateY(-1px); }
.quiz-action-icon { font-size: 1.6rem; flex-shrink: 0; }
.quiz-action-content { flex: 1; }
.quiz-action-title { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.15rem; }
.quiz-action-desc { font-size: 0.82rem; color: var(--text-muted); }
.quiz-action-arrow { color: var(--gold); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }

.btn-quiz-retake {
  background: none; border: 2px solid rgba(27,42,74,0.2); border-radius: 100px;
  padding: 0.75rem 2rem; font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; align-self: center; transition: all 0.2s; width: 100%; max-width: 280px;
}
.btn-quiz-retake:hover { border-color: var(--navy); color: var(--navy); }

.quiz-disclaimer {
  font-size: 0.75rem; color: var(--text-muted); text-align: center;
  margin-top: 1.5rem; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ── About Section ── */
.quiz-about-section { padding: 4rem 1rem; background: var(--white); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .quiz-card { padding: 1.75rem 1.25rem 1.5rem; }
  .quiz-start-card { padding: 2rem 1.5rem; }
  .result-card { padding: 1.5rem 1.25rem; }
  .result-stats { grid-template-columns: 1fr 1fr; }
  .quiz-compare-wrap { padding: 1.25rem; }
  .quiz-email-form { flex-direction: column; }
  .btn-quiz-email { border-radius: 100px; }
  .quiz-email-capture { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .quiz-q-text { font-size: 1.2rem; }
  .result-card-name { font-size: 1.15rem; }
  .result-stats { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .result-stat { padding: 0.6rem; }
  .result-stat-label { font-size: 0.62rem; }
  .result-stat-value { font-size: 0.82rem; }
}

/* ==================== PRACTICE AUDIT TOOL ==================== */

.pa-hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1d4f82 100%); }

.pa-section {
  background: var(--warm-gray);
  padding: 3rem 1.5rem 5rem;
}
.pa-container {
  max-width: 960px;
  margin: 0 auto;
}

/* Form */
.pa-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}
.pa-form-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pa-form-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.pa-form-sub { font-size: 0.88rem; color: var(--text-secondary); }

.pa-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}
.pa-col-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.pa-field { margin-bottom: 1.6rem; }
.pa-field:last-child { margin-bottom: 0; }
.pa-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.pa-badge {
  background: var(--navy);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
  min-width: 2.2rem;
  text-align: center;
}
.pa-select-wrap { position: relative; }
.pa-select {
  width: 100%;
  padding: 0.65rem 2rem 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.pa-select:focus { outline: none; border-color: var(--navy); }
.pa-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
  font-size: 0.85rem;
}

/* Slider */
.pa-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(to right, var(--navy) 0%, var(--navy) 19%, #e8eaf0 19%);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}
.pa-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(30,35,50,0.25);
  transition: transform 0.15s;
}
.pa-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.pa-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--navy);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(30,35,50,0.25);
  cursor: pointer;
}
.pa-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* Checkboxes */
.pa-checkgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
}
.pa-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.pa-check:hover { background: var(--warm-gray); }
.pa-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}

/* Radio list */
.pa-radio-list { display: flex; flex-direction: column; gap: 0.45rem; }
.pa-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  border: 1.5px solid transparent;
  transition: all 0.15s;
}
.pa-radio:hover { background: var(--warm-gray); border-color: var(--border); }
.pa-radio input[type="radio"] { accent-color: var(--navy); cursor: pointer; }

/* Submit */
.pa-submit-wrap {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pa-submit-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(30,35,50,0.25);
  font-family: inherit;
}
.pa-submit-btn:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,35,50,0.3);
}
.pa-submit-note { margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-secondary); }

/* ===== RESULTS ===== */
.pa-results { padding-top: 0.5rem; }

.pa-results-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.pa-results-badge {
  display: inline-block;
  background: var(--gold-glow);
  border: 1px solid rgba(232,98,42,0.35);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}
.pa-results-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}
.pa-results-meta { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.55; }
.pa-results-meta strong { color: var(--navy); }

/* Gauge */
.pa-gauge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.pa-gauge-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 260px;
}
.pa-gauge-svg { display: block; margin: 0 auto 0.5rem; }
.pa-gauge-score {
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.pa-gauge-label {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Benchmark card */
.pa-benchmark-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 260px;
  max-width: 340px;
}
.pa-bench-icon { font-size: 2.2rem; flex-shrink: 0; }
.pa-bench-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.pa-bench-detail { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.5; }
.pa-bench-detail strong { color: var(--navy); }

/* Metrics grid */
.pa-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.pa-metric-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border);
}
.pa-metric-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.pa-metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.pa-metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.pa-metric-sub { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.4; }

/* Improvements */
.pa-improvements {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}
.pa-improvements-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.pa-improvements-sub { font-size: 0.86rem; color: var(--text-secondary); margin-bottom: 1.75rem; }
.pa-improvements-list { display: flex; flex-direction: column; gap: 1.25rem; }
.pa-improvement-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--warm-gray);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.pa-improvement-num {
  background: var(--navy);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pa-improvement-body { flex: 1; }
.pa-improvement-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.pa-improvement-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.pa-impact-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  flex-shrink: 0;
}
.pa-impact-high { background: rgba(46,158,91,0.12); color: #1a7a44; }
.pa-impact-medium { background: rgba(232,98,42,0.15); color: #A83A10; }
.pa-impact-low { background: rgba(90,97,112,0.1); color: var(--text-secondary); }
.pa-improvement-desc { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; }

/* Upsell */
.pa-upsell-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: start;
}
.pa-upsell-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.pa-upsell-primary {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.pa-upsell-primary::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(232,98,42,0.08);
  border-radius: 50%;
}
.pa-upsell-badge {
  display: inline-block;
  background: var(--gold-glow);
  border: 1px solid rgba(232,98,42,0.4);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.pa-upsell-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.pa-upsell-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.pa-upsell-desc {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.pa-upsell-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.pa-upsell-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.pa-upsell-secondary-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.pa-upsell-track, .pa-upsell-rates {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.pa-upsell-icon-sm { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pa-upsell-sm-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pa-upsell-sm-desc { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 0.85rem; }
.pa-upsell-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.pa-upsell-link:hover { color: var(--gold); }

/* Disclaimer + re-run */
.pa-disclaimer {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
  opacity: 0.75;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.pa-rerun-wrap { text-align: center; }
.pa-rerun-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: all 0.2s;
}
.pa-rerun-btn:hover { background: var(--white); color: var(--navy); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .pa-form-wrap { padding: 1.75rem 1.25rem; }
  .pa-form-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pa-metrics-grid { grid-template-columns: 1fr; }
  .pa-upsell-block { grid-template-columns: 1fr; }
  .pa-gauge-wrap { flex-direction: column; align-items: center; }
  .pa-benchmark-card { max-width: 100%; width: 100%; }
  .pa-improvements { padding: 1.5rem 1.25rem; }
  .pa-improvement-item { gap: 0.85rem; }
  .pa-checkgrid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pa-section { padding: 2rem 1rem 3rem; }
  .pa-gauge-card { padding: 1.5rem 1.25rem 1.25rem; min-width: unset; width: 100%; }
  .pa-improvement-header { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}

/* ===== NEWSLETTER SYSTEM ===== */

/* Hero */
.nl-hero { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%); padding: 80px 0 64px; }
.nl-hero-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.nl-badge { display: inline-block; background: rgba(232,98,42,0.18); color: var(--coral); font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 20px; }
.nl-hero-title { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.1; }
.nl-hero-subtitle { color: rgba(255,255,255,0.75); font-size: 1.1rem; line-height: 1.6; margin-bottom: 36px; }

/* Forms */
.nl-form-hero, .nl-form-inline { max-width: 500px; margin: 0 auto; }
.nl-form-row { display: flex; gap: 8px; }
.nl-input { flex: 1; padding: 13px 18px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: var(--white); font-family: inherit; font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.nl-input::placeholder { color: rgba(255,255,255,0.45); }
.nl-input:focus { border-color: var(--coral); }
.nl-input-full { display: block; width: 100%; border-radius: 8px; background: var(--cream); border-color: var(--border); color: var(--navy); margin-bottom: 10px; }
.nl-input-full::placeholder { color: var(--text-secondary); }
.nl-input-full:focus { border-color: var(--coral); }
.nl-btn { white-space: nowrap; padding: 13px 24px; border-radius: 100px; font-size: 0.9rem; }
.nl-btn-full { display: block; width: 100%; border-radius: 8px; margin-top: 4px; }
.nl-form-subtext { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 10px; text-align: center; }
.nl-form-msg { font-size: 0.85rem; margin-top: 10px; min-height: 20px; text-align: center; }
.nl-form-msg.success { color: #4ade80; }
.nl-form-msg.error { color: #f87171; }

.nl-hero-proof { display: flex; justify-content: center; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.nl-proof-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.nl-proof-icon { font-size: 1rem; }

/* Value section */
.nl-value { background: var(--cream); }
.nl-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.nl-value-text h2 { font-family: 'Syne', sans-serif; font-size: 1.75rem; color: var(--navy); margin-bottom: 28px; }
.nl-value-list { list-style: none; padding: 0; }
.nl-value-list li { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.nl-value-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.nl-value-list strong { display: block; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.nl-value-list p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }

.nl-value-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.nl-value-card h3 { font-family: 'Syne', sans-serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.nl-value-card p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 20px; }
.nl-value-card .nl-input-full { border: 1.5px solid var(--border); }
.nl-value-card .nl-btn-full { background: var(--coral); color: white; border: none; padding: 14px; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.nl-value-card .nl-btn-full:hover { background: var(--coral-dark); }
.nl-value-card .nl-form-subtext { color: var(--text-secondary); }
.nl-value-card .nl-form-msg.success { color: #16a34a; }
.nl-value-card .nl-form-msg.error { color: #dc2626; }

/* Archive */
.nl-archive { background: var(--white); }
.nl-archive-header { text-align: center; margin-bottom: 40px; }
.nl-archive-header h2 { font-family: 'Syne', sans-serif; font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.nl-archive-header p { color: var(--text-secondary); }
.nl-archive-list { max-width: 700px; margin: 0 auto; }
.nl-archive-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.nl-archive-item:last-child { border-bottom: none; }
.nl-archive-meta { margin-bottom: 6px; }
.nl-archive-date { font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }
.nl-archive-title { display: block; font-size: 1.1rem; font-weight: 700; color: var(--navy); text-decoration: none; margin-bottom: 6px; line-height: 1.35; }
.nl-archive-title:hover { color: var(--coral); }
.nl-archive-snippet { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.55; margin-bottom: 10px; }
.nl-archive-read { font-size: 0.8rem; font-weight: 600; color: var(--coral); text-decoration: none; }
.nl-archive-read:hover { text-decoration: underline; }
.nl-archive-empty { text-align: center; padding: 40px; color: var(--text-secondary); font-style: italic; }

/* Issue page */
.nl-issue-hero { background: var(--ink); padding: 56px 0 40px; }
.nl-issue-breadcrumb { margin-bottom: 16px; }
.nl-issue-breadcrumb a { color: rgba(255,255,255,0.5); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.nl-issue-breadcrumb a:hover { color: var(--coral); }
.nl-issue-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.nl-issue-date { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.nl-issue-title { font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 12px; }
.nl-issue-lede { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.6; max-width: 640px; }
.nl-issue-body { padding: 56px 0 80px; background: var(--white); }
.nl-issue-content { max-width: 680px; margin: 0 auto 56px; line-height: 1.75; color: var(--text); font-size: 1rem; }
.nl-issue-content h2 { font-family: 'Syne', sans-serif; font-size: 1.5rem; color: var(--navy); margin: 32px 0 14px; }
.nl-issue-content h3 { font-size: 1.15rem; color: var(--navy); margin: 24px 0 10px; font-weight: 700; }
.nl-issue-content p { margin-bottom: 16px; }
.nl-issue-content ul, .nl-issue-content ol { padding-left: 22px; margin-bottom: 16px; }
.nl-issue-content li { margin-bottom: 8px; }
.nl-issue-content a { color: var(--coral); }
.nl-issue-content a:hover { text-decoration: underline; }
.nl-issue-content blockquote { border-left: 4px solid var(--coral); padding: 14px 20px; background: var(--cream); margin: 20px 0; border-radius: 0 8px 8px 0; color: var(--navy); font-style: italic; }
.nl-issue-cta { max-width: 680px; margin: 0 auto 40px; }
.nl-issue-cta-inner { background: var(--ink); border-radius: 12px; padding: 32px; text-align: center; }
.nl-issue-cta-inner h3 { font-family: 'Syne', sans-serif; font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.nl-issue-cta-inner p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 20px; }
.nl-issue-cta-inner .nl-form-msg.success { color: #4ade80; }
.nl-issue-cta-inner .nl-form-msg.error { color: #f87171; }
.nl-issue-nav { max-width: 680px; margin: 0 auto; }
.nl-issue-nav-back { font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; font-weight: 600; }
.nl-issue-nav-back:hover { color: var(--coral); }

/* Thank you page */
.nl-thankyou { background: var(--cream); padding: 100px 0; min-height: 60vh; display: flex; align-items: center; }
.nl-thankyou-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.nl-thankyou-icon { font-size: 3.5rem; margin-bottom: 20px; }
.nl-thankyou h1 { font-family: 'Syne', sans-serif; font-size: 2.2rem; color: var(--navy); margin-bottom: 16px; }
.nl-thankyou p { color: var(--text-secondary); font-size: 1rem; line-height: 1.65; margin-bottom: 12px; }
.nl-thankyou-sub { font-size: 0.875rem \!important; }
.nl-thankyou-share { margin: 32px 0 28px; padding: 24px; background: var(--white); border-radius: 12px; border: 1px solid var(--border); }
.nl-thankyou-share-label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 14px \!important; }
.nl-thankyou-share-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.nl-share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 100px; font-size: 0.82rem; font-weight: 600; text-decoration: none; border: 1.5px solid; transition: all 0.2s; }
.nl-share-twitter { color: #0F1419; border-color: #0F1419; background: white; }
.nl-share-twitter:hover { background: #0F1419; color: white; }
.nl-share-linkedin { color: #0A66C2; border-color: #0A66C2; background: white; }
.nl-share-linkedin:hover { background: #0A66C2; color: white; }
.nl-thankyou-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer newsletter signup */
.footer-newsletter { background: var(--ink-light); border-radius: 16px; padding: 28px 32px; margin-bottom: 32px; border: 1px solid rgba(255,255,255,0.05); }
.footer-newsletter h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.footer-newsletter p { color: rgba(255,255,255,0.55); font-size: 0.8rem; margin-bottom: 14px; }
.footer-nl-form { display: flex; gap: 8px; }
.footer-nl-input { flex: 1; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.15); border-radius: 100px; padding: 10px 16px; color: var(--white); font-family: inherit; font-size: 0.82rem; outline: none; }
.footer-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.footer-nl-input:focus { border-color: var(--coral); }
.footer-nl-btn { background: var(--coral); color: white; border: none; border-radius: 100px; padding: 10px 18px; font-size: 0.82rem; font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background 0.2s; }
.footer-nl-btn:hover { background: var(--coral-dark); }
.footer-nl-msg { font-size: 0.75rem; margin-top: 6px; min-height: 16px; }
.footer-nl-msg.success { color: #4ade80; }
.footer-nl-msg.error { color: #f87171; }

/* Tool CTA Newsletter Banner */
.nl-tool-cta { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%); border-radius: 12px; padding: 28px 32px; margin-top: 32px; }
.nl-tool-cta h3 { font-family: 'Syne', sans-serif; font-size: 1.15rem; color: var(--white); margin-bottom: 6px; }
.nl-tool-cta p { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin-bottom: 18px; line-height: 1.5; }
.nl-tool-cta .nl-form-row { max-width: 480px; }
.nl-tool-cta .nl-form-subtext { color: rgba(255,255,255,0.4); text-align: left; }
.nl-tool-cta .nl-form-msg.success { color: #4ade80; text-align: left; }
.nl-tool-cta .nl-form-msg.error { color: #f87171; text-align: left; }

/* Scroll modal */
.nl-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 20px; }
.nl-modal-overlay.visible { opacity: 1; pointer-events: all; }
.nl-modal { background: var(--white); border-radius: 16px; max-width: 460px; width: 100%; padding: 36px; position: relative; transform: translateY(16px); transition: transform 0.3s; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.nl-modal-overlay.visible .nl-modal { transform: translateY(0); }
.nl-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.3rem; color: var(--text-secondary); cursor: pointer; line-height: 1; padding: 4px 8px; border-radius: 6px; transition: color 0.2s; }
.nl-modal-close:hover { color: var(--navy); }
.nl-modal-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.nl-modal h3 { font-family: 'Syne', sans-serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.nl-modal p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; margin-bottom: 20px; }
.nl-modal .nl-input { background: var(--cream); color: var(--navy); border-color: var(--border); }
.nl-modal .nl-input::placeholder { color: var(--text-secondary); }
.nl-modal .nl-form-subtext { color: var(--text-secondary); }
.nl-modal .nl-form-msg.success { color: #16a34a; }
.nl-modal .nl-form-msg.error { color: #dc2626; }

/* Responsive newsletter */
@media (max-width: 768px) {
  .nl-hero-title { font-size: 2rem; }
  .nl-form-row { flex-direction: column; }
  .nl-btn { width: 100%; text-align: center; }
  .nl-value-grid { grid-template-columns: 1fr; gap: 36px; }
  .nl-hero-proof { gap: 16px; }
  .nl-issue-title { font-size: 1.7rem; }
  .footer-nl-form { flex-direction: column; }
  .footer-nl-btn { width: 100%; }
}

/* Homepage newsletter section */
.home-newsletter-section { background: var(--white); padding: 80px 0; border-top: 1px solid var(--border); }
.home-newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 900px; margin: 0 auto; }
.home-newsletter-text h2 { font-family: 'Syne', sans-serif; font-size: 2rem; color: var(--navy); margin-bottom: 12px; line-height: 1.2; }
.home-newsletter-text p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 768px) {
  .home-newsletter-inner { grid-template-columns: 1fr; gap: 28px; }
  .home-newsletter-text h2 { font-size: 1.6rem; }
}

/* ==================== SESSIONS MODULE ==================== */

/* Shared button variants */
.btn-primary-sm { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: var(--coral); color: #fff; border: none; border-radius: 100px; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-primary-sm:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: var(--shadow-ember); }
.btn-outline-sm { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: transparent; color: var(--ink); border: 1.5px solid var(--border); border-radius: 100px; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.btn-outline-sm:hover { border-color: var(--coral); color: var(--coral); }
.btn-outline-xs { padding: 6px 14px; font-size: 0.8rem; background: transparent; color: var(--ink); border: 1.5px solid var(--border); border-radius: 100px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.btn-outline-xs:hover { border-color: var(--coral); color: var(--coral); }
.btn-danger-outline { color: #dc3545; border-color: #dc354533; }
.btn-danger-outline:hover { color: #dc3545; border-color: #dc3545; background: #dc354508; }
.icon-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; color: var(--text-secondary); border-radius: 8px; cursor: pointer; transition: all 0.15s; }
.icon-btn:hover { background: var(--warm-gray); color: var(--ink); }
.icon-btn-danger:hover { background: #dc354510; color: #dc3545; }

/* Sessions page */
.sessions-page { padding: 100px 24px 60px; background: var(--cream); min-height: 100vh; }
.sessions-container { max-width: 1100px; margin: 0 auto; }

.sessions-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.sessions-header h1 { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700; color: var(--ink); }
.sessions-subtitle { color: var(--text-secondary); font-size: 0.95rem; margin-top: 4px; }
.sessions-header-actions { display: flex; gap: 10px; align-items: center; }

/* Stats bar */
.sessions-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); text-align: center; }
.stat-value { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Toolbar */
.sessions-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.view-toggle { display: flex; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.view-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: transparent; border: none; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all 0.15s; }
.view-btn.active { background: var(--coral); color: #fff; }
.view-btn:hover:not(.active) { background: var(--warm-gray); }
.sessions-filters { display: flex; gap: 8px; }
.sessions-filters select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; background: var(--white); color: var(--text); cursor: pointer; }

/* Calendar */
.sessions-calendar { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; }
.calendar-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.calendar-nav h3 { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); min-width: 180px; text-align: center; }
.cal-nav-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; background: transparent; cursor: pointer; transition: all 0.15s; color: var(--ink); }
.cal-nav-btn:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.calendar-grid { }
.cal-header { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.cal-body { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-day { min-height: 100px; padding: 6px 8px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; transition: background 0.15s; position: relative; }
.cal-day:hover:not(.cal-day-other):not(.cal-day-disabled) { background: var(--coral-glow); }
.cal-day-other { opacity: 0; pointer-events: none; }
.cal-day-disabled { opacity: 0.35; cursor: default; }
.cal-today { background: var(--coral-glow); border: 1.5px solid var(--coral-light); }
.cal-today .cal-day-num { color: var(--coral); font-weight: 700; }
.cal-day-num { font-size: 0.85rem; font-weight: 500; color: var(--ink); display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; }
.cal-day-available .cal-day-num { background: var(--coral); color: #fff; }
.cal-day-sessions { margin-top: 4px; display: flex; flex-direction: column; gap: 2px; }
.cal-session { font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; transition: opacity 0.15s; }
.cal-session:hover { opacity: 0.8; }
.cal-session-scheduled { background: #dbeafe; color: #1e40af; }
.cal-session-in_progress { background: #fef3c7; color: #92400e; }
.cal-session-completed { background: #dcfce7; color: #166534; }
.cal-session-rescheduled { background: #e0e7ff; color: #3730a3; }
.cal-session-no_show { background: #fee2e2; color: #991b1b; }
.cal-session-cancelled { background: #f3f4f6; color: #6b7280; }
.cal-session-time { font-weight: 600; }
.cal-session-name { font-weight: 400; }
.cal-session-more { font-size: 0.7rem; color: var(--text-secondary); padding: 1px 6px; }

/* Status badges */
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.status-scheduled { background: #dbeafe; color: #1e40af; }
.status-in_progress { background: #fef3c7; color: #92400e; }
.status-completed { background: #dcfce7; color: #166534; }
.status-rescheduled { background: #e0e7ff; color: #3730a3; }
.status-no_show, .status-no-show { background: #fee2e2; color: #991b1b; }
.status-cancelled { background: #f3f4f6; color: #6b7280; }

/* List view */
.sessions-list { }
.sessions-list-inner { display: flex; flex-direction: column; gap: 20px; }
.list-date-group { }
.list-date-header { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.list-session-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all 0.15s; }
.list-session-card:hover { border-color: var(--coral-light); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.list-session-time { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--coral); min-width: 80px; }
.list-session-info { flex: 1; }
.list-session-name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.list-session-meta { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }
.list-session-status { min-width: 100px; text-align: center; }
.list-session-actions { display: flex; gap: 4px; }

/* Empty state */
.sessions-empty { text-align: center; padding: 60px 20px; }
.sessions-empty .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.sessions-empty h3 { font-family: 'Syne', sans-serif; color: var(--ink); margin-bottom: 8px; }
.sessions-empty p { color: var(--text-secondary); margin-bottom: 20px; }
.sessions-loading { text-align: center; padding: 40px; color: var(--text-secondary); }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-overlay.visible { opacity: 1; pointer-events: all; }
.modal-content { background: var(--white); border-radius: var(--radius-lg); padding: 32px; max-width: 540px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 12px; right: 16px; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--text-secondary); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { background: var(--warm-gray); }
.modal-content h2 { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 20px; }

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; color: var(--text); background: var(--white); font-family: inherit; transition: border-color 0.15s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-glow); }
.form-group textarea { resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

/* Session Detail Page */
.session-detail-page { padding: 100px 24px 60px; background: var(--cream); min-height: 100vh; }
.session-detail-container { max-width: 900px; margin: 0 auto; }

.sd-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; margin-bottom: 16px; transition: color 0.15s; text-decoration: none; }
.sd-back:hover { color: var(--coral); }

.sd-header { margin-bottom: 28px; }
.sd-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sd-title-row h1 { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--ink); }
.sd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; font-size: 0.85rem; color: var(--text-secondary); }
.sd-meta span:not(.status-badge)::before { content: '·'; margin-right: 10px; color: var(--border); }
.sd-meta span:first-child::before, .sd-meta .status-badge::before { content: ''; margin: 0; }
.sd-actions { display: flex; gap: 8px; flex-shrink: 0; }

.sd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sd-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.sd-card h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sd-card-highlight { border-color: var(--coral-light); background: linear-gradient(135deg, #fff 0%, var(--coral-glow) 100%); }
.sd-card:first-child, .sd-card:nth-child(2) { grid-column: span 1; }

.sd-brief { }
.sd-brief-placeholder { background: var(--cream); border-radius: var(--radius); padding: 16px; font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.sd-brief-placeholder p { margin-bottom: 6px; }
.sd-brief-placeholder p:last-child { margin-bottom: 0; }
.sd-brief-note { font-style: italic; opacity: 0.7; margin-top: 8px !important; }

.sd-textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; color: var(--text); background: var(--white); font-family: inherit; resize: vertical; transition: border-color 0.15s; }
.sd-textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-glow); }

/* Action items */
.sd-action-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sd-action-item:last-child { border-bottom: none; }
.sd-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1; }
.sd-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--coral); cursor: pointer; }
.sd-checkbox span { font-size: 0.9rem; color: var(--text); }
.sd-checkbox span.done { text-decoration: line-through; color: var(--text-secondary); }
.sd-add-action { display: flex; gap: 8px; margin-top: 12px; }
.sd-add-action input { flex: 1; padding: 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; }
.sd-add-action input:focus { outline: none; border-color: var(--coral); }

/* Toast notification */
.sd-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 24px; border-radius: 100px; font-size: 0.85rem; font-weight: 500; z-index: 2000; opacity: 0; transition: all 0.3s; pointer-events: none; }
.sd-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==================== AI SESSION SUMMARY (Phase C.2) ==================== */
.sd-summary-card { border-color: #a78bfa44; background: linear-gradient(135deg, #fff 0%, #f5f3ff 100%); }
.sd-summary-card h3 { color: #6d28d9; }
.sd-saved-badge { font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #d1fae5; color: #065f46; margin-left: auto; }
.sd-draft-badge { font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #fef3c7; color: #92400e; margin-left: auto; }
.sd-summary-mood-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.sd-mood-indicator { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.mood-breakthrough { background: #fef3c7; color: #92400e; }
.mood-positive { background: #d1fae5; color: #065f46; }
.mood-neutral { background: #f3f4f6; color: #374151; }
.mood-struggling { background: #fee2e2; color: #991b1b; }
.sd-mood-select { font-size: 0.8rem; padding: 4px 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--text); cursor: pointer; }
.sd-sum-section { margin-bottom: 16px; }
.sd-sum-label { font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.sd-summary-textarea { min-height: 80px; }
.sd-theme-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sd-theme-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; background: #ede9fe; color: #5b21b6; }
.sd-theme-remove { background: none; border: none; cursor: pointer; color: #7c3aed; font-size: 1rem; line-height: 1; padding: 0 0 0 2px; opacity: 0.6; }
.sd-theme-remove:hover { opacity: 1; }
.sd-theme-add { background: none; border: 1.5px dashed #a78bfa; border-radius: 20px; padding: 2px 10px; font-size: 0.78rem; color: #7c3aed; cursor: pointer; }
.sd-theme-add:hover { background: #f5f3ff; }
.sd-sum-action-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.sd-sum-action-row:last-child { border-bottom: none; }
.sd-priority-tag { font-size: 0.7rem; font-weight: 600; padding: 2px 7px; border-radius: 10px; white-space: nowrap; }
.sd-priority-high { background: #fee2e2; color: #991b1b; }
.sd-priority-medium { background: #fef3c7; color: #92400e; }
.sd-priority-low { background: #d1fae5; color: #065f46; }
.sd-summary-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ==================== AVAILABILITY PAGE ==================== */
.availability-page { padding: 100px 24px 60px; background: var(--cream); min-height: 100vh; }
.availability-container { max-width: 700px; margin: 0 auto; }
.avail-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.avail-card h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.avail-hint { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 16px; }

.avail-booking-link { border-color: var(--coral-light); }
.avail-booking-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.avail-booking-url { display: flex; gap: 8px; margin-bottom: 8px; }
.avail-url-input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; background: var(--cream); color: var(--text-secondary); }
.avail-booking-note { font-size: 0.8rem; color: var(--text-secondary); }

.slug-input-wrap { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.slug-prefix { padding: 10px 0 10px 14px; font-size: 0.9rem; color: var(--text-secondary); background: var(--cream); white-space: nowrap; }
.slug-input-wrap input { border: none; padding: 10px 14px; font-size: 0.9rem; flex: 1; outline: none; }
.slug-input-wrap:focus-within { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-glow); }

/* Weekly schedule */
.weekly-schedule { display: flex; flex-direction: column; gap: 8px; }
.avail-day-row { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.avail-day-row:last-child { border-bottom: none; }
.avail-day-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 140px; }
.avail-day-toggle input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--coral); cursor: pointer; }
.avail-day-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.avail-day-times { display: flex; align-items: center; gap: 8px; flex: 1; }
.avail-time-input { padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; }
.avail-time-input:focus { outline: none; border-color: var(--coral); }
.avail-dash { color: var(--text-secondary); }

/* Session types */
.session-types-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.session-type-card { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); transition: all 0.15s; }
.session-type-card.active { border-color: var(--coral-light); background: var(--coral-glow); }
.session-type-duration { font-size: 0.8rem; color: var(--text-secondary); }

/* ==================== BOOKING PAGE ==================== */
.booking-page { padding: 60px 24px 60px; background: var(--cream); min-height: 100vh; }
.booking-container { max-width: 600px; margin: 0 auto; }

.booking-profile { text-align: center; margin-bottom: 36px; }
.booking-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--coral); color: #fff; font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.booking-profile h1 { font-family: 'Syne', sans-serif; font-size: 1.6rem; color: var(--ink); }
.booking-bio { color: var(--text-secondary); font-size: 0.9rem; margin-top: 6px; max-width: 400px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.booking-timezone { color: var(--text-secondary); font-size: 0.75rem; margin-top: 8px; opacity: 0.7; }

.booking-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.booking-step h2 { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }

.booking-types { display: grid; gap: 10px; }
.booking-type-card { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border: 1.5px solid var(--border); border-radius: var(--radius); background: transparent; cursor: pointer; transition: all 0.15s; text-align: left; width: 100%; }
.booking-type-card:hover { border-color: var(--coral); background: var(--coral-glow); }
.booking-type-name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.booking-type-duration { color: var(--text-secondary); font-size: 0.85rem; }
.booking-no-types { color: var(--text-secondary); font-size: 0.9rem; text-align: center; padding: 20px; }

.booking-date-label { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 14px; }

.booking-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.booking-time-btn { padding: 10px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); font-size: 0.85rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: all 0.15s; }
.booking-time-btn:hover { border-color: var(--coral); background: var(--coral-glow); color: var(--coral); }

.booking-summary { background: var(--cream); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.booking-summary-inner { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; }
.booking-summary-inner strong { color: var(--ink); }
.booking-summary-inner span { color: var(--text-secondary); }

.booking-confirmed { text-align: center; padding: 20px 0; }
.booking-check { width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: #166534; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-weight: 700; }
.booking-confirmed h2 { font-family: 'Syne', sans-serif; color: var(--ink); margin-bottom: 8px; }
.booking-confirmed p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.booking-confirm-details { font-size: 0.9rem; color: var(--ink); }
.booking-confirm-details p { margin-bottom: 4px; }

/* Booking calendar */
.booking-calendar { }
.booking-cal-grid .cal-day-available { cursor: pointer; }
.booking-cal-grid .cal-day-available:hover { background: var(--coral-glow); }

/* ==================== SESSIONS RESPONSIVE ==================== */
@media (max-width: 768px) {
  .sessions-header { flex-direction: column; }
  .sessions-stats { grid-template-columns: repeat(2, 1fr); }
  .sessions-toolbar { flex-direction: column; align-items: stretch; }
  .sessions-filters { flex-wrap: wrap; }
  .cal-day { min-height: 60px; padding: 4px; }
  .cal-session { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .sd-grid { grid-template-columns: 1fr; }
  .sd-title-row { flex-direction: column; }
  .session-types-grid { grid-template-columns: 1fr; }
  .avail-day-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .booking-times { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   DASHBOARD
   ===================================================== */

.dashboard-page { padding: 2rem 1.5rem 4rem; max-width: 1200px; margin: 0 auto; }

.dashboard-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.dashboard-header h1 { font-family: var(--font-display); font-size: 2rem; color: var(--ink); margin-bottom: 0.25rem; }
.dashboard-subtitle { color: var(--text-secondary); font-size: 1rem; }
.dashboard-date { color: var(--text-secondary); font-size: 0.9rem; white-space: nowrap; padding-top: 0.5rem; }
.dashboard-header-actions { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.4rem; }
.dash-signout-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 12px; font-size: 0.8rem; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.dash-signout-btn:hover { border-color: #ef4444; color: #ef4444; background: rgba(239,68,68,0.04); }

/* Metric Cards */
.dash-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.dash-metric-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.25rem;
  text-decoration: none; color: var(--text);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dash-metric-card:hover {
  border-color: var(--coral-light);
  box-shadow: 0 4px 16px rgba(232,98,42,0.08);
}
.dash-metric-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-metric-icon--sessions { background: rgba(59,130,246,0.1); color: #3B82F6; }
.dash-metric-icon--clients { background: rgba(232,98,42,0.1); color: var(--coral); }
.dash-metric-icon--completed { background: rgba(16,185,129,0.1); color: #10B981; }
.dash-metric-icon--programs { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.dash-metric-icon--revenue { background: rgba(16,185,129,0.1); color: #10B981; }
.dash-metric-icon--health { background: rgba(239,68,68,0.08); color: #EF4444; }

.dash-metric-body { flex: 1; min-width: 0; }
.dash-metric-value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.dash-metric-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }
.dash-metric-trend { font-size: 0.78rem; font-weight: 600; }
.trend-up { color: #10B981; }
.trend-down { color: #EF4444; }

/* Main Grid: content + sidebar */
.dash-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; }
.dash-main { display: flex; flex-direction: column; gap: 1.5rem; }
.dash-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

/* Cards */
.dash-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.dash-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.dash-card-header h2 { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.dash-card-link { font-size: 0.85rem; color: var(--coral); text-decoration: none; font-weight: 500; }
.dash-card-link:hover { text-decoration: underline; }
.dash-card-body { padding: 1rem 1.25rem; }
.dash-badge { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--coral); background: var(--coral-glow); padding: 3px 8px; border-radius: 6px; }

/* Loading + Empty states */
.dash-loading { color: var(--text-secondary); text-align: center; padding: 2rem; font-size: 0.9rem; }
.dash-empty { text-align: center; padding: 2rem 1rem; }
.dash-empty-icon { margin-bottom: 0.75rem; color: var(--text-secondary); opacity: 0.5; }
.dash-empty p { color: var(--text-secondary); font-size: 0.9rem; }
.dash-empty-sub { font-size: 0.82rem !important; margin-top: 0.25rem; }

/* Week Sessions */
.dash-day-group { margin-bottom: 0.75rem; }
.dash-day-group:last-child { margin-bottom: 0; }
.dash-day-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); padding: 0.25rem 0; }
.dash-session-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.75rem; border-radius: 8px;
  text-decoration: none; color: var(--text);
  transition: background 0.15s;
}
.dash-session-row:hover { background: var(--cream); }
.dash-session-row--today { background: rgba(59,130,246,0.04); border: 1px solid rgba(59,130,246,0.1); }
.dash-session-time { font-size: 0.85rem; font-weight: 600; color: var(--ink); width: 80px; flex-shrink: 0; }
.dash-session-info { flex: 1; min-width: 0; }
.dash-session-client { font-size: 0.9rem; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-session-type { font-size: 0.78rem; color: var(--text-secondary); }
.dash-status-badge {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 3px 8px; border-radius: 20px;
  color: var(--badge-color); background: color-mix(in srgb, var(--badge-color) 10%, transparent);
  white-space: nowrap;
}

/* Activity Feed */
.dash-activity-list { display: flex; flex-direction: column; }
.dash-activity-item { display: flex; gap: 0.75rem; padding: 0.5rem 0; }
.dash-activity-item + .dash-activity-item { border-top: 1px solid var(--border); }
.dash-activity-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.dash-activity-content { flex: 1; }
.dash-activity-text { font-size: 0.88rem; color: var(--text); }
.dash-activity-time { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; }

/* Quick Actions */
.dash-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 1rem 1.25rem; }
.dash-action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1rem 0.75rem; border-radius: 10px; border: 1px solid var(--border);
  text-decoration: none; color: var(--ink); font-size: 0.8rem; font-weight: 500;
  text-align: center; transition: all 0.15s;
}
.dash-action-btn svg { color: var(--coral); }
.dash-action-btn:hover { border-color: var(--coral-light); background: var(--coral-glow); }

/* Alerts */
.dash-alert-item {
  display: flex; gap: 0.75rem; padding: 0.75rem 0;
  align-items: flex-start;
}
.dash-alert-item + .dash-alert-item { border-top: 1px solid var(--border); }
.dash-alert-icon { flex-shrink: 0; margin-top: 2px; }
.dash-alert-body { flex: 1; }
.dash-alert-text { font-size: 0.88rem; color: var(--text); }
.dash-alert-action { font-size: 0.82rem; color: var(--coral); text-decoration: none; font-weight: 500; display: inline-block; margin-top: 4px; }
.dash-alert-action:hover { text-decoration: underline; }
.dash-alert--critical { }
.dash-alert--warning { }
.dash-alert--info { }

/* AI Brief */
.dash-brief-empty { text-align: center; padding: 1.5rem 0.5rem; }
.dash-brief-empty-icon { margin-bottom: 0.5rem; color: var(--text-secondary); }
.dash-brief-empty p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }
.dash-brief-empty-sub { font-size: 0.8rem !important; color: var(--text-secondary); margin-top: 0.25rem; }
.dash-brief-content { }
.dash-brief-ai-label { font-size: 0.72rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.dash-brief-ai-label a { color: var(--coral); text-decoration: none; }
.dash-brief-text { font-size: 0.9rem; color: var(--text); line-height: 1.55; margin-bottom: 0.75rem; }
.dash-brief-highlights { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.dash-brief-highlights li { font-size: 0.85rem; color: var(--text); padding: 0.35rem 0 0.35rem 1.25rem; position: relative; }
.dash-brief-highlights li::before { content: '\\2022'; position: absolute; left: 0.25rem; color: var(--coral); font-weight: 700; }
.dash-brief-rec {
  font-size: 0.85rem; padding: 0.75rem 1rem; border-radius: 8px;
  background: var(--coral-glow); color: var(--text); line-height: 1.5;
  margin-bottom: 0.65rem;
}
.dash-brief-tip {
  font-size: 0.85rem; padding: 0.75rem 1rem; border-radius: 8px;
  background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.15);
  color: var(--text); line-height: 1.5; margin-bottom: 0.65rem;
}
.dash-brief-tip-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #10B981; margin-bottom: 4px; }
.dash-brief-footer { margin-top: 0.75rem; }
.dash-brief-regen-btn {
  font-size: 0.78rem; color: var(--text-secondary); background: none;
  border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 10px; cursor: pointer; transition: all 0.15s;
}
.dash-brief-regen-btn:hover:not(:disabled) { border-color: var(--coral-light); color: var(--coral); }
.dash-brief-regen-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Setup Guide */
.dash-setup-card {
  background: linear-gradient(135deg, #fff9f7 0%, #fffaf8 100%);
  border: 1px solid var(--coral-light); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.dash-setup-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.dash-setup-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--coral-glow); color: var(--coral);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dash-setup-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); }
.dash-setup-sub { font-size: 0.82rem; color: var(--text-secondary); margin-top: 2px; }
.dash-setup-progress-label { margin-left: auto; font-size: 0.8rem; font-weight: 600; color: var(--coral); white-space: nowrap; flex-shrink: 0; }
.dash-setup-bar-wrap {
  height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 1rem;
}
.dash-setup-bar {
  height: 100%; background: linear-gradient(90deg, var(--coral), #f07d4a);
  border-radius: 3px; transition: width 0.5s ease;
}
.dash-setup-steps { display: flex; flex-direction: column; gap: 2px; }
.dash-setup-step {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem; border-radius: 8px;
  text-decoration: none; color: var(--text); font-size: 0.88rem;
  transition: background 0.15s;
}
.dash-setup-step:hover { background: var(--coral-glow); }
.dash-setup-step--done { opacity: 0.55; }
.dash-setup-step--done span { text-decoration: line-through; }
.dash-setup-step-check {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-setup-step--done .dash-setup-step-check { background: #10B981; color: #fff; }
.dash-setup-step:not(.dash-setup-step--done) .dash-setup-step-check {
  border: 2px solid var(--border); background: var(--white);
}
.dash-setup-step-arrow { margin-left: auto; color: var(--coral); font-size: 1rem; }

/* At-Risk Clients */
.dash-at-risk-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
}
.dash-at-risk-row:last-child { border-bottom: none; }
.dash-at-risk-info { flex: 1; min-width: 0; }
.dash-at-risk-name { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.dash-at-risk-meta { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; }
.dash-at-risk-score { text-align: center; width: 44px; flex-shrink: 0; }
.dash-at-risk-score-val { font-size: 1.1rem; font-weight: 700; line-height: 1; }
.dash-at-risk-score-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); }
.dash-at-risk-cta {
  font-size: 0.8rem; font-weight: 600; color: var(--coral);
  text-decoration: none; flex-shrink: 0; padding: 4px 8px;
  border: 1px solid var(--coral-light); border-radius: 6px; transition: all 0.15s;
}
.dash-at-risk-cta:hover { background: var(--coral-glow); }
.dash-badge--warn { background: rgba(245,158,11,0.1); color: #d97706; }

/* Action Items */
.dash-action-item-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
}
.dash-action-item-row:last-child { border-bottom: none; }
.dash-action-item-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #F59E0B;
  flex-shrink: 0; margin-top: 5px;
}
.dash-action-item-body { flex: 1; min-width: 0; }
.dash-action-item-text { font-size: 0.88rem; color: var(--text); line-height: 1.4; }
.dash-action-item-client { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; }
.dash-action-item-link {
  font-size: 0.78rem; color: var(--coral); text-decoration: none;
  font-weight: 500; flex-shrink: 0;
}
.dash-action-item-link:hover { text-decoration: underline; }

/* Capacity Indicator */
.dash-capacity-wrap { }
.dash-capacity-stats {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem;
}
.dash-capacity-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.dash-capacity-key { font-size: 0.72rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.dash-capacity-slash { font-size: 1.5rem; color: var(--border); font-weight: 300; }
.dash-capacity-pct { margin-left: auto; font-size: 1.4rem; font-weight: 700; }
.dash-capacity-bar-wrap { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; }
.dash-capacity-bar { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.dash-capacity-label { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }
.dash-capacity-cta { font-size: 0.82rem; color: var(--coral); text-decoration: none; font-weight: 500; }
.dash-capacity-cta:hover { text-decoration: underline; }

/* Dashboard Responsive */
@media (max-width: 1024px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-sidebar { order: -1; }
}
@media (max-width: 768px) {
  .dashboard-page { padding: 1.5rem 1rem 3rem; }
  .dashboard-header { flex-direction: column; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .dash-quick-actions { grid-template-columns: 1fr 1fr; }
  .dash-setup-header { flex-wrap: wrap; }
  .dash-setup-progress-label { width: 100%; margin-left: 0; margin-top: 4px; }
}
@media (max-width: 480px) {
  .dash-metrics { grid-template-columns: 1fr; }
  .dash-quick-actions { grid-template-columns: 1fr; }
  .dash-setup-steps { gap: 0; }
}

/* ==================== PRODUCTS PAGE ==================== */
.products-hero {
  padding: 120px 2.5rem 60px;
  text-align: center;
  background: linear-gradient(160deg, var(--cream) 0%, #fff 100%);
  position: relative;
}
.products-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}
.products-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 1.25rem;
  line-height: 1.1;
}
.products-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.products-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.hero-stat span {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--coral);
  font-size: 1rem;
  margin-right: 4px;
}

.products-section { padding: 60px 2.5rem 80px; background: #fff; }
.products-inner { max-width: 1200px; margin: 0 auto; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* ---- UNIVERSAL CARD SYSTEM ---- */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(232,98,42,0.2);
  transform: translateY(-2px);
}
.card--featured {
  border-color: var(--coral);
  box-shadow: var(--shadow-ember);
}
.card__badge {
  display: inline-block;
  background: rgba(232,98,42,0.1);
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.card__icon { font-size: 2rem; margin-bottom: 0.75rem; line-height: 1; }
.card__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ---- BUNDLE CARD ---- */
.bundle-section {
  padding: 4rem 2.5rem;
  background: var(--ink);
  margin-top: 3rem;
  border-radius: 20px;
}
.bundle-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.bundle-card--featured {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 8px 32px rgba(232,98,42,0.4);
}
.bundle-card__tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.bundle-card--featured .bundle-card__tier { color: rgba(255,255,255,0.8); }
.bundle-card__price {
  font-size: 2.25rem;
  font-weight: 900;
  color: white;
  margin-bottom: 4px;
}
.bundle-card__price sup { font-size: 1rem; font-weight: 500; opacity: 0.8; }
.bundle-card__tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}
.bundle-card--featured .bundle-card__tagline { color: rgba(255,255,255,0.7); }
.bundle-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  flex-grow: 1;
}
.bundle-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.bundle-card--featured .bundle-card__features li { color: rgba(255,255,255,0.95); }

/* ---- HERO PILL LINKS ---- */
.hero-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: rgba(232,98,42,0.08);
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(232,98,42,0.2);
  transition: all 0.2s ease;
}
.hero-pill-link:hover {
  background: rgba(232,98,42,0.14);
  border-color: rgba(232,98,42,0.35);
  transform: translateY(-1px);
}
.hero-pill-link--gold {
  background: rgba(212,160,23,0.08);
  border-color: rgba(212,160,23,0.2);
}
.hero-pill-link--gold:hover {
  background: rgba(212,160,23,0.14);
  border-color: rgba(212,160,23,0.35);
}
.hero-pill-link--green {
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.2);
}
.hero-pill-link--green:hover {
  background: rgba(16,185,129,0.14);
  border-color: rgba(16,185,129,0.35);
}

/* ---- SECTION UTILITIES ---- */
.section { padding: 6rem 2.5rem; }
.section--tight { padding: 3rem 2.5rem; }
.section--wide { padding: 8rem 2.5rem; }
@media (max-width: 768px) {
  .section { padding: 3.5rem 1.5rem; }
  .section--wide { padding: 4.5rem 1.5rem; }
}

/* ---- PROOF BAR ENHANCEMENTS ---- */
.proof-bar {
  background: var(--ink);
  padding: 0.85rem 2rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--coral), var(--gold)) 1;
}
.proof-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.62);
  white-space: nowrap;
}
.proof-bar--homepage .proof-item { font-size: 0.875rem; }

/* ---- FOOTER SOCIAL PROOF ---- */
.footer-social-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.footer-social-stat { text-align: center; padding: 1rem; }
.footer-social-stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-social-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}
@media (max-width: 768px) {
  .footer-social-proof { grid-template-columns: 1fr; }
}

/* ---- LEAD AUDIT BANNER ---- */
.lead-audit-banner {
  background: linear-gradient(135deg, #fff7f3 0%, #fff1e8 100%);
  border: 2.5px solid var(--coral);
  border-radius: 16px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}
.lead-audit-banner__tag {
  position: absolute;
  top: 0; left: 24px;
  background: var(--coral);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}
.lead-audit-banner__price {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
}
.lead-audit-banner__price-label {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin-top: 2px;
}

/* ---- TESTIMONIAL CARD ---- */
.testimonial-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s ease;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(232,98,42,0.2);
}
.testimonial-stars { color: var(--coral); font-size: 1rem; margin-bottom: 0.5rem; }
.testimonial-text {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.testimonial-author {
  font-size: 0.78rem;
  color: #6b7280;
}

/* ---- BENCH HERO STAT ---- */
.bm-hero-stat { text-align: center; }
.bm-hero-stat__num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--coral);
}
.bm-hero-stat__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* ---- METHODOLOGY BANNER ---- */
.methodology-banner {
  background: #f8f9fb;
  border-bottom: 1px solid #e9ecf0;
  padding: 20px 24px;
}

/* ---- TABLE WRAPPER ---- */
.bm-table-wrap { overflow-x: auto; }

/* ---- NICHE BAR ROW ---- */
.niche-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.niche-bar-track {
  flex: 1;
  min-width: 120px;
  height: 8px;
  background: #f3f4f6;
  border-radius: 100px;
  overflow: hidden;
}
.niche-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral-dark), var(--coral-light));
  border-radius: 100px;
  transition: width 0.6s ease;
}

/* ---- RESEARCH CARD ---- */
.research-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
}
.research-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,98,42,0.25);
  transform: translateY(-2px);
}
.research-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(240,125,74,0.75);
}
.research-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0;
}
.research-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0;
}
.research-card-arrow {
  font-size: 1rem;
  color: rgba(240,125,74,0.6);
  transition: transform 0.2s;
}
.research-card:hover .research-card-arrow { transform: translateX(4px); }

/* ---- RESPONSIVE GRID ---- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .bundle-cta-grid { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}
@media (max-width: 900px) {
  .site-nav { padding: 0.75rem 1.5rem; }
  .mobile-toggle { display: block; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 0.85rem 1.75rem; font-size: 0.95rem; }
}

/* ---- PRODUCT CARD SYSTEM ---- */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(232,98,42,0.2);
  transform: translateY(-3px);
}
.product-card--featured {
  border-color: var(--coral);
  box-shadow: var(--shadow-ember);
}
.product-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral-dark), var(--coral-light));
}
.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.product-icon {
  font-size: 2rem;
  line-height: 1;
}
.product-info { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-right: 60px;
}
.product-tagline {
  font-size: 0.85rem;
  color: var(--coral);
  font-weight: 600;
}
.product-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.product-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}
.product-includes li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 1.1rem;
  position: relative;
}
.product-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
  font-size: 0.75rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.product-price { display: flex; align-items: baseline; gap: 4px; }
.product-price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
}
.product-price-unit {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.product-buy-btn { white-space: nowrap; font-size: 0.9rem; }

/* How it works */
.products-how {
  padding: 60px 2.5rem 80px;
  background: var(--cream);
}
.products-steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.products-step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
}
.products-step-divider {
  font-size: 1.5rem;
  color: var(--coral);
  margin-top: 24px;
  font-weight: 700;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.products-step h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.products-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* FAQ */
.products-faq { padding: 60px 2.5rem 80px; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.faq-item summary::after { content: '+'; color: var(--coral); font-size: 1.2rem; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==================== PRODUCTS GENERATE PAGE ==================== */
.generate-page { padding: 80px 2.5rem 80px; min-height: 80vh; }
.generate-inner { max-width: 820px; margin: 0 auto; }
.generate-back {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 28px;
  transition: color 0.15s;
}
.generate-back:hover { color: var(--coral); }
.generate-header { margin-bottom: 36px; }
.generate-product-id {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.generate-icon { font-size: 2.5rem; line-height: 1; margin-top: 4px; }
.generate-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.generate-subtitle { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; max-width: 560px; }

/* Form */
.generate-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.field-required { color: var(--coral); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #fff;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.15s;
}
.checkbox-option:hover { border-color: var(--coral); background: var(--coral-glow); }
.checkbox-option input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--coral); }
.generate-submit { margin-top: 8px; align-self: flex-start; min-width: 260px; }
.generate-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-top: 8px;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Output */
.generate-output-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.generate-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  flex-wrap: wrap;
  gap: 12px;
}
.generate-output-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.generate-output-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.generate-output {
  padding: 32px;
  line-height: 1.75;
  color: var(--text);
  font-size: 0.95rem;
}
.generate-output h1 { font-family: 'Syne',sans-serif; font-size: 1.6rem; color: var(--ink); margin: 1.5rem 0 0.75rem; }
.generate-output h2 { font-family: 'Syne',sans-serif; font-size: 1.25rem; color: var(--ink); margin: 1.5rem 0 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.generate-output h3 { font-family: 'Syne',sans-serif; font-size: 1rem; color: var(--ink); margin: 1rem 0 0.4rem; }
.generate-output p { margin: 0.5rem 0; }
.generate-output ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.generate-output li { margin: 0.3rem 0; }
.generate-output strong { color: var(--ink); }
.generate-output-note {
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Print styles */
@media print {
  .site-nav, .generate-back, .generate-product-id, .generate-output-header, .generate-output-note { display: none \!important; }
  .generate-output { padding: 0; }
  .generate-output-wrap { border: none; background: #fff; }
}

/* Responsive */
@media (max-width: 768px) {
  .products-hero { padding: 100px 1.5rem 50px; }
  .products-section { padding: 40px 1.5rem 60px; }
  .products-grid { grid-template-columns: 1fr; }
  .products-steps { flex-direction: column; align-items: center; }
  .products-step-divider { transform: rotate(90deg); }
  .generate-page { padding: 80px 1.25rem 60px; }
  .generate-output { padding: 20px; }
  .generate-output-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PRACTICE AUDIT v2 — pa2-* components
   ============================================================ */

.pa2-section {
  background: var(--bg);
  padding: 60px 24px 80px;
  min-height: 60vh;
}
.pa2-container {
  max-width: 780px;
  margin: 0 auto;
}

/* ── Progress bar ─────────────────────────────────────────── */
.pa2-progress-wrap {
  margin-bottom: 40px;
}
.pa2-progress-labels {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.pa2-prog-label {
  flex: 1;
  min-width: 80px;
  padding: 6px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: default;
  transition: background 0.2s, color 0.2s;
}
.pa2-prog-label.active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  cursor: pointer;
}
.pa2-prog-label.done {
  background: rgba(46,158,91,0.12);
  border-color: rgba(46,158,91,0.3);
  color: #2e9e5b;
  cursor: pointer;
}
.pa2-progress-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.pa2-progress-fill {
  height: 100%;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.pa2-step-counter {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: right;
}

/* ── Steps ────────────────────────────────────────────────── */
.pa2-step { display: none; }
.pa2-step.active { display: block; }

.pa2-step-header {
  text-align: center;
  margin-bottom: 36px;
}
.pa2-area-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.pa2-step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.pa2-step-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── Questions ────────────────────────────────────────────── */
.pa2-questions {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}
.pa2-q {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}
.pa2-q-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.5;
}
.pa2-q-num {
  color: var(--coral);
  font-weight: 700;
  margin-right: 4px;
}

.pa2-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pa2-scale-labels span {
  font-size: 0.68rem;
  color: var(--text-secondary);
  text-align: center;
  flex: 1;
  padding: 0 2px;
  line-height: 1.2;
}

.pa2-scale-btns {
  display: flex;
  gap: 8px;
}
.pa2-sb {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.pa2-sb:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(232,98,42,0.06);
}
.pa2-sb.selected {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232,98,42,0.3);
}

/* ── Step nav buttons ─────────────────────────────────────── */
.pa2-step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pa2-next-btn, .pa2-submit-btn {
  padding: 14px 28px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.pa2-next-btn:disabled, .pa2-submit-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}
.pa2-next-btn:not(:disabled):hover, .pa2-submit-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,98,42,0.35);
}
.pa2-back-btn {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.pa2-back-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ── Loading ──────────────────────────────────────────────── */
.pa2-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 24px;
}
.pa2-loading-inner {
  text-align: center;
}
.pa2-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: pa2-spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes pa2-spin {
  to { transform: rotate(360deg); }
}
.pa2-loading-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.pa2-loading-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ── Results ──────────────────────────────────────────────── */
.pa2-results-header {
  text-align: center;
  margin-bottom: 48px;
}
.pa2-results-badge {
  display: inline-block;
  background: rgba(232,98,42,0.1);
  color: var(--coral);
  border: 1px solid rgba(232,98,42,0.25);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pa2-results-title {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}
.pa2-overall-score-wrap {
  display: flex;
  justify-content: center;
}
.pa2-overall-score-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 48px;
  text-align: center;
}
.pa2-overall-score {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.pa2-overall-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.pa2-overall-grade {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ── Grades grid ──────────────────────────────────────────── */
.pa2-grades-section {
  margin-bottom: 48px;
}
.pa2-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.pa2-section-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.pa2-grades-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.pa2-grade-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}
.pa2-grade-area-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.pa2-grade-area-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.2;
}
.pa2-grade-letter {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.pa2-grade-score {
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.pa2-grade-label {
  font-size: 0.68rem;
  font-weight: 600;
}

/* ── Radar ────────────────────────────────────────────────── */
.pa2-radar-section {
  margin-bottom: 48px;
}
.pa2-radar-wrap {
  display: flex;
  justify-content: center;
  padding: 24px;
  background: var(--navy, #141825);
  border-radius: 16px;
  border: 1px solid var(--border);
}

/* ── Recommendations ──────────────────────────────────────── */
.pa2-recs-section {
  margin-bottom: 48px;
}
.pa2-rec-area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}
.pa2-rec-area-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.02);
}
.pa2-rec-area-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pa2-rec-area-icon { font-size: 1.25rem; }
.pa2-rec-area-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.pa2-rec-area-grade {
  font-size: 0.8rem;
  font-weight: 700;
}
.pa2-rec-list { padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.pa2-rec-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pa2-rec-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pa2-rec-body { flex: 1; }
.pa2-rec-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.pa2-rec-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
}
.pa2-rec-desc {
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 8px;
}
.pa2-action-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 10px;
}

/* impact badges */
.pa2-impact-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
}
.pa2-impact-high   { background: rgba(201,64,64,0.12); color: #c94040; }
.pa2-impact-medium { background: rgba(212,160,23,0.12); color: #b08800; }
.pa2-impact-low    { background: rgba(46,158,91,0.12);  color: #2e9e5b; }

/* ── CTA block ────────────────────────────────────────────── */
.pa2-cta-block {
  margin-bottom: 40px;
}
.pa2-cta-inner {
  background: linear-gradient(135deg, #1E293B 0%, #141825 100%);
  border: 1px solid rgba(232,98,42,0.25);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}
.pa2-cta-badge {
  display: inline-block;
  background: rgba(232,98,42,0.15);
  color: var(--coral);
  border: 1px solid rgba(232,98,42,0.3);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.pa2-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.pa2-cta-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.pa2-cta-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.925rem;
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.pa2-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #E8622A 0%, #A83A10 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(232,98,42,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-bottom: 12px;
}
.pa2-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,98,42,0.5);
}
.pa2-cta-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ── Rerun / Error ────────────────────────────────────────── */
.pa2-rerun-wrap {
  text-align: center;
  margin: 24px 0 8px;
}
.pa2-rerun-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.pa2-rerun-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.pa2-rerun-note {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 6px;
}
.pa2-error {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 24px;
}
.pa2-error-inner {
  text-align: center;
  max-width: 400px;
}
.pa2-error-icon { font-size: 2rem; margin-bottom: 12px; }
.pa2-error-inner h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.pa2-error-inner p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .pa2-section { padding: 40px 16px 60px; }
  .pa2-grades-grid { grid-template-columns: repeat(3, 1fr); }
  .pa2-progress-labels { gap: 3px; }
  .pa2-prog-label { font-size: 0.62rem; padding: 5px 4px; }
  .pa2-scale-labels span { font-size: 0.6rem; }
  .pa2-scale-btns { gap: 5px; }
  .pa2-overall-score { font-size: 3.5rem; }
  .pa2-results-title { font-size: 1.5rem; }
  .pa2-cta-inner { padding: 28px 20px; }
  .pa2-cta-title { font-size: 1.2rem; }
  .pa2-rec-area-header { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 480px) {
  .pa2-grades-grid { grid-template-columns: repeat(2, 1fr); }
  .pa2-grade-letter { font-size: 2rem; }
  .pa2-sb { height: 40px; font-size: 0.9rem; }
}

/* ── Practice Audit Phase 2: Action Plan ─────────────────────── */
.pa2-ap-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.pa2-ap-btn {
  background: linear-gradient(135deg, rgba(232,98,42,0.12) 0%, rgba(168,58,16,0.08) 100%);
  border: 1px solid rgba(232,98,42,0.4);
  border-radius: 100px;
  color: #E8622A;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  width: 100%;
}
.pa2-ap-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(232,98,42,0.22) 0%, rgba(168,58,16,0.14) 100%);
  border-color: #E8622A;
  transform: translateY(-1px);
}
.pa2-ap-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.pa2-ap-result { margin-top: 16px; }
.pa2-ap-loading {
  text-align: center;
  padding: 28px 16px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}
.pa2-ap-error {
  color: #e07c1a;
  font-size: 0.875rem;
  padding: 12px 16px;
  background: rgba(224,124,26,0.1);
  border-radius: 8px;
  border-left: 3px solid #e07c1a;
}
.pa2-ap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
}
.pa2-ap-header {
  background: linear-gradient(135deg, #1E293B 0%, #141825 100%);
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pa2-ap-badge {
  display: inline-block;
  background: linear-gradient(135deg, #D4A017 0%, #B8880D 100%);
  color: #1E293B;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.pa2-ap-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}
.pa2-ap-summary {
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  line-height: 1.65;
  padding: 16px 22px 0;
  margin: 0;
}
.pa2-ap-quickwins {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pa2-ap-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E8622A;
  margin-bottom: 10px;
}
.pa2-ap-qw-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pa2-ap-qw-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.pa2-ap-qw-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
}
.pa2-ap-weeks {
  padding: 16px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pa2-ap-week {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.pa2-ap-week-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pa2-ap-week-num {
  background: linear-gradient(135deg, #E8622A 0%, #A83A10 100%);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.pa2-ap-week-theme {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.pa2-ap-actions {
  list-style: none;
  padding: 12px 16px 4px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pa2-ap-actions li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 0.875rem;
  line-height: 1.5;
}
.pa2-ap-check {
  color: #2e9e5b;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pa2-ap-milestone {
  margin: 8px 16px 12px;
  padding: 9px 13px;
  background: rgba(74,158,255,0.08);
  border-left: 3px solid #4a9eff;
  border-radius: 0 8px 8px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
.pa2-ap-milestone-label {
  font-weight: 700;
  color: #4a9eff;
  margin-right: 4px;
}

/* ── Phase 2: Export Section ─────────────────────────────────── */
.pa2-export-section {
  margin: 32px 0;
}
.pa2-export-inner {
  background: linear-gradient(135deg, #1E293B 0%, #141825 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pa2-export-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4A017 0%, #B8880D 100%);
}
.pa2-export-badge {
  display: inline-block;
  background: linear-gradient(135deg, #D4A017 0%, #B8880D 100%);
  color: #1E293B;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.pa2-export-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px;
}
.pa2-export-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 0 0 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.pa2-export-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.pa2-export-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 18px 24px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  min-width: 180px;
  text-align: center;
}
.pa2-export-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.pa2-export-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.pa2-export-btn-icon { font-size: 1.6rem; }
.pa2-export-btn-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}
.pa2-export-btn-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}
.pa2-export-limit {
  margin-top: 16px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

/* ── Phase 2: Email Modal ─────────────────────────────────────── */
.pa2-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.pa2-modal-box {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 32px 32px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.pa2-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.pa2-modal-close:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.06); }
.pa2-modal-icon { font-size: 2.2rem; margin-bottom: 12px; text-align: center; }
.pa2-modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px;
  text-align: center;
}
.pa2-modal-desc {
  color: rgba(255,255,255,0.58);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 22px;
  text-align: center;
}
.pa2-modal-form { display: flex; flex-direction: column; gap: 14px; }
.pa2-modal-field { display: flex; flex-direction: column; gap: 6px; }
.pa2-modal-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.pa2-modal-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 12px 16px;
  color: #FFFFFF;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.pa2-modal-input:focus { border-color: #E8622A; }
.pa2-modal-input::placeholder { color: rgba(255,255,255,0.3); }
.pa2-modal-checkbox {}
.pa2-modal-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.pa2-modal-check { margin-top: 2px; accent-color: #E8622A; width: 16px; height: 16px; flex-shrink: 0; }
.pa2-modal-msg {
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 500;
}
.pa2-modal-msg-success {
  background: rgba(46,158,91,0.12);
  border: 1px solid rgba(46,158,91,0.3);
  color: #2e9e5b;
}
.pa2-modal-msg-error {
  background: rgba(201,64,64,0.12);
  border: 1px solid rgba(201,64,64,0.3);
  color: #e07c1a;
}
.pa2-modal-submit {
  background: linear-gradient(135deg, #E8622A 0%, #A83A10 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(232,98,42,0.35);
}
.pa2-modal-submit:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); }
.pa2-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.pa2-modal-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 6px;
}
@media (max-width: 480px) {
  .pa2-export-btns { flex-direction: column; align-items: center; }
  .pa2-export-btn { width: 100%; max-width: 280px; }
  .pa2-modal-box { padding: 28px 20px 24px; }
}

/* ==================== FRESHNESS BADGE SYSTEM ==================== */

/* ── Pre-generation badge (near form, subtle) ── */
.freshness-pre-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.freshness-pre-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  white-space: nowrap;
  user-select: none;
}
.freshness-pre-badge--aging {
  background: rgba(234, 179, 8, 0.09);
  color: #a16207;
  border-color: rgba(234, 179, 8, 0.25);
}
.freshness-pre-badge--stale {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.22);
}
.freshness-pre-badge--loading {
  background: rgba(156,163,175,0.08);
  color: #9ca3af;
  border-color: rgba(156,163,175,0.2);
  pointer-events: none;
}
.freshness-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.freshness-pre-badge--fresh .freshness-dot { background: #22c55e; }
.freshness-pre-badge--aging .freshness-dot { background: #eab308; }
.freshness-pre-badge--stale .freshness-dot { background: #ef4444; animation: fb-pulse 1.5s infinite; }
.freshness-pre-badge--loading .freshness-dot { background: #d1d5db; }

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

/* ── Post-generation badge (in results header) ── */
.freshness-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  white-space: nowrap;
  user-select: none;
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.07);
  color: #15803d;
}
.freshness-result-badge--aging {
  border-color: rgba(234, 179, 8, 0.3);
  background: rgba(234, 179, 8, 0.08);
  color: #92400e;
}
.freshness-result-badge--stale {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.07);
  color: #991b1b;
}
.freshness-result-badge .freshness-dot { flex-shrink: 0; }
.freshness-result-badge--fresh .freshness-dot { background: #22c55e; }
.freshness-result-badge--aging .freshness-dot { background: #eab308; }
.freshness-result-badge--stale .freshness-dot { background: #ef4444; animation: fb-pulse 1.5s infinite; }
.freshness-badge-info { font-size: 0.7rem; color: rgba(0,0,0,0.45); font-weight: 500; margin-left: 2px; }
.freshness-expand-btn {
  background: none; border: none; cursor: pointer;
  padding: 0 2px; color: inherit; opacity: 0.6; font-size: 0.8rem;
}

/* ── Expanded popover ── */
.freshness-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid rgba(30,35,50,0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(30,35,50,0.14);
  padding: 14px 16px;
  min-width: 280px;
  max-width: 340px;
}
.freshness-result-badge.open .freshness-popover,
.freshness-pre-badge.open .freshness-popover { display: block; }
.freshness-pop-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.freshness-pop-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(30,35,50,0.06);
  gap: 8px;
}
.freshness-pop-source:last-child { border-bottom: none; padding-bottom: 0; }
.freshness-pop-source-name { font-size: 0.8rem; font-weight: 600; color: var(--text); flex: 1; }
.freshness-pop-source-meta { text-align: right; }
.freshness-pop-conf { font-size: 0.72rem; font-weight: 700; color: #16a34a; }
.freshness-pop-conf--aging { color: #a16207; }
.freshness-pop-conf--stale { color: #b91c1c; }
.freshness-pop-date { font-size: 0.68rem; color: var(--text-secondary); margin-top: 1px; }
.freshness-pop-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(30,35,50,0.07);
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.freshness-pop-footer a { color: var(--coral); font-weight: 600; text-decoration: none; }
.freshness-pop-footer a:hover { text-decoration: underline; }

/* ── Warning banner (aging/stale) ── */
.freshness-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.83rem;
  line-height: 1.5;
  background: rgba(234, 179, 8, 0.09);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #78350f;
}
.freshness-banner--stale {
  background: rgba(239, 68, 68, 0.07);
  border-color: rgba(239, 68, 68, 0.25);
  color: #7f1d1d;
}
.freshness-banner-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.freshness-banner-text { flex: 1; }
.freshness-banner a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ── Source attribution footer ── */
.freshness-sources-footer {
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(30,35,50,0.03);
  border: 1px solid rgba(30,35,50,0.07);
  border-radius: 12px;
}
.freshness-sources-footer-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.freshness-sources-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px 16px;
  margin-bottom: 10px;
}
.freshness-src-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.freshness-src-name { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.freshness-src-meta { font-size: 0.72rem; color: var(--text-secondary); }
.freshness-src-conf { font-size: 0.7rem; font-weight: 700; }
.freshness-src-conf--fresh { color: #16a34a; }
.freshness-src-conf--aging { color: #a16207; }
.freshness-src-conf--stale { color: #b91c1c; }
.freshness-sources-footer-link {
  font-size: 0.75rem;
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}
.freshness-sources-footer-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .freshness-sources-footer-grid { grid-template-columns: 1fr; }
  .freshness-popover { min-width: 240px; left: auto; right: 0; }
}

/* ==================== END FRESHNESS BADGE SYSTEM ==================== */

/* ==================== BLOG ARTICLE STYLES ==================== */
/* Global styles for all blog/guide pages — eliminates need for per-post <style> blocks */

.blog-breadcrumb { background: var(--cream, #f7f8fa); border-bottom: 1px solid var(--border, #e5e7eb); }
.blog-breadcrumb-inner { max-width: 800px; margin: 0 auto; padding: 12px 24px; font-size: 0.85rem; color: var(--text-secondary, #6b7280); }
.blog-breadcrumb a { color: var(--coral, #E8622A); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-breadcrumb-sep { margin: 0 8px; color: #9ca3af; }

.blog-header { background: #fff; border-bottom: 1px solid var(--border, #e5e7eb); padding: 48px 24px 40px; }
.blog-header-inner { max-width: 800px; margin: 0 auto; }
.blog-category-badge { display: inline-block; background: var(--coral-glow, #fff0eb); color: var(--coral, #E8622A); border: 1px solid var(--coral, #E8622A); border-radius: 20px; padding: 4px 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.blog-title { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; color: var(--text, #111827); margin: 0 0 16px; letter-spacing: 0em; }
.blog-subtitle { font-size: 1.125rem; color: var(--text-secondary, #374151); line-height: 1.7; margin: 0 0 20px; }
.blog-meta { display: flex; align-items: center; gap: 0; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-secondary, #6b7280); }
.blog-meta-item { }
.blog-meta-sep { margin: 0 10px; color: #d1d5db; }

.blog-body { padding: 48px 24px 80px; }
.blog-body-inner { max-width: 800px; margin: 0 auto; }

.blog-lead { font-size: 1.125rem; color: var(--text-secondary, #374151); line-height: 1.75; margin-bottom: 1.25rem; }

.blog-toc { background: var(--cream, #f7f8fa); border: 1px solid var(--border, #e5e7eb); border-radius: 10px; padding: 20px 24px; margin: 28px 0 40px; }
.blog-toc-title { font-size: 0.9rem; font-weight: 700; color: var(--text, #111827); margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-toc-list { margin: 0; padding-left: 18px; }
.blog-toc-list li { margin-bottom: 6px; font-size: 0.9rem; }
.blog-toc-list a { color: var(--coral, #E8622A); text-decoration: none; }
.blog-toc-list a:hover { text-decoration: underline; }

.blog-body-inner section { margin-bottom: 48px; }
.blog-body-inner h2 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text, #111827); margin: 0 0 16px; padding-top: 8px; border-top: 2px solid var(--coral, #E8622A); }
.blog-body-inner h3 { font-size: 1.1rem; font-weight: 700; color: var(--text, #111827); margin: 24px 0 10px; }
.blog-body-inner p { color: var(--text-secondary, #374151); line-height: 1.75; margin-bottom: 1rem; }
.blog-body-inner ul, .blog-body-inner ol { color: var(--text-secondary, #374151); line-height: 1.75; margin-bottom: 1rem; padding-left: 22px; }
.blog-body-inner li { margin-bottom: 6px; }
.blog-body-inner a { color: var(--coral, #E8622A); text-decoration: none; font-weight: 500; }
.blog-body-inner a:hover { text-decoration: underline; }

.blog-table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.07); }
.blog-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.blog-table thead { background: var(--coral, #E8622A); color: #fff; }
.blog-table thead th { padding: 10px 14px; font-weight: 600; text-align: left; }
.blog-table tbody tr { border-bottom: 1px solid var(--border, #e5e7eb); }
.blog-table tbody tr:nth-child(even) { background: var(--cream, #f7f8fa); }
.blog-table tbody td { padding: 10px 14px; color: var(--text-secondary, #374151); }

.blog-source { font-size: 0.8rem; color: var(--text-secondary, #6b7280); font-style: italic; }

.blog-faq { display: flex; flex-direction: column; gap: 20px; }
.blog-faq-item { border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 20px 22px; }
.blog-faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--text, #111827); margin: 0 0 8px; border-top: none; padding-top: 0; }
.blog-faq-item p { margin: 0; color: var(--text-secondary, #374151); font-size: 0.95rem; line-height: 1.65; }

.blog-callout { background: var(--cream, #f7f8fa); border-left: 4px solid var(--coral, #E8622A); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; }
.blog-callout strong { display: block; margin-bottom: 8px; color: var(--text, #111827); }
.blog-callout ul { margin: 0; padding-left: 18px; }
.blog-callout ul li { margin-bottom: 4px; font-size: 0.9rem; color: var(--text-secondary, #374151); }

/* Blog Example Boxes */
.cbp-example-box { border: 1px solid var(--border, #e5e7eb); border-radius: 10px; overflow: hidden; margin: 24px 0; }
.cbp-example-label { background: var(--cream, #f7f8fa); border-bottom: 1px solid var(--border, #e5e7eb); padding: 8px 18px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-secondary, #6b7280); }
.cbp-example-body { padding: 18px 20px; }
.cbp-example-body p { margin-bottom: 0.6rem; font-size: 0.92rem; }
.cbp-example-body p:last-child { margin-bottom: 0; }
.cbp-example-body strong { color: var(--text, #111827); }

/* Blog Formula Box */
.cbp-formula-box { background: var(--coral-glow, #fff5f1); border: 1.5px solid var(--coral, #E8622A); border-radius: 8px; padding: 18px 20px; margin: 20px 0; }
.cbp-formula-box p { margin-bottom: 0.5rem; color: var(--text-secondary, #374151); }
.cbp-formula-box p:last-child { margin-bottom: 0; }
.cbp-formula-box strong { color: var(--text, #111827); }

/* Blog CTA Box */
.blog-cta-box { border: 2px solid var(--coral, #E8622A); border-radius: 12px; padding: 28px 28px 24px; background: var(--coral-glow, #fff5f1); margin-top: 24px; }
.blog-cta-box h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text, #111827); margin: 0 0 10px; }
.blog-cta-box p { color: var(--text-secondary, #374151); margin-bottom: 18px; }
.blog-cta-btn { display: inline-block; padding: 12px 28px; background: var(--coral, #E8622A); color: #fff; border-radius: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background 0.2s; }
.blog-cta-btn:hover { background: var(--coral-dark, #cf5522); color: #fff; text-decoration: none; }
.cbp-cta-or { display: inline-block; margin: 0 12px; color: var(--text-secondary, #6b7280); font-size: 0.9rem; }
.blog-cta-btn-secondary { display: inline-block; padding: 11px 24px; background: transparent; color: var(--coral, #E8622A); border: 2px solid var(--coral, #E8622A); border-radius: 8px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.blog-cta-btn-secondary:hover { background: var(--coral, #E8622A); color: #fff; text-decoration: none; }

/* Blog CTA Block (alt style) */
.blog-cta-block { background: var(--cream, #f8f9fa); border: 1px solid var(--border, #e5e7eb); border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; }

/* Blog tool embed */
.blog-tool-embed { margin-top: 20px; }

@media (max-width: 600px) {
  .blog-header { padding: 32px 16px 28px; }
  .blog-body { padding: 32px 16px 60px; }
  .blog-toc { padding: 16px 18px; }
  .cbp-cta-or { display: block; margin: 12px 0 0; text-align: center; }
  .blog-cta-btn-secondary { display: block; margin-top: 8px; text-align: center; }
}

/* ==================== END BLOG ARTICLE STYLES ==================== */

/* ==================== PHASE 2: GENERATOR CTA BANNERS ==================== */

/* Blog CTA Banner — top of blog posts linking to AI generators */
.blog-gen-banner {
  position: relative;
  background: linear-gradient(135deg, #E8622A 0%, #C44D1C 60%, #A83A10 100%);
  border-radius: 12px;
  padding: 18px 48px 18px 20px;
  margin: 0 0 32px;
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.25);
  overflow: hidden;
}
.blog-gen-banner::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.blog-gen-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-gen-banner-text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.blog-gen-banner-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
}
.blog-gen-banner-headline {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  display: block;
}
.blog-gen-banner-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}
.blog-gen-banner-cta {
  display: inline-block;
  background: #FFFFFF;
  color: #C44D1C;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
.blog-gen-banner-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  text-decoration: none;
  color: #A83A10;
}
.blog-gen-banner-dismiss {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.blog-gen-banner-dismiss:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 600px) {
  .blog-gen-banner-content { flex-direction: column; align-items: flex-start; gap: 12px; }
  .blog-gen-banner-headline { font-size: 0.95rem; }
  .blog-gen-banner { padding: 16px 40px 16px 16px; }
}

/* ==================== END PHASE 2: GENERATOR CTA BANNERS ==================== */

/* ==================== BILLING UTILITY STYLES ==================== */
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary, #6B7280);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.btn-ghost-sm:hover { background: #F3F4F6; color: #374151; }
.btn-ghost-xs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: transparent;
  border: none;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary, #6B7280);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.btn-ghost-xs:hover { background: #F3F4F6; color: #374151; }

/* Modal overrides for billing (wider modals) */
.modal.modal-md { max-width: 560px; }
.modal.modal-lg { max-width: 740px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ==================== END BILLING UTILITY STYLES ==================== */

/* ==================== HOMEPAGE PHASE 2 — NEW SECTIONS ==================== */

/* ---- PRODUCT SHOWCASE SECTION (light bg) ---- */

/* ---- PRODUCT SHOWCASE SECTION (light bg) ---- */
.product-showcase-section {
  padding: 5rem 2.5rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-showcase-inner {
  max-width: 1140px;
  margin: 0 auto;
}
/* Unified product cards in showcase */
.product-showcase-section .product-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-showcase-section .product-card:hover {
  box-shadow: 0 8px 30px rgba(30,35,50,0.08);
  border-color: rgba(232,98,42,0.25);
  transform: translateY(-3px);
}
.product-showcase-section .product-card--featured {
  border-color: var(--coral);
  box-shadow: 0 4px 20px rgba(232,98,42,0.12);
  position: relative;
}
.product-showcase-section .product-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral-dark), var(--coral));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.product-card-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--coral);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.product-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.product-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}
.product-showcase-section .product-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.product-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-grow: 1;
}
.product-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #374151;
  line-height: 1.45;
}
.product-card-features .check {
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
}
.product-card-cta {
  margin-top: 1.5rem;
}
.product-card-btn {
  width: 100%;
  text-align: center;
  display: block;
}
.product-card-note {
  margin-top: 10px;
  font-size: 0.75rem;
  color: #6B7280;
  text-align: center;
}

/* ---- PER-PRODUCT HERO SECTIONS (Coach Pulse, Find-a-Coach, Coaching Schools, Certifications, Rates) ---- */
.product-hero-section {
  padding: 5rem 2.5rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  position: relative;
}
.product-hero-section--alt {
  background: #fff;
}
.product-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.product-hero-content { max-width: 540px; }
.product-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(232,98,42,0.08);
  border: 1px solid rgba(232,98,42,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.product-hero-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}
.product-hero-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.product-hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px -22px rgba(27,58,92,0.35);
}
.product-hero-note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: #6b7280;
}
@media (max-width: 768px) {
  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .product-hero-section { padding: 4rem 1.25rem; }
  .product-hero-section h2 { font-size: 1.75rem; }
}

/* ---- RESEARCH CARDS WITH IMAGES (Certifications Hub + Rate Benchmarks on homepage) ---- */
.research-card--img {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.research-card--img .research-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
}
.research-card--img .research-card-label,
.research-card--img h3,
.research-card--img p,
.research-card--img .research-card-arrow {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.research-card--img .research-card-label { margin-top: 1rem; }
.research-card--img h3 { margin-left: 1.5rem; margin-right: 1.5rem; }
.research-card--img .research-card-arrow { padding-bottom: 1.5rem; margin-top: 1rem; }

/* ---- COACH PULSE FEATURED SECTION ---- */
.pulse-feature-section {
  padding: 7rem 2.5rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  position: relative;
}
.pulse-feature-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.pulse-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--coral-glow);
  border: 1px solid rgba(232,98,42,0.22);
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.pulse-feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.pulse-feature-text h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.pulse-feature-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 460px;
}
.pulse-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.pulse-pillars li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.pillar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.pulse-pillars li div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.pulse-pillars li strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.pulse-pillars li span {
  font-size: 0.84rem;
  color: var(--text-secondary);
}
.pulse-trust-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  opacity: 0.75;
}
/* Pulse Score Card (right column) */
.pulse-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-score-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border);
}
.pulse-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.pulse-score-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
.pulse-score-tag {
  background: var(--coral-glow);
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(232,98,42,0.2);
}
.pulse-score-big {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--coral);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}
.pulse-score-big span {
  font-size: 1.4rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.pulse-score-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.pulse-bars {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}
.pulse-bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  align-items: center;
  gap: 0.75rem;
}
.pulse-bar-row > span:first-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.pulse-bar-track {
  height: 6px;
  background: var(--warm-gray);
  border-radius: 100px;
  overflow: hidden;
}
.pulse-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--coral);
  transition: width 0.4s ease;
}
.pulse-bar-score {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: right;
}
.pulse-action-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(232,98,42,0.07);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.4;
}
.pulse-action-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---- RESEARCH / DATA SECTION ---- */
.research-section {
  padding: 7rem 2.5rem 5rem;
  background: linear-gradient(160deg, var(--ink-dark) 0%, var(--ink) 100%);
  position: relative;
  overflow: hidden;
}
.research-section::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,160,23,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.research-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.research-section .section-label {
  color: rgba(240,125,74,0.75);
  margin-bottom: 0.75rem;
}
.research-section .section-title {
  color: white;
  margin-bottom: 1rem;
}
.research-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.56);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 3rem;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.research-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
}
.research-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.research-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(212,160,23,0.85);
}
.research-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}
.research-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  flex: 1;
}
.research-card-arrow {
  font-size: 1rem;
  color: rgba(232,98,42,0.7);
  margin-top: 0.25rem;
  transition: transform 0.2s;
}
.research-card:hover .research-card-arrow {
  transform: translateX(4px);
}

/* Country Guides strip */
.country-guides-strip {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.country-guides-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
}
.country-guides-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.country-guides-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.country-guides-links a:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

/* ---- RESPONSIVE: PHASE 2 NEW SECTIONS ---- */
@media (max-width: 1024px) {
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .pulse-feature-content { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .proof-bar-inner { gap: 0.75rem; }
  .proof-sep { display: none; }
  .proof-item { font-size: 0.75rem; }
  .pulse-feature-section { padding: 4rem 1.5rem; }
  .pulse-score-card { max-width: 100%; }
  .research-section { padding: 4rem 1.5rem 3rem; }
  .research-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .country-guides-links a { font-size: 0.78rem; }
}

/* ==================== PERFORMANCE: BELOW-FOLD OPTIMIZATION ==================== */
/* content-visibility: auto tells the browser to skip rendering off-screen sections */
.pulse-feature-section,
.research-section,
.home-newsletter-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}
/* ==================== END HOMEPAGE PHASE 2 ==================== */

/* ==================== BUNDLE SECTION RESPONSIVE ==================== */
@media (max-width: 768px) {
  .bundle-cta-grid { grid-template-columns: 1fr !important; }
}
