/* ═══════════════════════════════════════════════════════════
   POLICY PAGES — PRIVACY POLICY + TERMS OF USE
   Prose styling for legal document pages.
   ═══════════════════════════════════════════════════════════ */
.policy {
    padding: 4rem 3rem 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.policy h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin: 3rem 0 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--white-faint);
}

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

.policy h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--white);
}

.policy p {
    color: var(--white-dim);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

.policy p strong {
    color: var(--white);
    font-weight: 600;
}

.policy ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.policy ul li {
    color: var(--white-dim);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
}

.policy ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--copper);
    border-radius: 50%;
}

.policy ul li strong {
    color: var(--white);
    font-weight: 600;
}

.policy a {
    color: var(--copper-light);
    text-decoration: underline;
    text-decoration-color: rgba(184, 115, 51, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.policy a:hover {
    text-decoration-color: var(--copper-light);
}

.policy code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    background: var(--white-faint);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    color: var(--copper-light);
}

.policy hr {
    border: none;
    border-top: 1px solid var(--white-faint);
    margin: 3rem 0;
}

.policy .effective-meta {
    color: var(--white-dim);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.policy .signature-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--white-faint);
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

.policy .signature-block strong {
    color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .policy {
        padding: 3rem 1.5rem 4rem;
    }

    .policy h2 {
        margin-top: 2.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════════════════ */
[data-theme="light"] .policy h2 {
    border-top-color: rgba(13, 27, 42, 0.1);
}

[data-theme="light"] .policy h2:first-child {
    border-top: none;
}

[data-theme="light"] .policy h3 {
    color: #0D1B2A;
}

[data-theme="light"] .policy p {
    color: rgba(13, 27, 42, 0.72);
}

[data-theme="light"] .policy p strong,
[data-theme="light"] .policy ul li strong {
    color: #0D1B2A;
}

[data-theme="light"] .policy ul li {
    color: rgba(13, 27, 42, 0.72);
}

[data-theme="light"] .policy a {
    color: var(--copper-dark);
    text-decoration-color: rgba(160, 100, 45, 0.35);
}

[data-theme="light"] .policy a:hover {
    text-decoration-color: var(--copper-dark);
}

[data-theme="light"] .policy code {
    background: rgba(13, 27, 42, 0.05);
    color: var(--copper-dark);
}

[data-theme="light"] .policy hr {
    border-top-color: rgba(13, 27, 42, 0.1);
}

[data-theme="light"] .policy .signature-block {
    border-top-color: rgba(13, 27, 42, 0.1);
    color: rgba(13, 27, 42, 0.72);
}

[data-theme="light"] .policy .signature-block strong {
    color: #0D1B2A;
}
