/* ==========================================================
   Legal / Policy pages (page-legal.php)
   Blush hero + narrow readable body in the storybook style.
   ========================================================== */

/* --- Hero --- */
.policy-page__hero {
    background: var(--bg-blush);
    padding: clamp(56px, 8vw, 100px) 24px;
    text-align: center;
}

.policy-page__hero-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.policy-page__hero-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand);
}
.policy-page__hero-label::before,
.policy-page__hero-label::after {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--border-brand);
}

.policy-page__hero-title {
    margin-top: 16px;
}

.policy-page__hero-line {
    width: 72px;
    height: 1px;
    background: var(--border-brand);
    margin-top: 22px;
}

.policy-page__hero-meta {
    margin-top: 18px;
    font-family: var(--font-body);
    font-style: italic;
    color: var(--text-secondary);
}

/* --- Body --- */
.policy-page__body {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.policy-page__section {
    padding: clamp(40px, 6vw, 64px) 0;
}

.policy-page__section h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.7rem);
    margin: 2em 0 0.7em;
    padding-top: 1.2em;
    border-top: 1px solid var(--border-subtle);
}

.policy-page__section h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.policy-page__section h3 {
    margin: 1.6em 0 0.6em;
}

.policy-page__section p {
    margin-bottom: 1.15em;
    line-height: 1.85;
}

.policy-page__section ul,
.policy-page__section ol {
    margin: 0 0 1.15em 1.4em;
}

.policy-page__section ul {
    list-style: disc;
}

.policy-page__section ol {
    list-style: decimal;
}

.policy-page__section li {
    margin-bottom: 0.4em;
    line-height: 1.75;
}

.policy-page__section a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-page__section em {
    color: var(--text-primary);
}

/* --- Back link --- */
.policy-page__back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 clamp(48px, 7vw, 80px);
    padding: 13px 28px 11px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--border-brand);
    font-family: var(--font-label);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.policy-page__back-link:hover {
    background: var(--brand-soft);
    color: var(--brand-deep);
}
