/* Policy documents (terms, privacy, refund, copyright) */
.policy {
    background: #f8fafc;
    padding: 32px 16px 64px;
    color: #334155;
}
.policy-wrap {
    max-width: 880px;
    margin: 0 auto;
}
.policy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.policy-tabs a {
    padding: 7px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}
.policy-tabs a:hover {
    border-color: #2563eb;
    color: #2563eb;
}
.policy-tabs a[aria-current="page"] {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
}
.policy-doc {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 48px;
    font-size: 0.975rem;
    line-height: 1.75;
}
.policy-head {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}
.policy-eyebrow {
    margin: 0 0 6px;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.policy-doc h1 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}
.policy-meta {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}
.policy-summary {
    margin: 0 0 28px;
    padding: 18px 22px;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    background: #eff6ff;
}
.policy-summary h2 {
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 1rem !important;
}
.policy-summary ul {
    margin: 0;
}
.policy-toc {
    margin: 0 0 32px;
    padding: 18px 22px;
    border-radius: 8px;
    background: #f8fafc;
}
.policy-toc p {
    margin: 0 0 8px;
    color: #0f172a;
    font-weight: 600;
}
.policy-toc ol {
    margin: 0;
    padding-left: 22px;
    list-style: decimal;
    columns: 2;
    column-gap: 32px;
}
.policy-toc li {
    margin: 0 0 4px;
    break-inside: avoid;
}
.policy-doc .policy-toc a {
    color: #334155;
    text-decoration: none;
}
.policy-doc .policy-toc a:hover {
    color: #2563eb;
    text-decoration: underline;
}
.policy-doc section {
    scroll-margin-top: 96px;
}
.policy-doc h2 {
    margin: 36px 0 12px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    color: #0f172a;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}
.policy-doc section:first-of-type h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.policy-doc h3 {
    margin: 22px 0 8px;
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 600;
}
.policy-doc p {
    margin: 0 0 12px;
}
.policy-doc ul,
.policy-doc ol {
    margin: 0 0 14px;
    padding-left: 22px;
}
.policy-doc ul {
    list-style: disc;
}
.policy-doc ol {
    list-style: decimal;
}
.policy-doc li {
    margin: 4px 0;
}
.policy-doc li > ul {
    margin: 4px 0 0;
    list-style: circle;
}
.policy-doc a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.policy-doc strong {
    color: #0f172a;
    font-weight: 600;
}
.policy-doc code {
    padding: 1px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    font-size: 0.875em;
    word-break: break-all;
}
.policy-table {
    margin: 8px 0 18px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.policy-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.6;
}
.policy-table th,
.policy-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}
.policy-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}
.policy-table tr:last-child td {
    border-bottom: 0;
}
.policy-note {
    margin: 8px 0 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 0.925rem;
}
.policy-contact {
    margin-top: 36px;
    padding: 20px 22px;
    border-radius: 8px;
    background: #f8fafc;
}
.policy-contact h2 {
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 1.1rem !important;
}
.policy-contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (max-width: 640px) {
    .policy {
        padding: 16px 12px 40px;
    }
    .policy-doc {
        padding: 24px 18px;
        font-size: 0.95rem;
    }
    .policy-doc h1 {
        font-size: 1.6rem;
    }
    .policy-toc ol {
        columns: 1;
    }
    .policy-table {
        border: 0;
        overflow: visible;
    }
    .policy-table thead {
        display: none;
    }
    .policy-table table,
    .policy-table tbody,
    .policy-table tr,
    .policy-table td {
        display: block;
        width: 100%;
    }
    .policy-table tr {
        margin-bottom: 10px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        overflow: hidden;
    }
    .policy-table td {
        padding: 8px 14px;
        border-bottom: 1px solid #f1f5f9;
    }
    .policy-table tr td:first-child {
        background: #f8fafc;
    }
    .policy-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        color: #64748b;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
    .policy-table tr:last-child td {
        border-bottom: 1px solid #f1f5f9;
    }
    .policy-table tr td:last-child {
        border-bottom: 0;
    }
}
