/* Policy pages: quiet reference layout on the same black canvas as marketing */

body.policy-page {
    color: rgba(255, 255, 255, 0.72);
    background: var(--color-black);
}

.policy-main {
    max-width: var(--layout-max);
    margin: 0 auto;
    padding:
        clamp(5.5rem, 10vw, 6.5rem)
        var(--layout-gutter)
        clamp(3.5rem, 8vw, 5rem);
}

.policy-hero {
    max-width: 40rem;
    padding-bottom: 0;
}

.policy-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-meta);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.policy-crumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.25s ease;
}

.policy-crumb a:hover {
    color: #ffffff;
}

.policy-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-meta);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.policy-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.policy-lede {
    max-width: 34rem;
    margin-top: 0.85rem;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.policy-intro {
    max-width: 34rem;
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
}

.policy-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding-top: 0;
    border-top: none;
}

.policy-highlight {
    padding: clamp(0.85rem, 2vw, 1rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.policy-highlight img,
.policy-highlight .site-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    margin-bottom: 0.65rem;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.policy-highlight h2 {
    font-size: 0.6875rem;
    font-family: var(--font-meta);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 0.35rem;
}

.policy-highlight p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}

@media screen and (max-width: 768px) {
    .policy-highlights {
        grid-template-columns: 1fr;
    }
}

.policy-body {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: clamp(2rem, 4vw, 2.75rem);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.policy-doc {
    max-width: 42rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.policy-doc + .policy-doc {
    padding-top: clamp(2rem, 4vw, 2.75rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-doc__head {
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
}

.policy-doc__head h2 {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.policy-prose {
    max-width: 42rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.58);
}

.policy-prose a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-decoration-color: rgba(255, 255, 255, 0.28);
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.policy-prose a:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.55);
}

.policy-prose h2 {
    margin-top: 2.25rem;
    font-family: var(--font-meta);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.policy-prose h2:first-child {
    margin-top: 0;
}

.policy-prose h3 {
    margin: 1.75rem 0 0.65rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.88);
}

.policy-prose p + p {
    margin-top: 0.85rem;
}

.policy-prose h2 + p {
    margin-top: 0.75rem;
}

/* Section navigator: glass on dark */
body.policy-page .navigator-content-box {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.policy-page .navigator-list a {
    color: rgba(255, 255, 255, 0.55);
}

body.policy-page .navigator-list a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

body.policy-page .navigator-list li.active a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

@media screen and (max-width: 768px) {
    .policy-main {
        padding-top: 5rem;
    }

    .policy-prose {
        font-size: 0.875rem;
        line-height: 1.75;
    }
}
