/**
 * Generic Page — Text-heavy pages (Terms, Privacy, etc.)
 */

.text-page {
    background-color: var(--color-seashellpink);
    min-height: 100vh;
}

.text-page-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 40px;
}

.text-page-title {
    font-family: 'Ano', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 48px;
    color: var(--color-black);
}

/* ───────────────────────────────
   Body Content
   ─────────────────────────────── */

.text-page-body h2 {
    font-family: 'Ano', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 48px 0 16px;
    color: var(--color-black);
}

.text-page-body h3 {
    font-family: 'Ano', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 32px 0 12px;
    color: var(--color-black);
}

.text-page-body p {
    font-family: 'Ano', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0 0 20px;
    color: var(--color-black);
}

.text-page-body ul,
.text-page-body ol {
    font-family: 'Ano', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 20px;
    padding-left: 24px;
    color: var(--color-black);
}

.text-page-body li {
    margin-bottom: 8px;
}

.text-page-body a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 700;
}

.text-page-body a:hover {
    opacity: 0.7;
}

.text-page-lede {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 32px;
}

.text-page-tagline {
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 48px;
}

/* FAQ accordion */
.faq-list {
    display: grid;
    gap: 8px;
    margin: 0 0 48px;
}

.faq-list details {
    background: var(--color-white);
    border: 2px solid var(--color-black);
}

.faq-list summary {
    font-family: 'Ano', sans-serif;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    list-style: none;
    padding: 16px 20px;
}

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

.faq-list summary::after {
    content: "+";
    float: right;
    font-weight: 700;
}

.faq-list details[open] summary::after {
    content: "–";
}

.faq-list details p,
.faq-list details ul {
    padding: 0 20px;
}

.faq-list details p:last-child,
.faq-list details ul:last-child {
    padding-bottom: 16px;
}

.text-page-body strong {
    font-weight: 700;
}

.text-page-body hr {
    border: none;
    border-top: 2px solid var(--color-black);
    margin: 48px 0;
}

/* First h2 doesn't need extra top margin */
.text-page-body h2:first-child {
    margin-top: 0;
}

/* ───────────────────────────────
   Responsive — 768px
   ─────────────────────────────── */

@media (max-width: 768px) {
    .text-page-content {
        padding: 60px 20px;
    }

    .text-page-body h2 {
        font-size: 22px;
        margin-top: 36px;
    }

    .text-page-body p,
    .text-page-body ul,
    .text-page-body ol {
        font-size: 16px;
    }
}
