/* BetSherpa SA — mobile-first, <15KB, no dependencies */
:root {
  --green: #0b6e4f;
  --green-dark: #08523b;
  --gold: #f5b301;
  --gold-dark: #d99c00;
  --ink: #1a1d1f;
  --ink-soft: #4a5056;
  --bg: #ffffff;
  --bg-soft: #f4f6f5;
  --line: #e2e6e4;
  --red: #c0392b;
  --radius: 10px;
  --maxw: 960px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); }
main { max-width: var(--maxw); margin: 0 auto; padding: 0 16px 48px; }

/* Header */
.site-header {
  background: var(--green-dark);
  color: #fff;
  padding: 10px 16px;
}
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.logo { font-weight: 800; font-size: 1.25rem; color: #fff; text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--gold); }
.site-nav a {
  color: #e8f0ec; text-decoration: none; font-size: 0.9rem; margin-left: 14px; font-weight: 600;
}
.site-nav a:hover { color: var(--gold); }

/* Disclosure bar */
.disclosure {
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  font-size: 0.75rem; color: var(--ink-soft); padding: 6px 16px; text-align: center;
}

/* Hero */
.hero { padding: 32px 0 8px; }
h1 { font-size: 1.75rem; line-height: 1.25; letter-spacing: -0.5px; margin-bottom: 12px; }
.hero p.lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 640px; }
.updated { font-size: 0.8rem; color: var(--ink-soft); margin: 8px 0 0; }

/* Sections */
h2 { font-size: 1.35rem; margin: 36px 0 12px; letter-spacing: -0.3px; }
h3 { font-size: 1.1rem; margin: 24px 0 8px; }
p { margin: 10px 0; }
ul, ol { margin: 10px 0 10px 22px; }
li { margin: 5px 0; }

/* Comparison cards */
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin: 14px 0; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.card.featured { border: 2px solid var(--gold); position: relative; }
.card.featured::before {
  content: "Top Pick"; position: absolute; top: -11px; left: 16px;
  background: var(--gold); color: var(--ink); font-size: 0.7rem; font-weight: 800;
  padding: 2px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.brand-name { font-size: 1.15rem; font-weight: 800; }
.rating { color: var(--gold-dark); font-weight: 700; font-size: 0.95rem; }
.bonus-line { background: var(--bg-soft); border-radius: 6px; padding: 8px 12px; margin: 10px 0; font-weight: 600; font-size: 0.95rem; }
.pros-cons { display: grid; grid-template-columns: 1fr; gap: 4px 24px; font-size: 0.9rem; margin: 8px 0; }
.pros-cons .pro::before { content: "✓ "; color: var(--green); font-weight: 800; }
.pros-cons .con::before { content: "✗ "; color: var(--red); font-weight: 800; }
.card-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* Buttons */
.btn-cta, .btn-secondary {
  display: inline-block; text-decoration: none; font-weight: 800; border-radius: 8px;
  padding: 12px 22px; font-size: 0.95rem; text-align: center;
}
.btn-cta { background: var(--gold); color: var(--ink); }
.btn-cta:hover { background: var(--gold-dark); }
.btn-secondary { background: #fff; color: var(--green); border: 2px solid var(--green); padding: 10px 20px; }
.btn-secondary:hover { background: var(--bg-soft); }

/* Microcopy under CTA + trust line */
.cta-note {
  display: block; width: 100%; font-size: 0.78rem; color: var(--ink-soft);
  margin-top: 6px;
}
.cta-note::before { content: "✓ "; color: var(--green); font-weight: 800; }
.trust-line {
  font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; margin: 6px 0 0;
}

/* Sticky mobile CTA bar */
.sticky-cta {
  display: none;
}
@media (max-width: 639px) {
  body { padding-bottom: 72px; }
  .sticky-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: var(--green-dark); padding: 10px 14px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  }
  .sticky-cta .sticky-text { color: #fff; font-size: 0.8rem; font-weight: 700; line-height: 1.3; }
  .sticky-cta .sticky-text small { display: block; color: #cfe4da; font-weight: 500; font-size: 0.72rem; }
  .sticky-cta .btn-cta { padding: 10px 18px; font-size: 0.88rem; white-space: nowrap; }
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; min-width: 520px; }
th, td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
th { background: var(--green-dark); color: #fff; font-weight: 700; }
tr:nth-child(even) td { background: var(--bg-soft); }

/* Steps */
.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 10px 0 10px 44px; margin: 0;
  border-bottom: 1px dashed var(--line);
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}

/* Callouts */
.note, .warn {
  border-radius: var(--radius); padding: 14px 16px; margin: 16px 0; font-size: 0.93rem;
}
.note { background: #eaf4ef; border-left: 4px solid var(--green); }
.warn { background: #fdf0ec; border-left: 4px solid var(--red); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { font-weight: 700; cursor: pointer; padding: 10px 0; font-size: 0.98rem; }
.faq details p { color: var(--ink-soft); padding-bottom: 10px; }

/* Breadcrumbs */
.crumbs { font-size: 0.8rem; color: var(--ink-soft); padding: 14px 0 0; }
.crumbs a { color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--ink); color: #b9c0c6; font-size: 0.85rem;
  padding: 28px 16px; margin-top: 40px;
}
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; }
.site-footer a { color: #d7dde2; }
.age-badge {
  display: inline-block; background: var(--red); color: #fff; font-weight: 800;
  border-radius: 50%; width: 40px; height: 40px; line-height: 40px; text-align: center; margin-right: 10px;
}
/* Required gambling-ad notice: age warning, NRGP name/number, slogan.
   Font size must be at least as large as body copy per the ARB Gambling Code. */
.rg-notice {
  font-size: 1rem; line-height: 1.5; color: #fff; font-weight: 600;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
}
.rg-line { margin-top: 12px; }

@media (min-width: 640px) {
  h1 { font-size: 2.25rem; }
  .pros-cons { grid-template-columns: 1fr 1fr; }
}
