/* PastorPrep guides: shared stylesheet for /guides/*. Same palette and type as
   index.html and publisher-alternative.html, trimmed to what an article needs. */
:root {
  --bg-cream: #FAF7F2;
  --bg-cream-deep: #F0E9DD;
  --bg-cream-deeper: #E8DFCC;
  --text-primary: #14202E;
  --text-secondary: #2F3B4D;
  --text-muted: #5A6373;
  --headline: #1E3A5F;
  --accent-red: #8B2635;
  --accent-red-hover: #6F1E2A;
  --accent-gold: #B8893A;
  --gold-ink: #7A5A22;
  --border: #D6CDB9;
  --border-soft: #E5DCC8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  font-variation-settings: "opsz" 24;
}
@media (max-width: 768px) { body { font-size: 17px; line-height: 1.65; } }
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  color: var(--headline);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: 0.6rem; margin-top: 1.8rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent-red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-red-hover); }
strong { color: var(--headline); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 56px 0; }
@media (max-width: 768px) { section { padding: 40px 0; } }
[id] { scroll-margin-top: 90px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
nav .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600;
  color: var(--headline); text-decoration: none; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.brand-mark { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 7px; color: var(--headline); display: block; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-link { font-size: 0.95rem; color: var(--text-muted); text-decoration: none; }
.nav-link:hover { color: var(--headline); text-decoration: underline; }
.nav-cta {
  font-family: 'Source Serif 4', Georgia, serif; font-size: 0.95rem; color: #fff;
  background: var(--accent-red); text-decoration: none; font-weight: 500;
  padding: 8px 16px; border-radius: 4px; min-height: 40px; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: var(--accent-red-hover); color: #fff; }
@media (max-width: 600px) {
  .nav-link { display: none; }
  .nav-cta { font-size: 0.85rem; padding: 7px 12px; }
  .brand { font-size: 1.3rem; }
  .brand-mark { width: 24px; height: 24px; }
}

/* Article */
.article { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-hero { padding: 48px 0 8px; }
@media (max-width: 768px) { .article-hero { padding-top: 24px; } }
.breadcrumb { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }
.eyebrow { font-style: italic; color: var(--accent-gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.article-hero h1 { max-width: 22ch; }
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: 0.9rem; color: var(--text-muted); margin: 0 0 28px;
}
.byline-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-cream-deep);
  border: 2px solid var(--accent-gold); color: var(--headline);
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.byline-name { color: var(--text-primary); font-weight: 600; }
.byline-sep { color: var(--border); }
.lede { font-size: 1.24rem; line-height: 1.55; color: var(--text-primary); max-width: 58ch; margin-bottom: 1.4rem; }
.article h2 { margin-top: 48px; }
.article p, .article li { font-size: 1.06rem; line-height: 1.7; }
.article ul, .article ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
.article li { margin-bottom: 0.45rem; }
.article img { max-width: 100%; height: auto; }
.section-photo {
  display: block; width: 100%; max-width: 560px; height: auto; border-radius: 10px;
  margin: 36px auto 8px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}
.note {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent-gold);
  border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 26px 0;
}
.note p:last-child { margin-bottom: 0; }
.note-title { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--headline); margin-bottom: 8px; font-weight: 500; }
.aside {
  border-left: 3px solid var(--border); padding: 4px 0 4px 18px; margin: 24px 0;
  color: var(--text-secondary); font-size: 1rem; font-style: italic;
}
.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 8px; }
.steps-list li { position: relative; padding-left: 48px; margin-bottom: 16px; }
.steps-list li::before {
  counter-increment: step; content: counter(step) ".";
  position: absolute; left: 0; top: -4px;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 1.6rem; color: var(--accent-red); line-height: 1;
}
.toc { background: var(--bg-cream-deep); border-radius: 8px; padding: 18px 22px; margin: 8px 0 28px; font-size: 0.97rem; }
.toc-title { font-family: 'Fraunces', serif; color: var(--headline); margin-bottom: 8px; font-size: 1.05rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 4px; font-size: 0.97rem; }
.toc a { color: var(--text-secondary); }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 22px 0 8px; -webkit-overflow-scrolling: touch; }
.alt-table {
  width: 100%; border-collapse: collapse; font-size: 0.98rem; background: #fff;
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.alt-table th, .alt-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.alt-table th { background: var(--bg-cream-deeper); font-family: 'Fraunces', serif; font-weight: 600; color: var(--headline); }
.alt-table tr:last-child td { border-bottom: none; }
.alt-table td:first-child { font-weight: 600; color: var(--headline); }
.alt-table tr.us td { background: rgba(139, 38, 53, 0.04); }
.alt-table tr.us td:first-child { color: var(--accent-red); }
.alt-table .sub { display: block; font-weight: 400; font-size: 0.8rem; color: var(--text-muted); }
.alt-table .check { color: #2E6B3F; font-weight: 700; }
.alt-table .dash { color: var(--text-muted); }
@media (max-width: 640px) {
  .alt-table { font-size: 0.88rem; min-width: 520px; }
  .alt-table th, .alt-table td { padding: 9px 8px; }
}
.table-note { font-size: 0.93rem; color: var(--text-muted); font-style: italic; margin-top: 10px; }

/* Outline template block */
.template {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 24px 26px; margin: 24px 0; font-size: 1rem;
}
.template h3 { margin-top: 0; }
.template dl { margin: 0; }
.template dt { font-weight: 600; color: var(--headline); margin-top: 14px; }
.template dt:first-child { margin-top: 0; }
.template dd { margin-left: 0; color: var(--text-secondary); font-size: 0.98rem; }
.template .fill { color: var(--text-muted); font-style: italic; }
.example { background: var(--bg-cream-deep); border-radius: 8px; padding: 20px 24px; margin: 20px 0; }
.example p { font-size: 1rem; }
.example .who { font-size: 0.88rem; color: var(--text-muted); font-style: italic; margin-bottom: 10px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-soft); padding: 18px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border-soft); }
.faq-q {
  font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--headline);
  display: flex; justify-content: space-between; align-items: center; font-weight: 500; padding: 4px 0;
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
}
.faq-q::after { content: "+"; color: var(--accent-red); font-size: 1.5rem; font-weight: 300; margin-left: 16px; transition: transform 0.2s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding-top: 12px; font-size: 1.02rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* Offer band at the end of every guide */
.offer-band { background: var(--bg-cream-deep); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; max-width: 980px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 820px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-copy h2 { margin-bottom: 0.8rem; }
.offer-copy p { font-size: 1.04rem; }
.offer-trial { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.offer-trial h3 { margin-top: 0; }
.btn {
  display: inline-block; background: var(--accent-red); color: #fff;
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.08rem;
  padding: 13px 26px; border: none; border-radius: 5px; cursor: pointer; text-decoration: none;
  transition: background 0.2s ease; font-variation-settings: "opsz" 144, "SOFT" 30;
}
.btn:hover { background: var(--accent-red-hover); color: #fff; }
.btn:disabled { opacity: 0.7; cursor: default; }
.btn-full { width: 100%; padding: 15px; font-size: 1.12rem; }
.btn-secondary { background: transparent; color: var(--accent-red); border: 1.5px solid var(--accent-red); }
.btn-secondary:hover { background: rgba(139, 38, 53, 0.06); color: var(--accent-red-hover); }
.signup-form {
  background: #fff; border: 1px solid var(--border); padding: 30px 28px; border-radius: 8px;
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.06);
}
@media (max-width: 480px) { .signup-form { padding: 22px 18px; } }
.form-badge {
  display: inline-block; background: rgba(184, 137, 58, 0.12); color: var(--gold-ink);
  font-size: 0.8rem; padding: 4px 12px; border-radius: 12px; margin-bottom: 12px; font-weight: 500; letter-spacing: 0.02em;
}
.signup-form-title { font-family: 'Fraunces', serif; font-size: 1.45rem; color: var(--headline); margin-bottom: 0.4rem; font-weight: 500; }
.signup-form-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.3rem; font-style: italic; }
.signup-form label { display: block; font-size: 0.93rem; color: var(--text-secondary); margin-bottom: 6px; font-weight: 600; }
.signup-form input, .signup-form textarea {
  width: 100%; padding: 12px 14px; font-family: 'Source Serif 4', Georgia, serif; font-size: 16px;
  border: 1px solid var(--border); border-radius: 5px; background: var(--bg-cream); color: var(--text-primary);
  margin-bottom: 14px;
}
.signup-form input:focus, .signup-form textarea:focus {
  outline: none; border-color: var(--accent-red); box-shadow: 0 0 0 3px rgba(139, 38, 53, 0.12); background: #fff;
}
.signup-form textarea { min-height: 72px; resize: vertical; }
.label-optional { color: var(--text-muted); font-weight: 400; font-style: italic; margin-left: 4px; }
.form-microcopy { font-size: 0.9rem; color: var(--text-secondary); margin: 12px 0 0; text-align: center; font-style: italic; }
.form-error {
  display: none; background: rgba(139, 38, 53, 0.07); border: 1px solid rgba(139, 38, 53, 0.25);
  color: var(--accent-red); font-size: 0.93rem; padding: 11px 14px; border-radius: 5px; margin: 0 0 14px; line-height: 1.5;
}
.form-error.show { display: block; }
.hidden-field { position: absolute; left: -9999px; }

/* Related guides */
.related { border-top: 1px solid var(--border-soft); padding-top: 24px; margin-top: 48px; }
.related h2 { font-size: 1.3rem; margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 8px; font-size: 1rem; }
.related .soon { color: var(--text-muted); font-style: italic; }

/* Guide index */
.guide-list { list-style: none; padding: 0; margin: 24px 0; }
.guide-list li { border-top: 1px solid var(--border-soft); padding: 20px 0; }
.guide-list li:last-child { border-bottom: 1px solid var(--border-soft); }
.guide-list a { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--headline); text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
.guide-list p { margin: 6px 0 0; color: var(--text-secondary); font-size: 1rem; }
.guide-list .tag { font-size: 0.8rem; color: var(--gold-ink); font-style: italic; letter-spacing: 0.02em; }

/* Footer */
footer { background: var(--headline); color: var(--bg-cream); padding: 34px 0; text-align: center; }
footer .brand-footer { font-family: 'Fraunces', serif; font-size: 1.4rem; font-style: italic; margin-bottom: 10px; }
footer p { margin-bottom: 8px; font-size: 0.9rem; opacity: 0.8; }
footer a { color: var(--bg-cream); opacity: 0.85; }
footer a:hover { opacity: 1; }
