/* === Inner pages: about, contact, policies, thank-you === */
.page-hero {
    padding: 2.5rem 0 2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}

.page-hero p {
    margin-top: 0.75rem;
    max-width: 40rem;
    color: var(--text-secondary);
}

.page-content {
    padding-block: var(--section-y);
}

.prose {
    display: grid;
    gap: 1rem;
    max-width: 44rem;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-top: 1.25rem;
}

.prose h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
    margin-top: 0.75rem;
}

.prose p,
.prose li {
    color: var(--text);
}

.prose ul,
.prose ol {
    display: grid;
    gap: 0.45rem;
    padding-left: 1.15rem;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose a {
    color: var(--cta);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.prose th,
.prose td {
    border: 1px solid var(--border);
    padding: 0.65rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--surface-muted);
    font-weight: 600;
}

.contact-page-grid {
    display: grid;
    gap: 2rem;
}

.contact-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.35rem 1.25rem;
}

.contact-card h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-card p,
.contact-card a {
    color: var(--text-secondary);
}

.contact-card a {
    color: var(--cta);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.link-action {
    color: var(--cta);
    padding: 0;
    min-height: auto;
    font-size: inherit;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.link-action:hover {
    color: var(--cta-hover);
}

.thank-you {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-block: var(--section-y);
    background: var(--stone);
}

.thank-you__card {
    max-width: 32rem;
    margin-inline: auto;
    text-align: center;
    padding: 2rem 1.25rem;
}

.thank-you__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    background: var(--highlight-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--cta);
}

.thank-you__icon svg {
    width: 28px;
    height: 28px;
}

.thank-you h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.thank-you p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.thank-you__actions {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .contact-page-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .prose h2 {
        font-size: 1.5rem;
    }
}
