/* Shared styles for the long-form guides under /guides/.
   Deliberately standalone: the guides do not load the template's Bootstrap,
   icon font or AOS, so nothing here depends on style.css and nothing on a
   guide page depends on JavaScript. See home/CLAUDE.md. */

:root {
    --orange: #ff5821;
    --ink: #2b2b2b;
    --muted: #5d5d5d;
    --rule: #e7e2dc;
    --paper: #fffdfa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

a {
    color: #d8431a;
}

header.site {
    border-bottom: 1px solid var(--rule);
    background: #fff;
}

header.site .bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

header.site img {
    height: 38px;
    width: auto;
    display: block;
}

header.site nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
}

header.site nav a {
    color: var(--ink);
    text-decoration: none;
}

header.site nav a:hover {
    color: var(--orange);
}

header.site .cta {
    background: var(--orange);
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 20px 10px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 12px;
}

h1 {
    font-family: "Raleway", sans-serif;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 700;
    margin: 0 0 16px;
}

.standfirst {
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 28px;
}

h2 {
    font-family: "Raleway", sans-serif;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
    margin: 44px 0 10px;
}

h2 .num {
    color: var(--orange);
    margin-right: 10px;
}

h3 {
    font-family: "Raleway", sans-serif;
    font-size: 19px;
    margin: 28px 0 6px;
}

p {
    margin: 0 0 16px;
}

blockquote {
    margin: 22px 0;
    padding: 2px 0 2px 20px;
    border-left: 3px solid var(--orange);
    font-size: 18px;
    color: #333;
}

ul, ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

li {
    margin-bottom: 8px;
}

.toc {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 0 0 36px;
}

.toc h2 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 10px;
}

.toc ol {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.toc li {
    margin-bottom: 4px;
}

.callout {
    background: #fff;
    border: 1px solid var(--rule);
    border-left: 3px solid var(--orange);
    border-radius: 6px;
    padding: 18px 22px;
    margin: 26px 0;
    font-size: 16px;
}

.callout p:last-child {
    margin-bottom: 0;
}

.cta-block {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 28px 26px;
    margin: 44px 0 10px;
    text-align: center;
}

.cta-block h2 {
    margin-top: 0;
    font-size: 22px;
}

.cta-block .btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 4px;
    margin-top: 6px;
}

.cta-block .small {
    font-size: 14px;
    color: var(--muted);
    margin: 12px 0 0;
}

footer.site {
    border-top: 1px solid var(--rule);
    margin-top: 50px;
    padding: 28px 20px 40px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

footer.site a {
    color: var(--muted);
    margin: 0 10px;
}

@media (max-width: 700px) {
    h1 {
        font-size: 30px;
    }

    .standfirst {
        font-size: 18px;
    }

    h2 {
        font-size: 22px;
    }

    body {
        font-size: 16px;
    }

    header.site nav .hide-sm {
        display: none;
    }
}

/* ── Question lists (guide: questions to ask your parents) ───────────────── */
.qgroup {
    margin: 0 0 30px;
}

.qgroup h2 {
    margin-bottom: 4px;
}

.qgroup .qnote {
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 12px;
}

ol.questions {
    padding-left: 30px;
    margin: 0;
}

ol.questions li {
    margin-bottom: 7px;
    padding-left: 2px;
}

.count-note {
    font-size: 15px;
    color: var(--muted);
    text-align: center;
    margin: 0 0 30px;
}

/* ── Print: people take the question list to a kitchen table ─────────────── */
@media print {
    header.site,
    footer.site,
    .cta-block,
    .toc,
    .print-hide {
        display: none !important;
    }

    body {
        background: #fff;
        font-size: 11.5pt;
        line-height: 1.45;
    }

    main {
        max-width: none;
        padding: 0;
    }

    h1 {
        font-size: 22pt;
    }

    h2 {
        font-size: 13pt;
        margin: 18pt 0 4pt;
        page-break-after: avoid;
    }

    .standfirst {
        font-size: 11.5pt;
        color: #333;
    }

    ol.questions li {
        margin-bottom: 4pt;
        page-break-inside: avoid;
    }

    .qgroup {
        page-break-inside: auto;
        margin-bottom: 12pt;
    }

    blockquote, .callout {
        border-left: 2pt solid #999;
        page-break-inside: avoid;
    }

    a {
        color: #000;
        text-decoration: none;
    }

    /* the one thing worth carrying onto paper */
    .print-footer {
        display: block !important;
        margin-top: 18pt;
        font-size: 9pt;
        color: #555;
    }
}

.print-footer {
    display: none;
}
