:root {
  --c-acc:      #0d6e57;
  --c-acc-dark: #084d3d;
  --c-dark:     #0a1a20;
  --c-bg:       #ffffff;
  --c-bg-soft:  #f0f4f3;
  --c-border:   #d4dde0;
  --c-text:     #0a1a20;
  --c-muted:    rgba(0,0,0,.55);
  --rhythm:     104px;
  --radius:     24px;
  --shadow:     0 2px 12px rgba(0,0,0,.06);
  --ff-h:       'IBM Plex Mono', system-ui, -apple-system, sans-serif;
  --ff-b:       'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --hue-shift:                40deg;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-h);
  color: var(--c-dark);
  line-height: 1.2;
  margin-bottom: 0.8em;
}
h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
  margin-bottom: 1em;
}

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

ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1em;
}
ul li {
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 1.5em;
}
ul li::before {
  content: "•";
  color: var(--c-acc);
  position: absolute;
  left: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Base Layout and Sections */
.page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { background-color: var(--c-bg-soft); }
.intro, .featured, .risk-band, .footer { background-color: var(--c-bg); }

.ph {
  font-size: 1.2em;
  line-height: normal;
  vertical-align: middle;
}

/* Typography styles */
.lg-text {
  font-size: 1.25em;
  line-height: 1.5;
  color: var(--c-muted);
}
.center-text {
  text-align: center;
}
.center-text h1, .center-text h2 {
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.header {
  padding: 20px 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.header > .page-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.header-logo {
  font-family: var(--ff-h);
  font-size: 1.8em;
  font-weight: 700;
}
.header-logo a {
  color: var(--c-dark);
  text-decoration: none;
}
.header-nav {
  display: flex;
  gap: 25px;
}
.header-link {
  color: var(--c-text);
  font-weight: 500;
  padding: 5px 0;
  text-decoration: none;
  position: relative;
}
.header-link:hover {
  color: var(--c-acc);
  text-decoration: none;
}
.header-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--c-acc);
  transition: width 0.3s ease;
}
.header-link:hover::after {
  width: 100%;
}
.header-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

/* Footer */
.footer {
  padding: var(--rhythm) 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 0.9em;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.ft-col ul {
  line-height: 1.8;
}
.footer-logo a {
  font-family: var(--ff-h);
  font-size: 1.4em;
  font-weight: 700;
  color: var(--c-dark);
}
.ft-col .ft-title {
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 1em;
}
.ft-col a {
  color: var(--c-muted);
}
.ft-col a:hover {
  text-decoration: underline;
}
.ft-txt {
  margin-bottom: 1em;
}
.newsletter-form {
  display: flex;
  margin-top: 1em;
}
.newsletter-form input {
  flex-grow: 1;
  padding: 10px 15px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.9em;
  outline: none;
}
.newsletter-form button {
  background: var(--c-acc);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
}

/* Hero Section */
.intro {
  padding: var(--rhythm) 0;
  text-align: center;
}
.intro h1 {
  font-size: 3.5em;
  margin-bottom: 0.5em;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.intro .lg-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.intro-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.intro-pill {
  display: inline-block;
  background: var(--c-acc);
  color: #fff;
  padding: 8px 15px;
  border-radius: var(--radius);
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 20px;
  filter: hue-rotate(var(--hue-shift));
}
.breadcrumbs {
  font-size: 0.85em;
  color: var(--c-muted);
  text-align: left;
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--c-muted);
}
.breadcrumbs a:hover {
  color: var(--c-acc);
}

/* Review Page specific */
.byline {
  font-size: 0.9em;
  color: var(--c-muted);
  margin-bottom: 30px;
  text-align: center;
}
.byline .ph {
  font-size: 1.1em;
  margin-right: 5px;
  color: var(--c-acc);
}
.brand-hero {
  border-top: 1px solid var(--c-border);
  padding-top: 30px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-hero-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: contain;
  margin-bottom: 15px;
}
.brand-hero-cap {
  font-size: 0.9em;
  color: var(--c-muted);
  margin-bottom: 20px;
}
.brand-hero .lg-text {
  margin-bottom: 25px;
}
.review-content {
  padding: var(--rhythm) 0;
}
.article-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
.article-body h2:first-of-type {
  margin-top: 0;
}
.article-body h2 {
  margin-top: 40px;
}
.article-body ul li .ph {
  margin-right: 5px;
}
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.pros-block, .cons-block {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 25px;
}
.pros-block h4, .cons-block h4 {
  font-size: 1.2em;
  margin-bottom: 15px;
}
.pros-block ul li::before { content: none; }
.pros-block ul li span.ph { color: #28a745; margin-right: 8px; }
.cons-block ul li::before { content: none; }
.cons-block ul li span.ph { color: #dc3545; margin-right: 8px; }

.article-sidebar h3 {
  font-size: 1.4em;
  margin-bottom: 1em;
}
.score-card {
  background: var(--c-bg);
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}
.score-card h3 {
  font-size: 1.6em;
  margin-bottom: 0.8em;
}
.score-card h3 span {
  color: var(--c-acc);
}
.score-card ul {
  list-style: none;
  line-height: 1.8;
  margin-bottom: 20px;
}
.fact-card {
  background: var(--c-bg);
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 30px;
}
.fact-card ul {
  list-style: none;
  line-height: 1.8;
  color: var(--c-muted);
}
.fact-card ul li {
  padding-left: 0;
}
.fact-card ul li::before { content: none; }
.logo-inline {
  width: 20px;
  height: 20px;
  margin-bottom: -4px;
  margin-right: 5px;
}
.alt-card {
  background: var(--c-bg);
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 30px;
}
.alt-card ul li::before { content: none; }
.alt-card ul li a {
  display: block;
  padding: 8px 0;
  color: var(--c-text);
}
.alt-card ul li a .ph {
  color: var(--c-acc);
  margin-right: 8px;
}
.alt-card ul li a:hover {
  text-decoration: none;
  color: var(--c-acc);
}
.editor-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--c-bg-soft);
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.editor-avatar {
  background: var(--c-acc);
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-family: var(--ff-h);
  font-weight: 700;
}
.editor-info h3 {
  margin-bottom: 5px;
  font-size: 1.4em;
}
.editor-role {
  font-weight: 500;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.editor-bio {
  font-size: 0.95em;
  margin-bottom: 0;
  color: var(--c-muted);
}
.contact-info {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
}
.contact-info p {
  line-height: 1.8;
}
.contact-info .contact-detail .ph {
  vertical-align: middle;
  margin-right: 8px;
  font-size: 1.3em;
  color: var(--c-acc);
}
.legal-content h2 {
  margin-top: 40px;
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--c-muted);
}
.legal-content ul li::before {
  content: none;
}
.legal-content ul li {
  padding-left: 0;
}

/* Trust Bar (Metrics) */
.metrics {
  padding: var(--rhythm) 0;
  text-align: center;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.metric {
  background: var(--c-bg-soft);
  padding: 30px;
  border-radius: var(--radius);
}
.metric-n {
  display: block;
  font-family: var(--ff-h);
  font-size: 3em;
  font-weight: 700;
  color: var(--c-acc);
  margin-bottom: 5px;
}
.metric-l {
  display: block;
  font-size: 1.1em;
  color: var(--c-muted);
}

/* Comparison Table */
.tbl-wrap {
  padding: var(--rhythm) 0;
}
.tbl-wrap h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
}
.tbl-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tbl-cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  background: var(--c-bg);
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.tbl-cmp th, .tbl-cmp td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}
.tbl-cmp th {
  background: var(--c-bg-soft);
  font-weight: 600;
  color: var(--c-dark);
}
.tbl-cmp tr:last-child td {
  border-bottom: none;
}
.tbl-cmp tr:first-child th:first-child {
  border-top-left-radius: var(--radius);
}
.tbl-cmp tr:first-child th:last-child {
  border-top-right-radius: var(--radius);
}
.tbl-cmp tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius);
}
.tbl-cmp tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius);
}
.tbl-cmp td {
  vertical-align: middle;
}
.tbl-cmp-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.tbl-cmp-name a {
  text-decoration: none;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tbl-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  object-fit: contain;
}
.tbl-badge {
  display: inline-block;
  background: var(--c-acc);
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--radius);
  font-size: 0.75em;
  font-weight: 500;
  margin-left: 8px;
  filter: hue-rotate(var(--hue-shift));
}
.tbl-cmp td span {
  vertical-align: middle;
}
.tbl-cmp td span:first-child {
  color: var(--c-acc);
  font-weight: 600;
}

/* Editor's Pick (Featured) */
.featured {
  padding: var(--rhythm) 0;
}
.feat-content {
  background: var(--c-bg);
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.feat-badge {
  display: inline-block;
  background: var(--c-acc);
  color: #fff;
  padding: 8px 15px;
  border-radius: var(--radius);
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 20px;
  filter: hue-rotate(var(--hue-shift));
}
.feat-content h2 {
  font-size: 2.5em;
  margin-bottom: 0.6em;
}
.feat-rating {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--c-acc);
  margin-bottom: 1em;
}
.feat-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}
.feat-content ul {
  list-style: none;
  margin-bottom: 30px;
  display: inline-block;
  text-align: left;
}
.feat-content ul li span.ph {
  color: var(--c-acc);
  margin-right: 8px;
}

/* Methodology Steps */
.steps-grid {
  padding: var(--rhythm) 0; /* Add top/bottom padding to the grid container */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.steps-grid h2 {
    text-align: center;
    grid-column: 1 / -1; /* Make the h2 span all columns */
    margin-bottom: 40px;
}
.step-card {
  background: var(--c-bg);
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.step-num {
  font-family: var(--ff-h);
  font-size: 2.5em;
  font-weight: 700;
  color: var(--c-acc);
  margin-bottom: 10px;
}
.step-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}
.step-card p {
  color: var(--c-muted);
  font-size: 0.9em;
}

/* Guides Teaser */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
}
.guide-grid h2 {
  text-align: center;
  grid-column: 1 / -1;
  margin-bottom: 40px;
}
.guide-card {
  background: var(--c-bg);
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.guide-card:hover {
  transform: translateY(-5px);
  text-decoration: none;
}
.guide-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  flex-grow: 1;
}
.guide-card p {
  color: var(--c-muted);
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
}
.guide-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  font-weight: 600;
  align-self: flex-start;
}
.guide-card .read-more .ph {
  font-size: 1em;
}

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

/* Call to Action */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  gap: 8px;
}
.button-acc {
  background: var(--c-acc);
  color: #fff;
  border: 1px solid transparent;
  filter: hue-rotate(var(--hue-shift));
}
.button-acc:hover {
  background: var(--c-acc-dark);
  text-decoration: none;
}
.button-outline {
  border: 1px solid var(--c-acc);
  color: var(--c-acc);
  background: transparent;
}
.button-outline:hover {
  background: rgba(var(--c-acc-rgb), 0.05); /* if available */
  text-decoration: none;
}
.button-lg {
  font-size: 1.15em;
  padding: 14px 30px;
}

/* Risk Strip */
.risk-band {
  background: var(--c-bg);
  padding: 20px 0;
  border-top: 1px solid var(--c-border);
  font-size: 0.85em;
  color: var(--c-muted);
}
.risk-band .page-wrap {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.risk-band .ph {
  flex-shrink: 0;
  font-size: 1.5em;
  color: #dc3545;
}
.risk-band p {
  margin-bottom: 0;
}

/* Cookie Banner */
.gdpr-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--c-dark);
    color: #fff;
    padding: 15px 0;
    z-index: 1000;
    display: none;
    line-height: 1.4;
    font-size: 0.9em;
}

.gdpr-bar .page-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

.gdpr-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gdpr-bar .button {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: var(--radius);
}

.gdpr-bar .button-acc {
    background-color: var(--c-acc);
    border-color: var(--c-acc);
}

.gdpr-bar .button-outline {
    border-color: var(--c-border);
    color: #fff;
}
.gdpr-bar .button-outline:hover {
    background-color: rgba(255,255,255,0.1);
}

.gdpr-bar .button-flat {
    background: none;
    border: none;
    color: #fff;
    text-decoration: underline;
}
.gdpr-bar .button-flat:hover {
    text-decoration: none;
}

.gdpr-prefs {
    display: none; /* Hidden by default */
    background-color: var(--c-bg);
    color: var(--c-text);
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 15px;
    width: 100%;
    box-shadow: var(--shadow);
}

.gdpr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border);
}

.gdpr-row:last-of-type {
    border-bottom: none;
}

.gdpr-row span {
    font-weight: 500;
}

.gdpr-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

.gdpr-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gdpr-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--c-border);
    transition: .4s;
    border-radius: 24px;
}

.gdpr-toggle .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: var(--c-bg);
    transition: .4s;
    border-radius: 50%;
}

.gdpr-toggle input:checked + .slider {
    background-color: var(--c-acc);
}

.gdpr-toggle input:focus + .slider {
    box-shadow: 0 0 1px var(--c-acc);
}

.gdpr-toggle input:checked + .slider:before {
    transform: translateX(16px);
}

.gdpr-prefs .button-acc {
    margin-top: 20px;
    float: right;
}

.gdpr-reopen {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: var(--c-dark);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 999;
    font-size: 1.5em;
}


/* Responsive */
@media (max-width: 1024px) {
  .article-grid {
      grid-template-columns: 1fr;
      gap: 40px;
  }
  .article-sidebar {
      order: -1; /* Move sidebar above content on smaller screens */
  }
}

@media (max-width: 768px) {
  .header > .page-wrap {
      flex-direction: row;
      justify-content: space-between;
  }
  .header-nav {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: var(--c-bg);
      border-top: 1px solid var(--c-border);
      box-shadow: 0 5px 10px rgba(0,0,0,0.1);
      z-index: 500;
      padding: 15px 20px;
  }
  .header-nav.open {
      display: flex;
  }
  .header-nav .header-link {
      padding: 10px 0;
      border-bottom: 1px solid var(--c-border);
      width: 100%;
  }
  .header-nav .header-link:last-child {
      border-bottom: none;
  }
  .header-burger {
      display: flex;
      flex-direction: column;
      gap: 5px;
      width: 30px;
      height: 20px;
      justify-content: center;
  }
  .header-burger span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--c-text);
      transition: all 0.3s ease;
  }
  .intro h1 {
      font-size: 2.5em;
  }
  .button-lg {
      width: 100%;
  }
  .tbl-wrap h2 {
      font-size: 1.8em;
  }
  .feat-content {
      padding: 30px;
  }
  .feat-content h2 {
      font-size: 1.8em;
  }
  .footer-grid {
      grid-template-columns: 1fr 1fr;
  }
  .gdpr-bar .page-wrap {
      flex-direction: column;
      align-items: flex-start;
  }
  .gdpr-prefs {
      width: calc(100% - 40px);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2em; }
  h2 { font-size: 1.6em; }
  .intro h1 { font-size: 2.2em; }
  .intro-cta {
      flex-direction: column;
  }
  .ft-col {
      grid-column: span 2;
  }
  .pros-cons-grid {
      grid-template-columns: 1fr;
  }
  .contact-info {
      grid-template-columns: 1fr;
  }
}
