/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #12203F;
  --deep:    #0A1428;
  --accent:  #FF6B4A;
  --accent2: #4EA8DE;
  --surface: #F4F6FA;
  --ink:     #101A2E;
  --muted:   #5C6880;

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

  --font-head: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-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 {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

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

ul { list-style: none; }

a {
  color: var(--accent2);
  text-decoration: underline;
}
a:hover { color: var(--accent); }
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

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

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.65rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.2rem;  margin-bottom: 0.65rem; }

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

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

strong { font-weight: 700; }

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

.section-gap {
  padding-block: 3rem;
}

.section-band {
  background-color: #e8edf5;
  padding-block: 3rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background-color: var(--base);
  padding-block: 0;
}

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

/* Logo wordmark */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  cursor: default;
  user-select: none;
}

.logo-mark {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #ff9474 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent2);
  -webkit-text-fill-color: var(--accent2);
  background: none;
}

.logo--footer .logo-mark,
.logo--footer .logo-num {
  font-size: 1.5rem;
}

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

.main-nav ul li a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav ul li a:hover {
  background-color: rgba(255,255,255,0.12);
  color: #ffffff;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.7rem 1.75rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,74,0.35);
  letter-spacing: 0.01em;
}

.btn-cta:hover {
  background-color: #e85535;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,107,74,0.45);
}

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

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

.btn-cta--large {
  font-size: 1.15rem;
  padding: 0.9rem 2.25rem;
}

/* ============================================================
   BONUS BANNERS
   ============================================================ */
.bonus-banner {
  background: linear-gradient(120deg, var(--deep) 0%, var(--base) 60%, #1a3060 100%);
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  padding-block: 2.5rem;
}

.bonus-banner--mid {
  border-top-color: var(--accent2);
  border-bottom-color: var(--accent2);
  background: linear-gradient(120deg, var(--deep) 0%, #162b50 60%, var(--base) 100%);
}

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

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

.banner-headline {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.banner-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

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

.banner-terms {
  background-color: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}

.banner-terms ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.banner-terms ul li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  padding-left: 1.1rem;
  position: relative;
}

.banner-terms ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}

.banner-terms ul li strong {
  color: #ffffff;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section {
  padding-block: 3rem;
}

.intro-section h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--base);
}

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

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

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

.data-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
}

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

.data-table tbody tr {
  border-bottom: 1px solid #d8dde8;
}

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

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

.data-table tbody tr:hover {
  background-color: #e2e8f4;
}

.data-table tbody td {
  padding: 0.65rem 1rem;
  border-right: 1px solid #d8dde8;
  vertical-align: middle;
}

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

/* ============================================================
   CARDS (two-column grid with circled numeral)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 4px 20px rgba(18,32,63,0.10);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 28px rgba(18,32,63,0.16);
  transform: translateY(-3px);
}

.card-numeral {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--base);
  color: var(--accent2);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.05rem;
  color: var(--base);
  margin-bottom: 0.75rem;
  padding-right: 3rem;
}

.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;
}

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

.faq-item[open] {
  box-shadow: 0 4px 18px rgba(18,32,63,0.10);
  border-color: var(--accent2);
}

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

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

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

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

/* Rotating chevron drawn in CSS */
.faq-chevron {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  bottom: 50%;
  width: 0.55rem;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s;
}

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

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

details[open] .faq-chevron::before {
  transform: rotate(-45deg);
}

details[open] .faq-chevron::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.7;
  border-top: 1px solid #e2e7f0;
}

.faq-answer p {
  margin-top: 0.85rem;
}

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

.cta-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--deep);
  color: rgba(255,255,255,0.75);
  padding-block: 2.5rem;
  margin-top: 0;
}

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

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

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

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.25rem;
}

.footer-disclaimer p + p {
  margin-top: 0.6rem;
}

.footer-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.footer-meta p + p {
  margin-top: 0.25rem;
}

/* ============================================================
   SECTION HEADINGS IN BANDS
   ============================================================ */
.section-band h2 {
  color: var(--base);
  margin-bottom: 1.25rem;
}

.section-band h3 {
  color: var(--base);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.section-band h3:first-of-type {
  margin-top: 1.25rem;
}

.section-band p {
  color: var(--ink);
}

.container h3 {
  margin-top: 1.75rem;
  color: var(--base);
}

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

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .main-nav ul {
    justify-content: flex-end;
  }

  .banner-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .banner-text { flex: 1; }
  .banner-terms { flex: 0 0 320px; }

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

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-disclaimer { grid-column: 2; grid-row: 1 / 3; border-top: none; border-bottom: none; padding-block: 0; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 2rem; }
  .footer-meta { grid-column: 1; grid-row: 2; }
}

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

  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }

  .section-gap { padding-block: 4rem; }
  .section-band { padding-block: 4rem; }

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

  .banner-headline { font-size: 2rem; }
  .banner-terms { flex: 0 0 380px; }

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

  .card-grid { gap: 2rem; }

  .card { padding: 2rem 1.75rem 1.75rem; }

  .card h3 { font-size: 1.1rem; }

  .faq-question { font-size: 1rem; padding: 1.1rem 1.5rem; }
  .faq-answer { padding: 0 1.5rem 1.5rem; }

  .footer-inner {
    grid-template-columns: 220px 1fr 200px;
    grid-template-rows: 1fr;
  }

  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-disclaimer { grid-column: 2; grid-row: 1; }
  .footer-meta { grid-column: 3; grid-row: 1; text-align: right; padding-left: 0; border-left: none; }
}