/* ============================================================
   CSS CUSTOM PROPERTIES — charcoal / sunrise palette
   ============================================================ */
:root {
  --base:    #22242B;
  --deep:    #141519;
  --accent:  #FF9F1C;
  --accent2: #2EC4B6;
  --surface: #F5F5F3;
  --ink:     #1A1B20;
  --muted:   #63666F;

  --radius:  0px;
  --max-w:   1120px;

  --font-head: 'Trebuchet MS', 'Segoe UI', Tahoma, sans-serif;
  --font-body: Verdana, Geneva, 'DejaVu Sans', sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--accent2);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

ul, ol {
  padding-left: 0;
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  font-size: 2.0rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

em {
  font-style: italic;
}

strong {
  font-weight: 700;
}

/* ============================================================
   LAYOUT — CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.content-wrap {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--base);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
}

/* ---- LOGO WORDMARK ---- */
.logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  user-select: none;
}

.logo-f {
  color: var(--surface);
}

.logo-8 {
  color: var(--accent);
  font-size: 2.25rem;
}

.logo-bet {
  color: var(--accent2);
  text-transform: lowercase;
}

/* ---- MAIN NAV ---- */
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: var(--surface);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: var(--accent);
  color: var(--deep);
  text-decoration: none;
}

.main-nav a:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 2px;
}

/* ============================================================
   BONUS BANNER
   ============================================================ */
.bonus-banner {
  background: var(--deep);
  background-image:
    linear-gradient(135deg, var(--deep) 0%, #2a1a00 60%, var(--deep) 100%);
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  text-align: center;
  padding: 2.5rem 1rem;
}

.banner-eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent2);
  margin-bottom: 0.5rem;
}

.banner-headline {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--surface);
  margin-top: 0;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.accent-text {
  color: var(--accent);
}

.banner-fine {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* ============================================================
   BUTTONS — gradient accent fill with inner highlight
   ============================================================ */
.btn-cta {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep);
  background: linear-gradient(
    180deg,
    #ffbd5c 0%,
    var(--accent) 40%,
    #e08800 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 4px 12px rgba(255, 159, 28, 0.45);
  border: none;
  border-radius: var(--radius);
  padding: 0.85rem 2rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: filter 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-cta:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 6px 18px rgba(255, 159, 28, 0.6);
  transform: translateY(-1px);
}

.btn-cta:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 3px;
}

.btn-cta:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

/* ============================================================
   STEPS LIST
   ============================================================ */
.steps-list {
  list-style: none;
  counter-reset: steps;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(99,102,111,0.2);
}

.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: var(--radius);
  margin-top: 0.1rem;
}

.steps-list li:last-child {
  border-bottom: none;
}

/* ============================================================
   TABLES — boxed, full border grid, tinted header
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--muted);
}

.data-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
}

.data-table thead tr {
  background: var(--base);
  color: var(--surface);
}

.data-table thead th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.65rem 0.85rem;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

.data-table tbody tr {
  transition: background 0.15s;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(46, 196, 182, 0.06);
}

.data-table tbody tr:hover {
  background: rgba(255, 159, 28, 0.08);
}

.data-table td {
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(99,102,111,0.25);
  vertical-align: top;
  color: var(--ink);
}

/* ============================================================
   CARD GRID — surface-filled, thick accent top bar
   ============================================================ */
.card-section {
  margin: 2rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  border-top: 5px solid var(--accent);
  box-shadow: 0 2px 10px rgba(26,27,32,0.08);
  padding: 1.5rem 1.25rem 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 6px 20px rgba(26,27,32,0.14);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-family: var(--font-head);
  color: var(--base);
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  border-bottom: 2px solid var(--accent2);
  padding-bottom: 0.35rem;
  display: inline-block;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0;
}

/* ============================================================
   FAQ ACCORDION — CSS-only hidden-checkbox technique
   ============================================================ */
.faq-section {
  margin: 2rem 0;
}

.faq-list {
  margin-top: 1.25rem;
  border-top: 2px solid var(--accent);
}

.faq-item {
  border-bottom: 1px solid rgba(99,102,111,0.3);
}

/* Hide the checkbox */
.faq-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Question label — always visible */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--base);
  background: #fff;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}

.faq-question:hover {
  background: rgba(255,159,28,0.06);
  color: var(--accent);
}

/* Focus-visible on label via sibling checkbox */
.faq-toggle:focus-visible + .faq-question {
  outline: 3px solid var(--accent2);
  outline-offset: -3px;
}

/* ---- Plus / Minus icon — pure CSS ---- */
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  background: transparent;
  border-radius: var(--radius);
  transition: background 0.2s;
}

/* Horizontal bar (always present) */
.faq-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 3px;
  right: 3px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: background 0.2s;
}

/* Vertical bar (the "plus" extra arm) */
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: opacity 0.2s, background 0.2s;
}

/* When checked → minus: hide vertical bar, fill icon */
.faq-toggle:checked + .faq-question .faq-icon {
  background: var(--accent);
}

.faq-toggle:checked + .faq-question .faq-icon::before {
  background: var(--deep);
}

.faq-toggle:checked + .faq-question .faq-icon::after {
  opacity: 0;
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  background: var(--surface);
}

.faq-answer p {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  color: var(--ink);
}

/* Open state */
.faq-toggle:checked ~ .faq-answer {
  max-height: 600px;
}

.faq-toggle:checked ~ .faq-answer p {
  padding-top: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  border-top: 4px solid var(--accent);
  padding: 2.5rem 0 0;
  color: var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.logo-wordmark--footer .logo-f {
  color: var(--surface);
}

.logo-wordmark--footer .logo-8 {
  color: var(--accent);
}

.logo-wordmark--footer .logo-bet {
  color: var(--accent2);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: rgba(245,245,243,0.75);
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-links a:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: var(--radius);
  margin-bottom: 0 !important;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(99,102,111,0.3);
  padding: 1rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   BREAKPOINT: 640px
   ============================================================ */
@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .banner-headline {
    font-size: 2rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-disclaimer {
    grid-column: 1 / -1;
  }

  h2 {
    font-size: 1.65rem;
  }
}

/* ============================================================
   BREAKPOINT: 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-wordmark {
    font-size: 2.4rem;
  }

  .logo-8 {
    font-size: 2.7rem;
  }

  .main-nav a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .banner-headline {
    font-size: 2.4rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr 2fr;
    align-items: start;
  }

  .footer-disclaimer {
    grid-column: auto;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .content-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}