.hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0b4db7 55%, #111827 100%);
}

.card {
    border-radius: 1rem;
}

.utility-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.utility-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12) !important;
}

.tool-swipe-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.tool-swipe-item {
    flex: 0 0 clamp(18rem, 82vw, 23rem);
    scroll-snap-align: start;
}

.category-chip {
    font-weight: 600;
    border-radius: 999px;
}

.language-toggle {
    min-width: 10rem;
}

.language-flag {
    display: inline-block;
    width: 1.25rem;
    height: 0.9rem;
    border-radius: 0.15rem;
    overflow: hidden;
}

.adsense-banner {
    min-height: 110px;
}

code {
    word-break: break-all;
}

.policy-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0ea5e9 100%);
}

.policy-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.14), transparent 28%);
    pointer-events: none;
}

.policy-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.policy-kicker {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}

.policy-panel {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    background: #fff;
}

.policy-list .policy-step + .policy-step {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.policy-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.policy-step__badge {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(14, 165, 233, 0.18));
    color: #0d6efd;
}

.policy-step__badge i {
    font-size: 1.15rem;
}

.policy-step__number {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.5);
    margin-bottom: 0.15rem;
}

.policy-step__text {
    margin: 0;
    color: #334155;
    line-height: 1.7;
}

.policy-aside {
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.policy-aside .policy-pill {
    background: rgba(13, 110, 253, 0.09);
    color: #0d6efd;
    border-color: rgba(13, 110, 253, 0.14);
    backdrop-filter: none;
}

.policy-note {
    border-left: 4px solid #0d6efd;
    background: #eff6ff;
    border-radius: 1rem;
}

.policy-document {
    width: min(100%, 980px);
    margin: 1.5rem auto 3rem;
    padding: clamp(1.5rem, 4vw, 4.5rem);
    color: #1f2937;
    background: #fff;
    border: 0;
    border-radius: 0.35rem;
    box-shadow: 0 1.25rem 3.5rem rgba(15, 23, 42, 0.12);
    line-height: 1.85;
}

.policy-document__header {
    padding-bottom: 2rem;
    text-align: center;
    border-bottom: 0;
}

.policy-document__eyebrow {
    margin: 0 0 0.75rem;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.policy-document__header h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(2rem, 5vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.policy-document__summary {
    max-width: 46rem;
    margin: 1rem auto 0;
    color: #4b5563;
    font-size: 1rem;
}

.policy-document__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2rem 0 0;
    border: 0;
    text-align: left;
}

.policy-document__meta > div {
    padding: 0.8rem 1rem;
}

.policy-document__meta > div + div {
    border-left: 0;
}

.policy-document__meta dt,
.policy-document__contact dt {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.policy-document__meta dd,
.policy-document__contact dd {
    margin: 0.15rem 0 0;
    font-weight: 600;
}

.policy-document__toc {
    margin: 2.5rem 0;
    padding: 1.5rem 1.75rem;
    background: #f8fafc;
    border: 0;
}

.policy-document__toc strong {
    display: block;
    margin-bottom: 0.65rem;
    color: #111827;
    font-size: 1rem;
}

.policy-document__toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 2rem;
    margin: 0;
    padding-left: 1.25rem;
}

.policy-document__toc a {
    color: #334155;
    text-decoration: none;
}

.policy-document__toc a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.policy-document__section {
    scroll-margin-top: 6rem;
}

.policy-document__section + .policy-document__section {
    margin-top: 3rem;
    padding-top: 2.25rem;
    border-top: 0;
}

.policy-document__section h2 {
    margin: 0 0 1.25rem;
    padding-bottom: 0.6rem;
    color: #111827;
    border-bottom: 0;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    line-height: 1.45;
}

.policy-document__section h3 {
    margin: 1.5rem 0 0.45rem;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 750;
}

.policy-document__section p {
    margin: 0.65rem 0;
}

.policy-document__preline {
    white-space: pre-line;
}

.policy-document__section ul,
.policy-document__section ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.policy-document__section li + li {
    margin-top: 0.45rem;
}

.policy-document__callout {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #eff6ff;
    border: 0;
    border-left: 0;
}

.policy-document__callout h3 {
    margin-top: 0;
    color: #1d4ed8;
}

.policy-document__contact {
    margin: 1rem 0;
    border: 0;
}

.policy-document__contact dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.policy-document__contact dl > div {
    padding: 0.8rem 1rem;
    border-bottom: 0;
}

.policy-document__contact dl > div:nth-child(odd) {
    border-right: 0;
}

@media (max-width: 767.98px) {
    .policy-document {
        margin-top: 0.75rem;
        padding: 1.25rem;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .policy-document__meta,
    .policy-document__toc ol,
    .policy-document__contact dl {
        grid-template-columns: 1fr;
    }

    .policy-document__meta > div + div,
    .policy-document__contact dl > div:nth-child(odd) {
        border-left: 0;
        border-right: 0;
    }

    .policy-document__meta > div + div {
        border-top: 0;
    }
}

@media print {
    .policy-document {
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        color: #000;
    }

    .policy-document__toc a {
        color: #000;
    }

    .policy-document__section,
    .policy-document__callout,
    .policy-document__contact {
        break-inside: avoid;
    }
}
