/* =============================================
   policy.css Licensing & Privacy pages
   ============================================= */

.policy-hero {
    background: var(--bg-light);
    padding: 72px 0 32px;
}

.policy-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.policy-hero p {
    color: var(--text-light);
    max-width: 720px;
    line-height: 1.7;
}

.policy-section {
    padding: 24px 0 72px;
}

.policy-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.policy-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 18px 0 10px;
}

.policy-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.policy-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 8px 0 12px;
    color: var(--text-light);
}

.policy-card li {
    margin-bottom: 6px;
}

.policy-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
}

.policy-container { max-width: 960px; }
.policy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 18px; }
.policy-actions a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; line-height: 1.5; }
.policy-actions a[aria-current="page"] { font-weight: 700; }
.policy-actions .policy-download { padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.policy-card { overflow-wrap: anywhere; }
.policy-skip-link { position: absolute; top: -80px; left: 12px; padding: 12px; background: #fff; color: #111; z-index: 9999; }
.policy-skip-link:focus { top: 12px; }
.policy-actions a:focus-visible { outline: 3px solid #176ba0; outline-offset: 4px; }

@media print {
    #navbar-placeholder, #footer-placeholder, .policy-actions, .back-to-top, .policy-skip-link { display: none !important; }
    .policy-hero, .policy-section { padding: 0; background: #fff; }
    .policy-card { border: 0; box-shadow: none; padding: 0; }
    .policy-card h2 { break-after: avoid; }
}

@media (max-width: 768px) {
    .policy-hero { padding: 56px 0 24px; }
    .policy-card { padding: 24px; }
}
