@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
    --sf-bg: #f4f4f2;
    --sf-panel: #eceef2;
    --sf-card: #f8f8f7;
    --sf-text: #1d1d21;
    --sf-muted: #676b74;
    --sf-border: #d7d9de;
    --sf-accent: #0a1a57;
    --sf-accent-hover: #0f2b8c;
    --sf-heading: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
    --sf-sans: Arial, Helvetica, sans-serif;
    --sf-content-max: 1240px;
    --sf-content-narrow: 800px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--sf-bg);
    color: var(--sf-text);
    font-family: var(--sf-sans);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration-skip-ink: auto;
}

.sf-main {
    min-height: 70vh;
}

/* Header */
.sf-header {
    border-bottom: 1px solid var(--sf-border);
    background: #fbfbfa;
    position: sticky;
    top: 0;
    z-index: 40;
}

.sf-header__top {
    max-width: var(--sf-content-max);
    margin: 0 auto;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 24px;
    padding-right: 24px;
}

.sf-header__top {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sf-header__brand {
    text-decoration: none;
    font-family: var(--sf-heading);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sf-header__utility {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sf-header__utility > a {
    text-decoration: none;
    color: var(--sf-muted);
}

.sf-header__utility-divider {
    color: #babdc4;
}

.sf-header__nav .nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.sf-header__nav .nav a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    font-weight: 700;
    color: #3e434d;
}

.sf-header__nav .nav li.nav-current a {
    color: var(--sf-accent);
}

/* Homepage */
.sf-home {
    max-width: var(--sf-content-max);
    margin: 0 auto;
    padding: 34px 24px 78px;
}

.sf-home__header {
    max-width: 700px;
    margin-bottom: 34px;
}

.sf-home__eyebrow {
    margin: 0;
    color: var(--sf-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 600;
}

.sf-home__title {
    margin: 10px 0 0;
    font-family: var(--sf-heading);
    font-size: clamp(42px, 5vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.sf-home__description {
    margin: 12px 0 0;
    color: var(--sf-muted);
    font-size: 16px;
    line-height: 1.6;
}

.sf-home__list {
    display: grid;
    gap: 28px;
}

.sf-listing {
    display: grid;
    grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--sf-border);
}

.sf-listing__media {
    text-decoration: none;
}

.sf-listing__image-wrap {
    background: #dedfe3;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.sf-listing__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-listing__body {
    max-width: 760px;
}

.sf-listing__eyebrow {
    margin: 2px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 11px;
    color: var(--sf-muted);
    font-weight: 600;
}

.sf-listing__title {
    margin: 0;
    font-family: var(--sf-heading);
    font-size: clamp(33px, 3.6vw, 54px);
    line-height: 1;
    letter-spacing: -0.015em;
    font-weight: 700;
}

.sf-listing__title-link {
    text-decoration: none;
}

.sf-listing__excerpt {
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.68;
    color: #383a3f;
}

.sf-listing__cta {
    display: inline-flex;
    margin-top: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    color: var(--sf-accent);
    font-weight: 700;
}

.sf-home__status {
    margin: 0;
    color: var(--sf-muted);
    font-size: 14px;
}

.sf-home__pagination {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.sf-home__pagination-link {
    color: var(--sf-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.sf-home__pagination-meta {
    color: var(--sf-muted);
    font-size: 12px;
}

/* Article */
.sf-article {
    max-width: var(--sf-content-max);
    margin: 0 auto;
    padding: 24px 24px 90px;
}

.sf-article__header {
    max-width: 980px;
}

.sf-article__disclaimer {
    margin: 2px 0 16px;
    font-size: 14px;
    color: var(--sf-muted);
    line-height: 1.5;
    font-style: italic;
}

.sf-article__title {
    margin: 0;
    font-family: var(--sf-heading);
    font-size: clamp(50px, 5.4vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.sf-article__dek {
    margin: 14px 0 0;
    font-size: 25px;
    font-family: var(--sf-heading);
    line-height: 1.2;
    max-width: 840px;
}

.sf-article__meta {
    margin: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    color: #363940;
    font-size: 13px;
    line-height: 1.5;
}

.sf-article__meta-tag {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.09em;
    color: var(--sf-muted);
}

.sf-article__hero {
    margin: 26px 0 0;
    max-width: 100%;
}

.sf-article__hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #ddd;
}

.sf-article__layout {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.sf-article__toc {
    background: var(--sf-panel);
    border: 1px solid var(--sf-border);
    padding: 16px;
    position: sticky;
    top: 126px;
    max-height: calc(100vh - 160px);
    overflow: auto;
}

.sf-article__toc[hidden] {
    display: none;
}

.sf-article__toc-label {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #444851;
    font-weight: 700;
}

.sf-article__toc-list {
    margin: 12px 0 0;
    padding: 0 0 0 12px;
    list-style: none;
    border-left: 1px solid #c8ccd4;
}

.sf-article__toc-item {
    margin: 0;
}

.sf-article__toc-item + .sf-article__toc-item {
    margin-top: 10px;
}

.sf-article__toc-link {
    text-decoration: none;
    color: #2e3137;
    font-size: 20px;
    font-family: var(--sf-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.sf-article__toc-link.is-active {
    color: var(--sf-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sf-article__content {
    max-width: var(--sf-content-narrow);
    font-size: 21px;
    line-height: 1.72;
}

.sf-article__content > *:first-child {
    margin-top: 0;
}

.sf-article__content p {
    margin: 0 0 18px;
}

.sf-article__content h2,
.sf-article__content h3,
.sf-article__content h4 {
    margin: 44px 0 14px;
    font-family: var(--sf-heading);
    line-height: 1.05;
    scroll-margin-top: 116px;
}

.sf-article__content h2 {
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 600;
}

.sf-article__content h3 {
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 600;
}

.sf-article__content h4 {
    font-size: clamp(25px, 2.8vw, 34px);
    font-weight: 600;
}

.sf-article__content ul,
.sf-article__content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.sf-article__content li + li {
    margin-top: 8px;
}

.sf-article__content figure {
    margin: 26px 0;
}

.sf-article__content figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #6c7079;
    text-align: center;
}

.sf-article__content blockquote {
    margin: 24px 0;
    padding: 10px 18px;
    border-left: 3px solid #c4cad8;
    color: #2d3240;
}

.sf-article__content a {
    color: var(--sf-accent);
}

/* Advertorial content modules */
.sf-article__content .sf-the-point {
    background-color: #bee9e8;
    color: #1f2f39;
    max-width: 750px;
    width: 100%;
    padding: 40px 50px;
    box-sizing: border-box;
    border-radius: 4px;
    margin: 28px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sf-article__content .sf-the-point__header {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 35px;
    color: #35505f;
    border-top: 1px solid #88b9bf;
    border-bottom: 1px solid #88b9bf;
    padding: 12px 0;
    font-family: var(--sf-heading);
}

.sf-article__content .sf-the-point__list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sf-article__content .sf-the-point__list li {
    margin-bottom: 28px;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 300;
    position: relative;
    padding-left: 24px;
}

.sf-article__content .sf-the-point__list li:last-child {
    margin-bottom: 0;
}

.sf-article__content .sf-the-point__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #5b8a91;
    font-size: 20px;
    line-height: 1.4;
}

.sf-article__content .sf-the-point__list strong {
    font-weight: 600;
    color: #0f2430;
}

.sf-article__content .sf-the-point__list a {
    color: #1d5d73;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.sf-article__content .sf-the-point__list a:hover {
    color: #12384a;
    text-decoration-color: #12384a;
}

.sf-article__content .sf-top-picks {
    margin: 30px 0;
    border-top: 1px solid var(--sf-border);
    padding-top: 20px;
}

.sf-article__content .sf-top-picks h3 {
    margin: 0 0 16px;
}

.sf-article__content .sf-top-picks ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sf-article__content .sf-top-picks li + li {
    margin-top: 15px;
}

.sf-article__content .sf-top-picks a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sf-article__content .sf-product-module {
    margin: 38px 0;
    border: 1px solid var(--sf-border);
    padding: 24px;
    background: var(--sf-card);
}

.sf-article__content .sf-product-kicker {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #4f5561;
    font-weight: 700;
}

.sf-article__content .sf-product-title {
    margin: 6px 0 14px;
    font-family: var(--sf-heading);
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1;
}

.sf-article__content .sf-product-image {
    margin: 0;
    background: #eceef3;
    padding: 20px;
}

.sf-article__content .sf-product-image img {
    margin: 0 auto;
    max-height: 400px;
    width: auto;
}

.sf-article__content .sf-product-credit {
    margin: 10px 0 0;
    text-align: center;
    font-size: 13px;
    color: #6e727b;
}

.sf-article__content .sf-buy-box {
    margin: 18px auto 0;
    max-width: 430px;
    display: grid;
    gap: 10px;
}

.sf-article__content .sf-buy-button,
.sf-article__content .kg-button-card .kg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    background: var(--sf-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 20px;
    font-family: var(--sf-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease;
}

.sf-article__content .sf-buy-button:hover,
.sf-article__content .kg-button-card .kg-btn:hover {
    background: var(--sf-accent-hover);
}

.sf-article__content .sf-compare-grid {
    margin: 30px 0;
    overflow-x: auto;
    border: 1px solid var(--sf-border);
    background: #fff;
}

.sf-article__content .sf-compare-grid table,
.sf-article__content table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    font-size: 16px;
    line-height: 1.45;
}

.sf-article__content .sf-compare-grid th,
.sf-article__content .sf-compare-grid td,
.sf-article__content table th,
.sf-article__content table td {
    border-bottom: 1px solid #e2e4e9;
    padding: 12px 14px;
    vertical-align: top;
    text-align: left;
}

.sf-article__content .sf-compare-grid th,
.sf-article__content table th {
    background: #f3f4f7;
    font-size: 12px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #4c5260;
    font-weight: 700;
}

.sf-article__content hr {
    border: 0;
    border-top: 1px solid var(--sf-border);
    margin: 34px 0;
}

/* Generic page template */
.sf-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 34px 24px 74px;
}

.sf-page__title {
    margin: 0;
    font-family: var(--sf-heading);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.96;
    font-weight: 600;
}

.sf-page__content {
    margin-top: 22px;
    font-size: 19px;
    line-height: 1.7;
}

/* Footer */
.sf-footer {
    border-top: 1px solid var(--sf-border);
    background: #f8f8f7;
}

.sf-footer__inner {
    max-width: var(--sf-content-max);
    margin: 0 auto;
    padding: 28px 24px 24px;
}

.sf-footer__title {
    margin: 0;
    font-family: var(--sf-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.sf-footer__description {
    margin: 8px 0 0;
    color: var(--sf-muted);
    font-size: 14px;
    max-width: 700px;
}

.sf-footer__bottom {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sf-footer__legal {
    margin: 0;
    color: #737983;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sf-footer__nav .nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px 16px;
    flex-wrap: wrap;
}

.sf-footer__nav .nav a {
    text-decoration: none;
    color: #5f6571;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1190px) {
    .sf-article__layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 24px;
    }

    .sf-article__toc-link {
        font-size: 18px;
    }

    .sf-article__content {
        font-size: 20px;
    }
}

@media (max-width: 980px) {
    .sf-header {
        position: static;
    }

    .sf-header__top {
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .sf-header__utility {
        width: 100%;
        justify-content: space-between;
    }

    .sf-header__nav .nav {
        gap: 8px 12px;
    }

    .sf-header__nav .nav a {
        font-size: 11px;
    }

    .sf-listing {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sf-listing__image-wrap {
        aspect-ratio: 16 / 9;
    }

    .sf-article {
        padding-bottom: 56px;
    }

    .sf-article__title {
        font-size: clamp(42px, 10vw, 68px);
    }

    .sf-article__dek {
        font-size: 22px;
    }

    .sf-article__hero-image {
        aspect-ratio: 16 / 9;
    }

    .sf-article__layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sf-article__toc {
        position: static;
        max-height: none;
        padding: 12px;
    }

    .sf-article__toc-list {
        margin-top: 8px;
        border-left: 0;
        padding: 0;
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }

    .sf-article__toc-item {
        flex: 0 0 auto;
    }

    .sf-article__toc-item + .sf-article__toc-item {
        margin-top: 0;
    }

    .sf-article__toc-link {
        font-size: 13px;
        font-family: var(--sf-sans);
        border: 1px solid #c5cad4;
        border-radius: 999px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .sf-article__toc-link.is-active {
        text-decoration: none;
        background: #e9edf7;
        border-color: #98a6cf;
    }

    .sf-article__content {
        max-width: 100%;
    }

    .sf-article__content h2,
    .sf-article__content h3,
    .sf-article__content h4 {
        scroll-margin-top: 24px;
    }
}

@media (max-width: 760px) {
    .sf-header__top,
    .sf-home,
    .sf-article,
    .sf-page,
    .sf-footer__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sf-header__top {
        min-height: 60px;
    }

    .sf-header__brand {
        font-size: clamp(34px, 12vw, 48px);
    }

    .sf-home {
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .sf-home__header {
        margin-bottom: 24px;
    }

    .sf-home__title {
        font-size: clamp(36px, 11vw, 52px);
    }

    .sf-listing__title {
        font-size: clamp(30px, 10vw, 40px);
    }

    .sf-listing__excerpt {
        font-size: 16px;
    }

    .sf-article {
        padding-top: 18px;
    }

    .sf-article__title {
        font-size: clamp(38px, 13vw, 56px);
    }

    .sf-article__dek {
        font-size: 20px;
    }

    .sf-article__meta {
        font-size: 12px;
    }

    .sf-article__content {
        font-size: 19px;
        line-height: 1.66;
    }

    .sf-article__content h2 {
        font-size: clamp(30px, 10vw, 38px);
    }

    .sf-article__content h3 {
        font-size: clamp(24px, 8vw, 32px);
    }

    .sf-article__content .sf-product-module {
        padding: 16px;
    }

    .sf-article__content .sf-buy-button,
    .sf-article__content .kg-button-card .kg-btn {
        font-size: 18px;
    }

    .sf-article__content .sf-the-point {
        padding: 30px 25px;
    }

    .sf-article__content .sf-the-point__list li {
        font-size: 15px;
    }

    .sf-page {
        padding-top: 24px;
        padding-bottom: 46px;
    }

    .sf-page__content {
        font-size: 18px;
    }

    .sf-footer__bottom {
        margin-top: 14px;
    }

    .sf-footer__nav .nav {
        gap: 6px 12px;
    }
}
