:root {
  --brand:      #222222;
  --brand-dark: #000000;
  --shade:     #1a1a18;
  --paper:     #f8f4ea;
  --paper-soft:  #f0eadd;
  --rule:   #1a1a18;
  --ink:     #1a1a18;
  --ink-soft:    rgba(0,0,0,.6);
  --space:   72px;
  --corner:   0px;
  --glow:   none;
  --type-head:     'Fraunces', system-ui, -apple-system, sans-serif;
  --type-body:     'Inter', system-ui, -apple-system, sans-serif;
  --hue-shift:                0deg;
}

/* Base Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--type-body);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--type-head);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
}
h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 700; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.4rem; font-weight: 600; }

p { margin-bottom: 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }

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

/* Utility Classes */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.block { padding: var(--space) 0; }

/* Typography */
.content h2, .content h3, .content h4 { margin-top: 2rem; }
.content p:last-child { margin-bottom: 0; }
.content ul, .content ol { padding-left: 25px; }
.content ul li { display: flex; align-items: flex-start; margin-bottom: 8px; }
.content ul li svg {
  margin-right: 10px;
  color: var(--brand);
  min-width: 20px;
  height: 20px;
  margin-top: 3px;
}

/* Header */
.nav {
  padding: 1rem 0;
  background-color: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.nav-logo {
  font-family: var(--type-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.nav-menu {
  display: flex;
  gap: 1.5rem;
}
.nav-link {
  color: var(--ink);
  font-weight: 500;
  padding: 0.5rem 0;
  text-decoration: none;
}
.nav-link:hover {
  text-decoration: underline;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--ink);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Footer */
.foot {
  padding: var(--space) 0 1rem 0;
  background-color: var(--shade);
  color: #fff;
}
.foot a { color: #fff; }
.foot a:hover { text-decoration: underline; }
.foot h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.foot p { font-size: 0.9rem; line-height: 1.5; }
.foot ul { list-style: none; padding-left: 0; }
.foot ul li { margin-bottom: 0.5rem; }
.foot-logo {
  font-family: var(--type-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.7);
}
.foot-bottom p { margin-bottom: 0; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.newsletter-form input {
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,.3);
  background-color: rgba(0,0,0,.15);
  color: #fff;
  border-radius: var(--corner);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.7); }
.newsletter-form button { width: 100%; }


/* Hero Section */
.lead {
  text-align: center;
  padding-bottom: 0;
  background-color: var(--paper) !important;
}
.lead h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.lead-subtitle {
  font-size: 1.3rem;
  color: var(--ink-soft);
  max-width: 800px;
  margin: 0 auto 2rem auto;
}
.lead-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.lead-chips {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-bottom: var(--space);
}
.lead-tag {
  background-color: var(--paper-soft);
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.lead-tag svg { width: 18px; height: 18px; }

/* Hero Review */
.hero-review {
  padding-bottom: 2rem;
  background-color: var(--paper) !important;
  text-align: center;
}
.hero-review h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-review .byline {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hero-review .byline svg { width: 18px; height: 18px; color: var(--ink-soft); }
.hero-review .breadcrumbs {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.hero-review .breadcrumbs a { color: var(--ink-soft); }
.hero-review .breadcrumbs a:hover { text-decoration: underline; }

.brand-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.brand-head-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--corner);
  object-fit: contain;
}
.brand-head-cap {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.3;
}
.brand-head-cap a {
  font-weight: 600;
  text-decoration: underline;
  color: var(--brand);
}

.rating-block {
  margin-bottom: 2rem;
}
.rating-block .rating-glyph {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  justify-content: center;
}
.rating-block .num { font-size: 1.8rem; }
.rating-block .one-liner {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}
.rating-block .cta {
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
}

.review-highlights {
  background: var(--paper-soft);
  border-radius: var(--corner);
  border: 1px solid var(--rule);
  padding: 2rem;
  max-width: 800px;
  margin: var(--space) auto 0 auto;
  text-align: left;
}
.review-highlights h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.review-highlights ul { list-style: none; padding-left: 0; }
.review-highlights li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 10px;
  font-size: 1.1rem;
}
.review-highlights li svg {
  min-width: 24px;
  height: 24px;
  color: var(--brand);
  margin-top: 2px;
}

/* Verdict section */
.verdict .verdict-card {
  /* card_style: glow */
  background: var(--paper-soft); border: none; box-shadow: var(--glow);
  padding: 2rem;
  border-radius: var(--corner);
  text-align: center;
  max-width: 600px;
  margin: 2rem auto 0 auto;
}
.verdict .verdict-card h3 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.verdict .verdict-card .rating-glyph {
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.verdict .verdict-card .rating-glyph .num {
    font-size: 1.5rem;
}

/* Brand Grid */
.besti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.besti-card {
    /* card_style: glow */
    background: var(--paper-soft); border: none; box-shadow: var(--glow);
    padding: 1.5rem;
    border-radius: var(--corner);
    text-align: center;
}
.besti-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.besti-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Comparison Table */
.rank-wrap {
  overflow-x: auto;
  margin-top: 2rem;
}
.rank-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--corner);
  overflow: hidden;
}
.rank-table th, .rank-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.rank-table th {
  background-color: var(--paper-soft);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rank-table tbody tr:last-child td {
  border-bottom: none;
}
.rank-table td {
  font-size: 0.95rem;
  color: var(--ink);
  vertical-align: middle;
}
.rank-table td:first-child { font-weight: 600; }
.rank-badge {
  display: inline-block;
  background-color: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  text-transform: uppercase;
  vertical-align: middle;
}
.rank-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--corner);
  vertical-align: middle;
  margin-right: 0.5rem;
}
.rank-table .rating-glyph {
  display: inline-flex;
  align-items: center;
}
.rank-table .stars { color: #f59e0b; letter-spacing: 1px; }
.rank-table .num { margin-left: 0.3rem; font-weight: 600; }

/* In-text mini logo */
.mini-logo {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 4px;
  border-radius: 4px;
  object-fit: contain;
}

/* Editors Pick */
.editors-pick {
  padding: var(--space) 0;
}
.top-pick {
  /* card_style: glow */
  background: var(--paper-soft); border: none; box-shadow: var(--glow);
  padding: 2.5rem;
  border-radius: var(--corner);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.top-pick-content { max-width: 800px; }
.top-pick h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--brand);
}
.top-pick .rating-glyph {
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}
.top-pick .rating-glyph .num {
  font-size: 1.5rem;
  color: var(--ink);
}
.top-pick ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}
.top-pick ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.top-pick ul li svg {
  min-width: 24px;
  height: 24px;
  color: var(--brand);
}
.top-pick p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.top-pick .cta {
  font-size: 1.1rem;
  padding: 0.8rem 2.5rem;
}

/* Stats Section */
.stats {
    text-align: center;
}
.stats h2 {
    margin-bottom: 2rem;
}
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}
.stat {
    text-align: center;
    min-width: 150px;
    padding: 1rem;
}
.stat-num {
    font-family: var(--type-head);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
}
.stat-lbl {
    font-size: 1rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FAQ */
.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.qa-item { border-bottom: 1px solid var(--rule); padding: 1.5rem 0; }
.qa-q { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.qa-q::-webkit-details-marker { display: none; }
.qa-q::after { content: '+'; font-size: 1.5em; line-height: 1; transition: transform 0.2s; }
.qa-item[open] .qa-q::after { transform: rotate(45deg); }
.qa-a { margin-top: 1rem; color: var(--ink-soft); }

/* CTA Strip */
.cta-strip {
  background-color: var(--paper-soft);
  text-align: center;
}
.cta-strip h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-strip p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
}

/* Risk Strip */
.risk-bar {
  background-color: var(--shade);
  color: rgba(255,255,255,.8);
  font-size: 0.85rem;
  padding: 1rem 0;
  text-align: center;
}
.risk-bar p { margin: 0; display: flex; justify-content: center; align-items: center; }
.risk-bar p span { margin-right: 0.5rem; transform: translateY(2px); }
.risk-bar svg { width: 18px; height: 18px; color: #fff; }

/* Buttons */
.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--corner);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.cta-acc {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.cta-acc:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
}
.cta-out {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.cta-out:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}
.cta-wrapper {
  text-align: center;
  margin-top: 2rem;
}

/* Alternatives */
.alternatives .alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.alternatives .alt-card {
  /* card_style: glow */
  background: var(--paper-soft); border: none; box-shadow: var(--glow);
  padding: 1.5rem;
  border-radius: var(--corner);
  text-align: center;
}
.alternatives .alt-card img {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  border-radius: var(--corner);
  object-fit: contain;
}
.alternatives .alt-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.alternatives .alt-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Review long page */
.review-long { padding: var(--space) 0; }

/* Blog specific styles */
.hero-blog {
    text-align: center;
    background-color: var(--paper) !important;
}
.hero-blog h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}
.hero-blog .lead-subtitle { margin-bottom: 0; }

.blog-grid {
    padding: var(--space) 0;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.article-card {
    /* card_style: glow */
    background: var(--paper-soft); border: none; box-shadow: var(--glow);
    padding: 1.5rem;
    border-radius: var(--corner);
    display: flex;
    flex-direction: column;
}
.article-card a {
    text-decoration: none;
    color: var(--ink);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.article-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}
.article-card p {
    font-size: 1rem;
    color: var(--ink-soft);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}
.article-card .read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.article-card .read-more svg { width: 18px; height: 18px; }
.article-card a:hover h2 { text-decoration: underline; }

.hero-article {
    text-align: center;
    background-color: var(--paper) !important;
    padding-bottom: 2rem;
}
.hero-article h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-article .byline {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.hero-article .byline svg { width: 18px; height: 18px; color: var(--ink-soft); }

.article-content ul, .article-content ol { list-style: disc; margin-left: 20px; }
.article-content ul li, .article-content ol li { margin-bottom: 10px; }

/* Legal/Basic Pages */
.hero-basic {
  text-align: center;
  background-color: var(--paper) !important;
}
.hero-basic h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}
.text-content {
  padding: var(--space) 0;
}
.text-content .content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.editor-block {
  /* card_style: glow */
  background: var(--paper-soft); border: none; box-shadow: var(--glow);
  padding: 1.5rem;
  border-radius: var(--corner);
  margin-top: 2rem;
  text-align: center;
}
.editor-avatar {
  background-color: var(--brand);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
}
.editor-block h3 { margin-bottom: 0.25rem; font-size: 1.6rem; }
.editor-role { color: var(--ink-soft); margin-bottom: 1rem; }

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--paper-soft);
    border-radius: var(--corner);
    border: 1px solid var(--rule);
}
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--rule);
    border-radius: var(--corner);
    background-color: var(--paper);
    font-family: var(--type-body);
    font-size: 1rem;
    color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form button { width: auto; padding: 0.8rem 2rem; }
.success-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: var(--corner);
    text-align: center;
}

/* 404 Page */
.hero-basic .alt-grid {
    margin-top: 2rem;
}

/* Cookie Banner */
.gdpr {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--shade);
  color: #fff;
  padding: 1rem 0;
  z-index: 10000;
  display: none; /* Hidden by default */
}
.gdpr p { margin-bottom: 1rem; font-size: 0.9rem; }
.gdpr-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gdpr-btns {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.gdpr-prefs {
  display: none; /* Hidden by default */
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: left;
  width: 100%;
  max-width: 400px;
}
.gdpr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.gdpr-prefs button {
  margin-top: 1rem;
  width: 100%;
}
.gdpr-reopen {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--shade);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  z-index: 9999;
  display: none; /* Hidden by default */
}

/* Rating Glyphs */
.rating-glyph {
  display: flex;
  align-items: center;
}
.rating-glyph .stars { color: #f59e0b; letter-spacing: 1px; }
.rating-glyph .num { margin-left: 0.5rem; font-weight: 600; color: var(--ink); }

/* Responsive */
@media (max-width: 1024px) {
  .lead h1 { font-size: 2.8rem; }
  .nav-menu { gap: 1rem; }
  .top-pick h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  .nav-menu {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    display: none; /* Hidden by default */
    background-color: var(--paper);
    padding: 1rem 0;
    border-top: 1px solid var(--rule);
  }
  .nav-menu.open { display: flex; }
  .nav-link {
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .lead-actions { flex-direction: column; }
  .lead-chips { flex-direction: column; align-items: center; }
  .rank-table { min-width: 100%; display: block; }
  .rank-table thead { display: none; }
  .rank-table tr { display: block; margin-bottom: 1rem; /* card_style: glow */ background: var(--paper-soft); border: none; box-shadow: var(--glow); border-radius: var(--corner); overflow: hidden; padding: 1rem; }
  .rank-table td { display: block; text-align: right; border-bottom: none; padding: 0.5rem 0; }
  .rank-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
  }
  .rank-table td:first-child { text-align: left; }
  .rank-table td:first-child::before { display: none; }
  .top-pick {
    padding: 1.5rem;
  }
  .top-pick h2 { font-size: 1.8rem; }
  .alternatives .alt-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .foot-col ul { padding-left: 0; }
  .foot-col li { margin-left: 0; }
  .editor-block { text-align: center; }
  .gdpr-content { flex-direction: column; }
  .gdpr-btns .cta { width: 100%; }
}
