/* Guide Page — editorial, fashion-inspired, light */

.guide-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.guide-container--narrow {
  max-width: 580px;
}

/* ============ Hero ============ */

.guide-hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--color-border);
}

.guide-hero__banner {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  margin-bottom: 40px;
}

.guide-hero__banner-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .guide-hero__banner {
    max-height: 260px;
    margin-bottom: 28px;
  }
}

.guide-hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.guide-hero__headline {
  font-family: var(--font-titles);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.guide-hero__subhead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 20px;
}

.guide-hero__trust {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.guide-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.guide-hero__anchor {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.guide-hero__anchor:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

/* ============ Sections (shared) ============ */

.guide-sections {
  padding-bottom: 80px;
}

.guide-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.guide-section__title {
  font-family: var(--font-titles);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.guide-section__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.guide-section__body p { margin-bottom: 1em; }
.guide-section__body p:last-child { margin-bottom: 0; }
.guide-section__body ul, .guide-section__body ol { padding-left: 1.4em; margin-bottom: 1em; }
.guide-section__body li { margin-bottom: 0.4em; }
.guide-section__body strong { color: var(--color-text); font-weight: 600; }

.guide-section__cta {
  margin-top: 32px;
}

/* ============ Quote block ============ */

.guide-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--color-text);
  border-left: 3px solid var(--color-text);
  padding: 8px 0 8px 24px;
  margin: 36px 0;
}

.guide-quote--featured {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  border-left: none;
  text-align: center;
  padding: 0;
  margin: 40px 0;
  color: var(--color-text-secondary);
}

/* ============ CTA links ============ */

.guide-cta-btn {
  display: inline-block;
}

.guide-cta-link {
  display: inline-block;
  font-size: 0.925rem;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
  font-weight: 500;
  transition: opacity 0.15s;
}

.guide-cta-link:hover {
  opacity: 0.6;
}

/* ============ Mid-page CTA block ============ */

.guide-section--mid-cta {
  background: var(--color-card);
  padding: 72px 0;
}

.guide-mid-cta__headline {
  font-family: var(--font-titles);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.2;
}

.guide-mid-cta__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.guide-mid-cta__body ul { padding-left: 1.4em; }
.guide-mid-cta__body li { margin-bottom: 0.5em; }

/* ============ Contextual CTA ============ */

.guide-section--contextual-cta {
  padding: 48px 0;
}

.guide-contextual-cta__copy {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.guide-contextual-cta__copy p { margin-bottom: 0.5em; }

/* ============ Checklist ============ */

.guide-section--checklist {
  padding: 72px 0;
}

.guide-checklist-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.guide-checklist__title {
  font-family: var(--font-titles);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 28px;
  line-height: 1.2;
}

.guide-checklist__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.guide-checklist__item:last-child {
  border-bottom: none;
}

.guide-checklist__check {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ============ Close section ============ */

.guide-section--close {
  padding: 80px 0 40px;
  border-bottom: none;
  text-align: center;
}

.guide-close__title {
  font-family: var(--font-titles);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.guide-close__cta {
  margin-top: 40px;
}

.guide-close__subtext {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ============ Sticky mobile CTA ============ */

.guide-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 14px var(--spacing-lg);
  z-index: 50;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.guide-sticky-cta__link {
  display: block;
  text-align: center;
  background: var(--color-text);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .guide-sticky-cta {
    display: block;
  }

  .guide-hero {
    padding: 48px 0 56px;
  }

  .guide-section {
    padding: 48px 0;
  }

  .guide-checklist-card {
    padding: 32px 24px;
  }

  .guide-section--close {
    padding: 60px 0 100px; /* extra bottom padding for sticky bar */
  }
}

/* Auth gate */
/* Auth gate wrapper — holds blurred preview + gate card */
.guide-gate-wrapper {
  position: relative;
}

/* Blurred preview of locked content */
.guide-gate-preview {
  max-height: 300px;
  overflow: hidden;
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 90%);
  mask-image: linear-gradient(to bottom, black 10%, transparent 90%);
}

/* Gate card container — overlaps preview via negative margin */
.guide-auth-gate {
  position: relative;
  margin-top: -80px;
  padding-bottom: 64px;
  z-index: 1;
}

.guide-auth-gate__fade {
  height: 80px;
  margin-bottom: -1px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
}

.guide-auth-gate__card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  animation: guide-gate-appear 0.5s ease 0.8s both;
}

@keyframes guide-gate-appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.guide-auth-gate__heading {
  font-family: var(--font-titles);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.guide-auth-gate__sub {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.guide-auth-gate__btn {
  width: 100%;
  margin-bottom: 16px;
}

.guide-auth-gate__signin {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0;
}
