/* Comparison + guide pages (landing-article.html). Builds on landing-editorial.css tokens. */
.landing-article .article {
    max-width: 46rem;
    margin: 0 auto;
    padding: 0 16px 1rem;
}

/* Hero is the section right after the navbar, so landing-editorial gives it the
   nav's surface colour and padding, same as the homepage. */
.landing-article .article-hero {
    text-align: center;
    border-bottom: 1px solid var(--rule);
}

.landing-article .article-hero-inner {
    max-width: 46rem;
    margin: 0 auto;
    padding-inline: 16px;
}

.landing-article .article-kicker {
    margin-bottom: .75rem;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.landing-article .article-hero h1 {
    margin-bottom: 1.25rem;
}

.landing-article .article-hero .lead {
    color: var(--muted);
    margin-bottom: 2rem;
}

.landing-article .article-fineprint {
    margin: .9rem 0 0;
    color: var(--muted);
    font-size: .85rem;
}

.landing-article .article-section {
    padding-block: clamp(1.75rem, 4vw, 2.75rem);
    border-bottom: 1px solid var(--rule);
}

.landing-article .article-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 1rem;
}

.landing-article .article-section h3 {
    font-size: 1.2rem;
    margin-bottom: .4rem;
}

.landing-article .article-section p,
.landing-article .article-section li {
    font-size: 1.05rem;
}

.landing-article .article-list {
    padding-left: 1.2rem;
    margin: 0;
}

.landing-article .article-list li + li {
    margin-top: .8rem;
}

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

.landing-article .article-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
}

.landing-article .article-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 3.2rem;
}

.landing-article .article-steps li + li {
    margin-top: 1.4rem;
}

.landing-article .article-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid #c7b99e;
    border-radius: 50%;
    color: var(--accent);
    font-family: Georgia, "Times New Roman", serif;
}

.landing-article .article-steps p {
    margin: 0;
    color: var(--muted);
}

/* Comparison table */
.landing-article .article-table-wrap {
    border: 1px solid var(--rule);
    border-radius: 5px;
    background: var(--surface);
    overflow: hidden;
}

.landing-article .article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    line-height: 1.55;
}

.landing-article .article-table th,
.landing-article .article-table td {
    padding: .9rem 1rem;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid var(--rule);
}

.landing-article .article-table tbody tr:last-child th,
.landing-article .article-table tbody tr:last-child td {
    border-bottom: 0;
}

.landing-article .article-table thead th {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 400;
    background: #eee7d9;
}

.landing-article .article-table thead th:nth-child(2) {
    color: var(--accent);
}

.landing-article .article-table tbody th {
    width: 22%;
    color: var(--ink);
    font-weight: 600;
}

.landing-article .article-table td {
    color: var(--muted);
}

.landing-article .article-table td:nth-of-type(1) {
    color: var(--ink);
}

.landing-article .article-source {
    margin: .75rem 0 0;
    color: var(--muted);
    font-size: .8rem;
}

.landing-article .article-faq + .article-faq {
    margin-top: 1.5rem;
}

.landing-article .article-faq p {
    margin: 0;
    color: var(--muted);
}

.landing-article .article-related {
    padding-block: 2rem;
}

.landing-article .article-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.landing-article .article-related a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .4rem 1rem;
    border: 1px solid var(--rule);
    border-radius: 2rem;
    background: var(--surface);
    text-decoration: none;
}

/* Phones: comparison rows become stacked cards so nothing scrolls sideways. */
@media (max-width: 768px) {
    .landing-article .article-table thead {
        display: none;
    }

    .landing-article .article-table,
    .landing-article .article-table tbody,
    .landing-article .article-table tr,
    .landing-article .article-table th,
    .landing-article .article-table td {
        display: block;
        width: 100%;
    }

    .landing-article .article-table tr {
        padding: .9rem 1rem;
        border-bottom: 1px solid var(--rule);
    }

    .landing-article .article-table tbody tr:last-child {
        border-bottom: 0;
    }

    .landing-article .article-table th,
    .landing-article .article-table td {
        padding: 0;
        border: 0;
    }

    .landing-article .article-table tbody th {
        width: 100%;
        margin-bottom: .5rem;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.1rem;
        font-weight: 400;
    }

    .landing-article .article-table td + td {
        margin-top: .5rem;
    }

    .landing-article .article-table td::before {
        content: attr(data-label);
        display: block;
        color: var(--accent);
        font-size: .72rem;
        font-weight: 600;
        letter-spacing: .1em;
        text-transform: uppercase;
    }
}
