/* HERO BANNER */
.policy-hero {
    background: var(--bg-dark);
    padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-20);
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(96, 165, 250, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, .07) 1px, transparent 1px);
    background-size: 48px 48px;
}

.policy-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, .2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.policy-hero-inner {
    position: relative;
    z-index: 1;
}

.policy-hero .kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-300);
    background: rgba(96, 165, 250, .12);
    border: 1px solid rgba(96, 165, 250, .25);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--r-full);
    margin-bottom: var(--space-5);
}

.policy-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: var(--space-5);
}

.policy-hero h1 span {
    color: var(--brand-300);
}

.policy-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .55);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: var(--space-8);
}

.policy-meta {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .45);
}

.meta-chip svg {
    width: 14px;
    height: 14px;
    opacity: .6;
}

/* ═══════════════════════════════════════════
     KICKER (shared style)
  ═══════════════════════════════════════════ */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-brand);
    margin-bottom: var(--space-4);
}

.kicker::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* MAIN LAYOUT — sidebar + content */
.policy-body {
    padding: var(--space-24) 0;
    background: var(--bg-page);
}

.policy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-16);
    align-items: start;
}

/* ── Sidebar (Table of Contents) ── */
.toc {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    background: var(--bg-section-alt, var(--gray-50));
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.toc-title {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-light);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-item a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--r-md);
    transition: color var(--t-base), background var(--t-base);
    line-height: 1.4;
}

.toc-item a:hover {
    color: var(--text-brand);
    background: var(--brand-50);
}

.toc-item a.active {
    color: var(--text-brand);
    background: var(--brand-50);
    font-weight: 700;
}

.toc-item a::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-300);
    flex-shrink: 0;
    opacity: .5;
}

.toc-item a.active::before {
    opacity: 1;
    background: var(--accent-primary);
}

.toc-contact {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-light);
}

.toc-contact p {
    font-size: .75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.toc-contact a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-brand);
    transition: color var(--t-base);
}

.toc-contact a:hover {
    color: var(--accent-hover);
}

/* ── Policy Content ── */
.policy-content {
    min-width: 0;
}

.policy-section {
    padding-bottom: var(--space-16);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-16);
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--r-md);
    background: var(--accent-light);
    font-size: .78rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: var(--space-4);
    flex-shrink: 0;
}

.policy-section h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: var(--space-5);
}

.policy-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-6) 0 var(--space-3);
}

.policy-section p {
    font-size: .94rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.policy-section p:last-child {
    margin-bottom: 0;
}

/* Styled list */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: var(--space-4) 0;
}

.policy-list li {
    display: flex;
    gap: var(--space-3);
    font-size: .94rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.policy-list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    margin-top: 8px;
    flex-shrink: 0;
}

/* Info card — highlighted box */
.info-card {
    background: var(--brand-50);
    border: 1px solid var(--brand-200);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--r-lg);
    padding: var(--space-5) var(--space-6);
    margin: var(--space-6) 0;
}

.info-card p {
    font-size: .9rem;
    color: var(--brand-700);
    margin-bottom: 0 !important;
    line-height: 1.75;
}

.info-card strong {
    color: var(--brand-600);
    font-weight: 700;
}

/* Warning card */
.warn-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: var(--r-lg);
    padding: var(--space-5) var(--space-6);
    margin: var(--space-6) 0;
}

.warn-card p {
    font-size: .9rem;
    color: #92400e;
    margin-bottom: 0 !important;
    line-height: 1.75;
}

/* Data table */
.data-table-wrap {
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: var(--space-6) 0;
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead tr {
    background: var(--gray-50);
}

.data-table th {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: var(--space-3) var(--space-5);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table td {
    font-size: .88rem;
    color: var(--text-secondary);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
    line-height: 1.6;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: var(--brand-50);
}

.td-bold {
    font-weight: 600;
    color: var(--text-primary);
}

/* Rights grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.right-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: var(--space-5);
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

.right-card:hover {
    border-color: var(--border-brand);
    box-shadow: var(--shadow-md);
}

.right-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-md);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: var(--space-3);
}

.right-card h4 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.right-card p {
    font-size: .8rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 !important;
}

/* Contact section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: var(--space-5) var(--space-6);
}

.contact-card-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.contact-card-val {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-card-val a {
    color: var(--text-brand);
}

.contact-card-val a:hover {
    text-decoration: underline;
}

/* Last updated bar */
.last-updated {
    background: var(--gray-50);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    font-size: .84rem;
    color: var(--text-muted);
}

.last-updated svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--brand-400);
}

.last-updated strong {
    color: var(--text-primary);
}


/* RESPONSIVE */
@media(max-width:900px) {
    .policy-layout {
        grid-template-columns: 1fr;
    }

    .toc {
        position: static;
        display: none;
    }

    .toc.show {
        display: block;
    }

    .toc-toggle {
        display: flex !important;
        align-items: center;
        gap: var(--space-2);
        background: var(--gray-50);
        border: 1px solid var(--border-light);
        border-radius: var(--r-lg);
        padding: var(--space-3) var(--space-5);
        font-size: .84rem;
        font-weight: 600;
        color: var(--text-secondary);
        margin-bottom: var(--space-6);
        width: 100%;
        justify-content: space-between;
    }
}

@media(min-width:901px) {
    .toc-toggle {
        display: none !important;
    }
}

@media(max-width:600px) {
    .rights-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .data-table-wrap {
        overflow-x: auto;
    }
}