:root {
    --c-acc: #6b8e5a;
    --c-acc-dark: #4f6e41;
    --c-dark: #1c2018;
    --c-bg: #fbfaf5;
    --c-bg-soft: #f0eee3;
    --c-border: #d8d4c0;
    --c-text: #1c1f17;
    --c-muted: rgba(0,0,0,.55);
    --rhythm: 96px;
    --radius: 20px;
    --shadow: 0 4px 24px rgba(28,32,24,.08);
    --hue-shift: 0deg;
    --ff-h: 'DM Serif Display', system-ui, sans-serif;
    --ff-b: 'DM Sans', system-ui, sans-serif;
}

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

body {
    font-family: var(--ff-b);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-h);
    line-height: 1.3;
    margin: 1.5rem 0 1rem 0;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-family: var(--ff-h);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-text);
    text-decoration: none;
    margin-right: 2rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--c-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--c-acc);
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--c-text);
}

@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--c-bg-soft);
        padding: 1rem 0;
        border-top: 1px solid var(--c-border);
    }

    .nav.open {
        display: flex;
    }

    .burger {
        display: block;
    }
}

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

.sec:nth-child(even) {
    background: var(--c-bg-soft);
}

.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.button-primary {
    background: var(--c-acc);
    color: #fff;
}

.button-primary:hover {
    background: var(--c-acc-dark);
}

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

.button-outline:hover {
    background: var(--c-acc);
    color: #fff;
}

.hero {
    padding: var(--rhythm) 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--c-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-chips {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.chip {
    background: var(--c-bg-soft);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    border: 1px solid var(--c-border);
}

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

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--c-border);
}

.comparison-table th {
    background: var(--c-bg-soft);
    font-weight: 700;
    font-family: var(--ff-h);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .app-link {
    color: var(--c-acc);
    text-decoration: none;
    font-weight: 600;
}

.badge-top {
    display: inline-block;
    background: var(--c-acc);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

.rating {
    font-weight: 600;
    color: var(--c-acc);
}

.editors-pick {
    padding: var(--rhythm) 0;
    background: var(--c-bg-soft);
}

.pick-content {
    background: var(--c-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pick-badge {
    display: inline-block;
    background: var(--c-acc);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pick-rating {
    margin: 1rem 0;
}

.pick-bullets {
    list-style: none;
    margin: 1rem 0;
}

.pick-bullets li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.pick-bullets li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--c-acc);
    font-weight: 700;
}

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

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

.method-card {
    background: var(--c-bg);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
}

.method-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--c-acc);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-h);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq-q {
    width: 100%;
    padding: 1.5rem;
    background: var(--c-bg-soft);
    border: none;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-family: var(--ff-b);
    color: var(--c-text);
}

.faq-q:after {
    content: "▼";
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--c-muted);
}

.faq-item.open .faq-q:after {
    transform: rotate(180deg);
}

.faq-item.open .faq-a {
    max-height: 500px;
    padding: 1.5rem;
}

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

.guide-card {
    background: var(--c-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.guide-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.guide-card h3 {
    margin-top: 0;
}

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

.read-more {
    color: var(--c-acc);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.risk-strip {
    padding: var(--rhythm) 0;
    background: rgba(107, 142, 90, 0.1);
    border-top: 2px solid var(--c-border);
}

.risk-strip p {
    max-width: 800px;
}

.footer {
    background: var(--c-dark);
    color: #fff;
    padding: var(--rhythm) 0 2rem 0;
    margin-top: var(--rhythm);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    margin-top: 0;
    color: #fff;
}

.footer-col p,
.footer-col li {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    padding: 6px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.breadcrumb-section {
    padding: 1.5rem 0;
    background: var(--c-bg-soft);
    border-bottom: 1px solid var(--c-border);
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.95rem;
}

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

.breadcrumbs a:hover {
    text-decoration: underline;
}

.legal-content {
    padding: var(--rhythm) 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2rem;
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

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

.legal-content a:hover {
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.cookie-table tr {
    border-bottom: 1px solid var(--c-border);
}

.cookie-table td {
    padding: 0.75rem;
}

.cookie-table td:first-child {
    font-weight: 600;
    width: 150px;
}

.review-hero {
    padding: var(--rhythm) 0;
    text-align: center;
}

.review-header-meta {
    margin: 1.5rem 0;
}

.byline {
    color: var(--c-muted);
    font-size: 0.95rem;
    margin: 1rem 0;
}

.byline i {
    margin-right: 0.5rem;
}

.brand-header {
    padding: var(--rhythm) 0;
    background: var(--c-bg-soft);
    text-align: center;
    border-bottom: 1px solid var(--c-border);
}

.brand-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.brand-url {
    color: var(--c-muted);
}

.brand-url a {
    color: var(--c-acc);
}

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

.review-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.review-main {
    order: 1;
}

.review-sidebar {
    background: var(--c-bg-soft);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.review-sidebar h3 {
    margin-top: 0;
}

.review-sidebar dl {
    margin: 0;
}

.review-sidebar dt {
    font-weight: 600;
    margin-top: 1rem;
}

.review-sidebar dd {
    margin-left: 0;
    color: var(--c-muted);
    margin-bottom: 0.5rem;
}

.pros-list,
.cons-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.pros-list li,
.cons-list li {
    padding: 0.75rem 0;
    padding-left: 28px;
    position: relative;
}

.pros-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--c-acc);
    font-weight: 700;
}

.cons-list li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #c97b63;
    font-weight: 700;
}

.scoring-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.scoring-table tr {
    border-bottom: 1px solid var(--c-border);
}

.scoring-table td {
    padding: 1rem 0;
    vertical-align: middle;
}

.scoring-table td:first-child {
    font-weight: 500;
}

.score-bar {
    height: 8px;
    background: var(--c-bg-soft);
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    width: 60px;
    vertical-align: middle;
}

.score-bar span {
    display: block;
    height: 100%;
    background: var(--c-acc);
    border-radius: 4px;
}

.alternatives {
    padding: var(--rhythm) 0;
    background: var(--c-bg-soft);
}

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

.alt-card {
    background: var(--c-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    text-align: center;
}

.alt-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.alt-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

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

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

.alt-card .button {
    margin-top: 1rem;
    width: 100%;
}

.guide-content {
    padding: var(--rhythm) 0;
    max-width: 900px;
    margin: 0 auto;
}

.editor-section {
    background: var(--c-bg-soft);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.error-page {
    padding: var(--rhythm) 0;
    text-align: center;
}

.error-page h1 {
    font-size: 3rem;
    color: var(--c-acc);
}

.error-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--c-dark);
    color: #fff;
    padding: 1.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 2px solid var(--c-acc);
}

.cookie-banner.hidden {
    display: none;
}

.ck-content h3 {
    color: #fff;
    margin-top: 0;
}

.ck-content p {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.8);
}

.ck-prefs {
    display: none;
    margin: 1rem 0;
}

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

.ck-row {
    margin-bottom: 0.75rem;
}

.ck-row input {
    margin-right: 0.5rem;
}

.ck-row label {
    color: rgba(255,255,255,0.9);
    cursor: pointer;
}

.ck-btns {
    display: flex;
    gap: 1rem;
}

.ck-reopen {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--c-acc);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    display: none;
}

.ck-reopen.visible {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }

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

    .review-sidebar {
        position: static;
        top: auto;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ck-btns {
        width: 100%;
    }

    .ck-btns .button {
        flex: 1;
    }

    .error-links {
        flex-direction: column;
    }

    .error-links .button {
        width: 100%;
    }
}
