/* OnlineSlotsRealMoneys — stylesheet
   Mobile-first. One family (Archivo, variable weight + width). */

:root {
  --ground: #F1F5F2;
  --paper: #FFFFFF;
  --ink: #0B1F14;
  --ink-2: #1E3A2A;
  --muted: #435A4B;
  --line: #C4D6C9;
  --tint: #DFEAE2;
  --accent: #C2410C;
  --focus: #2E7D4F;
  --footer-line: #1E3A2A;
  --footer-muted: #C4D6C9;

  --radius: 6px;
  --container: 1240px;
  --gutter: 24px;
  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: var(--ink); text-underline-offset: 0.15em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 24px; }
table { border-collapse: collapse; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 12px 16px; background: var(--ink); color: #fff;
  border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width: 480px) { :root { --gutter: 16px; } }

/* ---------- Header ---------- */
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-block: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  text-decoration: none;
}
.brand__name {
  font-size: 1.25rem; font-weight: 800; font-variation-settings: "wdth" 118;
  letter-spacing: -0.01em;
}
.site-nav { order: 3; width: 100%; overflow-x: auto; }
.site-nav ul {
  display: flex; gap: 24px; padding: 0; list-style: none;
  font-size: 0.9375rem; font-weight: 500; white-space: nowrap;
}
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-nav a[aria-current="page"] { font-weight: 800; }
.lang { display: flex; gap: 4px; padding: 0; list-style: none; font-size: 0.875rem; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; min-width: 32px; justify-content: center; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 700; }
@media (min-width: 900px) {
  .site-nav { order: 0; width: auto; }
  .site-nav ul { gap: 28px; }
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 96px; background: var(--ink); color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--footer-muted); }
.site-footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  padding-block: 48px 24px;
}
.site-footer__about { max-width: 340px; }
.site-footer__brand { margin-bottom: 10px; font-size: 1.25rem; font-weight: 800; font-variation-settings: "wdth" 118; }
.site-footer__about p:last-child, .site-footer__bottom { color: var(--footer-muted); font-size: 0.875rem; line-height: 1.6; }
.site-footer__links {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 40px; padding: 0; list-style: none; font-size: 0.9375rem;
}
.site-footer__links a { display: inline-flex; align-items: center; min-height: 36px; }
.site-footer__bottom { border-top: 1px solid var(--footer-line); padding-block: 24px; font-size: 0.8125rem; }
.site-footer__bottom p + p { margin-top: 8px; }
@media (max-width: 480px) { .site-footer__links { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #931E18; color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1C3757; color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tint); color: var(--ink); }
.btn--outline-light { border-color: #fff; color: #fff; font-weight: 700; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--lg { min-height: 56px; font-size: 1.125rem; }

/* ---------- Home hero ---------- */
.hero { padding-top: 24px; }
.hero__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 40px; margin-bottom: 32px;
}
.hero__text { max-width: 760px; }
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.95; font-weight: 900;
  font-variation-settings: "wdth" 125; letter-spacing: -0.02em;
}
.hero__lede { margin-top: 18px; max-width: 60ch; font-size: 1.125rem; line-height: 1.5; color: var(--muted); }
.disclosure { max-width: 34ch; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

/* Offers: ranked list */
.offers {
  display: grid; grid-template-columns: 1fr;
  padding: 0; list-style: none;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden;
}
.offers > li + li { border-top: 2px solid var(--ink); }
@media (min-width: 860px) {
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers > li + li { border-top: 0; border-left: 2px solid var(--ink); }
}
.offer { height: 100%; display: flex; flex-direction: column; gap: 22px; padding: 32px; }
@media (max-width: 480px) { .offer { padding: 24px 20px; } }
.offer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.offer__brand { display: flex; align-items: center; gap: 16px; }
.offer__logo {
  flex: none; width: 72px; height: 72px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  font-weight: 900; font-size: 1.625rem; font-variation-settings: "wdth" 125;
  object-fit: contain;
}
.offer__logo--outline { background: var(--ground); color: var(--ink); border: 2px solid var(--ink); }
.offer__name { font-size: 1.625rem; font-weight: 800; line-height: 1.1; }
.offer__rating { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }
.offer__rating strong { color: var(--ink); }
.offer__rank {
  font-size: clamp(4.5rem, 8vw, 6rem); line-height: 0.8; font-weight: 900;
  font-variation-settings: "wdth" 62;
}
.offer__rank--accent { color: var(--accent); }
.offer__label { margin-bottom: 4px; font-size: 0.875rem; color: var(--muted); }
.offer__amount { font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.1; font-weight: 800; font-variation-settings: "wdth" 110; }
.offer__note { margin-top: 6px; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.offer__deposits { padding: 0; list-style: none; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.offer__deposits li {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 10px; border-bottom: 1px solid var(--line);
}
.offer__deposits span:first-child { color: var(--muted); }
.offer__deposits strong { text-align: right; }
.offer__deposits small { display: block; font-size: inherit; font-weight: 500; color: var(--muted); }
.offer__terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; font-size: 0.9375rem; }
.offer__terms dt { color: var(--muted); }
.offer__terms dd { margin-top: 2px; font-weight: 700; }
.offer__cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.offer__cta .btn { width: 100%; }
.offer__small { font-size: 0.75rem; line-height: 1.5; color: var(--muted); }

/* ---------- Page head (sub-pages) ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0 20px; list-style: none; font-size: 0.875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }
.page-head__title {
  font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; font-weight: 900;
  font-variation-settings: "wdth" 125; letter-spacing: -0.02em;
}
.page-head__lede { margin-top: 16px; max-width: 62ch; font-size: 1.125rem; line-height: 1.5; color: var(--muted); }
.updated { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

/* ---------- TOC + article layout ---------- */
.layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; margin-top: 48px; }
.layout--home { margin-top: 96px; }
.toc { flex: 1 1 220px; max-width: 280px; font-size: 0.9375rem; line-height: 1.5; }
.toc__title { margin-bottom: 12px; font-size: 1rem; font-weight: 800; }
.toc ol { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; color: var(--muted); }
@media (min-width: 1000px) { .toc { position: sticky; top: 24px; } }
.prose { flex: 999 1 560px; min-width: 0; max-width: 760px; font-size: 1.0625rem; line-height: 1.7; }
.prose > * + *,
.prose section > * + *,
.prose header > * + * { margin-top: 16px; }
.prose .fine { margin-top: 10px; }
.prose .help-box { margin-top: 52px; }
.prose .help-box > :is(h2, h3) { margin-top: 0; }
.prose > p:last-child { margin-top: 32px; }
.prose ul, .prose ol:not(.steps) { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose :is(h2, h3) {
  margin-top: 52px; font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.2; font-weight: 800;
  font-variation-settings: "wdth" 112;
}
.prose > :is(h2, h3):first-child { margin-top: 0; }
.prose :is(h2, h3) + * { margin-top: 14px; }
.guide-title {
  font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.05 !important; font-weight: 900 !important;
  font-variation-settings: "wdth" 120 !important; letter-spacing: -0.015em; margin-top: 0 !important;
}
.prose .fine { font-size: 0.8125rem; color: var(--muted); }

/* Byline */
.byline { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.byline__photo { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--line); object-fit: cover; }

/* Callouts and panels */
.callout { padding: 22px 26px; border-radius: var(--radius); background: var(--tint); }
.callout--ink { background: var(--ink); color: #fff; }
.callout--ink a { color: #fff; }
.callout__title { margin-bottom: 8px; font-size: 1.125rem; font-weight: 800; }
.callout ul { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; }
.callout li + li { margin-top: 0; }
.panel { padding: 22px 26px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.panel > * + * { margin-top: 12px; }

/* Criteria grid */
.criteria {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 2px solid var(--ink); font-size: 0.9375rem; line-height: 1.5;
}
.criteria > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.criteria dt, .criteria h4 { margin-bottom: 4px; font-size: 1rem; font-weight: 800; }
.criteria dd { color: var(--muted); }

/* Comparison cards */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; font-size: 0.9375rem; line-height: 1.55; }
.compare__card { padding: 24px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.compare__name { font-size: 1.25rem; font-weight: 800; }
.compare__tag { margin: 4px 0 16px; color: var(--muted); }
.compare__card h4 { margin: 14px 0 6px; font-size: 0.9375rem; }
.compare__card ul { padding-left: 20px; }
.compare__card > a { display: inline-block; margin-top: 18px; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius); }
.table-wrap table { width: 100%; font-size: 0.9375rem; line-height: 1.45; }
.table-wrap caption { padding: 14px 14px 0; text-align: left; font-weight: 800; }
.table-wrap th { padding: 12px 14px; text-align: left; font-weight: 700; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.table-wrap td, .table-wrap tbody th { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: normal; font-weight: 400; }
.table-wrap tbody th { font-weight: 700; }
.table-wrap tr:last-child > * { border-bottom: 0; }

/* Stat pair */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.stat { padding: 20px 24px; background: var(--paper); border-radius: var(--radius); }
.stat__label, .stat__foot { font-size: 0.875rem; color: var(--muted); }
.stat__value { margin: 4px 0; font-size: 2.25rem; line-height: 1.1; font-weight: 900; font-variation-settings: "wdth" 110; }

/* Numbered steps */
.steps { display: flex; flex-direction: column; gap: 16px; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; gap: 16px; counter-increment: step; }
.steps li + li { margin-top: 0; }
.steps li::before {
  content: counter(step); flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-weight: 800; line-height: 1;
}

/* Lists with rules */
.ruled { padding: 8px 24px !important; list-style: none; background: var(--paper); border-radius: var(--radius); }
.ruled li { padding-block: 12px; border-bottom: 1px solid var(--line); }
.ruled li + li { margin-top: 0; }
.ruled li:last-child { border-bottom: 0; }

/* Definition list (glossary) */
.glossary { border-top: 2px solid var(--ink); }
.glossary > div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 800; }
.glossary dd { margin-top: 4px; color: var(--ink-2); }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding: 0 !important; list-style: none; }
.tiles li { margin: 0 !important; padding: 16px 18px; background: var(--paper); border-radius: var(--radius); font-weight: 800; }

/* Help sections */
.help-box { padding: 28px 32px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.help-box > * + * { margin-top: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.help-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 32px; padding: 28px 32px; border-radius: var(--radius);
  background: var(--ink); color: #fff;
}
.help-banner__title { margin-bottom: 6px; font-size: 1.375rem; font-weight: 800; }
.help-banner p:not(.help-banner__title) { max-width: 52ch; color: var(--footer-muted); line-height: 1.5; }
.cookie-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-bar p { max-width: 44ch; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding-block: 14px; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details > div { padding-bottom: 18px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; margin-top: 48px; }
.form {
  flex: 999 1 520px; min-width: 0; max-width: 680px;
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
}
@media (max-width: 480px) { .form { padding: 24px 20px; } }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.form label:not(.check) { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 700; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
}
.form textarea { resize: vertical; }
.form__hint { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.form .btn { align-self: flex-start; }
.contact-aside { flex: 1 1 280px; max-width: 420px; display: flex; flex-direction: column; gap: 28px; font-style: normal; }
.contact-aside h2 { margin-bottom: 6px; font-size: 1.125rem; font-weight: 800; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .toc, .offer__cta .btn, .skip-link { display: none !important; }
  body { background: #fff; }
}

address { font-style: normal; }
.page-actions { margin-top: 32px; }

/* ---------- Author (network additions) ---------- */
img.byline__photo { background: var(--line); }
.byline a { color: inherit; }
.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: 52px; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper);
}
.author-box__photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--line); }
.author-box__eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.author-box__name { margin-top: 2px !important; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.author-box__name a { text-decoration: none; }
.author-box__role { margin-top: 2px !important; margin-bottom: 10px; font-size: 0.9375rem; color: var(--accent); font-weight: 700; }
.author-box p + p { margin-top: 0; }
.author-head { display: flex; gap: 28px; align-items: center; }
.author-head__photo { flex: none; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.author-head__role { margin-top: 6px; font-weight: 700; color: var(--accent); }
@media (max-width: 640px) {
  .author-box { flex-direction: column; }
  .author-head { flex-direction: column; align-items: flex-start; }
  .author-head__photo { width: 120px; height: 120px; }
}

/* Casino logos (official files from assets/casino-logos/) */
img.offer__logo--img { width: 128px; height: 72px; padding: 10px 12px; object-fit: contain; }
img.offer__logo--light { background: #FFFFFF; border: 1px solid var(--line); }
img.offer__logo--dark { background: #141414; border: 1px solid #141414; }
@media (max-width: 480px) { img.offer__logo--img { width: 104px; height: 60px; padding: 8px 10px; } }

/* H1: one line on desktop, size fitted per site (see data/h1-fit.json) */
/* Hero: H1 full width, then lede (left) + ad disclosure (right), tighter gap to the offers */
.hero { padding-top: 16px; }
.hero__head { margin-top: 12px; margin-bottom: 20px; align-items: flex-end; flex-wrap: nowrap; }
.hero .hero__lede { margin-top: 0; }
.hero .disclosure { flex: none; text-align: right; }
@media (max-width: 760px) {
  .hero__head { flex-wrap: wrap; }
  .hero .disclosure { text-align: left; }
}
.hero__title {
  font-size: clamp(1.625rem, 5vw, 1.875rem); line-height: 1.15; font-weight: 800;
  font-variation-settings: "wdth" 100; font-optical-sizing: none; letter-spacing: -0.02em; text-wrap: balance;
}
@media (min-width: 900px) {
  .hero__title {
    white-space: nowrap;
    font-size: min(2.75rem, calc((min(var(--container), 100vw) - 2 * var(--gutter)) * var(--fit)));
  }
}
@media (max-width: 480px) {
  .offer__rank { font-size: 3rem; flex: none; }
  .offer__brand { gap: 12px; min-width: 0; }
  .offer__name { font-size: 1.375rem; }
}

/* Clickable casino logo + name (go to /go/ link) */
.offer__logo-link { display: block; flex: none; border-radius: var(--radius); -webkit-tap-highlight-color: transparent; }
.offer__logo-link .offer__logo { transition: transform .15s ease, box-shadow .15s ease; }
.offer__name-link { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.offer__go { display: inline-block; vertical-align: 0.05em; margin-left: 6px; color: var(--accent); transition: transform .15s ease; }
@media (hover: hover) {
  .offer__logo-link:hover .offer__logo { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
  .offer__name-link:hover { color: var(--accent); }
  .offer__name-link:hover .offer__go { transform: translate(2px,-2px); }
}
/* touch screens: show it's tappable without hover */
@media (hover: none), (max-width: 760px) {
  .offer__logo-link .offer__logo { box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(0,0,0,.12); }
  .offer__name-link { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .offer__logo-link:active .offer__logo { transform: scale(.96); }
  .offer__name-link:active { color: var(--accent); }
}
