:root {
  --bg: #0f1218;
  --surface: #161b24;
  --surface-2: #1c2330;
  --border: #2a3342;
  --text: #e6eaf0;
  --text-dim: #9aa4b5;
  --accent: #673de6;
  --link: #8ab4ff;
  --good: #34d399;
  --bad: #f87171;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15,18,24,.9);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: .92rem; }
.langs { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; }
.langs a { color: var(--text-dim); padding: 3px 8px; border: 1px solid var(--border); border-radius: 6px; }
.langs a:hover { color: var(--text); border-color: var(--accent); }
.nav a { color: var(--text-dim); }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 12px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .lede { font-size: 1.15rem; color: var(--text-dim); max-width: 640px; margin: 0 auto 24px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* CTA buttons */
.cta {
  display: inline-block;
  background: var(--brand, var(--accent));
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform .08s ease, filter .15s ease;
}
.cta:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.cta.big { font-size: 1.05rem; padding: 14px 26px; }
.cta.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }

/* Sections */
.section-title { font-size: 1.4rem; margin: 44px 0 18px; }
section.wrap { padding-bottom: 8px; }

/* Provider cards */
.provider-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.provider-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand, var(--accent));
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  transition: transform .08s ease, border-color .15s ease;
}
.provider-card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--brand, var(--accent)); }
.pc-name { font-weight: 700; font-size: 1.15rem; }
.pc-tagline { color: var(--text-dim); font-size: .92rem; flex: 1; }
.pc-meta { font-size: .85rem; color: var(--text-dim); }
.pc-link { font-weight: 600; color: var(--link); }

/* Articles */
.article-header h1 { font-size: 2rem; margin: 28px 0 8px; }
.article-header .lede { color: var(--text-dim); font-size: 1.1rem; margin: 0 0 8px; }
.article-header .meta { color: var(--text-dim); font-size: .88rem; }
.year { color: var(--text-dim); font-weight: 400; font-size: 1.2rem; }
.article-body h2 { font-size: 1.4rem; margin-top: 34px; }
.article-body h3 { font-size: 1.15rem; margin-top: 26px; }
.article-body p, .article-body li { color: #cdd5e1; }
.article-body code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.article-body pre { background: var(--surface-2); padding: 14px; border-radius: var(--radius); overflow-x: auto; }
.article-body pre code { background: none; padding: 0; }
.article-body img { max-width: 100%; border-radius: var(--radius); }
.article-body blockquote { border-left: 3px solid var(--accent); margin: 16px 0; padding: 4px 16px; color: var(--text-dim); }
.article-footer { margin-top: 40px; }

/* Lists */
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-card {
  display: block; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; color: var(--text);
}
.article-card:hover { text-decoration: none; border-color: var(--accent); }
.article-card h2 { margin: 0 0 6px; font-size: 1.15rem; }
.article-card p { margin: 0; color: var(--text-dim); font-size: .95rem; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--text-dim); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
tbody tr:hover { background: var(--surface); }
.facts th { width: 180px; }

/* Pros/cons */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
ul.checks, ul.crosses { list-style: none; padding: 0; margin: 0; }
ul.checks li, ul.crosses li { padding: 6px 0 6px 28px; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
ul.crosses li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 700; }

/* Disclosure */
.disclosure-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  font-size: .88rem; color: var(--text-dim); margin-top: 24px;
}
.inline-disclosure { font-size: .85rem; color: var(--text-dim); }
.disclosure { font-size: .85rem; color: var(--text-dim); }
.fineprint { font-size: .78rem; color: #6b7484; }

/* Compare tool */
.tool-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; align-items: center; }
.tool-controls select, .tool-controls input {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font-size: .95rem;
}
.tool-controls label { color: var(--text-dim); font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.tool-table td, .tool-table th { white-space: nowrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 28px 0 40px; color: var(--text-dim); }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.7rem; }
  table { font-size: .82rem; }
  th, td { padding: 8px 6px; }
}
