:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a2330;
  --muted: #5b6572;
  --border: #e3e7ec;
  --accent: #0b6e4f;
  --accent-soft: #e2f3ec;
  --warn: #9a6700;
  --warn-soft: #fff3d6;
  --bad: #b3261e;
  --bad-soft: #fbe9e7;
  --hero-grad: linear-gradient(160deg, #0b6e4f 0%, #0f4c5c 100%);
  --shadow: 0 1px 3px rgba(15, 30, 40, 0.08), 0 8px 24px rgba(15, 30, 40, 0.06);
  --radius: 12px;
}

/* The site defaults to light regardless of system preference — no dark
   variant is served, so there is no prefers-color-scheme override here. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

a { color: var(--accent); }

.wrap {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  flex-wrap: wrap;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.site-nav {
  display: none;
  gap: 1rem;
  font-size: 0.9rem;
}
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
@media (min-width: 860px) {
  .site-nav { display: flex; }
}
.lang-picker {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.lang-picker select {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  max-width: 10rem;
}

/* Hero */
.hero {
  background: var(--hero-grad);
  color: #f2f7f5;
  padding: 2.5rem 0 2.75rem;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}
.hero .lead {
  max-width: 44rem;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(242, 247, 245, 0.92);
}
.tldr {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  max-width: 44rem;
  backdrop-filter: blur(4px);
}
.tldr h2 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.tldr ol {
  margin: 0;
  padding-left: 1.2rem;
}
.tldr li { margin: 0.35rem 0; }
.hero-ctas {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
}
.btn-primary { background: #fff; color: #0f4c5c; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }

.hero-points {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  max-width: 44rem;
  font-size: 0.92rem;
  color: rgba(242, 247, 245, 0.85);
}
.hero-points li { margin: 0.25rem 0; }

/* Check widget */
.widget-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.widget-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin-bottom: 1rem;
}
.widget-grid label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.widget-grid select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.6rem;
}
.w-result {
  border-radius: 10px;
  border: 1px dashed var(--border);
  padding: 0.9rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.w-result.w-ok { border: 1px solid var(--accent); background: var(--accent-soft); color: var(--text); }
.w-result.w-warn { border: 1px solid var(--warn); background: var(--warn-soft); color: var(--text); }
.w-result.w-bad { border: 1px solid var(--bad); background: var(--bad-soft); color: var(--text); }
.w-result p { margin: 0 0 0.5rem; }
.w-result p:last-child { margin-bottom: 0; }
.w-result .w-note { font-size: 0.85rem; color: var(--muted); }

/* Case study */
.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--bad);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
  max-width: 46rem;
}
.story-card .kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bad);
  margin: 0 0 0.5rem;
}
.story-card h2 { font-style: italic; }
.story-card .conclusion {
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}

/* Company pages */
.company-verdict {
  display: inline-block;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin: 0 0 1rem;
}
.company-verdict.v-best { background: var(--accent-soft); color: var(--accent); }
.company-verdict.v-maybe { background: var(--warn-soft); color: var(--warn); }
.company-verdict.v-no { background: var(--bad-soft); color: var(--bad); }
.facts-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.4rem 1.25rem;
  margin: 1rem 0;
}
.facts-card dl { margin: 0; }
.facts-card div {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
}
.facts-card div:first-child { border-top: none; }
.facts-card dt { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.facts-card dd { margin: 0; font-size: 0.92rem; }
@media (max-width: 540px) {
  .facts-card div { grid-template-columns: 1fr; gap: 0.15rem; }
}
.watch-list { padding-left: 1.2rem; }
.watch-list li { margin: 0.5rem 0; max-width: 44rem; }
.breadcrumb { font-size: 0.85rem; margin: 1.5rem 0 0; }
.company-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.75rem 0 0; }
.company-ctas .btn { background: var(--accent); color: #fff; }
.company-ctas .btn.secondary { background: none; border: 1px solid var(--accent); color: var(--accent); }
.other-companies { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding: 0; list-style: none; }

/* Sections */
section { padding: 2.5rem 0 0.5rem; }
section h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.section-intro {
  color: var(--muted);
  max-width: 44rem;
  margin: 0 0 1.25rem;
}
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.6rem;
}

/* Filters */
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}
.filters button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.sort-hint { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.75rem; }

/* Table */
#comparison .wrap { max-width: 80rem; }
.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 62rem;
  table-layout: fixed;
}
col.c-vendor { width: 11%; }
col.c-pay { width: 9%; }
col.c-depdeb { width: 9.5%; }
col.c-deposit { width: 24%; }
col.c-cover { width: 22%; }
col.c-verdict { width: 24.5%; }
thead th { overflow-wrap: normal; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.8rem;
  border-top: 1px solid var(--border);
  overflow-wrap: break-word;
}
thead th {
  border-top: none;
  padding: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 92%, var(--text) 8%);
  position: sticky;
  top: 0;
}
.sort-btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.sort-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 4px;
}
thead th .arrow { opacity: 0.5; font-size: 0.7rem; }
.vendor-name { font-weight: 700; }
.vendor-name a {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}
.mark {
  font-weight: 700;
  white-space: nowrap;
}
.mark-yes { color: var(--accent); }
.mark-no { color: var(--bad); }
.mark-mixed { color: var(--warn); }
tr.flag-best td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
tr.flag-no td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
tr.flag-maybe td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.verdict-best, .verdict-maybe, .verdict-no {
  display: inline-block;
  border-radius: 8px;
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.verdict-best { background: var(--accent-soft); color: var(--accent); }
.verdict-maybe { background: var(--warn-soft); color: var(--warn); }
.verdict-no { background: var(--bad-soft); color: var(--bad); }
.verified {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.legend { font-size: 0.8rem; color: var(--muted); margin: 0.75rem 0 0; }

/* Mobile card table */
@media (max-width: 719px) {
  .table-card { overflow-x: visible; background: none; border: none; box-shadow: none; }
  table { min-width: 0; font-size: 0.92rem; }
  thead { display: none; }
  tbody tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 0.9rem;
    padding: 0.35rem 0;
  }
  td {
    display: block;
    border: none;
    padding: 0.35rem 1rem;
  }
  td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
  }
  tr.flag-best td:first-child,
  tr.flag-no td:first-child,
  tr.flag-maybe td:first-child { box-shadow: none; }
  .vendor-name { font-size: 1.05rem; }
}

/* Steps */
.steps-list {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.steps-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem 1rem 3.4rem;
  position: relative;
}
.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-list h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.steps-list p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Card grids (rights, alternatives) */
.card-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.card-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
}
.card-grid h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.card-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* FAQ */
.faq-list { display: grid; gap: 0.6rem; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.2rem 1.1rem;
}
.faq-list summary {
  font-weight: 600;
  padding: 0.7rem 0;
  cursor: pointer;
}
.faq-list p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.93rem; }

/* Support (Buy Me a Coffee) */
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.support-card p { margin: 0; max-width: 34rem; }
.btn-coffee {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffdd00;
  color: #201607;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.65rem 1.2rem;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.btn-coffee:hover { filter: brightness(0.96); }

/* Disclaimer */
.disclaimer {
  border-left: 3px solid var(--warn);
  background: var(--warn-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.2rem;
  font-size: 0.88rem;
}
.disclaimer h2 { font-size: 1rem; margin: 0 0 0.3rem; }
.disclaimer p { margin: 0; }

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  padding: 0;
  margin: 0.4rem 0 1.2rem;
  list-style: none;
}
.footer-langs a { white-space: nowrap; }
.site-footer p { margin: 0.35rem 0; }

/* Verification log */
.updates-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}
.update-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.4rem;
}
.update-date {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.update-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.5rem;
}
.update-verified { background: var(--accent-soft); color: var(--accent); }
.update-changed { background: var(--warn-soft); color: var(--warn); }
.update-note { margin: 0.4rem 0; color: var(--text); }
.update-checked-label {
  margin: 0.6rem 0 0.3rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.update-vendors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.update-vendors li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.82rem;
}
