:root {
  --bg: #f7f8fa;
  --card-bg: #ffffff;
  --text: #1c1f26;
  --muted: #5a6270;
  --border: #e3e6ec;
  --primary: #1655d3;
  --primary-dark: #0f3fa0;
  --ok: #16825d;
  --ok-bg: #e7f7f0;
  --warn: #b8590a;
  --warn-bg: #fdf1e4;
  --danger: #c22b2b;
  --danger-bg: #fdeceb;
  --radius: 12px;
  --max-width: 860px;
}

* { 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.6;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
}

.brand span { color: var(--primary); }

nav.site-nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

nav.site-nav a:hover { color: var(--primary); }

main { padding-top: 32px; padding-bottom: 40px; }

.hero { text-align: center; margin-bottom: 28px; }

.hero h1 {
  font-size: 1.85rem;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

.ad-slot {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: #fbfbfc;
  color: #9aa1ad;
  font-size: 0.8rem;
  text-align: center;
  padding: 14px;
  margin: 24px 0;
}

.ad-slot--top,
.ad-slot--inline,
.ad-slot--bottom {
  display: none; /* re-enable (or replace with real ad code) after AdSense approval */
  min-height: 90px;
  align-items: center;
  justify-content: center;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.selector-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selector-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

#countrySelect {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.result {
  margin-top: 22px;
  display: none;
}

.result.is-visible { display: block; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.compare-col {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.compare-col h3 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.compare-col .stat { font-size: 1.3rem; font-weight: 700; }
.compare-col .stat-sub { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.verdicts { display: grid; gap: 12px; margin-top: 14px; }

.verdict {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.verdict .icon { font-size: 1.3rem; line-height: 1; }

.verdict.status-ok { background: var(--ok-bg); color: var(--ok); }
.verdict.status-warn { background: var(--warn-bg); color: var(--warn); }
.verdict.status-danger { background: var(--danger-bg); color: var(--danger); }

.verdict .body { color: var(--text); }
.verdict .body strong { display: block; margin-bottom: 2px; }

section.content-section {
  margin-top: 36px;
}

section.content-section h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

section.content-section p { color: var(--text); }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.faq-item p { margin: 0; color: var(--muted); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}

.ref-table th, .ref-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.ref-table thead th {
  background: #f2f4f8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.ref-table tbody tr:last-child td { border-bottom: none; }

.table-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

.tip-box {
  background: #eef3ff;
  border: 1px solid #d6e2fb;
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 12px;
}

.tip-box h3 { margin-top: 0; }

.affiliate-disclosure {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card-bg);
  margin-top: 40px;
}

footer.site-footer .wrap {
  padding: 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

footer.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 14px;
}

footer.site-footer nav a:hover { color: var(--primary); }

.legal-page h1 { font-size: 1.6rem; }
.legal-page h2 { font-size: 1.15rem; margin-top: 28px; }
.legal-page p, .legal-page li { color: var(--text); }
.legal-page .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 24px; }

@media (max-width: 600px) {
  .compare-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
  nav.site-nav a { margin-left: 12px; font-size: 0.85rem; }
}
