:root {
    --c-acc: #39ff14;
    --c-acc-dark: #1fcc0a;
    --c-dark: #000000;
    --c-bg: #0a0e0a;
    --c-bg-soft: #111611;
    --c-border: rgba(57,255,20,.18);
    --c-text: #d4ffd4;
    --c-muted: rgba(212,255,212,.6);
    --rhythm: 64px;
    --radius: 4px;
    --shadow: 0 0 20px rgba(57,255,20,.12);
    --ff-h: 'Playfair Display', system-ui, -apple-system, sans-serif;
    --ff-b: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    --hue-shift: 0deg;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-b);
    line-height: 1.6;
    background: var(--c-bg);
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--c-acc);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-h);
    line-height: 1.2;
    margin-bottom: 0.8em;
    color: var(--c-text);
}

h1 {
    font-size: 2.8em;
    font-weight: 700;
}

h2 {
    font-size: 2.2em;
    font-weight: 700;
}

h3 {
    font-size: 1.6em;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

ul li {
    margin-bottom: 0.5em;
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.sec {
    padding: var(--rhythm) 0;
}

.sec {
    border-top: 1px solid var(--c-border);
}
.sec:first-child {
    border-top: none;
}

.sec-dark {
    background-color: var(--c-dark);
}

.sec-soft {
    background-color: var(--c-bg-soft);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.5em;
    font-size: 1em;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
    text-align: center;
    border: 1px solid transparent;
}

.btn-acc {
    background: var(--c-acc);
    color: var(--c-dark);
}

.btn-acc:hover {
    filter: brightness(0.9);
}

.btn-outline {
    border: 1px solid var(--c-acc);
    color: var(--c-acc);
    background: transparent;
}

.btn-outline:hover {
    background: var(--c-acc);
    color: var(--c-dark);
}

.btn-center {
    text-align: center;
    margin-top: calc(var(--rhythm) / 2);
}

/* Header & Navigation */
.hd {
    background: var(--c-bg);
    padding: 1em 0;
    border-bottom: 1px solid var(--c-border);
}

.hd .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hd-logo {
    font-family: var(--ff-h);
    font-size: 1.8em;
    font-weight: 800;
    color: var(--c-text);
    text-decoration: none;
}

.hd-logo:hover {
    text-decoration: none;
    color: var(--c-acc);
}

.hd-nav {
    display: flex;
    gap: 1.5em;
}

.hd-link {
    color: var(--c-text);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5em 0;
    position: relative;
}

.hd-link:hover {
    color: var(--c-acc);
    text-decoration: none;
}

.hd-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 100;
}

.hd-burger span {
    width: 100%;
    height: 2px;
    background: var(--c-text);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    padding-top: calc(var(--rhythm) * 0.8);
    padding-bottom: calc(var(--rhythm) * 0.8);
    text-align: center;
    background-color: var(--c-bg);
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 0.5em;
}

.hero-subtitle {
    font-size: 1.2em;
    color: var(--c-muted);
    margin-bottom: 1.5em;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-bottom: 2em;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    color: var(--c-acc);
    padding: 0.4em 0.8em;
    border-radius: var(--radius);
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 1.5em;
}

.hero-chip i {
    margin-right: 0.5em;
    color: var(--c-acc);
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 1.5em;
}

/* Trust Bar */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: calc(var(--rhythm) / 2) 0;
    text-align: center;
    background-color: var(--c-dark);
}

.trust-item {
    padding: 1em;
}

.trust-n {
    font-family: var(--ff-h);
    font-size: 2.5em;
    font-weight: 700;
    color: var(--c-acc);
    line-height: 1;
}

.trust-l {
    font-size: 0.9em;
    color: var(--c-muted);
}

/* Comparison Table */
.cmp-wrap {
    overflow-x: auto;
    width: 100%;
}

.cmp {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2em;
    font-size: 0.95em;
}

.cmp thead {
    background-color: var(--c-bg-soft);
}

.cmp th, .cmp td {
    padding: 1em;
    border: 1px solid var(--c-border);
    text-align: left;
}

.cmp th {
    font-weight: 600;
    color: var(--c-text);
}

.cmp tbody tr:nth-child(even) {
    background-color: var(--c-bg-soft);
}

.cmp-name {
    display: flex;
    align-items: center;
    gap: 1em;
    white-space: nowrap;
}

.cmp-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    object-fit: contain;
    background: var(--c-bg); /* Ensure logo has contrast on dark bg */
    padding: 4px; /* Small padding so logo isn't cut off */
}

.cmp-name a {
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
}

.cmp-name a:hover {
    text-decoration: underline;
}

.cmp-badge {
    background-color: var(--c-acc);
    color: var(--c-dark);
    padding: 0.3em 0.7em;
    border-radius: var(--radius);
    font-size: 0.7em;
    font-weight: 700;
    white-space: nowrap;
}

.stars {
    color: gold;
    font-size: 1.2em;
    white-space: nowrap;
}

.stars .rating-num {
    margin-left: 0.5em;
    font-weight: 600;
    font-feature-settings: "tnum";
    color: var(--c-text);
}
.stars .star-empty { color: var(--c-muted); }

/* Editors Pick */
.edit-big {
    display: flex;
    gap: 3em;
    align-items: center;
    padding: 2.5em;
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    box-shadow: none;
    border-radius: var(--radius);
}

.edit-big h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: var(--c-acc);
}

.edit-big .stars {
    margin-bottom: 1em;
}

.edit-big ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.edit-big ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.8em;
    margin-bottom: 0.8em;
    color: var(--c-muted);
}

.edit-big ul li i {
    color: var(--c-acc);
    margin-top: 0.2em;
}

.edit-brand img {
    max-width: 150px;
    margin: 0 auto;
    border-radius: var(--radius);
    background: var(--c-bg);
    padding: 10px;
}

/* Review Page */
.breadcrumb {
    font-size: 0.9em;
    color: var(--c-muted);
    margin-bottom: 2em;
}

.breadcrumb a {
    color: var(--c-muted);
}

.breadcrumb span {
    font-weight: 600;
}

.byline {
    font-size: 0.9em;
    color: var(--c-muted);
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 2em;
}

.byline i {
    color: var(--c-acc);
}

.bp {
    display: flex;
    align-items: center;
    gap: 1.5em;
    padding: 1.5em;
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    box-shadow: none;
    border-radius: var(--radius);
    margin-bottom: var(--rhythm);
}

.bp-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    object-fit: contain;
    background: var(--c-bg);
    padding: 4px;
}

.bp-cap {
    margin: 0;
    color: var(--c-muted);
}

.bp-cap a {
    font-weight: 600;
    color: var(--c-acc);
}

.review-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3em;
    margin-bottom: var(--rhythm);
}

.review-score {
    text-align: center;
}

.review-score .stars {
    margin-bottom: 1em;
}

.review-score .one-liner {
    font-size: 1.1em;
    font-style: italic;
    color: var(--c-muted);
    margin-bottom: 1.5em;
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}

.review-pros-cons h3 {
    margin-bottom: 0.8em;
    font-size: 1.2em;
}

.review-pros-cons ul {
    list-style: none;
    padding: 0;
}

.review-pros-cons ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    margin-bottom: 0.5em;
    color: var(--c-muted);
}

.review-pros-cons .pros i {
    color: var(--c-acc);
}

.review-pros-cons .cons i {
    color: #f44336; /* Red for cons */
}

article.review-content h2 {
    margin-top: 1.5em;
    font-size: 1.8em;
}

article.review-content h3 {
    margin-top: 1em;
    font-size: 1.4em;
}

article.review-content ul {
    list-style: none;
    padding: 0;
}

article.review-content ul li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 0.5em;
}

article.review-content ul li::before {
    content: "\2022"; /* Bullet point */
    color: var(--c-acc);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.inline-logo {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    border-radius: 3px;
    background: var(--c-bg);
    padding: 2px;
}

.alternatives-block {
    margin-top: var(--rhythm);
    text-align: center;
}

.alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.alt-card {
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    box-shadow: none;
    border-radius: var(--radius);
    padding: 1.5em;
    text-align: center;
}

.alt-card .alt-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 1em;
    border-radius: var(--radius);
    background: var(--c-bg);
    padding: 4px;
}

.alt-card h3 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
}

.alt-card p {
    color: var(--c-muted);
    font-size: 0.9em;
    min-height: 3.5em;
    margin-bottom: 1.5em;
}

/* Methodolgy */
.meth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.meth-card {
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    box-shadow: none;
    border-radius: var(--radius);
    padding: 2em;
    position: relative;
    padding-top: 3.5em; /* Space for the number */
}

.meth-num {
    position: absolute;
    top: 1.2em;
    left: 2em;
    font-family: var(--ff-h);
    font-size: 2.5em;
    font-weight: 700;
    color: var(--c-acc);
    line-height: 1;
}

.meth-card h3 {
    margin-top: 0;
    color: var(--c-acc);
}

.meth-card p {
    color: var(--c-muted);
}

/* Guides Teaser */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.guide-card {
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    box-shadow: none;
    border-radius: var(--radius);
    padding: 1.5em;
}

.guide-card h3 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
}

.guide-card h3 a {
    color: var(--c-text);
    text-decoration: none;
}

.guide-card h3 a:hover {
    color: var(--c-acc);
    text-decoration: underline;
}

.guide-card p {
    font-size: 0.95em;
    color: var(--c-muted);
}

/* FAQ */
.faq-item {
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    box-shadow: none;
    border-radius: var(--radius);
    margin-bottom: 1em;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item summary {
    display: block; /* Required for details summary styling */
    padding: 1.25em 2em 1.25em 1.5em;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--c-text);
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker */
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--c-acc);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item div {
    padding: 0 1.5em 1.5em 1.5em;
    color: var(--c-muted);
    line-height: 1.6;
}

/* CTA */
.cta {
    background-color: var(--c-bg-soft);
    padding: 2.5em;
    text-align: center;
    border-radius: var(--radius);
}

.cta h2 {
    font-size: 2.2em;
    color: var(--c-text);
}

.cta p {
    font-size: 1.1em;
    color: var(--c-muted);
    max-width: 700px;
    margin: 0 auto 1.5em auto;
}

.cta .btn {
    font-size: 1.1em;
}

/* Risk Strip */
.risk-strip {
    background-color: #f44336; /* Always red for risk */
    color: #fff;
    padding: 1em 0;
    font-size: 0.85em;
    text-align: center;
}

.risk-strip .wrap {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    max-width: 1000px; /* Make it a bit narrower maybe? */
}

.risk-strip i {
    color: #fff;
    flex-shrink: 0;
    margin-top: 0.2em;
}

/* Footer */
.ft {
    background-color: var(--c-dark);
    color: var(--c-muted);
    padding-top: var(--rhythm);
    font-size: 0.9em;
}

.ft .ft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    margin-bottom: 2em;
}

.ft-col h3 {
    color: var(--c-text);
    font-size: 1.2em;
    margin-bottom: 1em;
}

.ft-col ul {
    list-style: none;
    padding: 0;
}

.ft-col ul li {
    margin-bottom: 0.5em;
}

.ft-col ul li a {
    color: var(--c-muted);
    text-decoration: none;
}

.ft-col ul li a:hover {
    color: var(--c-acc);
    text-decoration: underline;
}

.ft-col p {
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

.ft-bottom {
    border-top: 1px solid var(--c-border);
    padding: 1.5em 0;
    text-align: center;
    font-size: 0.8em;
    color: var(--c-muted);
}

.ft-bottom p {
    margin: 0;
}

/* Cookie Banner */
.ck {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--c-dark);
    border-top: 1px solid var(--c-border);
    padding-top: 1em;
    padding-bottom: 1em;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.ck.show {
    transform: translateY(0);
}

.ck .ck-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    flex-wrap: wrap;
}

.ck-body p {
    font-size: 0.9em;
    color: var(--c-muted);
    margin-bottom: 0.5em;
}

.ck-body p a {
    color: var(--c-acc);
    text-decoration: underline;
}

.ck-btns {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}

.ck-actions {
    display: flex;
    gap: 1em;
    flex-shrink: 0;
}

.ck-prefs {
    display: none;
    margin-top: 1em;
    padding: 1em;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background-color: var(--c-bg-soft);
}

.ck-prefs.show {
    display: block;
}

.ck-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8em;
}

.ck-row:last-child {
    margin-bottom: 0;
}

.ck-row input[type="checkbox"] {
    margin-right: 0.8em;
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--c-acc);
}

.ck-row label {
    color: var(--c-muted);
    font-size: 0.9em;
}

.ck-reopen {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--c-acc);
    color: var(--c-dark);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 998;
    display: none; /* Hidden by default */
}

/* Specific pages */
.editor-profile {
    display: flex;
    gap: 2em;
    align-items: flex-start;
    padding: 2em;
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: var(--rhythm);
}

.editor-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--c-dark);
    flex-shrink: 0;
}

.editor-info h3 {
    margin-top: 0;
    margin-bottom: 0.2em;
}
.editor-info .editor-role {
    color: var(--c-acc);
    font-weight: 600;
    margin-bottom: 0.8em;
}
.editor-info .editor-bio {
    color: var(--c-muted);
    font-size: 0.95em;
    margin-bottom: 0;
}

.contact-card {
    padding: 2em;
    background-color: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-top: 2em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card h3 {
    color: var(--c-acc);
    margin-bottom: 1em;
}
.contact-card p {
    color: var(--c-muted);
    margin-bottom: 0.8em;
}
.contact-card a {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .hd-nav {
        gap: 1em;
    }
    h1 {
        font-size: 2.4em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-subtitle {
        font-size: 1.1em;
    }
    .edit-big {
        flex-direction: column;
        text-align: center;
    }
    .edit-big .edit-brand img {
        margin-top: 2em;
    }
    .review-summary {
        grid-template-columns: 1fr;
    }
    .review-pros-cons {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
    .bp {
        flex-direction: column;
        text-align: center;
    }
    .cmp th, .cmp td {
        padding: 0.8em;
    }
}

@media (max-width: 768px) {
    .hd-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--c-bg);
        border-top: 1px solid var(--c-border);
        border-bottom: 1px solid var(--c-border);
        padding: 1em 0;
        text-align: center;
    }

    .hd-nav.open {
        display: flex;
    }

    .hd-link {
        padding: 0.8em 0;
        width: 100%;
    }

    .hd-burger {
        display: flex;
    }

    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.6em;
    }
    .hero h1 {
        font-size: 2.2em;
    }
    .hero-btns {
        flex-direction: column;
    }
    .cmp-name {
        flex-wrap: wrap;
        justify-content: center;
    }
    .cmp-badge {
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: 0.5em;
    }
    .cmp th, .cmp td {
        display: block;
        width: 100%;
        text-align: right;
    }
    .cmp th:before {
        content: attr(aria-label); /* Not used directly but good practice */
        float: left;
        font-weight: bold;
    }
    .cmp td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        color: var(--c-text);
    }
    .cmp td .btn {
        width: 100%;
    }
    .trust-bar {
        grid-template-columns: 1fr;
    }
    .review-pros-cons {
        grid-template-columns: 1fr;
    }
    .alt-grid {
        grid-template-columns: 1fr;
    }
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .editor-profile {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .ck .ck-wrap {
        flex-direction: column;
    }
    .ck-actions {
        width: 100%;
        justify-content: space-around;
    }
    .ck-actions .btn {
        flex: 1;
    }
    .ck-body {
        text-align: center;
    }
    .risk-strip .wrap {
        flex-direction: column;
        align-items: center;
    }
}
