/* ============================================================
   Better With Every Loop — styles.css
   Brand: #33D9EC cyan | #1A7A80 deep-teal | #F0FAFB bg | #0D2137 navy
   Cover theme: deep teal background + bright cyan accent
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Cover-matched palette */
  --teal:       #0BBFCF;   /* primary teal (buttons, borders, accents) */
  --teal-dark:  #0A9DB3;
  --teal-light: #D0F5FA;
  --teal-deep:  #1A7A80;   /* cover background deep teal */
  --teal-deeper:#135F65;   /* darker shade for gradients */
  --teal-bright:#33D9EC;   /* electric cyan – "EVERY LOOP" colour on cover */
  --navy:       #0D2137;   /* kept for high-contrast dark sections */
  --navy-mid:   #1B3A55;
  --white:      #FFFFFF;
  --bg:         #F0FAFB;   /* very light teal tint for body sections */
  --text:       #0D2137;
  --text-muted: #4A5568;
  --border:     #C8EEF3;
  --shadow:     0 4px 24px rgba(11,191,207,0.12);
  --shadow-lg:  0 12px 48px rgba(26,122,128,0.18);
  --radius:     12px;
  --radius-lg:  20px;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --max-w:      1200px;
  --transition: 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* ---- Layout Utilities ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,197,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo span { color: var(--teal); }
.nav__logo-icon {
  width: 34px;
  height: 34px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__links a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.nav__links a:hover { color: var(--teal); background: var(--teal-light); }
.nav__links a.active { color: var(--teal); font-weight: 600; }
.nav__cta { margin-left: 0.5rem; }
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 6px;
  transition: background var(--transition);
}
.nav__burger:hover { background: var(--bg); }
.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  transition: all var(--transition);
}
.nav__mobile a:hover { color: var(--teal); background: var(--bg); }
.nav__mobile .btn { margin-top: 0.5rem; justify-content: center; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal-deep) 55%, #1E8C93 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
/* Blueprint grid pattern matching the cover */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 72% 50%, rgba(51,217,236,0.18) 0%, transparent 65%),
    radial-gradient(circle at 12% 80%, rgba(51,217,236,0.10) 0%, transparent 45%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,165,197,0.2);
  border: 1px solid rgba(14,165,197,0.4);
  color: #7DD9ED;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--teal-bright); }
.hero__sub { font-size: 1.15rem; color: rgba(255,255,255,0.75); margin-bottom: 2.25rem; max-width: 520px; }
.hero__img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__img-wrap::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(14,165,197,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.hero__img {
  max-height: 440px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
  position: relative;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}

/* decorative loop/spiral icons (replace old gears) */
.gear-deco {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
  color: var(--teal-bright);
  font-style: normal;
  line-height: 1;
}
.gear-deco--1 { top: 8%;  left: 4%;  font-size: 7rem; animation: spin-slow 22s linear infinite; }
.gear-deco--2 { bottom: 12%; right: 3%; font-size: 5rem; animation: spin-slow 16s linear infinite reverse; }
.gear-deco--3 { top: 52%; left: 42%; font-size: 3.5rem; animation: spin-slow 13s linear infinite; }

/* ---- Pre-launch Banner ---- */
.prelaunch-banner {
  background: var(--teal-bright);
  color: var(--teal-deeper);
  text-align: center;
  padding: 0.6rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1001;
}
.prelaunch-banner a {
  color: var(--teal-deeper);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prelaunch-banner a:hover { opacity: 0.8; }
/* Hidden by default — main.js enables in pre-launch mode */
.prelaunch-banner { display: none; }
.site--prelaunch .prelaunch-banner { display: block; }

/* In launch mode, show buy buttons; hide pre-launch-only elements */
.launch-only  { display: none; }
.prelaunch-only { display: inline-flex; }
.site--launch .launch-only    { display: inline-flex; }
.site--launch .prelaunch-only { display: none; }
.site--prelaunch .launch-only    { display: none; }
.site--prelaunch .prelaunch-only { display: inline-flex; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.card__icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.card p  { font-size: 0.92rem; line-height: 1.6; }

/* ---- Testimonials ---- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--teal);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial__text { font-style: italic; color: var(--text); margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial__name { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.testimonial__role { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Email Capture ---- */
.email-capture {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.email-capture::before {
  content: '⚙';
  position: absolute;
  font-size: 12rem;
  opacity: 0.05;
  right: -2rem;
  top: -2rem;
  animation: spin-slow 30s linear infinite;
}
.email-capture h2, .email-capture h3 { color: var(--white); }
.email-capture p { color: rgba(255,255,255,0.85); }
.email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin: 1.75rem auto 0;
  flex-wrap: wrap;
}
.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  transition: border-color var(--transition);
}
.email-form input::placeholder { color: rgba(255,255,255,0.6); }
.email-form input:focus { outline: none; border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.2); }

/* ---- Stats Bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: none; }
.stat__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat__label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---- Section Headers ---- */
.section-header { margin-bottom: 3rem; }
.section-header.text-center { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ---- Blog Cards ---- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.blog-card__header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.blog-card__icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(14,165,197,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.blog-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(14,165,197,0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; line-height: 1.35; }
.blog-card__excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }
.blog-card__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: 0.65rem; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,165,197,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Talking Points / Feature List ---- */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ---- Talk Cards ---- */
.talk-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.talk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.talk-card__top {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 2rem;
  text-align: center;
}
.talk-card__emoji { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }
.talk-card__type {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.talk-card__top h3 { color: var(--white); font-size: 1.2rem; }
.talk-card__body { padding: 1.75rem; }
.talk-card__body p { font-size: 0.9rem; margin-bottom: 1rem; }

/* ---- Coming Soon Card ---- */
.coming-soon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.coming-soon__badge {
  display: inline-block;
  background: rgba(14,165,197,0.2);
  border: 1px solid rgba(14,165,197,0.4);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.coming-soon h3 { color: var(--white); margin-bottom: 0.75rem; }
.coming-soon p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }

/* ---- Resource Card ---- */
.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 2px solid var(--teal);
  box-shadow: var(--shadow);
}
.resource-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

/* ---- Author Bio ---- */
.author-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid var(--teal);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(14,165,197,0.25);
}

/* ---- Social Links ---- */
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand { }
.footer__logo {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.footer__tagline { font-size: 0.88rem; line-height: 1.65; margin-bottom: 1.25rem; max-width: 260px; }
.footer__col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer__col a:hover { color: var(--teal); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer__bottom .social-links .social-link {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}
.footer__bottom .social-link:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ---- Page Hero (non-home) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal-deep) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Blueprint grid on inner page heroes too */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(51,217,236,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 580px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .section-label { position: relative; z-index: 1; }

/* ---- Format Badges ---- */
.format-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.format-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.format-badge.active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.format-badge.soon { opacity: 0.6; }

/* ---- Price Tag ---- */
.price-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.price-tag__label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.price-tag__amount { font-size: 2.5rem; font-weight: 900; color: var(--navy); line-height: 1; }
.price-tag__note { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Chapter Preview ---- */
.chapter-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.chapter-item:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.chapter-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--teal);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}
.chapter-item h4 { color: var(--navy); margin-bottom: 0.35rem; }
.chapter-item p { font-size: 0.88rem; }

/* ---- Ideal-For Pills ---- */
.ideal-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ideal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
}

/* ---- Scroll animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider--center { margin: 1rem auto 1.5rem; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .section { padding: 3.5rem 0; }
  .grid-2, .hero__grid { grid-template-columns: 1fr; }
  .hero__img-wrap { order: -1; }
  .hero__img { max-height: 280px; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .email-capture { padding: 2.25rem 1.5rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); border-radius: 0; }
  .hero { padding: 4rem 0 3rem; }
  .page-hero { padding: 3.5rem 0 2.5rem; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: none; }
}
