@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

:root {
    --ink: #0a0a0a;
    --paper: #f5f2ec;
    --cream: #ede9e0;
    --accent: #c8401a;
    --accent2: #1a4fc8;
    --muted: #7a7570;
    --rule: #d4cfc5;
    --gold: #c9a227
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans',sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden
}

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 9999;
        opacity: .5
    }

.topbar {
    background: var(--ink);
    color: var(--paper);
    font-family: 'DM Mono',monospace;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px
}

    .topbar a {
        color: var(--gold);
        text-decoration: none
    }

.topbar-right {
    display: flex;
    gap: 24px
}

.masthead {
    border-bottom: 3px solid var(--ink);
    padding: 28px 40px 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px
}

.masthead-tagline {
    font-family: 'DM Mono',monospace;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted)
}

.masthead-logo {
    text-align: center
}

    .masthead-logo h1 {
        font-family: 'Playfair Display',serif;
        font-size: clamp(32px,5vw,56px);
        font-weight: 900;
        letter-spacing: -.02em;
        line-height: 1
    }

        .masthead-logo h1 span {
            color: var(--accent)
        }

    .masthead-logo sub {
        font-family: 'DM Mono',monospace;
        font-size: 10px;
        letter-spacing: .3em;
        color: var(--muted);
        text-transform: uppercase;
        display: block;
        margin-top: 4px
    }

.masthead-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .2s;
    font-family: 'DM Sans',sans-serif
}

.btn-outline {
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink)
}

    .btn-outline:hover {
        background: var(--ink);
        color: var(--paper)
    }

.btn-solid {
    background: var(--accent);
    color: #fff
}

    .btn-solid:hover {
        background: #a33214
    }

.btn-gold {
    background: var(--gold);
    color: var(--ink)
}

nav {
    border-bottom: 1px solid var(--rule);
    padding: 0 40px;
    display: flex;
    gap: 0
}

    nav a {
        font-family: 'DM Mono',monospace;
        font-size: 11px;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--ink);
        text-decoration: none;
        padding: 14px 20px;
        border-right: 1px solid var(--rule);
        transition: background .15s,color .15s
    }

        nav a:first-child {
            border-left: 1px solid var(--rule)
        }

        nav a:hover {
            background: var(--ink);
            color: var(--paper)
        }

        nav a.active {
            background: var(--accent);
            color: #fff
        }

.nav-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--ink);
    font-size: 8px;
    padding: 1px 5px;
    margin-left: 6px;
    vertical-align: middle
}

.hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    min-height: 520px;
    border-bottom: 3px solid var(--ink)
}

.hero-main {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    padding: 50px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden
}

.hero-bg-text {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: 'Playfair Display',serif;
    font-size: 220px;
    font-weight: 900;
    color: rgba(255,255,255,.04);
    line-height: 1;
    pointer-events: none;
    user-select: none
}

.hero-eyebrow {
    font-family: 'DM Mono',monospace;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px
}

.hero-title {
    font-family: 'Playfair Display',serif;
    font-size: clamp(28px,3.5vw,48px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px
}

.hero-excerpt {
    font-size: 15px;
    color: rgba(245,242,236,.7);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 28px
}

.hero-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: 'DM Mono',monospace;
    font-size: 10px;
    letter-spacing: .15em;
    color: rgba(245,242,236,.5);
    text-transform: uppercase;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 18px
}

.rating-badge {
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0
}

.hero-sidebar {
    border-left: 3px solid var(--ink);
    display: flex;
    flex-direction: column
}

.sidebar-item {
    padding: 24px 28px;
    border-bottom: 1px solid var(--rule);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background .15s;
    cursor: pointer;
    text-decoration: none;
    color: inherit
}

    .sidebar-item:hover {
        background: var(--cream)
    }

    .sidebar-item:last-child {
        border-bottom: none
    }

.sidebar-tag {
    font-family: 'DM Mono',monospace;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px
}

.sidebar-title {
    font-family: 'Playfair Display',serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px
}

.sidebar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DM Mono',monospace;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted)
}

.score {
    font-weight: 700;
    font-size: 18px;
    color: var(--accent2);
    font-family: 'Playfair Display',serif;
    font-style: italic
}

.section {
    padding: 56px 40px
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 36px;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 12px
}

.section-title {
    font-family: 'Playfair Display',serif;
    font-size: 28px;
    font-weight: 900
}

.section-subtitle {
    font-family: 'DM Mono',monospace;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted)
}

.section-link {
    margin-left: auto;
    font-family: 'DM Mono',monospace;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none
}

    .section-link:hover {
        text-decoration: underline
    }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule)
}

.card {
    background: var(--paper);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background .15s;
    cursor: pointer;
    text-decoration: none;
    color: inherit
}

    .card:hover {
        background: var(--cream)
    }

.card-category {
    font-family: 'DM Mono',monospace;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px
}

.cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block
}

.cat-llm, .catlllm {
    background: var(--accent2)
}

.cat-image, .catimage {
    background: var(--gold)
}

.cat-code, .catcode {
    background: #2a9d3a
}

.cat-voice, .catvoice {
    background: var(--accent)
}

.cat-data, .catdata {
    background: #8b2ac8
}

.card-title {
    font-family: 'Playfair Display',serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2
}

.card-excerpt {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
    flex: 1
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--rule)
}

.card-author {
    font-size: 12px;
    color: var(--muted)
}

    .card-author strong {
        color: var(--ink);
        font-weight: 600
    }

.card-score {
    font-family: 'Playfair Display',serif;
    font-size: 22px;
    font-weight: 700;
    font-style: italic
}

.score-high {
    color: #2a9d3a
}

.score-mid {
    color: var(--gold)
}

.score-low {
    color: var(--accent)
}

.star-row {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px
}

.categories-strip {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 1px;
    background: var(--rule);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule)
}

.cat-card {
    background: var(--paper);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    color: inherit;
    display: block
}

    .cat-card:hover {
        background: var(--cream)
    }

.cat-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px
}

.cat-name {
    font-family: 'DM Mono',monospace;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 500
}

.cat-count {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px
}

.leaderboard {
    background: var(--cream)
}

.lb-table {
    width: 100%;
    border-collapse: collapse
}

    .lb-table th {
        font-family: 'DM Mono',monospace;
        font-size: 9px;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--muted);
        text-align: left;
        padding: 10px 16px;
        border-bottom: 2px solid var(--ink)
    }

    .lb-table td {
        padding: 14px 16px;
        border-bottom: 1px solid var(--rule);
        font-size: 14px
    }

    .lb-table tr:hover td {
        background: rgba(255,255,255,.5)
    }

.lb-rank {
    font-family: 'Playfair Display',serif;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    color: var(--muted);
    width: 50px
}

    .lb-rank.top {
        color: var(--gold)
    }

.lb-tool {
    font-weight: 600
}

.lb-category {
    font-family: 'DM Mono',monospace;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid var(--rule)
}

.lb-score-bar {
    display: flex;
    align-items: center;
    gap: 12px
}

.lb-bar-bg {
    flex: 1;
    height: 4px;
    background: var(--rule);
    max-width: 120px
}

.lb-bar-fill {
    height: 4px;
    background: var(--accent2)
}

.lb-score-num {
    font-family: 'Playfair Display',serif;
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    min-width: 44px
}

.latest-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule)
}

.latest-main {
    background: var(--paper)
}

.latest-item {
    padding: 24px 28px;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    color: inherit;
    display: grid
}

    .latest-item:hover {
        background: var(--cream)
    }

    .latest-item:last-child {
        border-bottom: none
    }

.latest-cat {
    font-family: 'DM Mono',monospace;
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px
}

.latest-title {
    font-family: 'Playfair Display',serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px
}

.latest-excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6
}

.latest-meta {
    font-family: 'DM Mono',monospace;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 12px
}

.latest-score-big {
    font-family: 'Playfair Display',serif;
    font-size: 48px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    min-width: 80px;
    text-align: right
}

.latest-sidebar {
    background: var(--paper);
    border-left: 1px solid var(--rule);
    padding: 24px
}

    .latest-sidebar h3 {
        font-family: 'DM Mono',monospace;
        font-size: 10px;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--muted);
        padding-bottom: 12px;
        border-bottom: 1px solid var(--rule);
        margin-bottom: 16px
    }

.trending-item {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
    cursor: pointer;
    text-decoration: none;
    color: inherit
}

    .trending-item:last-child {
        border-bottom: none
    }

.trending-num {
    font-family: 'Playfair Display',serif;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    color: var(--rule);
    min-width: 28px
}

.trending-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3
}

.trending-views {
    font-family: 'DM Mono',monospace;
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--muted);
    text-transform: uppercase
}

.newsletter {
    background: var(--accent);
    color: #fff;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    gap: 48px
}

    .newsletter h3 {
        font-family: 'Playfair Display',serif;
        font-size: 32px;
        font-weight: 900;
        line-height: 1.1;
        min-width: 180px
    }

    .newsletter p {
        font-size: 14px;
        opacity: .85;
        line-height: 1.7;
        max-width: 380px
    }

.newsletter-form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 400px;
    margin-left: auto
}

    .newsletter-form input {
        flex: 1;
        padding: 12px 16px;
        border: none;
        background: rgba(255,255,255,.2);
        color: #fff;
        font-family: 'DM Sans',sans-serif;
        font-size: 14px;
        outline: none
    }

        .newsletter-form input::placeholder {
            color: rgba(255,255,255,.6)
        }

    .newsletter-form button {
        padding: 12px 24px;
        background: var(--ink);
        color: var(--paper);
        border: none;
        font-family: 'DM Mono',monospace;
        font-size: 11px;
        letter-spacing: .1em;
        text-transform: uppercase;
        cursor: pointer
    }

        .newsletter-form button:hover {
            background: #222
        }

.membership {
    background: var(--ink);
    color: var(--paper);
    padding: 64px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    position: relative;
    overflow: hidden
}

    .membership::before {
        content: 'PUBLISH';
        position: absolute;
        right: -20px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        font-family: 'Playfair Display',serif;
        font-size: 140px;
        font-weight: 900;
        color: rgba(255,255,255,.04);
        pointer-events: none;
        white-space: nowrap;
        letter-spacing: -.04em
    }

.membership-left h2 {
    font-family: 'Playfair Display',serif;
    font-size: clamp(28px,3vw,44px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px
}

    .membership-left h2 em {
        color: var(--accent);
        font-style: normal
    }

.membership-left p {
    font-size: 15px;
    color: rgba(245,242,236,.7);
    line-height: 1.7;
    max-width: 420px
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1
}

.plan {
    border: 1.5px solid rgba(255,255,255,.15);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

    .plan.featured {
        border-color: var(--gold)
    }

.plan-badge {
    font-family: 'DM Mono',monospace;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold)
}

.plan-name {
    font-family: 'Playfair Display',serif;
    font-size: 24px;
    font-weight: 700
}

.plan-price {
    font-family: 'DM Mono',monospace;
    font-size: 28px;
    font-weight: 500;
    line-height: 1
}

    .plan-price span {
        font-size: 13px;
        color: rgba(245,242,236,.5)
    }

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: rgba(245,242,236,.75)
}

    .plan-features li::before {
        content: '✓ ';
        color: var(--gold);
        font-weight: 700
    }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s,transform .6s
}

    .fade-in.visible {
        opacity: 1;
        transform: none
    }

footer {
    background: var(--ink);
    color: var(--paper);
    padding: 56px 40px 32px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-brand h4 {
    font-family: 'Playfair Display',serif;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px
}

    .footer-brand h4 span {
        color: var(--accent)
    }

.footer-brand p {
    font-size: 13px;
    color: rgba(245,242,236,.6);
    line-height: 1.7
}

.footer-col h5 {
    font-family: 'DM Mono',monospace;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(245,242,236,.6);
    text-decoration: none;
    margin-bottom: 8px
}

    .footer-col a:hover {
        color: var(--paper)
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-family: 'DM Mono',monospace;
    font-size: 10px;
    letter-spacing: .1em;
    color: rgba(245,242,236,.4)
}

    .footer-bottom a {
        color: var(--gold);
        text-decoration: none
    }

/* ============================================================
   RESPONSIVE — Mobile & Tablet
   max-width: 768px = mobile
   max-width: 1024px = tablet
   ============================================================ */

@media (max-width:1024px) {
    .masthead {
        padding: 20px 24px
    }

    .topbar {
        padding: 8px 24px
    }

    nav {
        padding: 0 24px
    }

    .section {
        padding: 40px 24px
    }

    .newsletter {
        padding: 40px 24px;
        gap: 24px
    }

    .membership {
        padding: 48px 24px;
        gap: 32px
    }

    footer {
        padding: 40px 24px 24px
    }

    .cards-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .categories-strip {
        grid-template-columns: repeat(3,1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px
    }

    .plans {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .membership {
        grid-template-columns: 1fr
    }

    .latest-grid {
        grid-template-columns: 1fr
    }

    .latest-sidebar {
        border-left: none;
        border-top: 1px solid var(--rule)
    }
}

@media (max-width:768px) {

    /* ── Topbar ── */
    .topbar {
        padding: 7px 16px;
        font-size: 10px
    }

        .topbar > span {
            display: none
        }

    .topbar-right {
        margin-left: auto;
        gap: 16px
    }

    /* ── Masthead ── */
    .masthead {
        grid-template-columns: 1fr;
        padding: 20px 16px 16px;
        text-align: center;
        gap: 8px;
    }

    .masthead-tagline {
        display: none
    }

    .masthead-logo h1 {
        font-size: clamp(28px,8vw,40px)
    }

    .masthead-actions {
        display: none
    }

    /* ── Nav — horizontal scroll ── */
    nav {
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        display: block;
    }

        nav::-webkit-scrollbar {
            display: none
        }

        nav a {
            display: inline-block;
            padding: 12px 14px;
            font-size: 10px;
            letter-spacing: .08em;
            border-right: 1px solid var(--rule);
            border-left: none;
            border-bottom: none;
        }

            nav a:first-child {
                border-left: none
            }

    /* ── Hero — stack vertically ── */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-main {
        padding: 32px 20px 28px
    }

    .hero-title {
        font-size: clamp(24px,6vw,34px)
    }

    .hero-excerpt {
        font-size: 14px;
        margin-bottom: 20px
    }

    .hero-bg-text {
        font-size: 120px;
        opacity: .5
    }

    .hero-sidebar {
        border-left: none;
        border-top: 3px solid var(--ink)
    }

    .sidebar-item {
        padding: 18px 20px
    }

    .sidebar-title {
        font-size: 16px
    }

    /* ── Sections ── */
    .section {
        padding: 32px 16px
    }

    .section-header {
        flex-wrap: wrap;
        gap: 8px
    }

    .section-title {
        font-size: 22px
    }

    .section-link {
        margin-left: 0;
        width: 100%
    }

    /* ── Cards grid — single column ── */
    .cards-grid {
        grid-template-columns: 1fr
    }

    .card {
        padding: 20px
    }

    .card-title {
        font-size: 17px
    }

    /* ── Categories strip — 2 columns ── */
    .categories-strip {
        grid-template-columns: repeat(2,1fr)
    }

    .cat-card {
        padding: 20px 16px
    }

    .cat-icon {
        font-size: 24px
    }

    /* ── Leaderboard — hide bar column ── */
    .lb-table th:nth-child(4),
    .lb-table td:nth-child(4) {
        display: none
    }

    .lb-table th:nth-child(3),
    .lb-table td:nth-child(3) {
        display: none
    }

    .lb-table td {
        padding: 10px 10px;
        font-size: 13px
    }

    .lb-rank {
        font-size: 16px;
        width: 32px
    }

    .lb-score-num {
        font-size: 15px
    }

    /* ── Latest reviews grid ── */
    .latest-grid {
        grid-template-columns: 1fr
    }

    .latest-item {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .latest-score-big {
        font-size: 32px;
        text-align: left;
        min-width: auto
    }

    .latest-sidebar {
        display: none
    }

    .latest-title {
        font-size: 16px
    }

    /* ── Newsletter ── */
    .newsletter {
        flex-direction: column;
        padding: 32px 16px;
        gap: 16px;
        align-items: flex-start;
    }

        .newsletter h3 {
            font-size: 24px;
            min-width: auto
        }

        .newsletter p {
            max-width: 100%
        }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        gap: 0;
    }

        .newsletter-form input {
            width: 100%
        }

        .newsletter-form button {
            width: 100%;
            padding: 14px
        }

    /* ── Membership plans ── */
    .membership {
        grid-template-columns: 1fr;
        padding: 32px 16px;
        gap: 28px;
    }

        .membership::before {
            display: none
        }

    .plans {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .plan {
        padding: 20px 18px
    }

    /* ── Footer ── */
    footer {
        padding: 32px 16px 20px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* ── Compare page ── */
    .compare-layout {
        flex-direction: column
    }

    .compare-sidebar {
        width: 100%;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--rule);
        max-height: 300px;
        overflow-y: auto;
    }

    .compare-main {
        padding: 24px 16px
    }

    /* ── Review detail ── */
    .score-grid {
        grid-template-columns: 1fr 1fr !important
    }

    /* ── General typography ── */
    h1 {
        font-size: 26px
    }

    h2 {
        font-size: 20px
    }

    .btn {
        padding: 9px 18px;
        font-size: 11px
    }
}

/* Extra small phones */
@media (max-width:400px) {
    .categories-strip {
        grid-template-columns: repeat(2,1fr)
    }

    .hero-title {
        font-size: 22px
    }

    .masthead-logo h1 {
        font-size: 28px
    }

    nav a {
        padding: 11px 10px;
        font-size: 9px
    }
}
