/* =============================================
   96a Bet BR — Swiss Grid / Bold Sans
   Colors: #1A1A2E primary, #E63946 accent, #F5F5F0 base
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  background: #F5F5F0;
  color: #1A1A2E;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #E63946;
  color: #fff;
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.15;
  color: #1A1A2E;
}

h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }

small, .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E63946;
  display: block;
  margin-bottom: 0.35rem;
}

/* --- Links --- */
a { color: #1A1A2E; text-decoration: underline; }
a:hover { color: #E63946; }
.prose a { color: #E63946; text-decoration: underline; }

/* --- Site Header --- */
.site-header {
  background: #1A1A2E;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: #F5F5F0;
  text-decoration: none;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-right: auto;
}
.brand:hover { color: #E63946; }

/* --- Mobile nav toggle --- */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #E63946;
  color: #F5F5F0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
  padding: 0;
}

.burger, .burger::before, .burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #F5F5F0;
  position: relative;
  transition: transform .2s, opacity .2s;
}
.burger::before, .burger::after {
  content: '';
  position: absolute;
  left: 0;
}
.burger::before { top: -6px; }
.burger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: rotate(-45deg) translate(4px, -4px); }

/* --- Header CTA --- */
.header-cta {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}

.cta-signup {
  background: #E63946;
  color: #fff;
  border: 2px solid #E63946;
}
.cta-signup:hover { background: #c62d38; border-color: #c62d38; color: #fff; }

.cta-login {
  background: transparent;
  color: #F5F5F0;
  border: 2px solid #F5F5F0;
}
.cta-login:hover { background: #F5F5F0; color: #1A1A2E; }

/* --- Primary Nav (mobile: collapsed) --- */
#primary-nav {
  background: #1A1A2E;
  border-top: 1px solid rgba(245,245,240,.1);
}
#primary-nav[hidden] { display: none; }

#primary-nav dl {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem 1rem;
}

#primary-nav dt.nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,245,240,.45);
  padding: 0.5rem 0 0.25rem;
}

#primary-nav dd { margin: 0; }

#primary-nav dd a {
  display: block;
  color: #F5F5F0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(245,245,240,.07);
  min-height: 44px;
  display: flex;
  align-items: center;
}
#primary-nav dd a:hover { color: #E63946; }

/* --- Desktop nav (≥769px) --- */
@media (min-width: 769px) {
  .nav-toggle { display: none; }

  #primary-nav {
    border-top: none;
    border-bottom: 1px solid rgba(245,245,240,.1);
  }
  #primary-nav[hidden] { display: block; }

  #primary-nav dl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 0 1rem;
  }

  #primary-nav dt.nav-label { display: none; }

  #primary-nav dd a {
    border-bottom: none;
    padding: 0 0.75rem;
    font-size: 0.85rem;
    height: 42px;
    border-bottom: 3px solid transparent;
  }
  #primary-nav dd a:hover { border-bottom-color: #E63946; color: #F5F5F0; }
}

/* --- Hero (Home) --- */
.hero {
  background: #1A1A2E;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 769px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 4rem 2rem 1rem;
  }
}

.hero-text { order: -1; }

.hero-text h1 {
  color: #F5F5F0;
  margin-bottom: 0.75rem;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.hero-slant {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #F5F5F0;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* --- Article banner --- */
.article-banner {
  background: #1A1A2E;
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
}

.article-banner-text {
  max-width: 780px;
  margin: 0 auto;
}

.article-banner-text h1 {
  color: #F5F5F0;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
}

.article-hero-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 1.25rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Inner banner (about/privacy/contact/faq) --- */
.inner-banner {
  background: #1A1A2E;
  padding: 2.5rem 1.5rem 2rem;
}

.inner-banner-text {
  max-width: 860px;
  margin: 0 auto;
}

.inner-banner-text h1 {
  color: #F5F5F0;
  margin-top: 0.3rem;
}

.inner-banner--faq { border-left: 6px solid #E63946; }

/* --- Byline --- */
.byline {
  font-size: 0.82rem;
  color: rgba(245,245,240,.65);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}

.byline time { font-style: normal; }

/* --- Stage label --- */
.stage-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}
.stage-awareness { background: #2d6a4f; color: #fff; }
.stage-consideration { background: #e9c46a; color: #1A1A2E; }
.stage-decision { background: #E63946; color: #fff; }

/* --- Main layout with aside --- */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.content-section { position: relative; }

.layout-with-aside {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Aside LEFT of content */
.sidebar {
  position: sticky;
  top: 80px;
  background: #fff;
  border-radius: 4px;
  border-bottom: 4px solid #E63946;
  padding: 1.25rem 1rem;
  min-width: 0;
}

.sidebar-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1A1A2E;
}

.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links li { margin-bottom: 0.1rem; }

.sidebar-links a {
  display: block;
  font-size: 0.85rem;
  color: #1A1A2E;
  text-decoration: none;
  padding: 0.45rem 0.5rem;
  border-radius: 3px;
  min-height: 44px;
  display: flex;
  align-items: center;
  line-height: 1.3;
}
.sidebar-links a:hover { background: #F5F5F0; color: #E63946; }

/* Content figure */
.content-figure {
  min-width: 0;
  background: #fff;
  border-radius: 4px;
  border-bottom: 4px solid #E63946;
  padding: 2rem 2rem 1.5rem;
}

/* Mobile: stack aside below content (aside goes above) */
@media (max-width: 768px) {
  .layout-with-aside {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* On mobile, sidebar appears after the content (as a supplemental block) */
  .sidebar {
    position: static;
    order: 2;
  }
  .content-figure {
    order: 1;
    padding: 1.25rem 1rem;
  }
}

/* --- Prose (body content) --- */
.prose {
  font-size: 1rem;
  line-height: 1.7;
  color: #1A1A2E;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #E63946;
}

.prose h3 { margin-top: 1.5rem; margin-bottom: 0.4rem; }

.prose p { margin-bottom: 1rem; }

.prose ul, .prose ol {
  margin: 0.75rem 0 1rem 1.5rem;
}

.prose li { margin-bottom: 0.35rem; }

.prose a {
  color: #E63946;
  text-decoration: underline;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.prose th {
  background: #1A1A2E;
  color: #F5F5F0;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.prose td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #e0e0d8;
}

.prose tr:nth-child(even) td { background: #f9f9f4; }

.prose blockquote {
  border-left: 4px solid #E63946;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  background: #f9f9f4;
  font-style: italic;
}

/* --- Child page list (home) --- */
.child-list-section {
  margin-top: 2.5rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid #e0e0d8;
}

.child-list-section small { margin-bottom: 0.3rem; }
.child-list-section h2 { margin-bottom: 1.25rem; }

.child-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 600px) {
  .child-dl { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
}

.child-dl dt {
  margin-top: 1rem;
}

.child-dl dt a {
  display: block;
  font-weight: 700;
  font-size: 0.97rem;
  color: #1A1A2E;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid #E63946;
  min-height: 44px;
  display: flex;
  align-items: center;
  line-height: 1.3;
}
.child-dl dt a:hover { color: #E63946; background: #f5f5f0; }

.child-dl dd {
  font-size: 0.87rem;
  color: #555;
  padding: 0.35rem 0.75rem 0.75rem;
  border-left: 3px solid #e0e0d8;
}

/* --- Author article --- */
.author-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #F5F5F0;
  border-radius: 4px;
  border-bottom: 4px solid #E63946;
}

.author-section h2 { margin-bottom: 0.3rem; }
.author-credentials {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #E63946;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.author-bio { font-size: 0.95rem; line-height: 1.65; }

/* --- FAQ content --- */
.faq-content details {
  border-bottom: 1px solid #e0e0d8;
  padding: 0.75rem 0;
}

.faq-content summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.35rem 0;
  list-style: none;
}

.faq-content summary::marker,
.faq-content summary::-webkit-details-marker { display: none; }

.faq-content summary::before {
  content: '+';
  color: #E63946;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin-right: 0.5rem;
}

.faq-content details[open] summary::before { content: '–'; }

/* --- Footer --- */
.site-footer {
  background: #1A1A2E;
  color: #F5F5F0;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(245,245,240,.8);
}

.footer-address strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #F5F5F0;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-address a {
  color: #E63946;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-address a:hover { text-decoration: underline; }

/* Footer nav (dl structure per contract) */
.footer-nav dl { list-style: none; }

.footer-nav dt.nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,245,240,.4);
  margin-bottom: 0.5rem;
}

.footer-nav dd { margin: 0; }

.footer-nav dd a {
  display: flex;
  align-items: center;
  color: rgba(245,245,240,.75);
  text-decoration: none;
  font-size: 0.87rem;
  padding: 0.35rem 0;
  min-height: 44px;
  border-bottom: 1px solid rgba(245,245,240,.05);
}
.footer-nav dd a:hover { color: #E63946; }

/* Footer links (ul) */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin: 0; }

.footer-links li a {
  display: flex;
  align-items: center;
  color: rgba(245,245,240,.75);
  text-decoration: none;
  font-size: 0.87rem;
  padding: 0.35rem 0;
  min-height: 44px;
}
.footer-links li a:hover { color: #E63946; }

/* Footer RG bar */
.footer-rg {
  background: rgba(0,0,0,.3);
  padding: 1rem 1.5rem;
  text-align: center;
}

.responsible-gambling {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(245,245,240,.55);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(245,245,240,.35);
}

/* --- Utility --- */
img { max-width: 100%; height: auto; display: block; }

/* No horizontal scroll at 375px */
@media (max-width: 375px) {
  body { overflow-x: hidden; }
  main { padding: 1.25rem 0.85rem 2rem; }
  .header-inner { padding: 0 0.75rem; }
  .content-figure { padding: 1rem 0.75rem; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}.tbl-scroll{overflow-x:auto;max-width:100%}