:root {
    --bg: #ffffff;
    --fg: #0f172a;
    --muted: #475569;
    --card: #ffffff;
    --line: #e2e8f0;
    --soft: #f1f5f9;
    --brand: #2563eb;
    --brand2: #06b6d4;
    --good: #16a34a;
    --warn: #ca8a04;
    --bad: #dc2626;
    --shadow: 0 10px 30px rgba(2, 6, 23, .08);
    --r: 18px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--fg);
    background: linear-gradient(180deg, #fff, #f8fafc 50%, #fff)
}

a {
    color: var(--brand);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

img {
    max-width: 100%;
    height: auto
}

.logo-img {
    width: 120px;
}

.container {
    width: min(1120px, 92vw);
    margin-inline: auto
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    z-index: 9999
}

header.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 1000
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .2px
}

.brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    box-shadow: 0 8px 20px rgba(37, 99, 235, .25)
}

.nav-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center
}

.nav-links a {
    padding: 8px 10px;
    border-radius: 12px;
    color: var(--fg)
}

.nav-links a[aria-current="page"] {
    background: var(--soft)
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: var(--fg)
}

@media(max-width:920px) {
    .nav {
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
        order: 1
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        border-top: 1px solid var(--line);
        order: 2
    }

    .nav-links.open {
        display: flex
    }

    .nav-cta {
        display: none
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--fg);
    cursor: pointer
}

.btn:hover {
    box-shadow: 0 8px 18px rgba(2, 6, 23, .08)
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    border-color: transparent
}

.btn-primary:hover {
    text-decoration: none;
    filter: saturate(1.05)
}

.btn-ghost {
    background: transparent
}

.kbd {
    font-size: 12px;
    padding: 2px 7px;
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    border-radius: 8px;
    background: #fff;
    color: var(--muted)
}

.hero {
    padding: 42px 0 24px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center
}

@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr
    }
}

.h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    margin: 0 0 12px
}

.lead {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--muted);
    margin: 0 0 18px
}

.pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 0
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    color: var(--muted)
}

.section {
    padding: 32px 0
}

.section h2 {
    font-size: 24px;
    margin: 0 0 14px
}

.grid {
    display: grid;
    gap: 14px
}

.grid.cols-3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid.cols-4 {
    grid-template-columns: repeat(4, 1fr)
}

.grid.cols-2 {
    grid-template-columns: repeat(2, 1fr)
}

@media (max-width: 980px) {
    .grid.cols-4 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 760px) {

    .grid.cols-3,
    .grid.cols-2 {
        grid-template-columns: 1fr
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 16px
}

.card.soft {
    background: linear-gradient(180deg, #fff, #f8fafc)
}

.card h3 {
    margin: 0 0 6px;
    font-size: 16px
}

.muted {
    color: var(--muted)
}

.small {
    font-size: 13px;
    color: var(--muted)
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted)
}

.rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.score {
    font-weight: 900;
    font-size: 22px
}

.score .of {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600
}

.progress {
    height: 10px;
    background: var(--soft);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #e5e7eb
}

.progress>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brand2))
}

.logo {
    width: 84px;
    height: 32px;
    object-fit: contain
}

.row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0
}

.table th,
.table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top
}

.table th {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em
}

.table tr:hover td {
    background: #fbfdff
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: end
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field label {
    font-size: 12px;
    color: var(--muted)
}

select,
input {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff
}

.notice {
    border-left: 4px solid var(--brand);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 12px 12px;
    margin: 14px 0;
    color: #0f172a
}

.footer {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .7)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px
}

@media (max-width: 880px) {
    .footer-grid {
        grid-template-columns: 1fr
    }
}

.footer a {
    color: var(--muted)
}

.disclaimer {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45
}

.hr {
    height: 1px;
    background: var(--line);
    margin: 14px 0
}

.badge18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-weight: 900
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, .35);
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    z-index: 2000
}

.modal[open] {
    display: flex
}

.modal-box {
    width: min(900px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(2, 6, 23, .18);
    padding: 16px
}

.modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.modal-top h3 {
    margin: 0;
    font-size: 16px
}

.toast {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 2500
}

.toast.show {
    display: block
}

.cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 14px;
    display: none;
    z-index: 3000
}

.cookie.show {
    display: block
}

.cookie p {
    margin: 0 0 10px;
    color: var(--muted)
}

.breadcrumbs {
    font-size: 13px;
    color: var(--muted);
    margin: 8px 0 0
}

.breadcrumbs a {
    color: var(--muted)
}

.faq {
    border-top: 1px solid var(--line);
    margin-top: 10px
}

.faq details {
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.faq summary {
    cursor: pointer;
    font-weight: 650
}