:root {
    --accent: #222222;
    --accent-dark: #000000;
    --dark: #1a1a18;
    --bg: #f8f4ea;
    --bg-soft: #f0eadd;
    --border: #1a1a18;
    --text: #1a1a18;
    --muted: rgba(0,0,0,.6);
    --rhythm: 104px;
    --radius: 0px;
    --shadow: none;
    --font-head: 'IBM Plex Mono', system-ui, -apple-system, sans-serif;
    --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
    --hue-shift: 0deg;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background-color: var(--bg-soft); color: var(--text); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, button { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); margin-bottom: 0.8em; line-height: 1.2; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
p { margin-bottom: 1em; }
ul, ol { margin-bottom: 1em; padding-left: 1.5em; }
li { margin-bottom: 0.5em; }
.card-mixin { background: var(--bg); border: none; box-shadow: 0 6px 28px rgba(0,0,0,.05); border-radius: 18px; }

/* Typography */
.text-center { text-align: center; }
.byline { font-size: 0.9em; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 2em; }
.byline .icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.editor-profile { display: flex; align-items: center; padding: 20px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); margin-top: 2em; }
.editor-avatar { width: 60px; height: 60px; border-radius: 50%; background-color: var(--accent); color: #fff; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; font-weight: bold; margin-right: 15px; }
.editor-details h3 { margin-bottom: 0.2em; font-size: 1.3rem; }
.editor-details .editor-role { font-size: 0.9em; color: var(--muted); margin-bottom: 0.5em; }
.editor-details .editor-bio { font-size: 0.95em; margin-bottom: 0; }

/* Layout - wrap & sec */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sec { padding: var(--rhythm) 0; }
body { background-color: var(--bg-soft); } .sec { background-color: var(--bg-soft); } .hero, .cmp-wrap { background-color: var(--bg); }
.sec-dark { background-color: var(--dark); color: #fff; }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4 { color: #fff; }
.sec-dark a { color: #aaa; }
.sec-dark a:hover { color: #fff; }

/* Header & Nav */
.hd { background-color: var(--bg); padding: 15px 0; border-bottom: 1px solid var(--border); }
.hd .wrap { display: flex; flex-direction: column; align-items: center; }
.hd-main { display: flex; justify-content: center; width: 100%; } /* Centered logo for header-form: centered */
.hd-logo { font-size: 1.8rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.hd-logo:hover { text-decoration: none; }
.hd-nav { display: flex; margin-top: 15px; }
.hd-link { padding: 8px 15px; color: var(--text); font-weight: 500; }
.hd-link:hover { color: var(--accent); }
.hd-burger { display: none; background: none; border: none; width: 30px; height: 22px; position: relative; }
.hd-burger span { display: block; width: 100%; height: 2px; background-color: var(--text); position: absolute; left: 0; transition: all 0.3s ease; }
.hd-burger span:nth-child(1) { top: 0; }
.hd-burger span:nth-child(2) { top: 10px; }
.hd-burger span:nth-child(3) { top: 20px; }
.hd-burger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hd-burger.open span:nth-child(2) { opacity: 0; }
.hd-burger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Hero */
.hero { text-align: center; padding: calc(var(--rhythm) * 1.5) 0; background-color: var(--bg); }
.hero-list { text-align: center; padding: calc(var(--rhythm) * 0.8) 0; background-color: var(--bg); }
.hero h1 { font-size: 3.5rem; margin-bottom: 0.3em; }
.hero-label { font-size: 0.8em; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1em;}
.hero-subtitle { font-size: 1.3rem; max-width: 800px; margin: 0 auto 2em; line-height: 1.4; }
.hero-btns { display: flex; justify-content: center; gap: 15px; margin-bottom: 2em; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 0.9em; }
.hero-chip { background-color: var(--bg-soft); color: var(--text); padding: 8px 15px; border-radius: 20px; }

/* Trust Bar */
.trust-bar { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar .trust-item { flex: 1 1 200px; }
.trust-bar .trust-n { font-size: 2.5rem; font-family: var(--font-head); font-weight: 700; color: var(--accent); display: block; }
.trust-bar .trust-l { font-size: 1.1rem; color: var(--text); }

/* Comparison Table */
.cmp-wrap { overflow-x: auto; background-color: var(--bg); }
.cmp { width: 100%; border-collapse: collapse; text-align: left; background-color: var(--bg); }
.cmp th, .cmp td { padding: 15px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cmp thead th { background-color: var(--bg-soft); font-weight: 600; color: var(--text); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:hover { background-color: rgba(0,0,0,0.02); }
.cmp-name-col { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cmp-logo { width: 32px; height: 32px; object-fit: contain; }
.cmp-badge { background-color: var(--accent); color: #fff; padding: 4px 8px; border-radius: 5px; font-size: 0.8em; white-space: nowrap; }

/* Brand Page Hero */
.bp-hero { text-align: center; background-color: var(--bg); padding-bottom: calc(var(--rhythm) / 2); }
.bp-hero h1 { font-size: 3rem; margin-bottom: 0.2em; }
.bp-oneliner { font-size: 1.2rem; margin-bottom: 1.5em; color: var(--muted); }
.bp-rating { margin-bottom: 2em; }
.bp-actions { margin-bottom: 2em; }
.bp { display: flex; align-items: center; gap: 15px; margin-top: -30px; margin-bottom: 30px; padding: 20px; background-color: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.bp-logo { width: 64px; height: 64px; object-fit: contain; border-radius: var(--radius); }
.bp-cap { margin: 0; font-size: 0.9em; }
.bp-cap a { font-weight: 600; }
.bp-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.bp-content-main h2 { margin-top: 1.5em; }
.bp-content-main h3 { margin-top: 1em; }
.bp-content-main ul { list-style: none; padding-left: 0; }
.bp-content-main ul li { display: flex; align-items: flex-start; margin-bottom: 0.8em; }
.bp-content-main ul li .icon { flex-shrink: 0; width: 1.2em; height: 1.2em; margin-right: 8px; color: var(--accent); }
.bp-sidebar { flex-direction: column; padding: 30px; }
.bp-sidebar h3 { margin-bottom: 1em; }
.bp-sidebar ul { list-style: none; padding: 0; margin-bottom: 2em; }
.bp-sidebar ul li { font-size: 0.95em; margin-bottom: 0.8em; display: flex; justify-content: space-between; align-items: center; }
.bp-sidebar ul li strong { display: inline-block; }
.bp-sidebar .btn { width: 100%; text-align: center; margin-bottom: 1em; }
.inline-logo { display: inline-block; vertical-align: middle; margin: -2px 4px 0 0; }

/* Editor's Pick */
.edit-big { padding: 40px; text-align: center; }
.edit-big h2 { font-size: 2.2rem; margin-bottom: 0.5em; }
.edit-big .stars { margin-bottom: 1.5em; }
.edit-big-top { margin-bottom: 2em; }
.edit-big-badge { background-color: var(--accent); color: #fff; padding: 5px 12px; border-radius: 20px; display: inline-block; margin-bottom: 1em; }
.edit-big-bullets { list-style: none; padding: 0; margin: 2em auto; max-width: 700px; display: grid; gap: 1em; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.edit-big-bullets li { position: relative; padding-left: 30px; text-align: left; margin-bottom: 0.5em; }
.edit-big-bullets li .icon { position: absolute; left: 0; top: 0; color: var(--accent); width: 20px; height: 20px; }
.edit-big-body { max-width: 800px; margin: 0 auto 2em; font-size: 1.1rem; }
.edit-big .btn { min-width: 200px; }

/* Best For block */
.besti-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 2em; }
.besti-item { padding: 30px; text-align: center; }
.besti-segment { font-size: 0.9em; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5em; }
.besti-brand { font-size: 2rem; color: var(--accent); margin-bottom: 0.5em; }
.besti-line { font-size: 1.1rem; line-height: 1.4; margin-bottom: 0; }

/* Stats block */
.stats-infobox { background-color: var(--bg-soft); padding: var(--rhythm) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-infobox h2 { text-align: center; margin-bottom: 1.5em; }
.stats-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.stat-item { text-align: center; flex: 1 1 200px; }
.stat-item .stat-n { font-size: 3rem; font-family: var(--font-head); font-weight: 700; color: var(--accent); display: block; }
.stat-item .stat-l { font-size: 1.1rem; }

/* FAQ */
.faq-list { margin-top: 2em; }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px; font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); }
.faq-item:last-child .faq-q { border-bottom: 1px solid var(--border); }
.faq-q .chevron { transition: transform 0.3s; }
.faq-item.is-open .chevron { transform: rotate(180deg); }
.faq-a { opacity: 0; max-height: 0; overflow: hidden; transition: all 0.3s ease-in-out; padding: 0 20px; }
.faq-item.is-open .faq-a { opacity: 1; max-height: 1000px; padding: 20px; }
.faq-a p { margin-bottom: 0; }

/* CTA Block */
.cta-sec h2 { font-size: 2.2rem; margin-bottom: 0.5em; }
.cta-banner { padding: 40px; text-align: center; color: var(--inverse-text-color, #fff); }
.cta-banner .btn { margin-top: 1.5em; }

/* Risk Strip */
.risk-strip { background-color: var(--dark); color: rgba(255,255,255,.8); font-size: 0.9em; padding: 15px 0; text-align: center; }
.risk-strip p { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.risk-strip .icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* Footer */
.ft { background-color: var(--dark); color: rgba(255,255,255,.7); padding-top: var(--rhythm); font-size: 0.9em; }
.ft h3 { color: #fff; margin-bottom: 1em; font-family: var(--font-head); font-size: 1.2rem; }
.ft p { margin-bottom: 1em; }
.ft a { color: rgba(255,255,255,.7); }
.ft a:hover { color: #fff; }
.ft ul { list-style: none; padding: 0; margin: 0; }
.ft ul li { margin-bottom: 0.5em; }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-bottom { padding-top: 20px; padding-bottom: 20px; text-align: center; border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; }
.ft-bottom p { margin-bottom: 0.5em; }
.ft-col.newsletter input[type="email"] { width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.3); background-color: transparent; color: #fff; border-radius: 5px; }
.ft-col.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.ft-col.newsletter .btn { width: 100%; }
.hd-logo-wrap { display: flex; justify-content: center; width: 100%; }

/* Cookie Banner */
.ck { position: fixed; bottom: 0; left: 0; right: 0; background-color: var(--dark); color: #fff; padding: 20px 0; z-index: 1000; transform: translateY(100%); transition: transform 0.5s ease-out; }
.ck-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.ck.open { transform: translateY(0); }
.ck p { margin: 0; flex-grow: 1; }
.ck a { color: #fff; text-decoration: underline; }
.ck-btns { display: flex; gap: 10px; flex-shrink: 0; }
.ck-prefs { display: none; flex-direction: column; width: 100%; border-top: 1px solid rgba(255,255,255,.2); padding-top: 15px; margin-top: 15px; }
.ck-prefs.open { display: flex; }
.ck-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ck-row span { flex-grow: 1; }
.ck-prefs .btn { margin-top: 10px; }
.ck-reopen { position: fixed; bottom: 20px; right: 20px; background-color: var(--dark); color: #fff; border: none; border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.2); z-index: 999; display: none; }
.ck-reopen.open { display: flex; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 25px; border-radius: 5px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
.btn-acc { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-acc:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* Reviews */
.reviews-breakdown { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 2em; }
.review-widget { flex: 1; min-width: 280px; background: var(--bg-soft); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); }
.review-widget h3 { margin-bottom: 1em; font-size: 1.4rem; }
.review-widget p { margin-bottom: 0.5em; }

/* Stars Rating */
.stars { font-size: 1.2rem; color: #ffc107; letter-spacing: 2px; }
.stars-empty { color: var(--border); }
.rating-value { font-size: 1rem; color: var(--text); margin-left: 8px; vertical-align: middle; }

/* Alternatives */
.alt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 2em; }
.alt-card { padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.alt-card .alt-logo { width: 48px; height: 48px; object-fit: contain; margin-bottom: 15px; }
.alt-card h3 { font-size: 1.6rem; margin-bottom: 0.5em; }
.alt-card .stars { margin-bottom: 1em; }
.alt-card p { flex-grow: 1; margin-bottom: 1.5em; }
.alt-card .btn { width: 100%; }

/* Articles block */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 2em; }
.guide-card { padding: 30px; display: flex; flex-direction: column; }
.guide-card h3 { font-size: 1.6rem; margin-bottom: 1em; }
.guide-card h3 a { color: var(--text); }
.guide-card h3 a:hover { text-decoration: underline; }
.guide-card p { flex-grow: 1; margin-bottom: 1.5em; }
.guide-card .btn { align-self: flex-start; }

/* Forms */
.contact-form { max-width: 600px; margin: 2em auto; padding: 2em; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-form .form-group { margin-bottom: 1.5em; }
.contact-form label { display: block; margin-bottom: 0.5em; font-weight: 600; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 5px; background-color: var(--bg-soft); color: var(--text); }
.contact-form textarea { resize: vertical; }
.contact-form button { width: auto; min-width: 150px; }
address { font-style: normal; margin-top: 2em; line-height: 1.8; }

/* Responsive */
@media (max-width: 1024px) {
    .bp-content-grid { grid-template-columns: 1fr; }
    .bp-sidebar { margin-top: 2em; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .hd-main { justify-content: space-between; align-items: center; }
    .hd-logo-wrap { flex-grow: 1; text-align: center; }
    .hd-burger { display: block; }
    .hd-nav { display: none; flex-direction: column; width: 100%; margin-top: 15px; background: var(--bg); position: absolute; left: 0; right: 0; top: 70px; /* Adjust based on header height */ box-shadow: 0 10px 20px rgba(0,0,0,.1); z-index: 900;}
    .hd-nav.open { display: flex; }
    .hd-nav .hd-link { padding: 15px 20px; border-bottom: 1px solid var(--border); }
    .hd-nav .hd-link:last-child { border-bottom: none; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .cmp th, .cmp td { padding: 10px; font-size: 0.9em; }
    .cmp { display: block; overflow-x: auto; white-space: nowrap; }
    .cmp thead { display: none; }
    .cmp tbody tr { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 1em; }
    .cmp tbody tr:last-child { border-bottom: none; }
    .cmp tbody td { display: block; width: 100%; border: none; padding: 8px 15px; }
    .cmp tbody td:first-child { background-color: var(--bg-soft); border-radius: var(--radius) var(--radius) 0 0; font-weight: bold; }
    .cmp tbody td:last-child { border-radius: 0 0 var(--radius) var(--radius); }
    .cmp td::before { content: attr(data-label) ": "; font-weight: 600; display: inline-block; width: 120px; }
    .edit-big { padding: 20px; }
    .edit-big-bullets { grid-template-columns: 1fr; }
    .trust-bar { flex-direction: column; }
    .ft-grid { grid-template-columns: 1fr; text-align: center; }
    .ft-grid .ft-col { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 20px; margin-bottom: 20px; }
    .ft-grid .ft-col:last-of-type { border-bottom: none; margin-bottom: 0; }
    .ft-col ul { display: flex; flex-direction: column; align-items: center; padding: 0; }
    .ck-wrap { flex-direction: column; text-align: center; }
    .ck-btns { width: 100%; flex-direction: column; }
    .ck-btns .btn { width: 100%; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .cmp tbody td::before { width: 90px; }
}
