:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #1d1f24;
  --muted: #5d636e;
  --line: #e3e0d8;
  --accent: #1f4f8f;
  --accent-ink: #ffffff;
  --mark: #fff3c4;
  --warn: #8a3b12;
  --ok: #24663a;
  --radius: 6px;
  --wrap: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171b;
    --paper: #1c1f24;
    --ink: #e9e7e1;
    --muted: #a3a8b1;
    --line: #2f333a;
    --accent: #7fb0f0;
    --accent-ink: #0d1520;
    --mark: #3d3410;
    --warn: #f0a77c;
    --ok: #8fd3a3;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

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

/* top strip: 18+ and the ad disclosure, always visible */
.strip {
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.strip b { color: var(--ink); }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent); }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
nav.main a { color: var(--muted); text-decoration: none; }
nav.main a:hover, nav.main a[aria-current] { color: var(--ink); text-decoration: underline; }

main { padding: 20px 0 40px; }

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.015em; }
h2 { font-size: 23px; line-height: 1.3; margin: 34px 0 10px; }
h3 { font-size: 18px; margin: 22px 0 6px; }

.byline { font-size: 14px; color: var(--muted); margin: 0 0 18px; }

.lead { font-size: 19px; }

p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }

mark { background: var(--mark); color: inherit; padding: 0 2px; }

/* the "short answer" box at the top of a page */
.summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 18px 0 22px;
}
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }

.note {
  font-size: 15px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.warn { color: var(--warn); }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 15px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
th { font-size: 13px; color: var(--muted); font-weight: 600; }
table.facts th { width: 38%; font-size: 15px; color: var(--ink); }

/* offers table turns into stacked blocks on phones */
@media (max-width: 640px) {
  table.offers thead { display: none; }
  table.offers, table.offers tbody, table.offers tr, table.offers td { display: block; width: 100%; }
  table.offers tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 4px 0; }
  table.offers td { border: 0; padding: 5px 12px; }
  table.offers td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: var(--muted);
  }
  h1 { font-size: 25px; }
  h2 { font-size: 21px; }
  .lead { font-size: 18px; }
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 18px 0;
}
.cta small { color: var(--muted); font-size: 13px; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons h3 { margin-top: 8px; }

details {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 4px; }

/* wagering calculator */
.calc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 16px 0;
}
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
@media (max-width: 520px) { .calc .row { grid-template-columns: 1fr; } }
.calc label { display: block; font-size: 14px; color: var(--muted); }
.calc input, .calc select {
  width: 100%;
  font: inherit;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink);
}
.calc output { display: block; font-size: 20px; font-weight: 700; margin-top: 12px; }
.calc .explain { font-size: 14px; color: var(--muted); margin: 4px 0 0; }

footer.site {
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  color: var(--muted);
  padding: 22px 0 30px;
}
footer.site p { margin-bottom: 10px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; }
footer.site nav a { color: var(--muted); }
