/*
 * THE ONE PATTERN — index.html Page Styles
 * VSL Sales Page — the main conversion page
 * Requires: variables.css, components.css
 */

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.index-hero {
  position: relative;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  text-align: center;
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────
   PRE-HEADLINE
───────────────────────────────────────────────────────────── */
.index-pre-headline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-8);
  display: block;
  font-style: normal;
}

/* ─────────────────────────────────────────────────────────────
   HERO HEADLINE — multi-line typographic composition
   Each visual line is a separate block inside the h1
───────────────────────────────────────────────────────────── */
.index-headline {
  font-family: var(--font-display);
  line-height: 1.15;
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Line 1: "THE" + "ONE PATTERN" */
.index-headline__line-1 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: center;
}

.index-headline__the {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.index-headline__title {
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: var(--tracking-tight);
}

/* Line 2: "Behind Every" */
.index-headline__bridge {
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* Lines 3–5: gold statements */
.index-headline__gold {
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: var(--tracking-tight);
  font-style: italic;
}

/* Lines 4–5: mixed "Every" + gold word */
.index-headline__mixed {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
}

.index-headline__plain {
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 300;
  color: var(--text-secondary);
}

/* Line 6: "That Works and Compounds" */
.index-headline__close {
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────────────────────
   CREDIBILITY MICRO-LINE
───────────────────────────────────────────────────────────── */
.index-credibility {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: var(--space-5);
  margin-bottom: var(--space-10);
  opacity: 0.85;
}

/* ─────────────────────────────────────────────────────────────
   FIVE CHANNELS LIST
───────────────────────────────────────────────────────────── */
.channel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin: var(--space-8) 0;
  text-align: left;
}

.channel-item {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-5);
  border-left: 3px solid var(--gold-dim);
}

.channel-item__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: var(--tracking-wide);
  margin-right: var(--space-2);
}

.channel-item__dash {
  color: var(--gold-dim);
  margin-right: var(--space-2);
}

/* ─────────────────────────────────────────────────────────────
   WHAT'S INSIDE — feature items with ✦ gem
───────────────────────────────────────────────────────────── */
.inside-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin: var(--space-6) 0;
  text-align: left;
}

.inside-item {
  display: flex;
  gap: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.inside-item__gem {
  flex-shrink: 0;
  color: var(--gold-primary);
  font-size: 14px;
  margin-top: 3px;
  font-family: var(--font-mono);
}

.inside-item__title {
  color: var(--text-primary);
  font-weight: bold;
}

.inside-subheading {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}

/* ─────────────────────────────────────────────────────────────
   INCLUDES LIST — em-dash prefix, final offer
───────────────────────────────────────────────────────────── */
.includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-6) 0;
  text-align: left;
}

.includes-list li {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  padding-left: var(--space-6);
  position: relative;
}

.includes-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
  font-family: var(--font-mono);
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEADINGS — scoped to index page body sections
───────────────────────────────────────────────────────────── */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl-mobile), 5vw, var(--text-xl));
  font-weight: 400;
  color: var(--text-primary);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-8);
  text-align: center;
}

.section-heading--gold {
  color: var(--gold-light);
}

/* Subsection heading — "This is for you if:" */
.sub-section-heading {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-6);
}

/* ─────────────────────────────────────────────────────────────
   BODY COPY BLOCK — centered, generous line-height
───────────────────────────────────────────────────────────── */
.copy-block {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  letter-spacing: 0.01em;
  max-width: var(--max-width-content);
  margin-left: auto;
  margin-right: auto;
}

.copy-block p + p {
  margin-top: var(--space-6);
}

.copy-block strong {
  color: var(--text-primary);
}

/* Bold key line — "Because your life isn't a collection..." */
.key-line {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: bold;
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin: var(--space-8) auto;
  max-width: var(--max-width-content);
}

/* ─────────────────────────────────────────────────────────────
   PRICE DISPLAY — final offer section
───────────────────────────────────────────────────────────── */
.index-price {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 80px);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  text-align: center;
  display: block;
  margin: var(--space-5) 0 var(--space-3);
}

.index-price-context {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-dim);
  text-align: center;
  margin-bottom: var(--space-8);
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.page-index .site-footer {
  padding: var(--space-12) var(--section-padding-x);
}


/* ─────────────────────────────────────────────────────────────
   BOOK PREVIEW — inline chapter preview block
   Three-part sequence: dark intro → cream chapter → dark price reveal
───────────────────────────────────────────────────────────── */

/* 1. Dark intro block */
.index-book-intro {
  text-align: center;
  padding-bottom: 0;
}

.index-book-intro__headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  line-height: var(--leading-snug);
  max-width: 560px;
  margin: 0 auto var(--space-5);
}

.index-book-intro__sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-8);
}

/* 2. Transition band: dark → cream */
.index-book-transition {
  height: 100px;
  background: linear-gradient(
    to bottom,
    var(--bg-primary) 0%,
    #2A2820 45%,
    #C4BDA8 80%,
    #F0EDE0 100%
  );
  pointer-events: none;
}

/* 3. Cream chapter section — full-width, reads like a printed book */
.index-book-chapter {
  background: #F0EDE0;
  padding: 0;
  position: relative;
}

.index-book-chapter__inner {
  max-width: 660px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-12) 160px; /* extra bottom for fade */
}

.index-book-chapter__label {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(26, 26, 14, 0.45);
  display: block;
  margin-bottom: var(--space-6);
}

.index-book-chapter__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: normal;
  color: #1A1A0E;
  line-height: 1.25;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(26, 26, 14, 0.14);
}

.index-book-chapter__body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 400;       /* protect from global weight: 500 */
  color: #1A1A0E;
  line-height: 2;
  letter-spacing: normal; /* protect from global letter-spacing */
}

.index-book-chapter__body p {
  margin-bottom: 1.6em;
}

/* Fade-out: full-width gradient dissolves into dark section below */
.index-book-chapter__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(240, 237, 224, 0.55) 35%,
    #F0EDE0 62%,
    #7A7060 84%,
    var(--bg-primary) 100%
  );
  pointer-events: none;
}

/* 4. Price reveal — dark, immediately after cream */
.index-price-reveal {
  background: var(--bg-primary);
  padding: var(--space-16) var(--section-padding-x) var(--space-12);
  text-align: center;
}

.index-price-reveal__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: normal;
  color: var(--gold-light);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
  text-align: center;
  display: block;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.index-price-reveal__amount {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 108px);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-4);
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.25);
}

.index-price-reveal__context {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

/* Price reveal includes list */
.price-includes {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-6) auto;
  max-width: 460px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  padding: var(--space-6) var(--space-7);
}

.price-includes__item {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
}

.price-includes__gem {
  color: var(--gold-primary);
  flex-shrink: 0;
  font-size: 0.65rem;
  line-height: 1.8;
}

.price-includes__name {
  flex: 1;
}

.price-includes__item--sub {
  padding-left: var(--space-5);
  opacity: 0.75;
  font-size: 13px;
}

.price-includes__spec {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.price-includes__bump {
  margin: 0 auto var(--space-8) auto;
  max-width: 460px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.price-includes__bump strong {
  color: var(--gold-dim);
  font-weight: normal;
}

/* ─────────────────────────────────────────────────────────────
   TESTIMONIALS TICKER
   Full-width infinite scroll — no container constraint
   Sits between What's Inside and Who Is This For
───────────────────────────────────────────────────────────── */
.ticker-section {
  overflow: hidden;
  border-top: 1px solid #C9A84C;
  border-bottom: 1px solid #C9A84C;
  padding: 20px 0;
  background: #F0EDE0;
  user-select: none;
}

.ticker-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  animation: ticker-scroll 90s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-right: 40px;
  min-width: 340px;
  max-width: 340px;
}

.ticker-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #C9A84C;
  overflow: hidden;
  background: #E8D9A8; /* warm fallback when image is absent */
}

.ticker-avatar img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  display: block;
}

.ticker-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.ticker-quote {
  font-family: var(--font-body);
  font-size: 14px;
  color: #1a1a18;
  line-height: 1.7;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 8px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.ticker-author {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #8B6914;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ticker-sep {
  width: 1px;
  height: 40px;
  background: rgba(201, 168, 76, 0.35);
  flex-shrink: 0;
  margin: 0 var(--space-4);
}


/* ─────────────────────────────────────────────────────────────
   CLOSING PULL-QUOTE
   Cormorant 600, non-italic, gold — each sentence its own line
───────────────────────────────────────────────────────────── */
.pull-quote--closing {
  font-style: normal;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.75;
  letter-spacing: -0.01em;
}

@media (max-width: 767px) {
  .pull-quote--closing {
    font-size: clamp(22px, 6.5vw, 28px);
  }
}


/* ─────────────────────────────────────────────────────────────
   TRUST BADGE — ICF credential, subtle authority signal
───────────────────────────────────────────────────────────── */
.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0.85;
  margin: var(--space-10) auto var(--space-6) auto;
  max-width: 560px;
  text-align: left;
}

.icf-logo {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  display: inline-block;
}

.trust-badge span {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gold-light);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .trust-badge {
    flex-direction: column;
    text-align: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   3 PRINTABLE TOOLS — expanded list inside What's Inside
───────────────────────────────────────────────────────────── */
.tools-block {
  width: 100%;
}

.tools-block__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-normal);
}

.tools-list {
  display: flex;
  flex-direction: column;
}

.tools-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: 1.6em;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.tools-list__item:last-child {
  margin-bottom: 0;
}

.tools-gem {
  flex-shrink: 0;
  color: var(--gold-primary);
  font-size: 11px;
  margin-top: 4px;
}

.tools-name {
  color: var(--gold-light);
  font-weight: bold;
}


@media (max-width: 767px) {
  .index-book-chapter__inner {
    padding: var(--space-10) var(--space-6) 140px;
  }

  .index-book-chapter__body {
    font-size: 16px;
  }

  .index-book-transition {
    height: 70px;
  }

  .index-price-reveal__amount {
    font-size: clamp(64px, 18vw, 96px);
  }
}

/* ─────────────────────────────────────────────────────────────
   LIGHT THEME OVERRIDES — index.html specific
───────────────────────────────────────────────────────────────── */

/* Book chapter: white card so it stands out on the light cream page */
[data-theme="light"] .index-book-chapter {
  background: #FFFFFF;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(139, 105, 20, 0.15);
}

/* Gradient transition above the cream chapter */
[data-theme="light"] .index-book-transition {
  background: linear-gradient(to bottom, var(--bg-primary) 0%, #FFFFFF 100%);
}

/* Fade overlay at bottom of chapter */
[data-theme="light"] .index-book-chapter__fade {
  background: linear-gradient(to bottom, transparent 0%, #FFFFFF 100%);
}
