/* =============================================
   FIRESIDE — Below-the-fold styles
   Extracted from inline <style> in index.html to
   unblock first paint of the hero/LCP element.
   Loaded async via rel="preload" + onload swap.
   ============================================= */

/* =============================================
   THE THREAT — darkness speaks
   ============================================= */

.threat {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 20px 110px;
}

.threat-line {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.24;
  margin-bottom: 16px;
}

.threat-line.threat-small {
  font-family: var(--font-system);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 430px;
  margin: 22px 0 0;
}

.threat-quotes {
  display: grid;
  gap: 14px;
}

.threat-quote-card {
  position: relative;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(250, 243, 232, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.threat-quote-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  border-radius: 12px 0 0 12px;
  background: rgba(var(--color-primary-rgb), 0.42);
}

.threat-quote-card blockquote {
  margin: 0;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(250, 243, 232, 0.72);
}

.threat-quote-card figcaption {
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(var(--color-primary-rgb), 0.62);
}

.threat-quote-card.quote-primary {
  background:
    radial-gradient(
      ellipse 90% 130% at 100% 100%,
      rgba(var(--color-primary-rgb), 0.075),
      transparent 70%
    ),
    rgba(255, 255, 255, 0.035);
}

/* =============================================
   THE SHIELD — value props, light begins
   ============================================= */

.chapter-divider {
  position: relative;
  z-index: var(--z-content);
  width: min(760px, calc(100% - 64px));
  height: 2px;
  margin: -18px auto 92px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(var(--color-primary-rgb), 0.68),
    transparent
  );
}

.chapter-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(var(--color-primary-rgb), 0.85);
  box-shadow: 0 0 24px rgba(var(--color-primary-rgb), 0.5);
}

/* =============================================
   PRODUCT MECHANISM - what Fireside does
   ============================================= */

.mechanism {
  position: relative;
  z-index: var(--z-content);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 96px;
  text-align: center;
}

.mechanism h2 {
  max-width: 720px;
  margin: 0 auto 10px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.25;
  font-weight: 700;
  color: rgba(250, 243, 232, 0.88);
}

.mechanism-subtitle {
  max-width: 560px;
  margin: 0 auto 34px;
  color: rgba(250, 243, 232, 0.48);
  font-size: 1rem;
  line-height: 1.65;
}

.transform-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.transform-column {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
  justify-content: center;
  min-height: 170px;
}

.transform-label {
  flex-basis: 100%;
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--color-primary-rgb), 0.62);
}

.source-chip,
.output-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(250, 243, 232, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(250, 243, 232, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
}

.output-chip {
  border-color: rgba(var(--color-primary-rgb), 0.2);
  color: rgba(250, 243, 232, 0.74);
}

.transform-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
  background:
    radial-gradient(circle, rgba(var(--color-primary-rgb), 0.18), transparent 64%),
    rgba(255, 255, 255, 0.018);
  box-shadow: 0 0 60px rgba(var(--color-primary-rgb), 0.1);
}

.transform-core::before,
.transform-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 86px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(var(--color-primary-rgb), 0.58)
  );
}

.transform-core::before {
  right: 100%;
}

.transform-core::after {
  left: 100%;
}

.transform-column:first-child + .transform-core::before {
  background: linear-gradient(
    to right,
    transparent,
    rgba(var(--color-primary-rgb), 0.58)
  );
}

.transform-core::after {
  background: linear-gradient(
    to right,
    rgba(var(--color-primary-rgb), 0.58),
    transparent
  );
}

.transform-core::before {
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
}

.transform-core::after {
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
}

.transform-flame {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  fill: rgba(248, 194, 72, 0.92);
  filter: drop-shadow(0 0 18px rgba(var(--color-primary-rgb), 0.38));
}

.transform-core strong,
.transform-core span {
  position: relative;
  z-index: 1;
}

.transform-core strong {
  margin-top: -8px;
  font-family: var(--font-display);
  color: rgba(250, 243, 232, 0.9);
}

.transform-core span {
  font-size: 0.78rem;
  color: rgba(250, 243, 232, 0.45);
}

.shield {
  position: relative;
  z-index: var(--z-content);
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px 100px;
}

.shield h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-fire-gold);
  text-align: center;
  margin-bottom: 50px;
}

.shield-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Shield card flip container */
.shield-card-flip {
  perspective: 800px;
  cursor: pointer;
}

.shield-card-inner {
  position: relative;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.shield-card-flip.flipped .shield-card-inner {
  transform: rotateY(180deg);
}

.shield-card,
.shield-card-back {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 36px 28px;
  height: 100%;
  color: var(--color-fire-cream);
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
  backface-visibility: hidden;
}

.shield-card-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(245, 230, 200, 0.85);
}

.shield-card-flip:hover .shield-card,
.shield-card-flip:hover .shield-card-back {
  border-color: rgba(var(--color-fire-rgb), 0.6);
  background: rgba(var(--color-fire-rgb), 0.12);
  box-shadow:
    0 0 40px rgba(var(--color-fire-rgb), 0.2),
    0 0 80px rgba(var(--color-fire-rgb), 0.08),
    inset 0 0 40px rgba(var(--color-fire-rgb), 0.06);
}

.shield-card-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--color-fire-gold);
  opacity: 0.8;
}

.shield-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-fire-gold-bright);
}

.shield-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

/* =============================================
   HOW IT WORKS — the engine, not the tool
   ============================================= */

.engine {
  position: relative;
  z-index: var(--z-content);
  max-width: 960px;
  margin: 0 auto;
  padding: 100px 20px 120px;
}

.engine::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--color-primary-rgb), 0.05) 0%,
    rgba(var(--color-primary-rgb), 0.02) 35%,
    transparent 60%
  );
  pointer-events: none;
  z-index: var(--z-glow);
}

.engine-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 100px;
}

.engine-header-text {
  text-align: right;
}

.engine-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-fire-gold);
  margin-bottom: 16px;
}

.engine-header .engine-premise {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin-left: auto;
  line-height: 1.7;
}

/* Abstract engine illustration */
.engine-illustration {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.engine-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Vertical flow with connecting line --- */

.engine-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* The connecting thread between phases */
.engine-flow::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(var(--color-primary-rgb), 0.3) 15%,
    rgba(var(--color-primary-rgb), 0.15) 50%,
    rgba(var(--color-primary-rgb), 0.3) 85%,
    transparent
  );
}

/* --- Each phase --- */

.engine-phase {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 28px;
  padding: 40px 0;
  position: relative;
}

/* Phase marker: the glowing dot on the line */
.engine-marker {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.engine-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-fire-gold-bright);
  box-shadow:
    0 0 12px rgba(var(--color-primary-rgb), 0.4),
    0 0 30px rgba(var(--color-primary-rgb), 0.15);
  position: relative;
  flex-shrink: 0;
}

.engine-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
}

.engine-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.engine-content > p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  max-width: 520px;
}

/* --- Source tags (phase 1) --- */

.source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.4s ease;
}

.source-tag:hover {
  border-color: rgba(var(--color-primary-rgb), 0.3);
  background: rgba(var(--color-primary-rgb), 0.06);
  color: var(--color-fire-gold);
}

.source-tag svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* --- Discovery detail (phase 2) --- */

.discovery-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.discovery-item {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
}

.discovery-item:hover {
  border-color: rgba(var(--color-primary-rgb), 0.3);
  background: rgba(var(--color-primary-rgb), 0.06);
}

.discovery-item .di-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.discovery-item:nth-child(1) .di-label {
  color: #86efac;
}
.discovery-item:nth-child(2) .di-label {
  color: #fca5a5;
}
.discovery-item:nth-child(3) .di-label {
  color: #93c5fd;
}
.discovery-item:nth-child(4) .di-label {
  color: #fcd34d;
}

.discovery-item .di-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

/* --- Surface destinations (phase 3) --- */

.surface-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.surface-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
}

.surface-channel:hover {
  border-color: rgba(var(--color-primary-rgb), 0.3);
  background: rgba(var(--color-primary-rgb), 0.06);
  color: var(--color-fire-gold);
}

.surface-channel svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* --- Impact callout --- */

.engine-impact {
  margin-top: 80px;
  text-align: center;
  padding: 36px 28px;
  border-radius: 12px;
  border: 1px solid rgba(var(--color-primary-rgb), 0.15);
  background:
    radial-gradient(
      ellipse 80% 100% at 50% 100%,
      rgba(var(--color-primary-rgb), 0.06),
      transparent 70%
    ),
    rgba(255, 255, 255, 0.02);
}

.engine-impact p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-fire-gold);
  line-height: 1.5;
}

.engine-impact .impact-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
  display: block;
}

.engine-cta-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-fire-gold);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.engine-cta-link:hover {
  opacity: 1;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .threat {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 20px 80px;
  }

  .threat-line {
    font-size: 1.55rem;
    text-align: center;
  }

  .threat-line.threat-small {
    margin: 18px auto 0;
    text-align: center;
  }

  .mechanism {
    padding: 0 20px 68px;
  }

  .mechanism h2 {
    font-size: 1.45rem;
  }

  .transform-flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .transform-core::before,
  .transform-core::after {
    display: none;
  }

  .transform-column {
    min-height: auto;
  }

  .engine-header h2 {
    font-size: 1.8rem;
  }

  .engine-flow::before {
    left: 24px;
  }

  .engine-phase {
    grid-template-columns: 48px 1fr;
    gap: 0 16px;
    padding: 24px 0;
  }

  .discovery-detail {
    grid-template-columns: 1fr;
  }

  .engine-impact p {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .engine-header h2 {
    font-size: 1.5rem;
  }

  .surface-channels {
    flex-direction: column;
  }

  .surface-channel {
    justify-content: center;
  }
}

/* =============================================
   VIDEO CAROUSEL — preserved, restyled for dark
   ============================================= */

.video-section {
  position: relative;
  z-index: var(--z-content);
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 20px;
  text-align: center;
}

.video-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.carousel {
  position: relative;
}

.carousel-track {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(var(--color-primary-rgb), 0.08);
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.carousel-slide .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.carousel-slide .video-placeholder {
  background:
    radial-gradient(
      ellipse 70% 80% at 50% 70%,
      rgba(var(--color-primary-rgb), 0.16),
      transparent 62%
    ),
    linear-gradient(
      135deg,
      rgba(250, 243, 232, 0.07),
      rgba(250, 243, 232, 0.025) 42%,
      rgba(8, 8, 8, 0.82)
    );
}

.video-placeholder-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(252, 188, 45, 0.6);
  background: rgba(8, 8, 8, 0.5);
  box-shadow:
    0 0 34px rgba(var(--color-primary-rgb), 0.25),
    inset 0 0 22px rgba(var(--color-primary-rgb), 0.08);
}

.video-placeholder-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid rgba(252, 188, 45, 0.9);
}

.carousel-slide .video-title {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.carousel-btn:hover {
  border-color: rgba(var(--color-fire-spark-rgb), 0.9);
  color: var(--color-fire-text-hover);
  background: rgba(var(--color-fire-spark-rgb), 0.22);
  box-shadow:
    0 0 25px rgba(var(--color-fire-spark-rgb), 0.4),
    0 0 60px rgba(var(--color-fire-spark-rgb), 0.15);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--color-fire-gold-bright);
  box-shadow: 0 0 8px rgba(var(--color-primary-rgb), 0.4);
}

.carousel-controls.hidden {
  display: none;
}

/* =============================================
   TRUST STRIP - privacy and approval reassurance
   ============================================= */

.trust-strip {
  position: relative;
  z-index: var(--z-content);
  max-width: 920px;
  margin: -28px auto 76px;
  padding: 0 20px;
  text-align: center;
}

.proof .trust-strip {
  margin: 48px auto 0;
}

.trust-strip::after {
  content: "";
  display: block;
  width: min(560px, 100%);
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(250, 243, 232, 0.12),
    transparent
  );
}

.trust-summary {
  margin-bottom: 14px;
  color: rgba(250, 243, 232, 0.52);
  font-size: 0.92rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.trust-list span {
  position: relative;
  padding-left: 16px;
  color: rgba(250, 243, 232, 0.38);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(var(--color-primary-rgb), 0.58);
}

/* =============================================
   PROOF — sample output, warmest zone
   ============================================= */

.proof {
  position: relative;
  z-index: var(--z-content);
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.proof h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin-bottom: 12px;
}

.proof .proof-subtitle {
  text-align: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.proof .sample-story {
  max-width: 700px;
  margin: 0 auto;
}

/* Theme badges — dark context (not inside .fire-panel) */
.proof .theme-growth {
  background: rgba(22, 101, 52, 0.2);
  color: #86efac;
}
.proof .theme-risk {
  background: rgba(153, 27, 27, 0.2);
  color: #fca5a5;
}
.proof .theme-ai {
  background: rgba(30, 64, 175, 0.2);
  color: #93c5fd;
}
.proof .theme-talent {
  background: rgba(146, 64, 14, 0.2);
  color: #fcd34d;
}

/* Override shared styles for dark context */
.proof .sample-attribution {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.proof .sample-attribution-text {
  color: rgba(255, 255, 255, 0.4);
}

.proof .sample-ref {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
}

/* Mock posts glow slightly in the dark — dulled to sit with page */
.proof .mock-post {
  box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.5s ease;
  opacity: 0.88;
}

.proof .mock-post:hover,
.proof .mock-post.spotlight {
  opacity: 1;
}

/* Warm tint on hover */
.proof .mock-post:hover {
  --color-white: #ecdab8;
  border-color: rgba(var(--color-fire-rgb), 0.6);
  box-shadow:
    0 0 30px rgba(var(--color-fire-rgb), 0.25),
    0 0 60px rgba(var(--color-fire-rgb), 0.1);
}

/* Spotlight: clicked/active card — stronger warm tint */
.proof .mock-post.spotlight {
  --color-white: var(--color-fire-tint-hot);
  border-color: rgba(var(--color-fire-rgb), 0.9);
  transform: scale(1.09);
  box-shadow:
    0 0 40px rgba(var(--color-fire-rgb), 0.4),
    0 0 80px rgba(var(--color-fire-rgb), 0.18);
  z-index: var(--z-spotlight);
}

/* Dimmed: non-selected cards when one is spotlighted */
.proof .mock-post.dimmed {
  opacity: 0.3;
  transform: scale(0.97);
}

/* Collapsible post body */
.mock-post-collapse {
  position: relative;
  max-height: 130px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mock-post-collapse::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--color-white));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mock-post-collapse.expanded::after {
  opacity: 0;
}

.mock-read-more {
  position: relative;
  z-index: var(--z-read-more);
  display: block;
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.mock-read-more:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 560px) {
  .trust-strip {
    margin: -16px auto 48px;
  }

  .trust-list {
    gap: 9px 14px;
  }
}

/* =============================================
   HEARTH — final CTA, the warmest point
   ============================================= */

.hearth {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  padding: 80px 20px 15px;
  color: var(--color-fire-cream);
  background: radial-gradient(
    ellipse 80% 90% at 50% 60%,
    rgba(var(--color-primary-rgb), 0.06) 0%,
    transparent 70%
  );
}

/* Strongest glow — the hearth itself */
.hearth::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(var(--color-primary-rgb), 0.14) 0%,
    rgba(var(--color-primary-rgb), 0.06) 30%,
    transparent 60%
  );
  pointer-events: none;
  z-index: var(--z-glow);
  animation: hearth-pulse 6s ease-in-out infinite;
}

@keyframes hearth-pulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.hearth h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-fire-gold);
  margin-bottom: 16px;
}

.hearth > p {
  font-size: 1.1rem;
  color: rgba(245, 230, 200, 0.6);
  margin-bottom: 36px;
}


.hearth-use-cases {
  margin-top: 48px;
  font-size: 0.85rem;
}

.hearth-use-cases a {
  color: rgba(250, 243, 232, 0.3);
  text-decoration: none;
  transition: color 0.3s;
}

.hearth-use-cases a:hover {
  color: rgba(255, 255, 255, 0.55);
}

.hearth-sep {
  color: rgba(250, 243, 232, 0.12);
  margin: 0 8px;
}

/* Hearth buttons — match hero brightness */
.hearth .cta-fire {
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children within a revealed parent */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-stagger.revealed > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.reveal-stagger.revealed > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.reveal-stagger.revealed > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
.reveal-stagger.revealed > *:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

/* Threat lines get individual staggered reveals */
.threat-line,
.threat .threat-small,
.threat-quote-card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.threat.revealed .threat-line:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.threat.revealed .threat-line:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.threat.revealed .threat-line:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.threat.revealed .threat-small {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}

.threat.revealed .threat-quote-card {
  opacity: 1;
  transform: translateY(0);
}

.threat.revealed .threat-quote-card:nth-child(1) {
  transition-delay: 0.28s;
}

.threat.revealed .threat-quote-card:nth-child(2) {
  transition-delay: 0.42s;
}
