*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --purple: #6c3fc5;
    --purple-dark: #4e2d9b;
    --blue: #48c0fe;
    --navy: #1a2340;
    --navy2: #1f2d5a;
    --pink: #e84393;
    --teal: #0fc4b8;
    --gold: #f5a623;
    --text: #1a1a2e;
    --muted: #6b7280;
    --light: #eaf5fb;
    --border: #e5e7eb;
    --white: #ffffff;
    --green: #22c55e;
    --badge-blue: #dbeafe;
    --badge-blue-text: #1d4ed8;
    --badge-green: #dcfce7;
    --badge-green-text: #166534;
    --badge-orange: #ffedd5;
    --badge-orange-text: #9a3412;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 48px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 4px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: color .2s;
}

nav a:hover,
nav a.active {
    color: var(--blue);
}

nav a.active {
    border-bottom: 2px solid var(--blue);
    padding-bottom: 2px;
}

.header-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    background: var(--light);
    overflow: hidden;
}

.hero-left {
    padding: 60px 48px 60px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    line-height: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue);
    background: #cfecff;
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 18px;
}

.hero-tag-icon {
    height: 10px;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 14px;
}

.highlight {
    color: var(--blue);
}

.hero-sub {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 380px;
}

.hero-checks {
    list-style: none;
    margin-bottom: 28px;
}

.hero-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 11px;
    height: 11px;
}

.hero-avatars {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatars-row {
    display: flex;
}

.avatars-row img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -8px;
    object-fit: cover;
}

.avatars-row img:first-child {
    margin-left: 0;
}

.hero-avatars span {
    font-size: 13px;
    color: var(--muted);
    max-width: 160px;
    line-height: 1.4;
}

.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-right img.hero-photo {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 60px);
    object-fit: cover;
    display: block;
}

.hero-badges {
    position: absolute;
    bottom: 28px;
    right: 28px;
    background: var(--navy2);
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    display: flex;
    gap: 32px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.badge-item svg {
    width: 28px;
    height: 28px;
}

.badge-item strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.badge-item span {
    font-size: 11px;
    color: var(--white);
}

.container {
    max-width: 700px;
    padding: 32px 48px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    padding: 56px 48px 32px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--muted);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto;
}

.section-text {
    margin-top: 30px;
    text-align: start;
}

.section-text h2 {
    font-size: 32px;
    color: var(--navy);
}

.section-text p {
    color: var(--muted);
    font-size: 15px;
    margin-top: 15px;
}

.section-text__list {
    list-style: inside;
    color: var(--muted);
    font-size: 15px;
    margin-top: 15px;
}

.rankings {
    padding: 0 48px 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.rank-card {
    display: grid;
    grid-template-columns: 64px 1fr 220px;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    transition: box-shadow .25s, transform .2s;
}

.rank-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.rank-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
}

.rank-num .top-pick {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .85;
    line-height: 1;
}

.rank-num svg {
    width: 18px;
    height: 18px;
}

.rank-card:nth-child(1) .rank-num {
    background: var(--blue);
}

.rank-card:nth-child(2) .rank-num {
    background: var(--navy2);
}

.rank-card:nth-child(3) .rank-num {
    background: var(--pink);
}

.rank-card:nth-child(4) .rank-num {
    background: var(--teal);
}

.rank-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    background: var(--white);
}

.rank-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border-right: 1px solid var(--border);
}

.rank-logo img {
    max-width: 110px;
    max-height: 52px;
    object-fit: contain;
}

.rank-info {
    padding: 20px 24px;
}

.rank-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rank-title-row h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
}

.pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.pill-purple {
    background: var(--badge-blue);
    color: var(--badge-blue-text);
}

.pill-navy {
    background: #dbeafe;
    color: #1e40af;
}

.pill-orange {
    background: var(--badge-orange);
    color: var(--badge-orange-text);
}

.rank-desc {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 12px;
    max-width: 480px;
}

.rank-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--text);
}

.rank-meta span strong {
    font-weight: 700;
}

.rank-side {
    background: var(--light);
    border-left: 1px solid var(--border);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 200px;
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 15px;
    height: 15px;
}

.stars-score {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
}

.rank-features {
    list-style: none;
    margin-bottom: 16px;
}

.rank-features li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--text);
    margin-bottom: 5px;
}

.rank-features li svg {
    width: 14px;
    height: 14px;
    color: var(--green);
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .15s;
    text-align: center;
}

.btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.btn-purple {
    background: var(--blue);
    color: var(--white);
}

.btn-navy {
    background: var(--navy2);
    color: var(--white);
}

.btn-pink {
    background: var(--pink);
    color: var(--white);
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.btn-link {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    margin-top: 8px;
}

.see-all-wrap {
    text-align: center;
    padding: 8px 0 56px;
}

.btn-outline {
    background: var(--white);
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.how-section {
    background: var(--light);
    padding: 56px 48px;
    text-align: center;
}

.how-section h2 {
    font-size: 30px;
    color: var(--navy);
    margin-bottom: 8px;
}

.how-section>p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.how-card {
    background: var(--white);
    border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.how-icon {
    width: 52px;
    height: 52px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.how-icon img {
    width: 30px;
    height: 30px;
}

.icon-purple {
    background: #ede9ff;
}

.icon-green {
    background: #dcfce7;
}

.icon-blue {
    background: #dbeafe;
}

.icon-orange {
    background: #ffedd5;
}

.how-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.how-card p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
}

.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 56px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.tips h3,
.faq h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 24px;
}

.tip-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    margin-bottom: 20px;
    align-items: start;
}

.tip-item img {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.tip-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 4px;
}

.tip-item p {
    font-size: 12.5px;
    color: var(--muted);
}

.read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

/* FAQ */
.faq {
    padding-left: 48px;
    border-left: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary svg {
    width: 18px;
    height: 18px;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform .2s;
}

.faq-item[open] summary svg {
    transform: rotate(180deg);
}

.faq-item p {
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 16px;
    line-height: 1.6;
}

.view-faqs {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .6);
    text-align: center;
    padding: 28px 48px;
    font-size: 12px;
}

footer a {
    color: rgba(255, 255, 255, .7);
    margin: 0 8px;
}

footer a:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    header {
        padding: 12px 20px;
    }

    .lastUpdated {
        display: none;
    }

    nav {
        gap: 16px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        display: none;
    }

    .hero-left {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .rankings {
        padding: 0 16px 40px;
    }

    .rank-card {
        display: flex;
        flex-direction: column;
    }

    .rank-num {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 16px;
        gap: 10px;
        font-size: 20px;
        min-height: unset;
    }

    .rank-num .top-pick {
        font-size: 9px;
    }

    .rank-body {
        display: flex;
        flex-direction: column;
    }

    .rank-logo {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px;
    }

    .rank-side {
        border-left: none;
        border-top: 1px solid var(--border);
        min-width: unset;
        padding: 16px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        align-items: flex-start;
    }

    .rank-side > div {
        flex: 1 1 auto;
        min-width: 0;
    }

    .rank-side .btn-full {
        width: 100%;
    }

    .rank-features {
        margin-bottom: 0;
    }

    .how-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bottom-section {
        grid-template-columns: 1fr;
    }

    .faq {
        border-left: none;
        padding-left: 0;
        padding-top: 32px;
    }

    .how-section,
    .section-header,
    .bottom-section,
    .container {
        padding: 26px 18px;
    }

    .section-text {
        margin-top: 20px;
    }
    .section-text p,
    .section-text__list {
        margin-top: 10px;
    }
}