/* ===== SANTA RUN PAGE (base copied from coaching.css) ===== */

/* Grain override (different opacity & SVG from base.css) */
.grain {
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Header overrides (different padding, blur, border) */
.header {
  padding: 20px 48px;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45,27,61,0.08);
}

/* Nav override (different gap) */
.nav {
  gap: 36px;
}

/* Nav dot override (different background, transition) */
.nav a::after {
  background: var(--hot-pink);
  transition: transform 0.3s;
}

/* Header CTA overrides */
.header-cta {
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.4s;
}

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

/* ===== LOGO WAVE (not in shared) ===== */
.logo-wave {
  width: 52px;
  height: 52px;
  background: var(--gradient-cta);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
  box-shadow: 0 4px 20px rgba(45,27,61,0.3);
}

.logo-wave span {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  color: white;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.2;
}

.logo-text em {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hot-pink);
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 48px 64px;
  background: linear-gradient(135deg, var(--lavender-mist), var(--cream));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
}

.page-hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-hero-text h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 24px;
  line-height: 1.1;
}

.page-hero-text h1 .highlight {
  color: var(--hot-pink);
  font-style: italic;
}

.page-hero-text p {
  font-size: 18px;
  color: var(--plum-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.btn-primary {
  background: var(--gradient-cta);
  color: white;
  padding: 20px 44px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  transition: all 0.4s;
  display: inline-block;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(168,85,247,0.35);
}

.page-hero-image {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lifted);
  transform: rotate(2deg);
}

.page-hero-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center 20%;
}

/* Section header/eyebrow overrides */
.section-header {
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--hot-pink);
  letter-spacing: 2px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  width: 30px;
  background: linear-gradient(90deg, var(--hot-pink), var(--purple-warm));
}

.section-title {
  font-size: 44px;
  font-weight: 500;
}

.benefits-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.benefit-card {
  background: var(--cream);
  padding: 40px;
  border-radius: 28px;
  display: flex;
  gap: 24px;
  transition: all 0.4s;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--purple-tint), var(--cyan-tint));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.benefit-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 10px;
}

.benefit-content p {
  color: var(--plum-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== PROCESS ===== */
.process {
  padding: 72px 48px;
  background: linear-gradient(145deg, var(--plum-dark), var(--plum-darker), var(--plum-dark));
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(168,85,247,0.1) 0%, transparent 40%);
}

.process .section-header {
  position: relative;
  z-index: 2;
}

.process .section-eyebrow {
  color: var(--purple-warm);
}

.process .section-eyebrow::before,
.process .section-eyebrow::after {
  background: linear-gradient(90deg, var(--purple-warm), var(--cyan-deep));
}

.process .section-title {
  color: white;
}

/* ===== CTA ===== */
.cta {
  padding: 72px 48px;
  background: var(--gradient-cta);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 500;
  color: white;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

.cta .btn-primary {
  background: white;
  color: var(--plum);
  box-shadow: 0 4px 25px rgba(45,27,61,0.2);
}

.cta .btn-primary:hover {
  box-shadow: 0 8px 35px rgba(45,27,61,0.3);
}


/* ===== FOOTER OVERRIDES ===== */
.footer {
  padding: 60px 48px 30px;
}

.footer-copyright {
  font-size: 14px;
}

.footer-powered {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .page-hero-content, .benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .header { padding: 16px 24px; }
  .nav { display: none; }
  .page-hero, .process, .cta { padding: 56px 20px; }
}

/* ===== FAQ ===== */
.faq {
  padding: 72px 48px;
  background: var(--cream);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 20px;
  padding: 4px 32px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s;
}

.faq-item[open] {
  box-shadow: 0 8px 32px rgba(45, 27, 61, 0.1);
}

.faq-item summary {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--plum);
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: 'DM Sans', sans-serif;
  color: var(--hot-pink);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--plum-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  padding: 0 0 28px;
}

@media (max-width: 768px) {
  .faq {
    padding: 56px 20px;
  }
  .faq-item {
    padding: 4px 24px;
  }
  .faq-item summary {
    font-size: 18px;
  }
}

/* ===== SANTA RUN ADDITIONS (v2: compact, conversion-first) ===== */
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--purple-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}

.page-hero-eyebrow i { color: var(--hot-pink); }

.page-hero-text h1 { margin-bottom: 16px; }
.page-hero-text p { margin-bottom: 20px; font-size: 17px; line-height: 1.7; }

.page-hero-text .page-hero-lede {
  font-size: 20px;
  color: var(--plum-soft);
  margin-bottom: 12px;
}

.page-hero-content { gap: 64px; align-items: start; }
.page-hero-image img { height: 520px; }

.modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 10px;
}

.modes li {
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  font-weight: 700;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 8px;
}

.countdown {
  font-size: 14px;
  font-weight: 600;
  color: var(--plum-soft);
}

.countdown strong { color: var(--hot-pink); font-size: 18px; }

.text-link {
  color: var(--purple-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* At-a-glance strip */
.glance {
  max-width: 1100px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
  position: relative;
  z-index: 2;
  list-style: none;
}

.glance li {
  padding: 20px 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-left: 1px solid rgba(45,27,61,0.08);
}

.glance li:first-child { border-left: 0; }
.glance i { color: var(--hot-pink); font-size: 18px; margin-top: 4px; }
.glance strong { display: block; font-size: 16px; color: var(--plum); line-height: 1.3; }
.glance span { font-size: 13px; color: var(--plum-muted); line-height: 1.4; }

/* Race-day band: copy + photo */
.race-day {
  padding: 72px 48px;
  background: white;
}

.race-day-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.race-day h2,
.story h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--plum);
  margin-bottom: 16px;
}

.race-day p,
.story p {
  font-size: 17px;
  color: var(--plum-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.bonus {
  background: var(--peach-glow);
  border-left: 4px solid var(--hot-pink);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--plum-soft);
}

.race-day-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lifted);
  display: block;
}

/* What you get (dark band) */
.includes-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.includes-intro p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.includes-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  position: relative;
  z-index: 2;
}

.includes-grid li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px 20px;
  color: white;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.includes-grid i { color: var(--lavender-light); font-size: 18px; margin-top: 2px; }

/* 10-week timeline */
.timeline {
  padding: 72px 48px;
  background: var(--lavender-mist);
}

.timeline-track {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--purple-warm), var(--hot-pink));
}

.timeline-track li { position: relative; text-align: center; }

.timeline-dot {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--purple-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-deep);
  font-size: 18px;
  position: relative;
}

.timeline-track li.finish .timeline-dot {
  background: var(--gradient-cta);
  border-color: white;
  color: white;
  box-shadow: var(--shadow-purple);
}

.timeline-weeks {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hot-pink);
}

.timeline-track h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--plum);
  margin: 4px 0 6px;
}

.timeline-track p { font-size: 14px; color: var(--plum-muted); line-height: 1.55; }

/* Testimonials */
.proof {
  padding: 72px 48px;
  background: white;
}

.proof-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proof-card blockquote {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--plum);
  flex: 1;
}

.proof-author { display: flex; gap: 12px; align-items: center; }
.proof-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.proof-author strong { display: block; font-size: 15px; color: var(--plum); }
.proof-author span { font-size: 13px; color: var(--plum-muted); }

.credential {
  max-width: 1100px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--plum-soft);
}

.credential i { color: var(--hot-pink); margin-right: 6px; }

/* Story + gallery */
.story {
  padding: 72px 48px;
  background: var(--cream);
}

.story-content { max-width: 760px; margin: 0 auto 40px; }

.story .pull {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--plum);
  line-height: 1.5;
}

.gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  display: block;
}

/* Payment plan picker */
.pricing {
  padding: 72px 48px;
  background: white;
}

.plan-picker {
  max-width: 560px;
  margin: 0 auto;
  border: 0;
  background: var(--cream);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-medium);
}

.plan-picker legend {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--plum);
  padding: 0 0 12px;
  float: left;
  width: 100%;
}

.plan {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 4px 14px;
  align-items: center;
  background: white;
  border: 2px solid rgba(45,27,61,0.08);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan:has(input:checked) {
  border-color: var(--purple-warm);
  box-shadow: var(--shadow-purple);
}

.plan input {
  width: 20px;
  height: 20px;
  accent-color: var(--purple-deep);
  grid-row: span 2;
}

.plan-name { font-weight: 700; color: var(--plum); font-size: 16px; }
.plan-name em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  background: var(--gradient-cta);
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
  display: inline-block;
}

.plan-price {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--purple-deep);
  grid-row: span 2;
  text-align: right;
}

.plan-when { font-size: 13px; color: var(--plum-muted); }

.plan-detail {
  font-size: 15px;
  color: var(--plum-muted);
  line-height: 1.7;
  padding: 4px 6px 16px;
}

/* Without :has() every plan's text stays visible, so no caveat is ever hidden. */
@supports selector(:has(*)) {
  .plan-detail { display: none; }
  .plan-picker:has(#plan-full:checked) .plan-detail-full,
  .plan-picker:has(#plan-two:checked) .plan-detail-two,
  .plan-picker:has(#plan-three:checked) .plan-detail-three { display: block; }
}

.plan-picker .btn-primary { display: block; text-align: center; }


.cta { padding: 72px 48px; }
.cta a.text-link { color: white; }
.faq { padding: 72px 48px; }

/* Sticky mobile signup bar */
.sticky-cta { display: none; }

@media (max-width: 1024px) {
  .race-day-content,
  .includes-grid,
  .proof-grid { grid-template-columns: 1fr; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .glance li:nth-child(odd) { border-left: 0; }
  .glance li { border-top: 1px solid rgba(45,27,61,0.08); }
  .glance li:first-child, .glance li:nth-child(2) { border-top: 0; }
  .glance li:last-child:nth-child(odd) { grid-column: span 2; border-left: 0; }
  .timeline-track { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .timeline-track::before { top: 24px; bottom: 24px; left: 22px; right: auto; width: 4px; height: auto; }
  .timeline-track li { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; text-align: left; padding-bottom: 20px; }
  .timeline-dot { margin: 0; grid-row: span 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .page-hero-image img { height: 420px; }
}

@media (max-width: 768px) {
  .race-day, .timeline, .proof, .story, .pricing, .cta, .faq { padding: 56px 20px; }
  .page-hero { padding: 112px 20px 48px; }
  .page-hero-content { gap: 32px; }
  .page-hero-image { transform: none; width: 100%; max-width: none; }
  .page-hero-image img { height: 300px; }
  .section-title { font-size: 32px; }
  .cta h2 { font-size: 32px; }
  .glance { margin-top: 32px; }
  .glance li { padding: 16px; }
  .race-day-image img { height: 240px; }
  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 -20px;
    padding: 0 20px 8px;
  }
  .gallery img { flex: 0 0 72%; height: 260px; scroll-snap-align: start; }
  .plan-picker { padding: 16px; }
  .plan { padding: 14px; }
  .plan-price { font-size: 22px; }

  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 -6px 24px rgba(45,27,61,0.12);
  }
  .sticky-cta-text { font-size: 13px; line-height: 1.35; color: var(--plum-soft); }
  .sticky-cta-text strong { display: block; font-size: 16px; color: var(--plum); }
  .sticky-cta .btn-primary { padding: 14px 22px; font-size: 14px; white-space: nowrap; }
  .sticky-cta { transition: transform 0.25s, visibility 0s; }
  .sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform 0.25s, visibility 0s 0.25s; }
  .plan-name em { margin: 4px 0 0; display: table; }
  body { padding-bottom: 84px; }
}

@media (max-width: 480px) {
  .page-hero-eyebrow { border-radius: 20px; font-size: 12px; letter-spacing: 0.5px; padding: 8px 16px; }
  .glance li { padding: 14px 12px; gap: 8px; }
  .glance i { font-size: 15px; }
  .glance strong { font-size: 14px; }
}
