/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #241B4B;
  --deep:    #150F2E;
  --accent:  #F5D547;
  --accent2: #7B6CF6;
  --surface: #F5F4FA;
  --ink:     #181233;
  --muted:   #615A83;

  --radius:  14px;
  --max-w:   1040px;
  --font-heading: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body:    system-ui, -apple-system, 'Segoe UI', Roboto, Arial, 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;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
}

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

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

a:hover {
  color: var(--base);
}

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

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

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem;  margin-bottom: 0.75rem; margin-top: 2rem; }
h3 { font-size: 1.2rem;  margin-bottom: 0.5rem;  margin-top: 1.5rem; }

p { margin-bottom: 1rem; }

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--base);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 12px rgba(21,15,46,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

/* Logo wordmark */
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--surface);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.1em 0.3em;
  border-radius: 6px;
  background: transparent;
  transition: background 0.2s;
}

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

.logo:hover {
  background: rgba(245,213,71,0.12);
  color: var(--surface);
}

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

/* Nav */
.site-nav ul,
.site-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  color: rgba(245,244,250,0.85);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--accent);
  color: var(--deep);
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(245,213,71,0.35);
  letter-spacing: 0.01em;
}

.btn:hover {
  background: #ffe033;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,213,71,0.5);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(245,213,71,0.3);
}

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

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

.bonus-banner .eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 0.6rem;
}

.bonus-banner .offer-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.bonus-banner .fine-print {
  font-size: 0.78rem;
  color: rgba(245,244,250,0.6);
  margin-top: 0.75rem;
}

/* Mid-page banner */
.bonus-banner-mid {
  background: linear-gradient(135deg, var(--base) 0%, #3a2b72 100%);
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  border: 2px solid var(--accent2);
}

.bonus-banner-mid .offer-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.bonus-banner-mid .fine-print {
  font-size: 0.78rem;
  color: rgba(245,244,250,0.6);
  margin-top: 0.7rem;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  padding: 2rem 0 3rem;
}

.section {
  margin-bottom: 2.5rem;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  border: 1px solid var(--muted);
}

table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

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

table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  white-space: nowrap;
  border: none;
}

table tbody tr:nth-child(odd) {
  background: #fff;
}

table tbody tr:nth-child(even) {
  background: var(--surface);
}

table tbody tr:hover {
  background: rgba(123,108,246,0.08);
}

table tbody td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(97,90,131,0.15);
  color: var(--ink);
  vertical-align: top;
}

table tbody tr:last-child td {
  border-bottom: none;
}

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

.card {
  background: #fff;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--accent2);
}

.card h3 {
  color: var(--accent2);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

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

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.97rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent2);
  flex-shrink: 0;
}

.checklist li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.52em;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ============================================================
   FAQ ACCORDION (CSS-only, hidden-checkbox technique)
   ============================================================ */
.faq-list {
  margin-top: 0.75rem;
}

.faq-item {
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}

/* Hide the checkbox */
.faq-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.faq-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--base);
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  background: #fff;
}

.faq-label:hover {
  background: var(--surface);
  color: var(--accent2);
}

/* Plus / Minus sign drawn in CSS */
.faq-label::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  border-radius: 50%;
  background: var(--accent2);
  /* plus sign via box-shadow trick on pseudo */
}

/* We use a nested pseudo approach via the label itself */
.faq-label::after {
  background: var(--accent2);
  /* horizontal bar always */
  box-shadow:
    inset 0 -1px 0 0 transparent; /* just the circle */
}

/* Draw plus with background-image gradients */
.faq-label::after {
  background-color: var(--accent2);
  background-image:
    linear-gradient(var(--surface), var(--surface)),
    linear-gradient(var(--surface), var(--surface));
  background-repeat: no-repeat;
  background-size: 10px 2px, 2px 10px;
  background-position: center center, center center;
}

/* When checked → minus */
.faq-item input[type="checkbox"]:checked ~ .faq-label::after {
  background-color: var(--base);
  background-image:
    linear-gradient(var(--accent), var(--accent)),
    linear-gradient(transparent, transparent);
  background-size: 10px 2px, 2px 0px;
  background-position: center center, center center;
}

.faq-item input[type="checkbox"]:checked ~ .faq-label {
  background: var(--surface);
  color: var(--base);
  border-bottom: 2px solid var(--muted);
}

/* Focus ring on the label when checkbox is focused */
.faq-item input[type="checkbox"]:focus-visible ~ .faq-label {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* Body */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 1.1rem;
  background: #fff;
}

.faq-body p {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.faq-item input[type="checkbox"]:checked ~ .faq-body {
  max-height: 600px;
  padding: 1rem 1.1rem;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  color: rgba(245,244,250,0.75);
  border-top: 3px solid var(--base);
  padding: 2rem 1rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}

.footer-nav a {
  color: rgba(245,244,250,0.75);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.footer-disclaimer p {
  font-size: 0.8rem;
  color: rgba(245,244,250,0.5);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* ============================================================
   STRONG / EM
   ============================================================ */
strong {
  color: var(--base);
  font-weight: 700;
}

em {
  color: var(--muted);
}

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

  .bonus-banner .offer-title {
    font-size: 2rem;
  }

  .bonus-banner-mid .offer-title {
    font-size: 1.6rem;
  }

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

  .header-inner {
    padding: 0.75rem 1.5rem;
  }

  .site-nav a {
    font-size: 0.88rem;
    padding: 0.4rem 0.75rem;
  }

  table {
    min-width: 0;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 1rem 2rem;
    align-items: start;
  }

  .footer-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-disclaimer {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid rgba(97,90,131,0.3);
    padding-top: 1rem;
  }
}

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

  .header-inner {
    padding: 0.85rem 2rem;
  }

  .site-nav a {
    font-size: 0.92rem;
    padding: 0.45rem 0.9rem;
  }

  .bonus-banner {
    padding: 3.5rem 2rem 2.5rem;
  }

  .bonus-banner .offer-title {
    font-size: 2.4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .bonus-banner-mid {
    padding: 2.5rem 2rem 2rem;
  }

  .bonus-banner-mid .offer-title {
    font-size: 1.8rem;
  }

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

  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.3rem; }

  .main-content {
    padding: 2.5rem 0 4rem;
  }

  .section {
    margin-bottom: 3rem;
  }

  .faq-label {
    font-size: 1.05rem;
    padding: 1.1rem 1.25rem;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    padding: 0 1rem;
  }
}

/* ============================================================
   UTILITY: visually-hidden (for accessibility, future use)
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}