:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --ink: #2c3651;
    --muted: #667085;
    --line: #bbbbbb;
    --red: #008cd1;
    --red-dark: #2c3651;
    --green: #008cd1;
    --green-dark: #2c3651;
    --navy: #2c3651;
    --gold: #bbbbbb;
    --shadow: 0 18px 55px rgba(44, 54, 81, .12);
    --radius: 8px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(187, 187, 187, .75);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1240px, calc(100% - 28px));
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img,
.footer-logo img {
    display: block;
    width: 166px;
    height: 44px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-wrap {
    position: relative;
}

.icon-menu {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    display: inline-grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
}

.icon-menu span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .18s ease;
}

.dropdown-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 11px 12px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: rgba(0, 140, 209, .08);
}

.header-cta,
.primary-button,
.article-content blockquote a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: var(--radius);
    background: var(--green);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 140, 209, .22);
    transition: transform .18s ease, background-color .18s ease;
}

.header-cta:hover,
.primary-button:hover,
.article-content blockquote a:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.hero {
    position: relative;
    min-height: clamp(540px, 72vh, 760px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #2c3651 url("/img/hero-bg.svg") center / cover no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(44, 54, 81, .92), rgba(44, 54, 81, .62) 52%, rgba(44, 54, 81, .28));
}

.hero-overlay img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 32px));
    max-width: 760px;
    margin: 72px auto 108px max(16px, calc((100% - var(--container)) / 2));
    padding: clamp(22px, 3vw, 36px);
    background: rgba(44, 54, 81, .46);
    border: 0;
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(44, 54, 81, .22);
    backdrop-filter: blur(10px);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--red);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--gold);
}

.hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero p:not(.eyebrow) {
    max-width: 690px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.toc-section {
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.toc summary {
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 900;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 0;
    padding: 0 24px 24px 46px;
}

.toc-list a {
    color: var(--muted);
    text-decoration: none;
}

.toc-list a:hover {
    color: var(--red);
}

.offers-section,
.article-content,
.author-box {
    margin-top: 72px;
}

.section-head {
    max-width: 820px;
    margin-bottom: 28px;
}

.section-head h2,
.author-box h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.12;
}

.section-head p:not(.eyebrow),
.author-box p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

.offers-table {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(187, 187, 187, .55);
    border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(44, 54, 81, .08);
}

.offers-table-head,
.offer-row {
    display: grid;
    grid-template-columns: .9fr 1.1fr 1.48fr .72fr 1.05fr;
    align-items: center;
    gap: 24px;
}

.offers-table-head {
    min-height: 72px;
    padding: 0 28px;
    background: rgba(0, 140, 209, .09);
    color: var(--navy);
    font-size: .92rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.offer-row {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border-top: 1px solid rgba(187, 187, 187, .55);
    transition: background-color .18s ease;
}

.offer-row:hover {
    background: #f7f8fa;
}

.offer-brand {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.offer-rank {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #eef3ff;
    color: var(--navy);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(44, 54, 81, .08);
}

.offer-logo {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    padding: 0;
    background: transparent;
    color: var(--navy);
    border-radius: var(--radius);
    font-size: 1.08rem;
    font-weight: 900;
    overflow: hidden;
}

.offer-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.offer-brand__name {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.offer-brand p {
    margin: 0;
    color: #8a94a6;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.3;
}

.offer-bonus {
    color: var(--navy);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.offer-features {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--navy);
    font-size: .92rem;
    font-weight: 700;
}

.offer-features li {
    position: relative;
    padding-left: 24px;
}

.offer-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .46em;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(-45deg);
}

.offer-score {
    display: grid;
    gap: 8px;
    justify-items: center;
    color: var(--navy);
    text-align: center;
}

.offer-score strong {
    font-size: 1.1rem;
    font-weight: 900;
}

.offer-score span {
    color: #ffc400;
    font-size: 1.35rem;
    letter-spacing: 0;
}

.offer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 16px 22px;
    background: var(--red);
    color: #fff;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 14px 26px rgba(0, 140, 209, .2);
    transition: transform .18s ease, background-color .18s ease;
}

.offer-button:hover {
    background: var(--navy);
    transform: translateY(-1px);
}

.article-content {
    padding: clamp(28px, 5vw, 54px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: 0;
}

.article-content h2 {
    margin: 46px 0 16px;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    margin: 28px 0 12px;
    font-size: 1.22rem;
}

.article-content h4 {
    margin: 22px 0 10px;
    font-size: 1.08rem;
}

.article-content p {
    margin: 0 0 18px;
    color: #2c3651;
}

.article-content a {
    color: var(--red);
    font-weight: 800;
}

.article-content ul,
.article-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.article-content li {
    margin: 8px 0;
    padding-left: 4px;
}

.article-content strong {
    color: var(--ink);
}

.article-content blockquote {
    margin: 30px 0;
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    background: #2c3651;
    color: #fff;
    border-left: 6px solid var(--gold);
    border-radius: var(--radius);
    font-size: 1.04rem;
    font-weight: 800;
}

.article-content blockquote a {
    color: #fff;
    background: var(--red);
    box-shadow: 0 10px 28px rgba(0, 140, 209, .22);
}

.article-content blockquote a:hover {
    background: var(--red-dark);
}

.article-content img {
    display: block;
    width: 100%;
    margin: 26px 0;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #2c3651;
}

.demo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 520px;
    margin: 26px 0 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #2c3651;
    box-shadow: 0 16px 38px rgba(44, 54, 81, .12);
}

.demo-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.article-content table {
    width: 100%;
    margin: 24px 0 34px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(44, 54, 81, .06);
}

.article-content th,
.article-content td {
    padding: 15px 16px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
}

.article-content th {
    background: #2c3651;
    color: #fff;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.article-content tr:last-child td {
    border-bottom: 0;
}

.article-content tbody tr {
    transition: background-color .16s ease;
}

.article-content tbody tr:hover {
    background: #f7f8fa;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0 !important;
}

.steps li {
    position: relative;
    margin: 12px 0;
    padding: 18px 18px 18px 72px;
    background: #f7f8fa;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 16px;
    left: 18px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    font-weight: 900;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0 24px;
}

.feature-list div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f7f8fa;
}

.feature-list img {
    width: 54px;
    height: 54px;
    margin: 0 0 12px;
    border: 0;
    background: transparent;
}

.feature-list strong {
    display: block;
    margin-bottom: 8px;
}

.feature-list p {
    margin-bottom: 0;
}

.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.pros-cons section {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #f7f8fa;
}

.pros-cons section:first-child {
    border-color: rgba(0, 140, 209, .28);
    background: rgba(0, 140, 209, .07);
}

.pros-cons section:last-child {
    border-color: rgba(187, 187, 187, .7);
    background: rgba(187, 187, 187, .14);
}

.faq {
    margin-top: 46px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    margin: 10px 0;
}

.faq summary {
    padding: 17px 18px;
    cursor: pointer;
    font-weight: 900;
}

.faq details[open] summary {
    border-bottom: 1px solid var(--line);
}

.faq details p {
    padding: 16px 18px 18px;
    margin: 0;
}

.author-box {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 28px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(44, 54, 81, .06);
}

.author-box img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    background: #f7f8fa;
}

.site-footer {
    margin-top: 78px;
    padding: 44px 0 32px;
    background: var(--navy);
    color: #e7e9ef;
}

.footer-container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-nav a,
.footer-editorial a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.footer-warning,
.footer-copy,
.footer-editorial {
    text-align: center;
}

.footer-warning strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.06rem;
}

.footer-warning p,
.footer-copy p,
.footer-editorial p {
    max-width: 820px;
    margin: 0 auto;
}

.footer-organizations {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-organizations a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
}

.footer-organizations img {
    max-width: 118px;
    max-height: 34px;
}

.footer-copy {
    border-bottom: 0;
    padding-bottom: 0;
    color: #bbbbbb;
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 68px;
    }

    .brand img,
    .footer-logo img {
        width: 138px;
    }

    .header-cta {
        padding-inline: 12px;
        font-size: .9rem;
    }

    .hero {
        min-height: 620px;
    }

    .hero-inner {
        width: min(100% - 32px, 860px);
        margin: 46px auto 84px 16px;
        padding: 22px 18px;
    }

    .hero-overlay {
        background: rgba(44, 54, 81, .82);
    }

    .toc-list,
    .feature-list,
    .pros-cons,
    .author-box {
        grid-template-columns: 1fr;
    }

    .offers-table {
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .offers-table-head {
        display: none;
    }

    .offer-row {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 0;
        margin-bottom: 16px;
        padding: 22px;
        background: var(--surface);
        border: 1px solid rgba(187, 187, 187, .55);
        border-radius: var(--radius);
        box-shadow: 0 12px 30px rgba(44, 54, 81, .07);
    }

    .offer-row::before,
    .offer-row::after {
        display: none;
    }

    .offer-bonus,
    .offer-features,
    .offer-score,
    .offer-button {
        width: 100%;
    }

    .offer-bonus {
        text-align: left;
    }

    .offer-score {
        justify-items: start;
        text-align: left;
    }

    .article-content {
        padding: 24px 16px;
    }

    .article-content blockquote {
        grid-template-columns: 1fr;
    }

    .demo-frame {
        aspect-ratio: 9 / 16;
        min-height: 620px;
    }

    .article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .author-box img {
        width: 132px;
        height: 132px;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .header-inner {
        width: min(100% - 18px, 1240px);
        gap: 8px;
    }

    .brand img {
        width: 116px;
    }

    .icon-menu {
        width: 42px;
        height: 42px;
    }

    .header-cta {
        min-height: 42px;
        padding-inline: 10px;
    }

    .dropdown-menu {
        right: -86px;
        width: min(280px, calc(100vw - 24px));
    }

    .demo-frame {
        min-height: 560px;
    }
}
