:root {
    --bg: #faf9f7;
    --bg-alt: #f7f5f2;
    --ink: #111111;
    --black: #171717;
    --blue: #0647ff;
    --red: #e02b1d;
    --border: #d8d4ce;
    --white: #ffffff;
    --muted: #625f59;
    --shadow: 6px 6px 0 #171717;
}

* {
    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.5;
}

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 30;
    background: var(--blue);
    color: var(--white);
    padding: 10px 14px;
    border: 2px solid var(--black);
}

.skip-link:focus {
    top: 16px;
}

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

.narrow {
    max-width: 880px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(250, 249, 247, 0.96);
    border-bottom: 2px solid var(--black);
}

.header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.05rem;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--blue);
    color: var(--white);
    border: 2px solid var(--black);
    box-shadow: 3px 3px 0 var(--black);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.main-nav a,
.site-footer a,
.admin-nav a,
.admin-logout-form button {
    text-decoration: none;
    font-weight: 800;
}

.main-nav a {
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    border-color: var(--blue);
}

.mobile-menu-toggle {
    display: none;
    background: var(--white);
    border: 2px solid var(--black);
    padding: 10px 14px;
    font-weight: 900;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    border: 2px solid var(--black);
    text-decoration: none;
    font-weight: 900;
    line-height: 1.1;
    background: var(--white);
    color: var(--ink);
    border-radius: 0;
    box-shadow: none;
}

.btn:hover,
.btn:focus-visible {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--black);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-secondary {
    background: var(--black);
    color: var(--white);
}

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

.btn-small {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.hero,
.page-hero {
    border-bottom: 2px solid var(--black);
    background: var(--bg-alt);
}

.hero {
    padding: 76px 0 54px;
}

.page-hero {
    padding: 64px 0 42px;
}

.hero-grid,
.detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 38px;
    align-items: center;
}

.kicker {
    margin: 0 0 12px;
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.86rem;
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1,
h2,
h3 {
    line-height: 1.02;
    margin: 0;
}

h1 {
    font-size: 4rem;
    max-width: 980px;
}

h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 1.35rem;
}

.hero-subtitle,
.page-hero p {
    font-size: 1.18rem;
    max-width: 780px;
}

.brand-line {
    display: inline-block;
    margin: 14px 0 4px;
    font-weight: 900;
    font-size: 1.25rem;
    border-bottom: 4px solid var(--blue);
}

.affiliation-note,
.help-text {
    color: var(--muted);
    font-size: 0.94rem;
}

.hero-actions,
.hero-card-actions,
.form-actions,
.quiz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-panel,
.hero-card,
.software-card,
.profile-card,
.verdict-card,
.choice-grid article,
.result-card,
.update-card,
.criterion,
.admin-metrics article {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 20px;
}

.hero-panel,
.hero-card {
    box-shadow: var(--shadow);
}

.score-tile {
    background: var(--black);
    color: var(--white);
    padding: 22px;
    border: 2px solid var(--black);
}

.score-big {
    display: block;
    font-size: 4.2rem;
    line-height: 0.9;
    font-weight: 900;
}

.score-caption {
    display: block;
    margin-top: 10px;
    font-weight: 800;
}

.mini-ranking {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.mini-ranking a {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 2px solid var(--border);
    text-decoration: none;
    background: var(--bg);
}

.mini-ranking span,
.mini-ranking em {
    font-style: normal;
    font-weight: 900;
    color: var(--blue);
}

.section {
    padding: 64px 0;
}

.section-tight {
    padding-top: 36px;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
}

.section-heading {
    margin-bottom: 26px;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.verdict-grid,
.profile-grid,
.software-grid,
.criteria-grid,
.error-grid,
.choice-grid,
.result-grid,
.update-grid,
.alert-grid,
.admin-metrics {
    display: grid;
    gap: 18px;
}

.verdict-grid {
    grid-template-columns: repeat(3, 1fr);
}

.profile-grid,
.software-grid,
.choice-grid,
.result-grid,
.update-grid,
.alert-grid {
    grid-template-columns: repeat(4, 1fr);
}

.software-grid {
    grid-template-columns: repeat(3, 1fr);
}

.criteria-grid,
.error-grid,
.admin-metrics {
    grid-template-columns: repeat(6, 1fr);
}

.card-label,
.choice-grid span,
.result-card span,
.update-card span,
.admin-metrics span {
    display: block;
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.verdict-card p,
.profile-card p,
.software-card p {
    margin: 14px 0;
}

.warning,
.alert-card {
    color: var(--red);
}

.text-link {
    color: var(--blue);
    font-weight: 900;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.software-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.software-top img {
    flex: 0 0 auto;
    border: 2px solid var(--black);
    background: var(--white);
}

.badge {
    display: inline-block;
    margin-top: 7px;
    background: var(--blue);
    color: var(--white);
    border: 2px solid var(--black);
    padding: 4px 8px;
    font-weight: 900;
    font-size: 0.78rem;
}

.badge-small {
    display: block;
    width: fit-content;
    margin-top: 6px;
}

.score-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

.score-row div {
    border: 2px solid var(--border);
    padding: 12px;
    background: var(--bg);
}

.score-row span,
.fact-list dt {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.score-row strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
}

.score-row-large strong {
    font-size: 2rem;
}

.fact-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.fact-list div {
    border-top: 2px solid var(--border);
    padding-top: 10px;
}

.fact-list dd {
    margin: 3px 0 0;
    font-weight: 800;
}

.cash-verdict {
    font-weight: 900;
}

.method-section,
.black-card,
.black-verdict,
.site-footer {
    background: var(--black);
    color: var(--white);
}

.method-section {
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
}

.method-section .kicker,
.black-card .kicker,
.site-footer a {
    color: var(--white);
}

.criterion {
    min-height: 96px;
    display: grid;
    place-items: center;
    text-align: center;
}

.criterion span {
    font-weight: 900;
}

.danger-section {
    background: var(--red);
    color: var(--white);
    border-top: 2px solid var(--black);
}

.danger-section .kicker {
    color: var(--white);
}

.error-grid article {
    min-height: 110px;
    padding: 18px;
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
    display: grid;
    align-items: end;
}

.site-footer {
    padding: 42px 0 22px;
}

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

.site-footer nav {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    border-top: 1px solid #3a3a3a;
    padding-top: 18px;
    color: #d4d4d4;
}

.black-verdict {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 2px solid var(--black);
}

.black-verdict div {
    padding: 20px;
    border-right: 1px solid #3a3a3a;
}

.black-verdict div:last-child {
    border-right: 0;
}

.black-verdict span {
    display: block;
    color: #c9d6ff;
    font-weight: 900;
}

.black-verdict strong {
    display: block;
    font-size: 1.3rem;
    margin-top: 8px;
}

.comparison-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 24px;
    align-items: start;
    min-width: 0;
}

.comparison-content {
    min-width: 0;
}

.filters-panel {
    position: sticky;
    top: 98px;
    background: var(--white);
    border: 2px solid var(--black);
    padding: 18px;
}

.filters-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.filters-panel label,
.admin-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    background: var(--white);
    border: 2px solid var(--black);
    padding: 11px 12px;
    color: var(--ink);
}

textarea {
    resize: vertical;
}

.table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 2px solid var(--black);
}

caption {
    text-align: left;
    font-weight: 900;
    margin-bottom: 10px;
}

th,
td {
    padding: 13px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 2px solid var(--border);
}

th {
    background: var(--black);
    color: var(--white);
    font-size: 0.86rem;
}

.table-actions {
    display: grid;
    gap: 8px;
    min-width: 126px;
}

.empty-state {
    border: 2px solid var(--black);
    background: var(--white);
    padding: 20px;
    font-weight: 900;
}

.compare-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    padding: 12px 16px;
    background: var(--black);
    color: var(--white);
    border-top: 2px solid var(--blue);
}

.compare-bar-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.two-column,
.article-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.black-card,
.alert-card {
    border: 2px solid var(--black);
    padding: 24px;
}

.alert-card {
    background: #fff7f5;
}

.split-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.split-list article {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 20px;
}

.check-list,
.cross-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
}

.check-list li,
.cross-list li {
    padding-left: 28px;
    position: relative;
}

.check-list li::before,
.cross-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
}

.check-list li::before {
    content: "+";
    color: var(--blue);
}

.cross-list li::before {
    content: "!";
    color: var(--red);
}

.score-breakdown {
    display: grid;
    gap: 12px;
}

.score-line {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 2px solid var(--black);
    padding: 14px;
}

.score-line > span,
.score-line strong {
    font-weight: 900;
}

.meter {
    height: 16px;
    border: 2px solid var(--black);
    background: var(--bg);
}

.meter span {
    display: block;
    height: 100%;
    background: var(--blue);
}

.meter-alert span {
    background: var(--red);
}

.compact-grid {
    grid-template-columns: repeat(4, 1fr);
}

.faq-list {
    display: grid;
    gap: 10px;
}

details {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 16px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

.mobile-sticky-cta {
    display: none;
}

.guide-content {
    display: grid;
    gap: 18px;
}

.guide-content article {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 24px;
}

.quiz-shell {
    max-width: 820px;
}

.progress-wrap {
    margin-bottom: 18px;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    margin-bottom: 8px;
}

.progress-bar {
    height: 18px;
    border: 2px solid var(--black);
    background: var(--white);
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--blue);
    transition: width 180ms ease;
}

.quiz-card {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 24px;
    box-shadow: var(--shadow);
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

legend {
    font-weight: 900;
    font-size: 2rem;
    line-height: 1.08;
    margin-bottom: 20px;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quiz-option {
    display: block;
    position: relative;
    border: 2px solid var(--black);
    background: var(--bg);
    padding: 16px;
    font-weight: 900;
    cursor: pointer;
}

.quiz-option input {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.quiz-option.is-selected {
    background: var(--blue);
    color: var(--white);
    box-shadow: 4px 4px 0 var(--black);
}

.quiz-option:has(input:focus-visible) {
    outline: 3px solid rgba(6, 71, 255, 0.45);
    outline-offset: 3px;
}

.result-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.best-result {
    box-shadow: var(--shadow);
}

.avoid-result {
    border-color: var(--red);
}

.answer-list {
    margin-top: 18px;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.admin-nav a,
.admin-logout-form button {
    padding: 9px 12px;
    border: 2px solid var(--black);
    background: var(--white);
}

.admin-nav a[aria-current="page"] {
    background: var(--blue);
    color: var(--white);
}

.admin-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.admin-form {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 22px;
}

.wide-form {
    display: grid;
    gap: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.form-error {
    background: #fff7f5;
    border: 2px solid var(--red);
    color: var(--red);
    padding: 12px;
    font-weight: 900;
}

.form-success {
    background: #eef7ff;
    border: 2px solid var(--blue);
    color: var(--black);
    padding: 12px;
    font-weight: 900;
}

@media (max-width: 1060px) {
    .header-inner {
        grid-template-columns: auto auto auto;
    }

    .main-nav {
        gap: 12px;
        font-size: 0.94rem;
    }

    h1 {
        font-size: 3.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-grid,
    .detail-hero-grid,
    .comparison-layout,
    .two-column,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .filters-panel {
        position: static;
    }

    .verdict-grid,
    .profile-grid,
    .software-grid,
    .choice-grid,
    .update-grid,
    .alert-grid,
    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .criteria-grid,
    .error-grid,
    .admin-metrics {
        grid-template-columns: repeat(3, 1fr);
    }

    .black-verdict {
        grid-template-columns: repeat(2, 1fr);
    }

    .black-verdict div {
        border-bottom: 1px solid #3a3a3a;
    }

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

@media (max-width: 760px) {
    body {
        padding-bottom: 74px;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 68px;
        grid-template-columns: 1fr auto;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        align-items: stretch;
        background: var(--white);
        border: 2px solid var(--black);
        padding: 10px;
    }

    .main-nav.is-open {
        display: grid;
    }

    .main-nav a {
        padding: 12px;
        border: 2px solid var(--border);
    }

    .header-cta {
        display: none;
    }

    .hero,
    .page-hero {
        padding: 42px 0 30px;
    }

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    legend {
        font-size: 1.5rem;
    }

    .hero-actions,
    .hero-card-actions,
    .form-actions,
    .quiz-actions,
    .split-heading,
    .footer-bottom {
        display: grid;
    }

    .verdict-grid,
    .profile-grid,
    .software-grid,
    .choice-grid,
    .update-grid,
    .alert-grid,
    .criteria-grid,
    .error-grid,
    .admin-metrics,
    .black-verdict,
    .split-list,
    .compact-grid,
    .result-grid,
    .quiz-options,
    .form-grid {
        grid-template-columns: 1fr;
    }

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

    .score-row,
    .score-line {
        grid-template-columns: 1fr;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        border-bottom: 3px solid var(--black);
        padding: 12px;
    }

    td {
        border: 0;
        display: grid;
        grid-template-columns: 115px 1fr;
        gap: 10px;
        padding: 9px 0;
    }

    td::before {
        content: attr(data-label);
        font-weight: 900;
        color: var(--muted);
    }

    .table-actions {
        min-width: 0;
    }

    .mobile-sticky-cta,
    .quiz-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 26;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 12px;
        background: var(--bg);
        border-top: 2px solid var(--black);
    }

    .quiz-sticky {
        grid-template-columns: 1fr;
    }

    .compare-bar-inner {
        display: grid;
    }
}

/* Editorial polish: premium brutalist, not SaaS. */
body {
    background:
        repeating-linear-gradient(0deg, rgba(23, 23, 23, 0.025) 0 1px, transparent 1px 42px),
        var(--bg);
}

.site-header {
    backdrop-filter: blur(10px);
}

.brand {
    text-transform: uppercase;
}

.site-search input:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(6, 71, 255, 0.35);
    outline-offset: 2px;
}

.home-hero {
    position: relative;
    overflow: hidden;
}

.home-hero::after {
    content: "FG";
    position: absolute;
    right: 4vw;
    bottom: -38px;
    color: rgba(6, 71, 255, 0.08);
    font-size: 18rem;
    line-height: 0.8;
    font-weight: 900;
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.home-hero .kicker,
.quiz-page .page-hero .kicker,
.guide-hero .kicker {
    width: fit-content;
    background: var(--blue);
    color: var(--white);
    padding: 5px 10px;
    border: 2px solid var(--black);
}

.home-hero h1 {
    text-wrap: balance;
}

.hero-subtitle,
.page-hero p {
    color: #33312d;
}

.verdict-card,
.profile-card,
.software-card,
.choice-grid article,
.result-card,
.editorial-card,
.summary-card,
.warning-panel,
.guide-final-cta {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.verdict-card:hover,
.software-card:hover,
.choice-grid article:hover,
.editorial-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
    border-color: var(--black);
}

.profile-card::before {
    content: "";
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 2px solid var(--black);
    background: var(--blue);
    box-shadow: 4px 4px 0 var(--black);
}

.software-card {
    position: relative;
    overflow: hidden;
}

.software-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--blue);
}

.software-card .badge {
    background: var(--white);
    color: var(--blue);
    border-color: var(--blue);
}

.software-card .fact-list div {
    background: #f3f1ee;
    border: 1px solid var(--border);
    padding: 10px;
}

.software-card .btn-block {
    margin-top: 18px;
}

.method-section {
    position: relative;
}

.method-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: var(--blue);
}

.criterion {
    background: #202020;
    padding: 18px;
}

.criterion span::before {
    content: "0" counter(criteria);
    counter-increment: criteria;
    display: block;
    margin-bottom: 8px;
    color: #8fa8ff;
    font-size: 0.82rem;
}

.criteria-grid {
    counter-reset: criteria;
}

.danger-section .error-grid article {
    position: relative;
}

.danger-section .error-grid article::before {
    content: "!";
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: var(--red);
    color: var(--white);
    font-weight: 900;
}

.editorial-card {
    background: #fff;
    border-color: var(--black);
}

.editorial-media {
    filter: saturate(0.92) contrast(1.05);
}

.black-verdict {
    box-shadow: 8px 8px 0 rgba(6, 71, 255, 0.18);
}

.comparison-table tbody tr {
    transition: background 140ms ease;
}

.comparison-table tbody tr:hover {
    background: #f0eee9;
}

.comparison-table td:first-child {
    color: var(--blue);
    font-size: 1.25rem;
    font-weight: 900;
}

.filters-panel h2 {
    text-transform: uppercase;
    border-bottom: 2px solid var(--black);
    padding-bottom: 12px;
}

.guide-update,
.summary-card {
    box-shadow: 6px 6px 0 rgba(23, 23, 23, 0.12);
}

.guide-sidebar-cta .btn {
    margin-top: 12px;
    width: 100%;
}

.guide-article p,
.summary-card li,
.warning-panel li,
.checklist-panel li {
    max-width: 760px;
}

.guide-media-block {
    align-items: center;
}

.checklist-panel {
    box-shadow: 8px 8px 0 var(--blue);
}

.quiz-card {
    border-width: 3px;
}

.quiz-option:hover {
    border-color: var(--blue);
}

.quiz-option.is-selected {
    border-color: var(--blue);
}

.result-card span {
    margin-bottom: 8px;
}

.best-result {
    border-color: var(--blue);
}

.avoid-result {
    background: #fff7f5;
}

.admin-page .admin-metrics article:nth-child(5) {
    background: var(--blue);
    color: var(--white);
}

.admin-page .admin-metrics article:nth-child(5) span {
    color: var(--white);
}

@media (max-width: 760px) {
    .home-hero::after {
        display: none;
    }

    .verdict-card:hover,
    .software-card:hover,
    .choice-grid article:hover,
    .editorial-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Visual direction v2: editorial comparator, sharper and denser. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    background: #fbfaf8;
}

.header-inner {
    grid-template-columns: auto 1fr minmax(220px, 320px) auto;
    min-height: 64px;
}

.brand-mark {
    display: none;
}

.brand {
    font-size: 1.25rem;
    letter-spacing: 0;
}

.main-nav {
    justify-content: flex-start;
    gap: 26px;
}

.main-nav a {
    font-size: 0.9rem;
}

.site-search input {
    min-height: 48px;
    border-width: 1px;
    background: #f3f1ee;
}

.home-hero {
    padding: 74px 0 52px;
}

.home-hero .hero-grid {
    grid-template-columns: 1fr;
}

.home-hero h1 {
    max-width: 900px;
    text-transform: uppercase;
    font-size: 5.2rem;
    letter-spacing: 0;
}

.home-hero h1::first-line {
    color: var(--ink);
}

.hero-subtitle {
    max-width: 720px;
    font-size: 1rem;
    color: #3c3a36;
}

.brand-line {
    display: block;
    width: fit-content;
    color: var(--blue);
    border-bottom: 0;
    font-size: 0.95rem;
}

.verdict-grid {
    margin-top: -26px;
}

.verdict-card,
.profile-card,
.software-card,
.choice-grid article,
.editorial-card {
    border-color: var(--border);
    border-radius: 6px;
}

.verdict-card {
    min-height: 164px;
    border-left: 2px solid var(--blue);
}

.verdict-card:nth-child(3) {
    border-left-color: var(--red);
}

.profile-card {
    min-height: 198px;
    text-align: center;
}

.profile-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
}

.software-card {
    padding: 16px;
}

.software-card h3 {
    font-size: 1.05rem;
}

.software-card .score-row {
    margin: 12px 0;
}

.software-card .score-row div {
    border: 0;
    background: transparent;
    padding: 0;
}

.software-card .score-row strong {
    font-size: 1.35rem;
}

.method-section {
    padding: 78px 0;
}

.method-section .section-heading {
    text-align: center;
}

.method-section .section-heading p:last-child {
    max-width: 620px;
    margin: 14px auto 0;
}

.criteria-grid {
    grid-template-columns: repeat(3, 1fr);
}

.criterion {
    background: transparent;
    color: var(--white);
    border: 0;
    border-left: 2px solid var(--blue);
    place-items: start;
    text-align: left;
    min-height: 72px;
}

.danger-section {
    background: var(--bg);
    color: var(--ink);
    border-top: 0;
}

.danger-section .kicker {
    color: var(--red);
}

.danger-section .section-heading {
    text-align: center;
}

.error-grid {
    grid-template-columns: repeat(4, 1fr);
}

.error-grid article {
    min-height: 150px;
    color: var(--red);
    border-color: var(--border);
    border-left: 2px solid var(--red);
    border-radius: 6px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.editorial-card {
    background: var(--white);
    padding: 0 0 18px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.editorial-card span,
.editorial-card h3 {
    display: block;
    padding: 0 18px;
}

.editorial-card span {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.editorial-card h3 {
    margin-top: 8px;
    font-size: 1.1rem;
    line-height: 1.15;
}

.editorial-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 2px solid var(--black);
}

.black-verdict {
    border-left: 8px solid var(--blue);
}

.comparison-table {
    border-left: 0;
    border-right: 0;
}

.comparison-table th {
    background: transparent;
    color: var(--ink);
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--muted);
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.78rem;
}

.comparison-table td {
    font-size: 0.94rem;
}

.filters-panel {
    background: transparent;
    border: 0;
    border-top: 2px solid var(--black);
    padding: 18px 0;
}

.filters-panel select {
    background: #f3f1ee;
    border-width: 1px;
}

.choice-grid article {
    min-height: 260px;
    display: grid;
    align-content: start;
    gap: 12px;
}

.compare-bar {
    left: 50%;
    right: auto;
    bottom: 26px;
    width: min(680px, calc(100% - 32px));
    transform: translateX(-50%);
    border: 2px solid var(--black);
    box-shadow: 7px 7px 0 var(--blue);
}

.software-hero {
    background: var(--bg);
    border-bottom: 0;
    padding-bottom: 28px;
}

.software-hero .detail-hero-grid {
    border: 3px solid var(--black);
    padding: 26px;
    background: var(--bg);
}

.software-hero h1 {
    font-size: 3.4rem;
}

.hero-card {
    box-shadow: none;
}

.score-breakdown .score-line {
    background: var(--black);
    color: var(--white);
}

.score-breakdown .meter {
    background: #3b3b3b;
}

.guide-hero {
    background: var(--bg);
}

.guide-hero-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

.guide-hero h1 {
    max-width: 760px;
    font-size: 3.8rem;
}

.guide-update {
    display: grid;
    gap: 8px;
}

.guide-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 34px;
    align-items: start;
}

.guide-sidebar {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 14px;
    font-size: 0.92rem;
}

.guide-sidebar > strong {
    text-transform: uppercase;
    border-bottom: 2px solid var(--black);
    padding-bottom: 10px;
}

.guide-sidebar a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 800;
}

.guide-sidebar-cta {
    margin-top: 18px;
    background: var(--blue);
    color: var(--white);
    border: 2px solid var(--black);
    padding: 16px;
    box-shadow: 5px 5px 0 var(--black);
}

.guide-main {
    display: grid;
    gap: 34px;
}

.summary-card,
.guide-article,
.warning-panel,
.checklist-panel,
.guide-final-cta {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 26px;
}

.summary-card {
    background: #e9e5e2;
}

.guide-article {
    border: 0;
    background: transparent;
    padding: 0;
}

.guide-article h2,
.warning-panel h2,
.checklist-panel h2,
.guide-final-cta h2 {
    margin-bottom: 14px;
}

.info-pair,
.guide-media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.info-pair div {
    border: 2px solid var(--border);
    background: var(--white);
    padding: 20px;
}

.info-pair span {
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 900;
}

.mini-table th {
    background: #e9e5e2;
    color: var(--ink);
}

.dark-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 2px solid var(--black);
}

.checklist-panel {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.warning-panel {
    border-color: var(--red);
    color: var(--ink);
}

.warning-panel h2 {
    color: var(--red);
}

.guide-final-cta {
    text-align: center;
    padding: 46px 26px;
}

.quiz-page .page-hero {
    text-align: center;
    padding: 86px 0 70px;
}

.quiz-page .page-hero .kicker {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 4px 10px;
}

.quiz-page .page-hero h1 {
    margin: 0 auto;
    text-transform: uppercase;
    font-size: 4rem;
}

.quiz-page .page-hero p {
    margin-left: auto;
    margin-right: auto;
}

.quiz-shell {
    max-width: 960px;
}

.quiz-card {
    padding: 48px;
    box-shadow: 6px 6px 0 var(--black);
}

.quiz-option {
    min-height: 92px;
    display: grid;
    align-items: center;
    background: var(--white);
}

.result-card {
    border-radius: 0;
}

.site-footer {
    border-top: 3px solid var(--blue);
}

.footer-brand {
    color: var(--blue);
    font-size: 1.65rem;
}

/* Admin panel visual shell */
.admin-page .site-header,
.admin-page .site-footer {
    display: none;
}

.admin-page {
    background: var(--bg);
}

.admin-page main {
    margin-left: 320px;
    min-height: 100vh;
}

.admin-login-page main {
    margin-left: 0;
}

.admin-login-page .page-hero .container {
    width: min(760px, calc(100% - 32px));
    padding: 64px 0 24px;
    display: block;
}

.admin-login-page .page-hero .kicker {
    display: block;
}

.admin-login-page .page-hero h1 {
    font-size: 3.4rem;
}

.admin-page .page-hero {
    padding: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--black);
}

.admin-page .page-hero .container {
    width: 100%;
    min-height: 78px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-page .page-hero h1 {
    font-size: 2.8rem;
}

.admin-page .page-hero .kicker {
    display: none;
}

.admin-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: 320px;
    margin: 0;
    padding: 38px 34px;
    display: grid;
    align-content: start;
    gap: 18px;
    background: #2d2d2d;
    color: var(--white);
}

.admin-nav-brand {
    display: grid;
    gap: 4px;
    margin-bottom: 48px;
}

.admin-nav-brand strong {
    color: #0039c9;
    font-size: 2rem;
}

.admin-nav-brand span {
    color: #d8d4ce;
    font-weight: 900;
}

.admin-nav a,
.admin-logout-form button {
    display: block;
    padding: 16px 22px;
    border: 0;
    background: transparent;
    color: #a8abba;
    font-size: 1.1rem;
}

.admin-nav a[aria-current="page"] {
    background: var(--blue);
    color: var(--white);
    border-left: 5px solid #d8e1ff;
}

.admin-page .section {
    padding: 34px 0;
}

.admin-page .container {
    width: min(1240px, calc(100% - 96px));
}

.admin-metrics {
    grid-template-columns: repeat(5, 1fr);
}

.admin-metrics article {
    min-height: 150px;
    display: grid;
    align-content: center;
}

.admin-metrics strong {
    font-size: 2.8rem;
}

.admin-page .alert-card {
    background: #fff;
    color: var(--ink);
    border-color: var(--blue);
}

.admin-page .alert-card:first-child {
    background: var(--red);
    color: var(--white);
    border-color: var(--black);
}

.admin-table th {
    background: var(--bg);
    color: var(--ink);
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    text-transform: uppercase;
}

@media (max-width: 1060px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .site-search {
        display: none;
    }

    .guide-hero-grid,
    .guide-shell {
        grid-template-columns: 1fr;
    }

    .home-hero h1,
    .guide-hero h1,
    .quiz-page .page-hero h1 {
        font-size: 3rem;
    }

    .guide-sidebar {
        position: static;
    }

    .admin-page main {
        margin-left: 0;
    }

    .admin-nav {
        position: static;
        width: auto;
        padding: 18px;
        margin-top: 18px;
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-nav-brand {
        grid-column: 1 / -1;
        margin-bottom: 8px;
    }

    .admin-page .page-hero .container {
        display: grid;
        padding: 24px;
    }

    .admin-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .home-hero h1,
    .software-hero h1,
    .guide-hero h1,
    .quiz-page .page-hero h1 {
        font-size: 2.45rem;
    }

    .editorial-grid,
    .criteria-grid,
    .error-grid,
    .info-pair,
    .guide-media-block,
    .admin-metrics {
        grid-template-columns: 1fr;
    }

    .quiz-card {
        padding: 24px;
    }

    .admin-page .container {
        width: min(100% - 24px, 1180px);
    }

    .admin-nav {
        grid-template-columns: 1fr;
    }
}

/* Modern type and interface pass */
:root {
    --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Bahnschrift", "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
    --font-label: "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
    --soft-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.58;
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: geometricPrecision;
}

h1,
h2,
h3,
.brand,
.footer-brand,
.btn,
.score-big,
.admin-nav-brand strong {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0;
}

h1,
h2 {
    line-height: 0.98;
}

h3 {
    line-height: 1.08;
}

p {
    max-width: 72ch;
}

.kicker,
.card-label,
.choice-grid span,
.result-card span,
.update-card span,
.admin-metrics span,
.badge,
.fact-list dt,
caption,
th {
    font-family: var(--font-label);
    letter-spacing: 0;
}

.site-header {
    background: rgba(250, 249, 247, 0.92);
    border-bottom: 1px solid rgba(23, 23, 23, 0.85);
}

.header-inner {
    min-height: 70px;
}

.brand {
    font-size: 1.36rem;
}

.main-nav a {
    font-weight: 750;
    padding: 22px 0 18px;
}

.site-search input {
    min-height: 44px;
    border: 1px solid #bdb7ad;
    background: rgba(255, 255, 255, 0.72);
}

.btn {
    min-height: 46px;
    padding: 12px 18px;
    border-width: 1.5px;
    text-transform: uppercase;
    font-size: 0.86rem;
}

.btn:hover,
.btn:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--black);
}

.home-hero {
    padding-top: 92px;
    background: var(--bg);
}

.home-hero h1 {
    font-size: 5rem;
    max-width: 980px;
}

.hero-subtitle,
.page-hero p {
    font-size: 1.08rem;
}

.brand-line {
    background: var(--black);
    color: var(--white);
    padding: 6px 10px;
    border-left: 5px solid var(--blue);
}

.verdict-card,
.profile-card,
.software-card,
.choice-grid article,
.result-card,
.update-card,
.editorial-card,
.summary-card,
.warning-panel,
.guide-final-cta,
.hero-card,
.admin-form,
.alert-card {
    box-shadow: var(--soft-shadow);
}

.verdict-card,
.software-card,
.editorial-card,
.choice-grid article {
    background: rgba(255, 255, 255, 0.86);
}

.profile-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4f1ec 100%);
}

.software-card {
    border-color: #c8c2b8;
}

.software-card::after {
    height: 4px;
}

.software-card h3 {
    font-size: 1.24rem;
}

.score-row strong,
.comparison-table td:first-child,
.admin-metrics strong {
    font-family: var(--font-display);
}

.score-row strong {
    color: var(--blue);
}

.cash-verdict {
    font-size: 1.02rem;
    line-height: 1.35;
}

.method-section {
    background:
        linear-gradient(180deg, #171717 0%, #202020 100%);
}

.criterion {
    background: #111111;
    border: 1px solid #363636;
}

.comparison-table {
    box-shadow: var(--soft-shadow);
}

.comparison-table th {
    font-size: 0.76rem;
}

.comparison-table td {
    padding-top: 18px;
    padding-bottom: 18px;
}

.filters-panel {
    background: rgba(250, 249, 247, 0.72);
}

.filter-search {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--border);
}

.filter-search input {
    width: 100%;
}

.side-by-side-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.compare-detail-card {
    min-height: 100%;
}

.legal-content {
    display: grid;
    gap: 18px;
}

.legal-content h2 {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 2px solid var(--black);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.software-hero .detail-hero-grid {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--soft-shadow);
}

.score-breakdown .score-line {
    border-color: #2f2f2f;
}

.guide-sidebar {
    font-family: var(--font-label);
}

.quiz-card {
    background: rgba(255, 255, 255, 0.92);
}

.quiz-option {
    background: #fbfaf8;
}

.site-footer {
    background: #242424;
}

.footer-brand {
    font-size: 1.8rem;
}

.admin-nav {
    background: #242424;
}

.admin-nav a,
.admin-logout-form button {
    font-family: var(--font-display);
    font-weight: 750;
}

.admin-logout-form {
    margin: 0;
}

.admin-logout-form button {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

/* Navigation typography */
.main-nav a,
.header-cta,
.mobile-menu-toggle {
    font-family: "Cascadia Mono", "Consolas", "Segoe UI Mono", monospace;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.main-nav a {
    padding-top: 24px;
    padding-bottom: 20px;
}

.header-cta {
    font-size: 0.76rem;
}

.admin-nav a,
.admin-logout-form button {
    font-family: "Bahnschrift", "Aptos Display", "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Guide sidebar refinement */
.guide-sidebar {
    font-family: var(--font-body);
}

.guide-sidebar > strong {
    font-family: var(--font-display);
    font-weight: 800;
}

.guide-sidebar a:not(.btn) {
    font-family: var(--font-body);
    font-weight: 750;
}

.guide-sidebar .guide-sidebar-cta .btn.btn-primary {
    color: var(--white);
}

@media (max-width: 1060px) {
    .home-hero h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 15px;
    }

    .home-hero {
        padding-top: 52px;
    }

    .home-hero h1,
    .software-hero h1,
    .guide-hero h1,
    .quiz-page .page-hero h1 {
        font-size: 2.35rem;
    }
}

/* Attraction pass */
.editor-picks-section {
    padding-top: 40px;
    background: linear-gradient(180deg, var(--bg) 0%, #f2efea 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.editor-picks-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}

.editor-pick-card {
    position: relative;
    min-height: 280px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    padding: 22px;
    background: var(--white);
    border: 2px solid var(--black);
    box-shadow: var(--soft-shadow);
}

.editor-pick-card.is-featured {
    background: var(--black);
    color: var(--white);
    box-shadow: 9px 9px 0 var(--blue);
}

.editor-pick-card.is-featured .badge {
    background: var(--blue);
    color: var(--white);
    border-color: var(--white);
}

.pick-rank {
    position: absolute;
    top: 18px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 800;
    color: var(--blue);
}

.editor-pick-card.is-featured .pick-rank {
    color: var(--white);
}

.pick-main h3 {
    margin-top: 18px;
    font-size: 2rem;
}

.pick-main p {
    margin: 14px 0 0;
    font-weight: 700;
}

.pick-score {
    width: fit-content;
    display: grid;
    gap: 2px;
    padding: 10px 14px;
    border: 2px solid currentColor;
}

.pick-score span {
    font-family: var(--font-label);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.pick-score strong {
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 0.9;
}

.comparison-intel-section {
    padding-top: 0;
    padding-bottom: 36px;
}

.intel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.intel-grid article {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 22px;
    background: var(--white);
    border: 2px solid var(--black);
    box-shadow: 6px 6px 0 rgba(6, 71, 255, 0.14);
}

.intel-grid span {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 0.9;
    color: var(--blue);
    font-weight: 800;
}

.intel-grid strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
}

.intel-grid p {
    margin: 0;
    color: #4a4741;
}

.snapshot-strip {
    display: grid;
    grid-template-columns: 0.8fr 0.9fr 1.4fr 1fr;
    border: 2px solid var(--black);
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.snapshot-strip article {
    min-height: 120px;
    padding: 18px;
    border-right: 1px solid var(--border);
}

.snapshot-strip article:last-child {
    border-right: 0;
}

.snapshot-strip span {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-label);
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.snapshot-strip strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.18rem;
    line-height: 1.12;
}

.snapshot-strip small {
    display: block;
    margin-top: 10px;
    color: #615d56;
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.35;
}

.software-detail-page .two-column {
    align-items: stretch;
}

.software-detail-page .black-card {
    display: grid;
    align-content: center;
    min-height: 280px;
    box-shadow: 8px 8px 0 var(--blue);
}

.decision-grid article:first-child {
    border-left: 6px solid var(--blue);
}

.decision-grid article:last-child {
    border-left: 6px solid var(--red);
}

@media (max-width: 1060px) {
    .editor-picks-grid,
    .intel-grid,
    .snapshot-strip,
    .side-by-side-grid {
        grid-template-columns: 1fr;
    }

    .snapshot-strip article {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .snapshot-strip article:last-child {
        border-bottom: 0;
    }
}

/* Layout safety: no page should create a blank horizontal canvas. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow-x: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

.site-header,
main,
.site-footer,
.page-hero,
.section {
    max-width: 100%;
}

.quiz-page .page-hero,
.quiz-page .section,
.quiz-page .quiz-shell,
.quiz-page .quiz-card,
.quiz-page .progress-wrap,
.quiz-page .quiz-options,
.quiz-page .quiz-option {
    max-width: 100%;
}

.quiz-page .quiz-shell {
    width: min(960px, calc(100% - 32px));
}

.quiz-page .quiz-card {
    overflow: clip;
}

.quiz-page .quiz-options {
    min-width: 0;
}

.quiz-page .quiz-option,
.quiz-page .quiz-option span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.quiz-page .quiz-sticky {
    width: 100%;
    max-width: 100%;
}

@supports not (overflow: clip) {
    .quiz-page .quiz-card {
        overflow: hidden;
    }
}
