/* SPARK Guides — shared stylesheet, matching SPARK's current warm palette */

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #4A4A4A;
    background: #FAF8F5;
    line-height: 1.65;
}

.guide-header {
    background: linear-gradient(to bottom, #E8E5E0 0%, #D4C5A9 100%);
    padding: 2rem 1.25rem 1.75rem;
    text-align: center;
}

.guide-header .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8378;
    margin-bottom: 0.5rem;
}

.guide-header h1 {
    font-family: Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #4A4A4A;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.guide-header .subtitle {
    font-size: 0.95rem;
    font-style: italic;
    color: #6C757D;
    margin: 0;
}

.download-pdf {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.65rem 1.5rem;
    background: white;
    border: 1px solid #C9B896;
    border-radius: 2rem;
    color: #4A4A4A;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.guide-body {
    max-width: 680px;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 4rem;
}

/* Table of contents */
.toc {
    background: white;
    border: 1px solid #E5E1D8;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}

.toc-title {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a8378;
    margin: 0 0 0.9rem;
    font-weight: 700;
}

.toc ol {
    margin: 0;
    padding-left: 1.2rem;
}

.toc li {
    margin-bottom: 0.55rem;
}

.toc a {
    color: #4A4A4A;
    text-decoration: none;
    font-size: 0.92rem;
    border-bottom: 1px dotted #C9B896;
}

.toc a:hover {
    color: #8a6d3b;
}

/* Chapter content */
.chapter {
    margin-bottom: 2.75rem;
    scroll-margin-top: 1rem;
}

.chapter h2 {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    color: #4A4A4A;
    border-bottom: 2px solid #C9B896;
    padding-bottom: 0.5rem;
    margin: 0 0 1.1rem;
}

.chapter h3 {
    font-size: 1.05rem;
    color: #6C757D;
    margin: 1.5rem 0 0.6rem;
}

.chapter p {
    margin: 0 0 1rem;
    font-size: 0.98rem;
}

.chapter ul, .chapter ol.plain {
    margin: 0 0 1rem;
    padding-left: 1.3rem;
}

.chapter li {
    margin-bottom: 0.4rem;
}

.pull-quote {
    background: #FFF8E1;
    border-left: 4px solid #C9B896;
    padding: 0.9rem 1.1rem;
    margin: 1.25rem 0;
    font-style: italic;
    color: #6C757D;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.92rem;
}

.back-to-top {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #8a8378;
    text-decoration: none;
}

.continue-learning {
    background: #F8F9FA;
    border-radius: 0.5rem;
    padding: 1rem 1.2rem;
    font-size: 0.88rem;
    color: #6C757D;
    margin-top: 1.25rem;
}

.continue-learning strong {
    color: #4A4A4A;
}
