:root {
  --accent: #8b1e3f;
  --accent-dark: #6b1530;
  --dark: #1a0a0f;
  --bg: #fdfaf6;
  --bg-soft: #f4ece0;
  --border: #d8d3c7; /* Adjusted border from d8c9b3 to be more visible and distinct */
  --text: #1c1410;
  --muted: rgba(0,0,0,.6);
  --rhythm: 72px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(28,32,24,.08);
  --font-head: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --hue-shift: 24deg;
}

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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.3rem; }

p {
  margin-bottom: 1em;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

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

/* Layout */
body { background-color: var(--bg-soft); }
.sec, .hd, .ft { background-color: var(--bg); }

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

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

/* Card Style */
.card { background: var(--bg); border: none; box-shadow: var(--shadow); border-radius: var(--radius); }

/* Header and Navigation */
.hd {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.hd-top {
    display: flex;
    justify-content: center; /* Centered for header-archetype: centered */
    align-items: center;
    min-height: 48px; /* For alignment */
}

.hd-logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  filter: hue-rotate(var(--hue-shift)); /* Apply hue-shift to logo if it were colored */
}

/* Centered header - nav is below logo */
.hd-nav {
  text-align: center;
  margin-top: 1rem;
}
.hd-nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0;
}
.hd-link {
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
}
.hd-link:hover {
  text-decoration: none;
  color: var(--accent);
}
.hd-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.hd-link:hover::after {
  transform: scaleX(1);
}

.hd-burger {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute; /* Allow centering of logo */
  right: 20px;
  z-index: 100;
}
.hd-burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  text-align: center;
  background-color: var(--bg-soft);
}
.hero-h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5em;
  color: var(--dark);
}
.hero-sub {
  font-size: 1.4rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 2rem;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin: 0 0.5rem 0.5rem;
  box-shadow: var(--shadow);
}
.hero-chip i {
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Verdict Block */
.verdict-block {
    text-align: center;
}
.verdict-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.verdict-block p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--muted);
}
.verdict-card {
    display: inline-block;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border); /* Better visibility on soft-base */
}
.verdict-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.verdict-card .stars {
    margin-bottom: 1.5rem;
    justify-content: center;
}

/* Stats Block (trust-bar) */
.trust-bar {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  background-color: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  gap: 1rem;
}
.trust-item {
  flex: 1;
  min-width: 0; /* Allow flex items to shrink */
}
.trust-n {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.3em;
}
.trust-l {
  font-size: 0.9rem;
  color: var(--muted);
}


/* Comparison Table */
.cmp-wrap h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.cmp-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: var(--muted);
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background-color: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; /* For rounded corners */
}
.cmp thead {
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.cmp th, .cmp td {
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: middle;
}
.cmp th {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.cmp tbody tr {
  border-bottom: 1px solid var(--border);
}
.cmp tbody tr:last-child {
  border-bottom: none;
}
.cmp tbody tr:hover {
  background-color: var(--bg-soft);
}

.cmp-name-wrap {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--dark);
  position: relative;
}
.cmp-name-wrap a {
  color: var(--dark);
  text-decoration: none;
}
.cmp-name-wrap a:hover {
    text-decoration: underline;
}

.cmp-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 1rem;
}

.cmp-badge {
  position: absolute;
  top: -0.8rem;
  left: 0;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  filter: hue-rotate(var(--hue-shift));
}

.cmp-footer {
    text-align: center;
    margin-top: 1rem;
}

/* Best for block */
.besti-block h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.besti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.besti-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    text-align: center;
}
.besti-segment {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.besti-brand {
    font-size: 1.5rem;
    font-family: var(--font-head);
    margin-bottom: 0.5rem;
}
.besti-line {
    color: var(--muted);
    font-size: 1rem;
}

/* Editor's Pick (edit-big) */
.edit-big-sec {
    background-color: var(--bg-soft);
}
.edit-big {
  padding: 2.5rem;
  text-align: center;
  position: relative;
  border: 1px solid var(--border);
}

.edit-big-badge {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  z-index: 1;
  filter: hue-rotate(var(--hue-shift));
}

.edit-big-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 1rem auto 0.5rem;
}
.edit-big-h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.edit-big .stars {
  justify-content: center;
  margin-bottom: 1.5rem;
}
.edit-big-pros-intro {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}
.edit-big-pros {
  max-width: 400px;
  margin: 0 auto 2rem;
  text-align: left;
}
.edit-big-pros li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: var(--dark);
}
.edit-big-pros li i {
  color: var(--accent);
  margin-right: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.2em; /* Adjust icon align for multi-line text */
}
.edit-big-p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text);
}


/* Stats Infobox */
.stats-infobox h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.stats-infobox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.stats-infobox-item {
    padding: 2rem;
    border: 1px solid var(--border);
    text-align: center;
}
.stats-infobox-item .stat-num { /* Reusing trust-n styles */
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stats-infobox-item .stat-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
}
.stats-infobox-item .stat-source {
    font-size: 0.85rem;
    color: var(--muted);
}


/* FAQ Accordion */
.faq-sec h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 1.5rem 0; font-size: 1.1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--text); }
.faq-q .chevron { transition: transform 0.3s; color: var(--accent); }
.faq-a { opacity: 0; max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1); } /* Smoother transition */
.faq-a .inner { padding: 0 0 1.5rem; }
.faq-item.is-open .faq-q .chevron { transform: rotate(180deg); }
.faq-item.is-open .faq-a { opacity: 1; max-height: 1000px; }


/* Call to Action Section */
.cta-sec {
  text-align: center;
  background-color: var(--accent);
  color: #fff;
}
.cta-sec h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}
.cta-sec p {
  color: rgba(255,255,255,.7);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-sec .btn {
  background-color: #fff;
  color: var(--accent); /* Invert colors for CTA inside accent section */
}
.cta-sec .btn:hover {
  background-color: #eee;
}

/* Risk Strip */
.risk-strip {
  background-color: var(--dark);
  color: #fff;
  padding: 1rem 0;
  font-size: 0.9rem;
  text-align: center;
}
.risk-strip p {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.risk-strip i {
  color: #f5b300; /* Warning color */
}

/* Footer Section */
.ft {
  padding: var(--rhythm) 0;
  border-top: 1px solid var(--border);
}
.ft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.ft-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}
.ft-disclosure {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.ft-copyright {
  font-size: 0.8rem;
  color: var(--muted);
}
.ft-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--dark);
}
.ft-col ul {
  padding: 0;
}
.ft-col li {
  margin-bottom: 0.5rem;
}
.ft-col a {
  color: var(--muted);
  font-size: 0.9rem;
}
.ft-col a:hover {
  color: var(--accent);
}
.ft-col-newsletter p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
}
.newsletter-form {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 0.5rem;
}
.newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text);
    background-color: var(--bg-soft);
}
.newsletter-form input::placeholder {
    color: var(--muted);
}
.newsletter-form button {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent button text from wrapping */
}


/* General Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.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 {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(var(--accent-rgb), 0.05); /* Use a slight tint */
  text-decoration: none;
}
/* Define accent-rgb for use with rgba */
:root {
  --accent-rgb: 139, 30, 63; /* RGB for #8b1e3f */
}


/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs i {
    font-size: 0.7rem;
    margin: 0 0.5rem;
    color: var(--border);
}
.breadcrumbs span {
    font-weight: 500;
    color: var(--text);
}

/* Brand Profile Header (bp) */
.bp {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem; /* Add padding similar to a card */
    background-color: var(--bg-soft); /* Give it a background */
    border-radius: var(--radius);
    border: 1px solid var(--border); /* Optional border */
}
.bp-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: var(--radius); /* If logos are square */
}
.bp-cap {
    font-size: 1rem;
    color: var(--text);
}
.bp-cap a {
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}
.bp-cap a:hover {
    text-decoration: underline;
}

/* Star Rating */
.stars { display: inline-flex; align-items: center; position: relative; font-size: 1rem; color: #ccc; }
.stars-filled { position: absolute; left: 0; top: 0; white-space: nowrap; overflow: hidden; color: #f5b300; }
.rating-num { margin-left: 0.5em; font-weight: 600; color: var(--text); }

/* Review Page */
.review-intro {
    font-size: 1.25rem;
    font-style: italic;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--muted);
}
.score-card {
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
}
.score-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--dark);
}
.score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border);
}
.score-row:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}
.score-row span {
    font-weight: 500;
    color: var(--dark);
}
.review-cta {
    display: block;
    width: fit-content;
    margin: 1.5rem auto 0;
}
.review-cta-bottom {
    margin: 3rem auto;
}

.review-features h3 {
    text-align: center;
    margin-bottom: 2rem;
}
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.pros-block, .cons-block {
    padding: 2rem;
    border: 1px solid var(--border);
}
.pros-block h3, .cons-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.pros-block h3 { color: var(--accent); }
.cons-block h3 { color: #cc3300; } /* Use a distinct red for cons */

.pros-block ul, .cons-block ul {
    list-style: none;
    padding: 0;
}
.pros-block li, .cons-block li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--dark);
}
.pros-block li i {
    color: var(--accent);
    margin-right: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.2em;
}
.cons-block li i {
    color: #cc3300;
    margin-right: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.2em;
}

.review-content h2, .review-content h3 {
    color: var(--dark);
    margin-top: 2.5rem;
}
.review-content p {
    color: var(--text);
}
.review-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}
.review-content li {
    margin-bottom: 0.5rem;
}
.review-content a {
    font-weight: 500;
}

.alternatives h2 {
    margin-top: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.alternatives p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--muted);
}
.alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.alt-card {
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    background-color: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.alt-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 0.8rem;
}
.alt-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.alt-desc {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1rem;
}
.alt-card .stars {
    justify-content: center;
    margin-bottom: 1.5rem;
}


/* Article Pages (guides) */
.guide-content {
    max-width: 800px;
    margin: 0 auto;
}
.guide-content h2, .guide-content h3 {
    margin-top: 2.5rem;
    color: var(--dark);
}
.guide-content p {
    color: var(--text);
}
.guide-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}
.guide-content li {
    margin-bottom: 0.5rem;
}
.guide-content a {
    font-weight: 500;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.guide-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.guide-card .guide-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}
.guide-card .guide-title a {
    color: var(--dark);
    text-decoration: none;
}
.guide-card .guide-title a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.guide-card .guide-excerpt {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Team Page */
.editor-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border);
}
.editor-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}
.editor-avatar svg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.editor-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.editor-info .editor-role {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
}
.editor-info .editor-bio {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
}

.methodology h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.meth-content p {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--muted);
}
.meth-criteria {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.meth-criteria h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.meth-criteria ul {
    list-style: none;
    padding: 0;
}
.meth-criteria li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--text);
}
.meth-criteria li strong {
    color: var(--dark);
}

/* Contact Page */
.contact-info {
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background-color: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}
.contact-info p, .contact-info address {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1em;
}
.contact-info a {
    font-weight: 500;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--dark);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background-color: var(--bg-soft);
}
.form-group textarea {
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2);
}
.contact-form .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* 404 Page */
.not-found {
    text-align: center;
}
.not-found h1 {
    font-size: 4rem;
    color: var(--dark);
    margin-bottom: 0.5em;
}
.not-found p {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 3rem;
}
.not-found-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.not-found-links .card {
    padding: 1.5rem;
    border: 1px solid var(--border);
}
.not-found-links .btn {
    min-width: 200px;
}


/* Cookie Consent Banner */
.gdpr {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    color: #fff;
    padding: 1.5rem 0;
    z-index: 1000;
    display: none; /* Hidden by default */
}
.gdpr-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.gdpr-text {
    flex-grow: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}
.gdpr-text a {
    color: var(--accent);
    text-decoration: underline;
}
.gdpr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.gdpr-actions .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    min-width: 120px;
    white-space: nowrap;
}
.gdpr-actions .btn-acc {
    background-color: var(--accent);
    border-color: var(--accent);
}
.gdpr-actions .btn-acc:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}
.gdpr-actions .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.gdpr-actions .btn-outline:hover {
    background-color: rgba(255,255,255,.1);
    border-color: #fff;
}

.gdpr-prefs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 1.5rem;
    display: none; /* Hidden by default */
}
.gdpr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.gdpr-row span {
    color: rgba(255,255,255,.8);
}
.gdpr-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.gdpr-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.gdpr-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,.3);
    transition: .4s;
    border-radius: 20px;
}
.gdpr-slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
.gdpr-toggle input:checked + .gdpr-slider {
    background-color: var(--accent);
}
.gdpr-toggle input:checked + .gdpr-slider::before {
    transform: translateX(20px);
}
.gdpr-prefs .btn {
    align-self: flex-end;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
}

.gdpr-reopen-wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}
.gdpr-reopen {
    background-color: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}
.gdpr-reopen:hover {
    background-color: var(--accent-dark);
}


/* Utility Classes */
.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  .hero-h1 { font-size: 3rem; }
  .hero-sub { font-size: 1.2rem; }
}

@media (max-width: 768px) {
  .hd-top {
      justify-content: space-between;
  }
  .hd-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 25px;
    position: static; /* No longer absolutely positioned */
  }
  .hd-nav {
    display: none; /* Hide navigation by default */
    position: absolute;
    top: 100%; /* Below header */
    left: 0;
    width: 100%;
    background-color: var(--bg);
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    z-index: 99;
    padding: 1rem 0;
    text-align: left;
  }
  .hd-nav.open {
    display: block;
  }
  .hd-nav-list {
    flex-direction: column;
    gap: 0;
  }
  .hd-nav-list li {
    border-bottom: 1px solid var(--border);
  }
  .hd-nav-list li:last-child {
    border-bottom: none;
  }
  .hd-link {
    display: block;
    padding: 1rem 20px;
  }
  .hd-link::after {
    height: 1px; /* Thinner underline on mobile */
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  .hero-h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1.1rem; }
  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
  }
  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
  }
  .hero-chips {
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-bar {
    flex-direction: column;
    padding: 1.5rem;
  }
  .trust-item {
    margin-bottom: 1rem;
  }
  .trust-item:last-child {
    margin-bottom: 0;
  }

  .cmp th, .cmp td {
    padding: 0.8rem;
  }
  .cmp-name-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .cmp-logo {
    width: 40px;
    height: 40px;
    margin-right: 0;    margin-bottom: 0.5rem;
  }
  .cmp-badge {
    position: static;
    transform: none;
    margin-bottom: 0.5rem;
    align-self: flex-start;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  .ft-grid {
    grid-template-columns: 1fr;
  }
  .ft-col-newsletter {
    order: -1; /* Move newsletter to top on mobile */
  }

  .editor-block {
    flex-direction: column;
    text-align: center;
  }
  .editor-avatar {
    margin-bottom: 1rem;
  }
  .editor-info .editor-role {
    margin-bottom: 0.5rem;
  }

  .gdpr-reopen-wrap {
    bottom: 10px;
    right: 10px;
  }
  .gdpr-text {
    font-size: 0.9rem;
  }
  .gdpr-actions {
    justify-content: center;
    width: 100%;
  }
  .gdpr-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 15px;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  .hero-h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .cmp th, .cmp td {
    font-size: 0.8rem;
    padding: 0.6rem;
  }
  .cmp-logo {
    width: 32px;
    height: 32px;
  }
  .rating-num {
    font-size: 0.85rem;
  }

  .edit-big {
    padding: 1.5rem;
  }
  .edit-big-h2 {
    font-size: 1.6rem;
  }
  .edit-big-pros li, .edit-big-p {
    font-size: 0.95rem;
  }

  .faq-q {
    font-size: 1rem;
    padding: 1rem 0;
  }
  .faq-a .inner {
    padding: 0 0 1rem;
  }

  .cta-sec h2 {
    font-size: 2rem;
  }
  .cta-sec p {
    font-size: 1.1rem;
  }

  .risk-strip {
    font-size: 0.8rem;
    padding: 0.8rem 0;
  }

  .ft-col h3 {
    margin-top: 1rem;
  }
  .newsletter-form {
      flex-direction: column;
}
  .newsletter-form input {
      width: 100%;
  }
}

/* Specific to Comparison Table Responsiveness */
@media (max-width: 700px) {
    .cmp thead {
        display: none; /* Hide table headers on small screens */
    }

    .cmp, .cmp tbody, .cmp tr, .cmp td {
        display: block; /* Treat table elements as blocks */
        width: 100%;
    }

    .cmp tr {
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--border);
        background-color: var(--bg);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        overflow: hidden;
    }
    .cmp tr:last-child {
        margin-bottom: 0;
    }

    .cmp td {
        text-align: right; /* Align content right */
        padding-left: 50%; /* Make room for data-label */
        position: relative;
    }

    .cmp td::before {
        content: attr(data-label); /* Use data-label for pseudo-elements */
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--dark);
    }
    .cmp td:last-child {
        border-bottom: none; /* No extra border for the action button */
    }

    .cmp-name-wrap {
        flex-direction: row; /* Keep name wrap inline if possible */
        justify-content: flex-end;
        align-items: center;
        width: 100%;
    }
    .cmp-name-wrap a {
        flex-grow: 0;
    }

    .cmp-badge {
        position: relative;
        top: 0;
        left: unset;
        transform: none;
        margin-right: 0.5rem;
        order: -1; /* Place badge first */
    }
    .cmp-logo {
        margin-right: 0.5rem;
    }
    .cmp-name-wrap::before { /* Hide data-label for first column to avoid duplication */
        display: none;
    }

    .cmp .btn {
        width: 100%;
    }
}
