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

  --radius:  14px;
  --max-w:   1120px;
  --font-head: 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 {
  font-size: 18px;
  scroll-behavior: smooth;
}

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

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

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

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

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

ul {
  list-style: none;
}

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

h1 {
  font-size: 2.25rem;
  color: var(--base);
}

h2 {
  font-size: 1.65rem;
  margin-top: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

strong {
  font-weight: 700;
}

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

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

.section-alt {
  background: #EDEAF7;
}

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

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

/* ---- LOGO WORDMARK ---- */
.logo {
  display: inline-flex;
  align-items: baseline;
  padding: 1rem 0 0.5rem;
  text-decoration: none;
  cursor: default;
  user-select: none;
  letter-spacing: -0.02em;
}

.logo-rr {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--surface);
  text-transform: lowercase;
}

.logo-88 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: lowercase;
  position: relative;
}

.logo-88::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent2);
  border-radius: 2px;
}

/* ---- NAV ---- */
.main-nav {
  width: 100%;
  background: var(--deep);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.main-nav ul li a {
  display: block;
  padding: 0.65rem 0.9rem;
  color: var(--surface);
  text-decoration: none;
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}

.main-nav ul li a:hover {
  color: var(--accent);
  background: rgba(245, 213, 71, 0.08);
  border-bottom-color: var(--accent);
}

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

/* ============================================================
   BONUS BANNERS
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, var(--base) 50%, #3A2A7A 100%);
  padding-block: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(123,108,246,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(245,213,71,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.bonus-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.banner-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0;
}

.offer-box {
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  background: rgba(245, 213, 71, 0.06);
  max-width: 600px;
  width: 100%;
}

.offer-headline {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--surface);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.offer-headline strong {
  color: var(--accent);
}

.offer-sub {
  font-size: 0.88rem;
  color: rgba(245, 244, 250, 0.75);
  margin-bottom: 0;
}

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

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

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

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

/* ============================================================
   INTRO SECTION – HIGHLIGHT GRID
   ============================================================ */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.highlight-item {
  background: var(--base);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.hi-icon {
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}

.hi-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 244, 250, 0.65);
}

.hi-value {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

/* ============================================================
   REGISTRATION STEPS
   ============================================================ */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(97, 90, 131, 0.2);
  box-shadow: 0 2px 8px rgba(36, 27, 75, 0.06);
}

.step-num {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--base);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(245, 213, 71, 0.3);
}

.step-body h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--base);
}

.step-body p {
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 0;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(36, 27, 75, 0.1);
  margin-block: 1.5rem;
}

.review-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.review-table thead tr {
  background: var(--base);
}

.review-table thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border-right: 1px solid rgba(245, 213, 71, 0.15);
  white-space: nowrap;
}

.review-table thead th:last-child {
  border-right: none;
}

.review-table tbody tr {
  border-bottom: 1px solid rgba(97, 90, 131, 0.2);
  transition: background 0.15s;
}

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

.review-table tbody tr:hover {
  background: rgba(123, 108, 246, 0.06);
}

.review-table tbody td {
  padding: 0.8rem 1rem;
  border-right: 1px solid rgba(97, 90, 131, 0.15);
  color: var(--ink);
  vertical-align: top;
}

.review-table tbody td:last-child {
  border-right: none;
}

/* outer border */
.table-scroll {
  border: 1px solid rgba(97, 90, 131, 0.25);
}

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

.fact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(97, 90, 131, 0.2);
  box-shadow: 0 2px 12px rgba(36, 27, 75, 0.08);
  position: relative;
  overflow: hidden;
}

.fact-card::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

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

.fact-card p {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.65;
}

/* ============================================================
   FAQ ACCORDION (CSS-only via <details>/<summary>)
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(97, 90, 131, 0.25);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(36, 27, 75, 0.05);
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: 0 4px 18px rgba(36, 27, 75, 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(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--base);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s, color 0.15s;
  background: transparent;
}

/* remove default marker in all browsers */
.faq-question::-webkit-details-marker {
  display: none;
}

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

.faq-item[open] .faq-question {
  background: var(--base);
  color: var(--accent);
}

.faq-question:hover {
  background: rgba(36, 27, 75, 0.05);
}

.faq-item[open] .faq-question:hover {
  background: var(--base);
}

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

/* CSS-only rotating chevron */
.faq-chevron {
  flex-shrink: 0;
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  transition: transform 0.25s ease;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: background 0.15s;
}

.faq-chevron::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

.faq-chevron::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: left center;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item[open] .faq-chevron::before,
.faq-item[open] .faq-chevron::after {
  background: var(--accent);
}

.faq-answer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(97, 90, 131, 0.15);
  background: #FAF9FF;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

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

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

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  user-select: none;
}

.footer-logo .logo-rr {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--surface);
}

.footer-logo .logo-88 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
}

.footer-logo .logo-88::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent2);
  border-radius: 2px;
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(245, 244, 250, 0.5);
  max-width: 720px;
  margin-bottom: 0;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(245, 244, 250, 0.4);
  margin-bottom: 0;
}

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

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .highlight-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .offer-headline {
    font-size: 1.55rem;
  }

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

  .main-nav ul li a {
    padding: 0.75rem 1.1rem;
    font-size: 0.9rem;
  }

  .step-item {
    padding: 1.5rem;
  }

  .step-num {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
  }
}

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

  html {
    font-size: 18px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .section-pad {
    padding-block: 4rem;
  }

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

  .main-nav ul li a {
    font-size: 0.92rem;
    padding: 0.8rem 1.3rem;
  }

  .bonus-banner {
    padding-block: 3.5rem;
  }

  .offer-headline {
    font-size: 1.7rem;
  }

  .highlight-item {
    padding: 1.5rem 1.25rem;
  }

  .hi-value {
    font-size: 1.25rem;
  }

  .fact-card {
    padding: 1.75rem;
  }

  .fact-card p {
    font-size: 0.95rem;
  }

  .faq-question {
    font-size: 1.05rem;
    padding: 1.1rem 1.5rem;
  }

  .faq-answer {
    padding: 1.1rem 1.5rem 1.5rem;
  }

  .step-item {
    gap: 1.5rem;
  }
}

/* ============================================================
   MISC REFINEMENTS
   ============================================================ */

/* Ensure steps in alt section have correct bg */
.section-alt .step-item {
  background: var(--surface);
}

/* Section alt headings */
.section-alt h2,
.section-alt h3 {
  color: var(--base);
}

/* Table inside section-alt */
.section-alt .table-scroll {
  background: var(--surface);
}

/* Smooth detail animation hint via max-height workaround is not needed –
   native <details> open/close is instant; the chevron rotation provides feedback */

/* Ensure banner-mid has enough breathing room */
.banner-mid {
  padding-block: 3rem;
}