/* ─── GUIDES SHARED STYLES (guides.css) ──────────────
   Loaded after ../styles.css (from guide pages one
   level deep, e.g. /guides/first-30-days/).
   ──────────────────────────────────────────────────── */

/* ─── GUIDE PAGE SHELL ────────────────────────────── */

.guide-page {
  background: var(--off-white);
  min-height: 100vh;
}

/* ─── GUIDE HERO ──────────────────────────────────── */

.guide-hero {
  background: var(--navy);
  padding: 7rem 2rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.guide-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.guide-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.guide-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.guide-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.guide-sub {
  font-size: 1.125rem;
  color: rgba(250,250,248,0.65);
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
  max-width: 580px;
}

/* ─── PDF HINT STRIP ──────────────────────────────── */

.guide-pdf-hint {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 0.75rem 1.125rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 2rem;
}

.guide-pdf-hint a {
  color: var(--navy);
  font-weight: 500;
  text-underline-offset: 3px;
}

.guide-pdf-hint a:hover { color: var(--gold); }

/* ─── ARTICLE BODY ────────────────────────────────── */

.guide-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.guide-content {
  padding: 3rem 0 2rem;
}

.guide-content h2 {
  font-family: var(--serif);
  font-size: 1.625rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 3rem 0 0.875rem;
  padding-top: 0.375rem;
}

.guide-content h2.lead-h { margin-top: 1.25rem; }

.guide-content h2.final-h {
  border-top: 2px solid var(--gold);
  padding-top: 2rem;
  margin-top: 3rem;
}

.guide-content h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 2rem 0 0.5rem;
  line-height: 1.3;
}

.guide-content p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.85;
  margin: 0 0 1rem;
}

.guide-content ul {
  margin: 0 0 1rem;
  padding-left: 1.375rem;
}

.guide-content li {
  font-size: 1.0625rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.75;
  margin: 0 0 0.5rem;
}

.guide-content strong {
  font-weight: 500;
  color: var(--text-dark);
}

.guide-content em { font-style: italic; }

/* ─── BLOCKQUOTE ──────────────────────────────────── */

.guide-content blockquote {
  margin: 1.5rem 0;
  padding: 1.125rem 1.5rem;
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
}

/* ─── ASIDE ───────────────────────────────────────── */

.aside {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 300;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  margin: 0 0 1rem;
  line-height: 1.75;
}

/* ─── STEPS ───────────────────────────────────────── */

.step {
  display: flex;
  gap: 1rem;
  margin: 0 0 0.875rem;
  align-items: flex-start;
}

.step .num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

.step > div {
  font-size: 1.0625rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.8;
}

/* ─── MICRO / AVOID BOXES ─────────────────────────── */

.micro {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 300;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  margin: 0 0 1rem;
  line-height: 1.7;
}

/* ─── TRAP CALLOUTS ───────────────────────────────── */

.trap {
  border-left: 3px solid var(--gold);
  background: var(--gold-pale);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.75;
}

/* ─── IN-CONTENT CTA LINE ─────────────────────────── */

.cta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.guide-cta {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.75rem 1.375rem;
  border-radius: 4px;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.guide-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.guide-cta--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}

.guide-cta--ghost:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
  transform: translateY(-1px);
}

/* ─── EMAIL CAPTURE BLOCK ─────────────────────────── */

.guide-capture {
  background: var(--navy);
  border-radius: 8px;
  padding: 2rem 2.25rem 2rem;
  margin: 2.5rem 0 3rem;
  scroll-margin-top: 80px;
}

.guide-capture__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.625rem;
}

.guide-capture__title {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--white);
  margin: 0 0 0.625rem;
  line-height: 1.3;
}

.guide-capture__sub {
  font-size: 0.9rem;
  color: rgba(250,250,248,0.6);
  font-weight: 300;
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.guide-capture__row {
  display: flex;
  gap: 0.625rem;
}

.guide-capture input[type="email"] {
  flex: 1;
  padding: 0.8125rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.guide-capture input[type="email"]::placeholder { color: rgba(250,250,248,0.35); }
.guide-capture input[type="email"]:focus { border-color: var(--gold); }

.guide-capture__send {
  flex: none;
  padding: 0.8125rem 1.375rem;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.guide-capture__send:hover { background: var(--gold-light); }

.guide-capture__done {
  margin: 0.75rem 0 0;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 400;
}

/* ─── GUIDE PAGE FOOTER NOTE ──────────────────────── */

.guide-footer-note {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  padding: 1.5rem 0 4rem;
}

.guide-footer-note p {
  margin: 0 0 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ─── GUIDES HUB PAGE ─────────────────────────────── */

.guides-hub-header {
  background: var(--navy);
  padding: 8rem 2rem 5rem;
  text-align: center;
}

.guides-hub-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.guides-hub-header h1 em { font-style: italic; color: var(--gold-light); }

.guides-hub-header p {
  font-size: 1.0625rem;
  color: rgba(250,250,248,0.65);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

.guides-hub-section {
  background: var(--off-white);
  padding: 5rem 2rem 6rem;
}

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

.guide-hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.guide-hub-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.guide-hub-card--soon {
  opacity: 0.6;
}

.guide-hub-card--soon:hover {
  transform: none;
  border-color: var(--border);
}

.guide-hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.guide-hub-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}

.guide-hub-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
}

.guide-hub-badge--soon {
  background: var(--off-white);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.guide-hub-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.guide-hub-desc {
  font-size: 0.9375rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}

.guide-hub-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 0.625rem 1.125rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  background: var(--gold);
  color: var(--navy);
}

.guide-hub-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.guide-hub-cta--disabled {
  background: var(--off-white);
  color: var(--text-muted);
  border: 1px solid var(--border);
  pointer-events: none;
  cursor: default;
}

/* ─── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 900px) {
  .guides-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .guide-hero  { padding: 6rem 1.25rem 3rem; }
  .guide-wrap  { padding: 0 1.25rem; }
  .guide-capture { padding: 1.5rem; }
  .guide-capture__row { flex-direction: column; }
  .guide-capture__send { width: 100%; }
  .guides-hub-section { padding: 3rem 1.25rem 4rem; }
  .guides-hub-grid { grid-template-columns: 1fr; }
  .guide-hub-card:hover { transform: none; }
}
