/* Shared header and section system for pages other than the homepage (PAGES-01). */
:root {
    --pg-ink: #193D2E;
    --pg-text: #3D5246;
    --pg-muted: #526457;
    --pg-green: #226B48;
    --pg-green-deep: #1B5A3C;
    --pg-blue: #465A97;
    --pg-blue-deep: #26346A;
    --pg-blue-ink: #3A4C86;
    --pg-navy: #1F2A4D;
    --pg-gold: #F2C14E;
    --pg-eyebrow: #7A5C16;
    --pg-line: #ECE7DA;
    --pg-rule: #E2DCC9;
    --pg-sage: #EEF5EF;
    --pg-mist: #EEF1F8;
    --pg-cream: #FCFBF8;
    --pg-sand: #FBF8F1;
    --pg-radius: 26px;
    --pg-shadow: 0 18px 44px rgba(25, 61, 46, .12);
}

body {
    background: var(--pg-cream);
}

/* Header: logo pill and link bar; one bar with a menu button at 900px and below. */
.site-header.site-header-pill {
    min-height: 0;
    height: auto;
    padding: 18px clamp(16px, 2.8vw, 40px);
    flex-direction: row;
    align-items: center;
    border-bottom: 0;
    background: transparent;
    position: relative;
    z-index: 20;
}

.site-header-pill .brand,
.site-header-pill .development-brand {
    padding: 12px 20px;
    background: rgba(252, 251, 248, .95);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(25, 61, 46, .1);
}

.site-header-pill .development-brand .brand {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.site-header-pill .brand img {
    width: 200px;
}

.site-header-pill .primary-navigation {
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(252, 251, 248, .95);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(25, 61, 46, .1);
}

.site-header-pill .primary-navigation > a,
.site-header-pill .services-menu > summary {
    min-height: 44px;
    margin: 0;
    padding: 11px 16px;
    border-radius: 999px;
}

.site-header-pill .site-nav-link:hover,
.site-header-pill .services-menu[open] > summary {
    background: var(--sb-sage);
}

.site-header-pill .nav-donate,
.site-header-pill .nav-shop {
    padding: 11px 20px;
}

.site-header-pill .scene-menu {
    display: none;
    position: relative;
}

.site-header-pill .scene-menu > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--sb-sage);
    color: var(--sb-ink);
    cursor: pointer;
    list-style: none;
}

.site-header-pill .scene-menu > summary::-webkit-details-marker {
    display: none;
}

.site-header-pill .scene-menu[open] > summary {
    background: var(--sb-line);
}

.site-header-pill .scene-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(300px, calc(100vw - 24px));
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--sb-surface);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(25, 61, 46, .16);
}

.site-header-pill .scene-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--sb-ink);
}

.site-header-pill .scene-menu-panel a:hover {
    background: var(--sb-sage);
}

.site-header-pill .scene-menu-heading {
    margin: 8px 14px 2px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sb-muted);
}

.site-header-pill .scene-menu-panel .nav-donate,
.site-header-pill .scene-menu-panel .nav-shop {
    justify-content: center;
    margin-top: 6px;
    border-radius: 999px;
    color: #FFFFFF;
}

@media (max-width: 1200px) {
    .site-header-pill .primary-navigation > a,
    .site-header-pill .services-menu > summary {
        padding: 11px 12px;
    }
}

@media (max-width: 900px) {
    .site-header.site-header-pill {
        margin: 12px 12px 0;
        padding: 6px 6px 6px 18px;
        min-height: 56px;
        flex-direction: row;
        gap: 12px;
        background: rgba(252, 251, 248, .95);
        border-radius: 999px;
        box-shadow: 0 6px 20px rgba(25, 61, 46, .1);
    }

    .site-header-pill .brand,
    .site-header-pill .development-brand {
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .site-header-pill .development-brand {
        flex-direction: row;
    }

    .site-header-pill .brand img {
        width: 170px;
    }

    .site-header-pill .primary-navigation {
        display: none;
    }

    .site-header-pill .scene-menu {
        display: block;
    }
}

/* Shared sections. */
.pg-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1208px;
    margin-inline: auto;
    padding-inline: 24px;
}

.pg-section {
    padding: 104px 0;
}

.pg-sage {
    background: var(--pg-sage);
}

.pg-mist {
    background: var(--pg-mist);
}

.pg-dark {
    background: var(--pg-ink);
    color: #FFFFFF;
}

.pg-navy {
    background: var(--pg-navy);
    color: #FFFFFF;
}

.pg-eyebrow {
    margin: 0 0 10px;
    color: var(--pg-eyebrow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pg-eyebrow-gold {
    color: var(--pg-gold);
}

.pg-h1,
.pg-h2,
.pg-h3 {
    color: inherit;
    font-family: var(--sb-heading-font);
    font-weight: 500;
}

.pg-h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 4.6vw, 60px);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.pg-h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.1;
    letter-spacing: -.02em;
}

.pg-h3 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.pg-lead {
    margin: 0 0 26px;
    max-width: 600px;
    color: var(--pg-text);
    font-size: 19px;
    line-height: 1.6;
}

.pg-muted {
    color: var(--pg-muted);
}

.pg-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pg-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    font: 700 15px/1.25 var(--sb-body-font);
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .15s ease;
}

.pg-btn-green {
    background: var(--pg-green);
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(34, 107, 72, .25);
}

.pg-btn-green:hover {
    background: var(--site-donate-hover);
}

.pg-btn-blue {
    background: var(--pg-blue);
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(70, 90, 151, .25);
}

.pg-btn-blue:hover {
    background: var(--site-shop-hover);
}

.pg-btn-white {
    background: #FFFFFF;
    color: var(--pg-ink) !important;
}

.pg-btn-white:hover {
    background: #F4F5F5;
}

.pg-btn-outline {
    border: 2px solid var(--pg-green);
    background: transparent;
    color: var(--pg-green-deep) !important;
}

.pg-btn-outline:hover {
    background: var(--pg-sage);
}

.pg-btn-outline-light {
    border: 2px solid #CFE0D1;
    background: transparent;
    color: #FFFFFF !important;
}

.pg-btn-outline-light:hover {
    background: rgba(255, 255, 255, .1);
}

.pg-btn-small {
    min-height: 46px;
    padding: 0 20px;
    font-size: 14px;
}

.pg-card {
    background: #FFFFFF;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-radius);
}

.pg-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 28px;
}

.pg-grid-2,
.pg-grid-3,
.pg-grid-4 {
    display: grid;
    gap: 24px;
}

.pg-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pg-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pg-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pg-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}

.pg-ticks {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pg-ticks li {
    display: flex;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.pg-ticks li::before {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: #E5F0E7;
    color: var(--pg-green);
    content: "\2713";
    font-size: 13px;
    font-weight: 700;
}

.pg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pg-chips li {
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--pg-sage);
    font-size: 14px;
    font-weight: 650;
}

.pg-step {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pg-green);
    color: #FFFFFF;
    font-weight: 700;
}

/* Two-column questions: the first row opens together, or none open. */
.pg-faq-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.pg-faq-head h2,
.pg-faq-head p {
    margin-bottom: 0;
}

.pg-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 48px;
    border-top: 1px solid var(--pg-rule);
}

.pg-faq details {
    border-bottom: 1px solid var(--pg-rule);
}

.pg-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 12px 0;
    font-size: 17px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}

.pg-faq summary::-webkit-details-marker {
    display: none;
}

.pg-faq summary::after {
    flex: none;
    color: var(--pg-green);
    content: "+";
    font-size: 26px;
    line-height: 1;
    transition: transform .2s ease;
}

.pg-faq details[open] summary::after {
    transform: rotate(45deg);
}

.pg-faq summary:focus-visible {
    outline: 3px solid var(--pg-green);
    outline-offset: 2px;
}

.pg-faq details > :not(summary) {
    margin: 0 0 18px;
    color: var(--pg-text);
    font-size: 16px;
}

.pg-closing {
    position: relative;
    overflow: hidden;
}

.pg-closing > picture img,
.pg-closing > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg-closing::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(25, 61, 46, .84);
    content: "";
}

.pg-closing.pg-closing-navy::before {
    background: rgba(31, 42, 77, .86);
}

.pg-closing-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 96px;
    padding-bottom: 96px;
    color: #FFFFFF;
}

.pg-closing-inner h2 {
    margin-bottom: 8px;
}

.pg-closing-inner p {
    margin: 0;
    color: #DCEADF;
}

@media (max-width: 900px) {
    .pg-grid-2,
    .pg-grid-3,
    .pg-grid-4,
    .pg-split,
    .pg-faq {
        grid-template-columns: minmax(0, 1fr);
    }

    .pg-section {
        padding: 64px 0;
    }
}

@media (max-width: 600px) {
    .pg-wrap {
        padding-inline: 16px;
    }

    .pg-lead {
        font-size: 17px;
    }

    .pg-closing-inner {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pg-btn,
    .pg-faq summary::after {
        transition: none;
    }
}

/* Privacy and terms: calm reading layout with an on-page list. */
.policy-intro {
    padding: 40px 0 40px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
    padding-bottom: 104px;
}

.policy-toc {
    position: sticky;
    top: 24px;
    padding: 22px;
    border-radius: 22px;
    background: var(--pg-sage);
}

.policy-toc .pg-eyebrow {
    color: var(--pg-green-deep);
}

.policy-toc ol {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
}

.policy-toc a {
    text-decoration: none;
}

.policy-toc a:hover {
    text-decoration: underline;
}

.policy-layout .policy-content {
    max-width: 68ch;
    padding: 0;
}

.policy-layout .policy-content h2 {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--pg-rule);
    font-size: 28px;
    scroll-margin-top: 24px;
}

@media (max-width: 900px) {
    .policy-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .policy-toc {
        position: static;
    }
}
