/* Theme tokens — Volt (default light) + Midnight (dark) */
:root,
[data-theme="volt"] {
    --bg: #f8fafc;
    --bg-elevated: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --brand: #2563eb;
    --brand-strong: #1d4ed8;
    --brand-soft: #eff6ff;
    --accent: #059669;
    --accent-soft: #ecfdf5;
    --warn: #d97706;
    --warn-soft: #fffbeb;
    --hero-ink: #ffffff;
    --hero-muted: rgba(255, 255, 255, 0.88);
    --header-bg: #ffffff;
    --header-border: #e2e8f0;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    --display: "Plus Jakarta Sans", system-ui, sans-serif;
    --brand-font: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
}

[data-theme="midnight"] {
    --bg: #0b1220;
    --bg-elevated: #141c2c;
    --ink: #e8eef7;
    --muted: #9aa8bc;
    --line: #243044;
    --brand: #3b82f6;
    --brand-strong: #60a5fa;
    --brand-soft: #172554;
    --accent: #34d399;
    --accent-soft: #064e3b;
    --warn: #f6b26b;
    --warn-soft: #3a2a1a;
    --hero-ink: #ffffff;
    --hero-muted: rgba(255, 255, 255, 0.88);
    --header-bg: #0f172a;
    --header-border: #1e293b;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    min-height: 100vh;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }
/* Columned page content; header / hero / footer bands stay full-bleed */
.wrap {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

/* Sticky header — sits flush on the hero (no fixed-header padding gap) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--header-border);
    background: var(--header-bg);
}
.header-shell {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink);
    line-height: 1;
}
.brand-mark {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.brand-name {
    font-family: var(--brand-font);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.brand-name-pro {
    color: var(--brand);
}
.brand:hover {
    color: var(--ink);
    opacity: 0.92;
}
.brand:hover .brand-name-pro {
    color: var(--brand-strong);
}

.search {
    position: relative;
    width: 100%;
    max-width: 520px;
    justify-self: center;
}
.search-input {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.62rem 1rem 0.62rem 2.35rem;
    font: inherit;
    outline: none;
}
.search-input:focus {
    border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    opacity: 0.45;
    pointer-events: none;
}
.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 24rem;
    overflow-y: auto;
}
.search-results.open { display: block; }
.search-group-label {
    padding: 0.55rem 0.85rem 0.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-weight: 600;
}
.search-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    color: var(--ink);
    text-decoration: none;
    border-top: 1px solid transparent;
}
.search-item:hover { background: color-mix(in srgb, var(--brand-soft) 80%, var(--bg-elevated)); }
.search-item .meta { color: var(--muted); font-size: 0.8rem; }
.search-empty { padding: 0.9rem; color: var(--muted); font-size: 0.9rem; }

.nav { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; justify-content: flex-end; }
.nav > a:not(.btn) {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
}
.nav > a:not(.btn):hover { color: var(--ink); background: color-mix(in srgb, var(--line) 55%, transparent); }
.btn-header {
    padding: 0.42rem 0.8rem !important;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 6px;
}

.main { padding: 1.75rem 0 3.5rem; }
.main--after-hero { padding-top: 0.85rem; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}
.blog-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 100%;
}
.blog-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: color-mix(in srgb, var(--line) 55%, var(--bg));
    overflow: hidden;
}
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 1.05rem 1.15rem;
    flex: 1;
}
.blog-card-body h2 {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.25;
}
.blog-card-body h2 a { color: var(--ink); }
.blog-card-body h2 a:hover { color: var(--brand); }
.blog-card-body > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    color: var(--muted);
    font-size: 0.85rem;
}
.blog-meta a { color: var(--muted); }
.blog-meta a:hover { color: var(--brand); }
.blog-read {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.92rem;
}
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.blog-hero-image {
    margin: 0 0 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}
.blog-hero-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.blog-content {
    max-width: 46rem;
}
.blog-post--review {
    max-width: none;
}
.blog-content--review {
    max-width: none;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.7;
}
.blog-content--review :where(p, ul, ol) {
    color: color-mix(in srgb, var(--ink) 78%, var(--muted));
    margin: 0 0 1rem;
}
.blog-content--review :where(a) {
    color: var(--brand-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-content--review :where(img) {
    max-width: 100%;
    height: auto;
    display: block;
}
.blog-content--review .review-intro {
    font-size: 1.12rem;
}
.blog-content--review .review-kicker {
    font-weight: 650;
    color: var(--ink);
    margin-bottom: 1.75rem;
}

.review-hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    border-bottom: 1px solid color-mix(in srgb, #fff 12%, transparent);
}
.review-hero--photo {
    background:
        linear-gradient(180deg, rgba(8, 15, 28, 0.55), rgba(8, 15, 28, 0.78)),
        var(--review-hero-image) center / cover no-repeat;
}
.review-hero--plain {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.28), transparent 42%),
        linear-gradient(135deg, #0f172a, #1e293b 60%, #0f766e);
}
.review-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48px;
    background:
        linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
}
.review-hero-inner {
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(3.25rem, 7vw, 4.5rem);
    text-align: center;
}
.review-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}
.review-hero-meta a { color: rgba(255, 255, 255, 0.9); }
.review-hero-meta a:hover { color: #fff; }
.review-hero h1 {
    margin: 0 auto 0.75rem;
    max-width: 18ch;
    font-family: var(--display);
    font-size: clamp(1.85rem, 4.4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    text-wrap: balance;
}
.review-hero-sub {
    margin: 0 auto;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.02rem, 2vw, 1.2rem);
    font-weight: 600;
}
.review-hero-sub::after {
    content: "";
    display: block;
    width: 4.5rem;
    height: 3px;
    margin: 1.15rem auto 0;
    border-radius: 999px;
    background: #38bdf8;
}

.review-section {
    margin: 2.25rem 0 0;
    padding: 1.6rem 0 0.25rem;
    border-top: 1px solid var(--line);
}
.review-section:first-of-type {
    margin-top: 0.5rem;
}
.review-section-head {
    margin-bottom: 1.15rem;
}
.review-eyebrow {
    margin: 0 0 0.35rem !important;
    color: var(--brand) !important;
    font-size: 0.8rem !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.review-section-head h2 {
    margin: 0 0 0.45rem;
    font-family: var(--display);
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0ea5e9;
}
.review-section-head p {
    margin: 0;
    max-width: 48rem;
}
.review-block {
    margin: 1.5rem 0 0;
    padding: 1.25rem 1.25rem 1.1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.review-block h3 {
    margin: 0 0 0.75rem;
    font-family: var(--display);
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.scorecard {
    display: grid;
    gap: 1.15rem;
    margin: 0 0 1.75rem;
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, #0f172a, #1e293b 55%, #0f766e);
    color: #fff;
    box-shadow: var(--shadow);
}
.scorecard-copy .review-kicker {
    margin: 0 0 0.55rem !important;
    color: #fff !important;
    font-size: 1.2rem;
    font-style: italic;
}
.scorecard-copy p {
    margin: 0 0 0.75rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
    max-width: 48rem;
}
.scorecard-copy p:last-child { margin-bottom: 0 !important; }
.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.pros-box,
.cons-box {
    padding: 0.95rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.pros-box h3,
.cons-box h3 {
    margin: 0 0 0.55rem;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.pros-box ul,
.cons-box ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}
.pros-box li,
.cons-box li {
    margin: 0;
    padding-left: 1.2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600;
    font-size: 0.95rem;
}
.pros-box li::before,
.cons-box li::before {
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-weight: 700;
}
.pros-box li::before {
    content: "✓";
    color: #34d399;
}
.cons-box li::before {
    content: "–";
    color: #fca5a5;
}
.review-score-block {
    position: relative;
}
.review-score-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-bottom: 0.85rem;
}
.review-score-head h3 {
    margin: 0;
    color: #0ea5e9;
}
.rating-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    background: #059669;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 14px rgba(5, 150, 105, 0.22);
    white-space: nowrap;
}
.review-cta-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 1rem 0 1.5rem !important;
}
.review-cta-inline .btn {
    text-decoration: none;
}

.compare-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
}
.compare-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 1rem;
}
.compare-table caption {
    padding: 0.85rem 1rem 0.35rem;
    text-align: left;
    font-weight: 700;
    color: var(--ink);
}
.compare-table th,
.compare-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}
.compare-table thead th {
    background: linear-gradient(90deg, #ccfbf1, #bae6fd);
    color: #0f172a;
    font-weight: 700;
}
.compare-table tbody th {
    font-weight: 650;
    color: var(--ink);
    width: 34%;
    background: color-mix(in srgb, var(--bg) 70%, var(--bg-elevated));
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: 0;
}
.compare-table .is-win {
    color: #059669;
    font-weight: 700;
}
.compare-table .is-lose {
    color: #dc2626;
    font-weight: 700;
}
.compare-table .is-tie {
    color: #059669;
    font-weight: 700;
}

.compare-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.15rem 0;
}
.compare-panel {
    position: relative;
    padding: 1.1rem 1.1rem 0.9rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 55%, var(--bg-elevated));
}
.compare-panel--win {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 80%, transparent), transparent 42%),
        var(--bg-elevated);
}
.compare-panel--lose {
    border-color: color-mix(in srgb, #ef4444 28%, var(--line));
    background:
        linear-gradient(180deg, color-mix(in srgb, #fef2f2 90%, transparent), transparent 42%),
        var(--bg-elevated);
}
.compare-panel-label {
    margin: 0 0 0.35rem !important;
    font-size: 0.78rem !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted) !important;
}
.compare-panel h4 {
    margin: 0 0 0.65rem;
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ink);
}
.compare-panel--win .compare-panel-label { color: #047857 !important; }
.compare-panel--lose .compare-panel-label { color: #b91c1c !important; }

.review-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    width: min(100%, 640px);
    margin: 1.15rem auto 0.25rem;
    justify-items: center;
}
.review-gallery .lightbox-trigger {
    cursor: zoom-in;
}
.lightbox-open { overflow: hidden; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 28, 0.82);
}
.lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: min(90vh, 900px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
}
.lightbox-figure {
    margin: 0;
    padding: 0.65rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    max-height: min(90vh, 900px);
    overflow: auto;
}
.lightbox-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(78vh, 820px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
.lightbox-caption {
    margin: 0.65rem 0.2rem 0.1rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}
.lightbox-close,
.lightbox-nav {
    appearance: none;
    border: 1px solid color-mix(in srgb, #fff 25%, transparent);
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1;
}
.lightbox-close {
    position: absolute;
    top: -0.35rem;
    right: 2.6rem;
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.5rem;
}
.lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.15rem;
}
.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(37, 99, 235, 0.92);
}
@media (max-width: 800px) {
    .lightbox-dialog {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .lightbox-nav {
        justify-self: center;
    }
    .lightbox-close {
        right: 0.15rem;
        top: -2.6rem;
    }
}
.review-figure {
    width: fit-content;
    max-width: min(100%, 420px);
    margin: 1.15rem auto;
    padding: 0.55rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.review-gallery .review-figure {
    width: 100%;
    max-width: none;
    margin: 0;
}
.review-figure img {
    width: auto;
    max-width: 100%;
    max-height: 220px;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
    object-position: center top;
    border-radius: calc(var(--radius-sm) - 2px);
    background: color-mix(in srgb, var(--line) 35%, transparent);
}
.review-figure figcaption {
    margin: 0.55rem 0.15rem 0.1rem;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.4;
}
.review-figure--wide {
    max-width: min(100%, 480px);
    margin-top: 1.25rem;
}
.review-figure--wide img {
    max-height: 240px;
}

.review-cta {
    position: relative;
    display: grid;
    gap: 0.85rem;
    margin: 1.75rem 0;
    padding: 1.25rem 1.35rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--brand-soft) 90%, transparent), transparent 55%),
        var(--bg-elevated);
    box-shadow: var(--shadow);
}
.review-cta-badge {
    position: absolute;
    top: 0.85rem;
    right: -2.1rem;
    width: 9rem;
    padding: 0.35rem 0;
    background: #059669;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(35deg);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25);
}
.review-cta-body {
    max-width: 40rem;
    padding-right: 3rem;
}
.review-cta h3 {
    margin: 0 0 0.35rem;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
}
.review-cta p {
    margin: 0 0 0.9rem !important;
}
.review-cta .btn { text-decoration: none; }

.chip-list,
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.55rem 0.75rem;
    margin: 0.85rem 0 1.15rem !important;
    padding: 0 !important;
    list-style: none;
}
.chip-list li,
.location-grid li {
    margin: 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--ink) !important;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
}

.review-section--verdict {
    padding: 1.5rem 1.35rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--brand-soft) 70%, transparent), transparent 38%),
        var(--bg-elevated);
}
.verdict-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.15rem;
}
.verdict-card {
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--bg) 65%, var(--bg-elevated));
}
.verdict-card--winner {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
    background: linear-gradient(180deg, var(--accent-soft), var(--bg-elevated));
}
.verdict-label {
    margin: 0 0 0.3rem !important;
    color: var(--muted) !important;
    font-size: 0.78rem !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.verdict-card h3 {
    margin: 0 0 0.45rem;
    font-family: var(--display);
    font-size: 1.2rem;
}
.review-close {
    margin-top: 1rem !important;
    font-weight: 600;
    color: var(--ink) !important;
}
.review-quote {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid #0ea5e9;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: color-mix(in srgb, var(--brand-soft) 70%, var(--bg-elevated));
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1.35;
}
.review-inline-label {
    margin: 1.5rem 0 0.65rem;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0ea5e9;
}
.howto-step {
    margin-top: 1.25rem;
}
.howto-step-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.howto-step-head h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0ea5e9;
}
.howto-step-num {
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: #0ea5e9;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.review-gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 800px) {
    .blog-grid,
    .blog-grid-compact { grid-template-columns: 1fr; }
    .compare-split,
    .review-gallery,
    .verdict-grid,
    .pros-cons {
        grid-template-columns: 1fr;
    }
    .review-cta-badge { display: none; }
    .review-cta-body { padding-right: 0; }
    .review-hero h1 { max-width: none; }
}

.not-found {
    min-height: min(52vh, 420px);
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    gap: 0.55rem;
    padding: 2.5rem 0 1.5rem;
}
.not-found-code {
    margin: 0;
    font-family: var(--brand-font);
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--brand);
}
.not-found h1 {
    margin: 0;
    font-size: 1.55rem;
}
.not-found > p {
    margin: 0;
    color: var(--muted);
    max-width: 28rem;
}
.not-found > p:last-child {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

/* Newsletter band — photo + overlay for contrast */
.newsletter-band {
    width: 100%;
    border-top: 0;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(8, 16, 40, 0.72), rgba(8, 16, 40, 0.82)),
        #081028 url("../images/hero-alt.jpg") center / cover no-repeat;
}
.newsletter-inner {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
    padding: 2.75rem 0 3rem;
    display: grid;
    gap: 1rem 1.5rem;
    align-items: center;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
.newsletter-copy h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
    color: #fff;
}
.newsletter-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    max-width: 28rem;
}
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
}
.newsletter-input {
    flex: 1 1 12rem;
    min-width: 0;
    border: 0;
    background: #fff;
    color: #0f172a;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font: inherit;
    outline: none;
}
.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}
.newsletter-input:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}
.newsletter-form .btn {
    background: #1d32a0;
}
.newsletter-form .btn:hover { background: #162787; }
.newsletter-form .btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}
.newsletter-note {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}
.newsletter-note.is-success {
    color: #bbf7d0;
}
.newsletter-note.is-error {
    color: #fecaca;
}
.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-footer {
    width: 100%;
    border-top: 1px solid var(--line);
    background: var(--bg-elevated);
    color: var(--muted);
    font-size: 0.9rem;
    padding: 1.5rem 0 2rem;
}
.footer-inner {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
}
.footer-inner p { margin: 0; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.15rem;
}
.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}
.footer-links a:hover { color: var(--brand); }

/* Full-bleed DCPR hero — circuit photo + contrast against light page body */
.hero-band {
    width: 100%;
    border-bottom: 0;
    color: var(--hero-ink);
    background:
        linear-gradient(180deg, rgba(12, 28, 74, 0.55), rgba(12, 28, 74, 0.72)),
        #0c1c4a url("../images/hero-bg.jpg") center / cover no-repeat;
}
.hero-band-inner {
    width: min(900px, calc(100% - 2rem));
    margin-inline: auto;
    padding: 3.5rem 0 2.25rem;
    text-align: center;
}
.hero-band h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.8vw, 2.45rem);
    line-height: 1.15;
    margin: 0 0 0.65rem;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}
.hero-lead {
    margin: 0 auto 1.35rem;
    color: var(--hero-muted);
    font-size: 1.05rem;
    max-width: 34rem;
    line-height: 1.5;
}
.hero-search-form {
    position: relative;
    z-index: 3;
    width: min(560px, 100%);
    margin-inline: auto;
}
.hero-search-shell {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.hero-search-shell .search-input {
    flex: 1 1 auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #0f172a;
    padding: 0.85rem 1rem;
    box-shadow: none;
}
.hero-search-shell .search-input:focus {
    outline: none;
    box-shadow: none;
}
.hero-search-btn {
    border-radius: 0;
    padding-inline: 1.25rem;
    background: #1d32a0;
}
.hero-search-btn:hover { background: #162787; }
.hero-search-form .search-results {
    text-align: left;
    color: var(--ink);
}
.hero-stats {
    position: relative;
    z-index: 1;
    width: min(900px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 2.25rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    text-align: left;
}
.hero-stat strong {
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.hero-stat span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 500;
}

.section { margin-top: 2rem; }
.section:first-child { margin-top: 1.75rem; }
.deal-subhead {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.deal-subhead-spaced { margin-top: 1.35rem; }
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.section-head h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    margin: 0;
    letter-spacing: -0.02em;
}
.section-head p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; }
.section-head a {
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
}
.muted { color: var(--muted); }
.tiny { font-size: 0.85rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.7rem;
}
.store-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1.15rem;
}
.sort-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-elevated) 80%, transparent);
}
.sort-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.sort-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--line) 45%, transparent); }
.sort-tab.is-active {
    background: var(--ink);
    color: var(--bg);
}
.sort-tab.is-active:hover { color: var(--bg); filter: brightness(1.06); }
.filter-form { margin: 0; }
.filter-select {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    color: var(--ink);
    border-radius: 6px;
    padding: 0.48rem 2rem 0.48rem 0.75rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    cursor: pointer;
}
.filter-select:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.stack { display: grid; gap: 0.85rem; }
.deal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none;
    padding: 0.85rem 0.9rem;
}
a.card { color: inherit; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
a.card:hover { border-color: color-mix(in srgb, var(--ink) 18%, var(--line)); }

.store-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.55rem;
    align-items: center;
    min-height: 0;
    padding: 0.85rem 0.9rem;
}
.store-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    object-position: center;
    padding: 4px;
    box-sizing: border-box;
    background: color-mix(in srgb, var(--bg) 80%, var(--bg-elevated));
    border: 1px solid var(--line);
    flex-shrink: 0;
    grid-row: 1;
}
.store-logo.placeholder {
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--brand);
    font-size: 1.05rem;
}
.store-card-body { min-width: 0; grid-row: 1; }
.store-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.store-card p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.8rem; }
.store-offer {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Coupon / deal cards */
.coupon-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 0.9rem 1rem;
}
.coupon-card.is-featured {
    background: color-mix(in srgb, var(--warn-soft) 28%, var(--bg-elevated));
}
.coupon-card-top {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    min-width: 0;
    flex: 1 1 auto;
}
.coupon-thumb {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 70%, var(--bg-elevated));
    flex-shrink: 0;
}
.coupon-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.coupon-card h3 { margin: 0 0 0.2rem; font-size: 0.95rem; line-height: 1.3; font-weight: 650; }
.coupon-card h3 a { color: var(--ink); text-decoration: none; }
.coupon-card h3 a:hover { color: var(--brand); }
.coupon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.5rem;
    color: var(--muted);
    font-size: 0.75rem;
    margin-bottom: 0.1rem;
}
.coupon-score {
    margin-top: 0.15rem;
    font-weight: 500;
    color: var(--ink);
}
.coupon-score .muted { font-weight: 400; }
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.danger {
    background: color-mix(in srgb, #c0392b 16%, var(--bg-elevated));
    color: #9b2c2c;
}

.codebox {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-top: auto;
}
.code + .codebox {
    margin-top: 0.85rem;
}
.code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.65rem;
    border: 1px dashed color-mix(in srgb, var(--brand) 55%, var(--line));
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    display: inline-block;
    margin-bottom: 0.15rem;
}
.code-masked {
    letter-spacing: 0.18em;
    user-select: none;
    color: color-mix(in srgb, var(--brand-strong) 55%, var(--muted));
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border: 0;
    border-radius: 6px;
    padding: 0.48rem 0.85rem;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
}
.btn-ext-icon {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
    opacity: 0.9;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-secondary { background: var(--ink); color: var(--bg); }
.btn-secondary:hover { filter: brightness(1.08); color: var(--bg); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--line) 45%, transparent); color: var(--ink); }

.page-head { margin-bottom: 1.5rem; }
.page-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}
.page-head-main { min-width: 0; flex: 1; }
.btn-admin-edit {
    background: var(--bg-elevated);
    color: var(--ink);
    border: 1px dashed color-mix(in srgb, var(--brand) 55%, var(--line));
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
}
.btn-admin-edit:hover {
    background: var(--brand-soft);
    color: var(--brand-strong);
    border-style: solid;
}
.page-head h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.5vw, 2.2rem);
    margin: 0 0 0.4rem;
    letter-spacing: -0.03em;
}
.page-head p { margin: 0; color: var(--muted); max-width: 40rem; }

.store-lede {
    color: var(--muted);
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.55;
}
.store-lede :where(p, ul, ol) { margin: 0 0 0.65rem; }
.store-lede :where(p, ul, ol):last-child { margin-bottom: 0; }
.store-lede a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 2px; }
.store-lede :where(ul, ol) { padding-left: 1.25rem; }

.store-hero {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none;
}
.store-hero .store-logo { width: 72px; height: 72px; }
.prose { max-width: 42rem; }
.prose.card { max-width: none; }
.prose :where(p, ul, ol) { color: var(--muted); }
.prose :where(h2, h3) {
    font-family: var(--display);
    font-weight: 550;
    color: var(--ink);
    margin: 1.25rem 0 0.5rem;
}
.prose :where(h2):first-child,
.prose :where(h3):first-child { margin-top: 0; }
.prose a { text-decoration: underline; }
.store-body { margin-top: 2rem; }
.empty {
    padding: 1.25rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
}
.coupon-detail-image {
    width: 180px;
    height: 110px;
    object-fit: contain;
    display: block;
    background: color-mix(in srgb, var(--bg) 70%, var(--bg-elevated));
    border-radius: 12px;
    border: 1px solid var(--line);
    margin-bottom: 1rem;
}

.toast {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background: var(--ink);
    color: var(--bg);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
    z-index: 60;
}
.toast.show { opacity: 1; transform: translateY(0); }

html.coupon-modal-open { overflow: hidden; }
.coupon-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.coupon-modal[hidden] { display: none !important; }
.coupon-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}
.coupon-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    background: var(--bg-elevated);
    color: var(--ink);
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    padding: 1.35rem;
    max-height: min(92vh, 720px);
    overflow: auto;
}
.coupon-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.coupon-modal-close:hover { background: color-mix(in srgb, var(--line) 55%, transparent); color: var(--ink); }
.coupon-modal-close svg { width: 1.05rem; height: 1.05rem; }
.coupon-modal-store {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-right: 1.5rem;
}
.coupon-modal-logo,
.coupon-modal-logo.placeholder {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    flex-shrink: 0;
}
.coupon-modal-logo[hidden],
.coupon-modal-logo.placeholder[hidden] {
    display: none !important;
}
.coupon-modal-logo.placeholder {
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-soft);
}
.coupon-modal-store-name {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.coupon-modal-title {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0 0 1rem;
}
.coupon-modal-codebox {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.coupon-modal-code {
    font-family: var(--mono);
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-break: break-all;
}
.coupon-modal-copy {
    border: 0;
    border-left: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.85rem 1.15rem;
    cursor: pointer;
    min-width: 6.5rem;
}
.coupon-modal-copy:hover { background: var(--brand-strong); }
.coupon-modal-copy.is-copied {
    background: color-mix(in srgb, var(--accent) 85%, #0f172a);
}
.coupon-modal-hint {
    margin: 0.85rem 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}
.coupon-modal-hint a { font-weight: 600; }

/* Moderated coupon comments */
.comments { margin-top: 2.5rem; }
.comments-head { margin-bottom: 1rem; }
.comments-head h2 {
    font-family: var(--display);
    font-weight: 550;
    font-size: 1.55rem;
    margin: 0 0 0.25rem;
}
.flash {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--line);
}
.flash-ok {
    background: var(--accent-soft);
    border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
    color: var(--ink);
}
.flash-err {
    background: color-mix(in srgb, #f04438 12%, var(--bg-elevated));
    border-color: color-mix(in srgb, #f04438 35%, var(--line));
}
.flash-list { margin: 0; padding-left: 1.1rem; }
.comments-empty { margin-bottom: 1.25rem; }
.comment-list { display: grid; gap: 0.85rem; margin-bottom: 1.5rem; }
.comment {
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
}
.comment--reply {
    margin-left: calc(var(--comment-depth, 1) * 1rem);
    border-left: 3px solid color-mix(in srgb, var(--brand) 45%, var(--line));
}
.comment-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    align-items: baseline;
    margin-bottom: 0.35rem;
}
.comment-author { font-weight: 650; }
.comment-body {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--ink);
}
.comment-reply-btn {
    margin-top: 0.5rem;
    background: none;
    border: 0;
    padding: 0;
    color: var(--brand);
    cursor: pointer;
    font: inherit;
}
.comment-reply-btn:hover { color: var(--brand-strong); }
.comment-children { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
.comment-form-card { margin-top: 0.5rem; }
.comment-form-title {
    font-family: var(--display);
    font-weight: 550;
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
}
.comment-form { display: grid; gap: 0.85rem; }
.comment-form-row { display: grid; gap: 0.35rem; }
.comment-label { font-size: 0.9rem; font-weight: 500; }
.comment-label .req { color: #f04438; }
.comment-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--ink);
    padding: 0.65rem 0.8rem;
    font: inherit;
}
.comment-input:focus {
    outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent);
    outline-offset: 1px;
}
.comment-textarea { resize: vertical; min-height: 7rem; }
.comment-reply-hint { margin: 0 0 0.75rem; }
.comment-reply-cancel {
    margin-left: 0.5rem;
    background: none;
    border: 0;
    padding: 0;
    color: var(--brand);
    cursor: pointer;
    font: inherit;
}
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Coupon worked / didn't work */
.coupon-votes {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}
.coupon-votes-label { margin: 0 0 0.55rem; }
.coupon-votes-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.vote-btn {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.vote-icon {
    font-size: 1.15rem;
    line-height: 1;
}
.vote-btn [data-count-up],
.vote-btn [data-count-down] {
    opacity: 0.75;
    font-variant-numeric: tabular-nums;
    min-width: 1ch;
}
.vote-btn:hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}
.vote-btn:disabled { cursor: default; opacity: 0.85; }
.vote-up.is-active {
    background: var(--accent-soft);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.vote-down.is-active {
    background: color-mix(in srgb, #f04438 10%, var(--bg-elevated));
    border-color: color-mix(in srgb, #f04438 35%, var(--line));
}
.coupon-votes-msg { margin: 0.55rem 0 0; }
.coupon-votes-msg.is-err { color: #f04438; }

.auth-shell { max-width: 28rem; margin: 0 auto 2rem; }
.auth-shell-wide { max-width: 36rem; }
.auth-card { padding: 1.25rem 1.35rem; }
.auth-form { display: grid; gap: 0.85rem; }
.auth-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
}
.auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 0.25rem;
}
.auth-switch { margin: 1rem 0 0; }
.auth-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0.35rem 0;
}
.nav-logout { display: inline; margin: 0; }
.nav-text-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
.nav-text-btn:hover { color: var(--brand-strong); }
.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.account-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.account-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.account-table th,
.account-table td {
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.account-table th {
    background: var(--bg-elevated);
    font-weight: 650;
}
.account-table tr:last-child td { border-bottom: 0; }
.badge.status-pending {
    background: color-mix(in srgb, #f5a524 18%, var(--bg-elevated));
    color: var(--ink);
}
.badge.status-published {
    background: color-mix(in srgb, var(--accent) 18%, var(--bg-elevated));
}
.badge.status-draft,
.badge.status-expired {
    background: color-mix(in srgb, var(--line) 55%, var(--bg-elevated));
}
.badge.status-unreliable {
    background: color-mix(in srgb, #c0392b 16%, var(--bg-elevated));
    color: #9b2c2c;
}

@media (max-width: 980px) {
    .header-shell {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand nav"
            "search search";
        gap: 0.65rem;
    }
    .brand { grid-area: brand; }
    .nav { grid-area: nav; }
    .search { grid-area: search; max-width: none; width: 100%; }
    .btn-header { padding: 0.45rem 0.75rem !important; font-size: 0.82rem; }
    .hero-band-inner { padding: 2.25rem 0 1.75rem; }
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: 1.75rem;
    }
    .newsletter-inner { grid-template-columns: 1fr; padding: 2.1rem 0 2.35rem; }
    .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .deal-grid { grid-template-columns: 1fr; }
    .codebox { justify-content: stretch; }
    .codebox .btn { flex: 1 1 auto; }
    .newsletter-form .btn { width: 100%; }
    .brand-mark { height: 32px; }
    .brand-name { font-size: 0.98rem; }
    .hero-search-shell { flex-direction: column; }
    .hero-search-btn { width: 100%; padding: 0.75rem 1rem; }
}
