/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #2B1237;
  --deep:    #1A0A22;
  --accent:  #B9E24B;
  --accent2: #8B5CF0;
  --surface: #F6F2F8;
  --ink:     #1E1224;
  --muted:   #6B5C74;

  --radius:  8px;
  --max-w:   1040px;

  --ff-head: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ff-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--surface);
}

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

a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  line-height: 1.25;
  color: var(--base);
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--base);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

ul {
  list-style: none;
}

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

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-pad {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-alt {
  background-color: #EDE7F2;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
}

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

/* Solid accent (CTA) */
.btn-accent {
  background-color: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: #cff05d;
  border-color: #cff05d;
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(185, 226, 75, 0.45);
  text-decoration: none;
}

.btn-accent:active {
  transform: translateY(0);
}

/* Outlined (header CTA) */
.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Large variant */
.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--base);
  border-bottom: 3px solid var(--accent2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Logo wordmark */
.logo {
  flex-shrink: 0;
  font-family: var(--ff-head);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}

.logo-ku {
  color: var(--accent);
}

.logo-bet {
  color: #ffffff;
}

.logo:hover .logo-ku,
.logo:hover .logo-bet {
  opacity: 0.85;
}

.logo:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Main nav — hidden on mobile, shown at 640px+ */
.main-nav {
  display: none;
  flex: 1;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--accent);
  background-color: rgba(255,255,255,0.08);
  text-decoration: none;
}

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

/* Header CTA button pushed to the right */
.header-inner .btn-outline {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* ============================================================
   LOGO IN FOOTER
   ============================================================ */
.logo-footer {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* ============================================================
   BONUS BANNER
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, #3D1855 50%, var(--base) 100%);
  padding: 3rem 0;
  text-align: center;
}

.bonus-banner--secondary {
  background: linear-gradient(135deg, #3D1855 0%, var(--deep) 60%, #230E35 100%);
}

.banner-inner {
  display: inline-block;
  width: 100%;
  max-width: 640px;
  border: 2px solid var(--accent2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  background-color: rgba(255,255,255,0.04);
  backdrop-filter: blur(2px);
}

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

.banner-headline {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

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

.banner-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro h1 {
  color: var(--base);
}

.lead {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--muted);
  box-shadow: 0 2px 8px rgba(43,18,55,0.08);
}

.info-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background-color: #ffffff;
}

.info-table thead tr {
  background-color: var(--base);
  color: #ffffff;
}

.info-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
}

.info-table tbody tr {
  border-bottom: 1px solid #e0d6ea;
  transition: background-color 0.15s;
}

.info-table tbody tr:nth-child(even) {
  background-color: #faf7fd;
}

.info-table tbody tr:hover {
  background-color: #f0e8f8;
}

.info-table tbody td {
  padding: 0.65rem 1rem;
  border: 1px solid #e0d6ea;
  color: var(--ink);
  vertical-align: top;
}

.info-table tbody td:first-child {
  font-weight: 600;
  color: var(--base);
  white-space: nowrap;
}

/* ============================================================
   FAQ ACCORDION (CSS-only via details/summary)
   ============================================================ */
.faq-section {
  background-color: var(--surface);
}

.faq-item {
  border: 1px solid #d8cce4;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background-color: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: 0 4px 16px rgba(43,18,55,0.12);
  border-color: var(--accent2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--ff-head);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--base);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.2s;
}

/* Remove default marker in Firefox */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
}

.faq-item[open] .faq-question {
  background-color: #f3ecfa;
  border-bottom: 1px solid #d8cce4;
}

.faq-question:hover {
  background-color: #f3ecfa;
}

.faq-question:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* Rotating chevron drawn purely in CSS */
.faq-chevron {
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 2.5px;
  background-color: var(--accent2);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-chevron::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg) translateX(2px);
}

.faq-chevron::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg) translateX(-2px);
}

/* Rotate chevron when open — pointing up */
.faq-item[open] .faq-chevron::before {
  transform: translateY(-50%) rotate(-45deg) translateX(2px);
}

.faq-item[open] .faq-chevron::after {
  transform: translateY(-50%) rotate(45deg) translateX(-2px);
}

.faq-answer {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.925rem;
  color: var(--ink);
  line-height: 1.7;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   CARDS — two-column card grid
   ============================================================ */
.cards-section {
  background-color: var(--surface);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(43,18,55,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(43,18,55,0.16);
}

/* Thick accent bar along the top edge */
.card-top-bar {
  height: 6px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
}

.card-body h3 {
  font-size: 1.1rem;
  color: var(--base);
  margin-bottom: 0.6rem;
}

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

/* ============================================================
   CTA CENTRED BLOCK
   ============================================================ */
.cta-center {
  text-align: center;
  margin-top: 2rem;
}

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

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--deep);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0;
  font-size: 0.875rem;
  line-height: 1.65;
}

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

.footer-brand .footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-legal p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.footer-legal strong {
  color: rgba(255,255,255,0.8);
}

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

  .main-nav {
    display: flex;
  }

  .header-inner .btn-outline {
    margin-left: 0;
  }

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

  .banner-inner {
    padding: 2.5rem 2rem;
  }

  .section-pad {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

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

  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand nav"
      "legal legal";
    gap: 1.5rem 2.5rem;
    align-items: start;
  }

  .footer-brand {
    grid-area: brand;
  }

  .footer-nav {
    grid-area: nav;
    justify-self: end;
  }

  .footer-legal {
    grid-area: legal;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.25rem;
  }
}

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

  .header-inner {
    gap: 1.5rem;
  }

  .main-nav a {
    font-size: 0.95rem;
    padding: 0.45rem 0.8rem;
  }

  .header-inner .btn-outline {
    font-size: 0.9rem;
    padding: 0.55rem 1.25rem;
  }

  .section-pad {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

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

  .banner-inner {
    padding: 3rem 2.5rem;
  }

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

  .footer-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand nav"
      "legal legal";
    gap: 2rem 3rem;
  }

  .footer-nav ul {
    gap: 0.4rem 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}