/* ============================================================
   CELU APUESTAS — GLOBAL DESIGN SYSTEM
   styles.css: reset · variables · typography · layout · components
   ============================================================ */

/* ----------------------------------------------------------
   0. GOOGLE FONTS IMPORT
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Oswald:wght@500;600;700&display=swap');

/* ----------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (TOKEN DISCIPLINE)
   ---------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg:           #f4f1ec;   /* light sand field */
  --bg-elevated:  #ffffff;   /* elevated card surface */
  --border:       #ddd5c8;   /* warm border tone */

  /* Text */
  --text:         #1c2430;   /* primary dark text */
  --muted:        #5c6678;   /* secondary muted text */
  --text-dark:    #111111;   /* forced dark text for light surfaces */
  --text-light:   #f0f0f0;   /* forced light text for dark surfaces */

  /* Brand */
  --accent:       #ff4d2e;   /* coral CTA accent */
  --accent-strong:#d93a1a;   /* pressed/hover accent */
  --accent-h:     12;        /* hsl hue for accent */
  --gold:         #f0b429;   /* gold stat highlight */
  --gold-h:       42;        /* hsl hue for gold */
  --pitch:        #141c28;   /* dark pitch panel */

  /* Links */
  --link:             #0b6e4f;  /* default link green */
  --link-hover:       #085a40;  /* link hover darker */
  --link-on-dark:     #7ee0b8;  /* link on dark bg */
  --link-on-dark-hover:#a8f0d0; /* link on dark hover */
  --on-accent:        #ffffff;  /* text on accent bg */
  --on-pitch-muted:   #8a97ab;  /* muted text on pitch */

  /* Typography */
  --font:         'Barlow', system-ui, sans-serif;
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-meta:    'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --radius:  6px;
  --max:     1120px;
  --shadow:  0 8px 24px rgba(20, 28, 40, 0.08);
}

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

html {
  scroll-behavior: smooth; /* smooth anchor scrolling */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark); /* default: dark text on light bg */
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s ease; } /* lazy-load fade */
img.loaded { opacity: 1; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--link-hover); }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ----------------------------------------------------------
   3. TYPOGRAPHY SCALE
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: inherit; /* inherits from section context */
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

.lead { font-size: 1.125rem; font-weight: 500; line-height: 1.5; } /* lead paragraph */
.meta { font-family: var(--font-meta); font-size: 0.75rem; letter-spacing: 0.06em; } /* monospace meta label */
.muted { color: var(--muted); } /* muted text utility */
.text-accent { color: var(--accent); } /* accent colored text */
.text-gold { color: var(--gold); } /* gold colored text */
.text-upper { text-transform: uppercase; letter-spacing: 0.08em; } /* uppercase label */
.text-center { text-align: center; }
.text-small { font-size: 0.875rem; }
.font-display { font-family: var(--font-display); }
.font-meta { font-family: var(--font-meta); }

/* ----------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; } /* centered page container */
.section { padding: 4rem 0; } /* default section spacing */
.section--sm { padding: 2.5rem 0; } /* compact section */
.section--lg { padding: 6rem 0; } /* extra-tall section */
.section-heading { margin-bottom: 2rem; } /* heading above content block */
.section-heading h2 { margin-bottom: 0.5rem; }
.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; } /* screen-reader only */

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } /* 2-col grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } /* 3-col grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } /* 4-col grid */

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
}
@media (min-width: 641px) and (max-width: 780px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* Flex helpers */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ----------------------------------------------------------
   5. GLOBAL COMPONENTS — BUTTONS
   ---------------------------------------------------------- */
.btn {
  /* base button styles */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-accent {
  /* primary coral CTA button */
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 77, 46, 0.35);
}
.btn-accent:active { transform: translateY(0); }

.btn-outline {
  /* outlined button variant */
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 77, 46, 0.25);
}

.btn-ghost {
  /* ghost/text button */
  background: transparent;
  color: var(--link);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--link-hover); text-decoration: underline; }

.btn-full { width: 100%; } /* full-width button modifier */

.btn-lg { font-size: 1.125rem; padding: 1rem 2.25rem; } /* large button */
.btn-sm { font-size: 0.8rem; padding: 0.5rem 1rem; } /* small button */

/* CTA lift on hover (cta-lift-shadow) */
.cta-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 77, 46, 0.4);
}

/* CTA pulse-once animation */
@keyframes ctaPulseOnce {
  0% { box-shadow: 0 0 0 0 rgba(255,77,46,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(255,77,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,46,0); }
}
.cta-pulse-once { animation: ctaPulseOnce 1s ease 0.5s 1 forwards; }

/* ----------------------------------------------------------
   6. GLOBAL COMPONENTS — BANDS / SECTIONS
   ---------------------------------------------------------- */

/* Elevated white band */
.band-elevated {
  background: var(--bg-elevated);
  /* light section — inherits body color */
}

/* Dark pitch band — broadcast panel */
.band-pitch {
  background: var(--pitch);
  color: var(--text-light);
}
.band-pitch * { color: inherit; } /* prevent children from reverting */
.band-pitch a { color: var(--link-on-dark); }
.band-pitch a:hover { color: var(--link-on-dark-hover); }

/* Generic dark background band */
.band-bg {
  background: var(--pitch);
  color: var(--text-light);
}
.band-bg * { color: inherit; } /* prevent children from reverting */
.band-bg a { color: var(--link-on-dark); }
.band-bg a:hover { color: var(--link-on-dark-hover); }

/* Accent band */
.band-accent {
  background: var(--accent);
  color: var(--on-accent);
}
.band-accent * { color: inherit; }

/* ----------------------------------------------------------
   7. HERO SECTION (dark pitch)
   ---------------------------------------------------------- */
.hero {
  background: var(--pitch);
  color: var(--text-light);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero * { color: inherit; } /* all children inherit light text */
.hero a { color: var(--link-on-dark); }
.hero a:hover { color: var(--link-on-dark-hover); }
.hero .btn-accent { color: var(--on-accent); } /* CTA keeps accent text */
.hero .btn-accent * { color: var(--on-accent); }
.hero .btn-outline { color: var(--text-light); border-color: rgba(240,240,240,0.4); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Diagonal stripe flourish (12deg) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    12deg,
    transparent,
    transparent 40px,
    rgba(255, 77, 46, 0.04) 40px,
    rgba(255, 77, 46, 0.04) 41px
  );
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; } /* hero content above stripe */
.hero__eyebrow { font-family: var(--font-meta); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; display: block; } /* hero eyebrow label */
.hero__title { margin-bottom: 1rem; } /* hero main heading */
.hero__lead { font-size: 1.125rem; opacity: 0.85; margin-bottom: 1.75rem; max-width: 600px; } /* hero sub-paragraph */
.hero__cta-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; } /* hero CTA row */

/* Split hero layout */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 780px) { .hero-split { grid-template-columns: 1fr; gap: 2rem; } }

/* Calm hero (juego-responsable) — less intensity */
.hero--calm { background: var(--pitch); padding: 3.5rem 0; }
.hero--calm * { color: inherit; }

/* ----------------------------------------------------------
   8. CARDS
   ---------------------------------------------------------- */
.card {
  /* base card component */
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  /* hub-card-border-glow on hover */
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(20,28,40,0.12), 0 0 0 2px var(--accent);
  border-color: var(--accent);
}

.card--pitch {
  /* card on dark pitch bg */
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-light);
}
.card--pitch * { color: inherit; }
.card--pitch:hover { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

.card--gold {
  /* promo card with gold outline */
  border: 2px solid var(--gold);
  background: var(--bg-elevated);
}

.card__icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; } /* card icon */
.card__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; color: inherit; } /* card heading */
.card__body { font-size: 0.9rem; color: var(--muted); line-height: 1.55; } /* card body text */
.card__footer { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); } /* card footer area */
.card-wrapper { margin-bottom: 2rem; } /* card wrapper spacing fix */

/* Gov/external card hover (external-card-lift) */
.card-gov { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-gov:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(20,28,40,0.14); }

/* KYC card elevate hover */
.card-kyc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* About card subtle lift */
.card-about:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20,28,40,0.1); }

/* ----------------------------------------------------------
   9. RESPONSIBLE GAMING BAND
   ---------------------------------------------------------- */
.responsible-band {
  background: var(--pitch);
  color: var(--text-light);
  padding: 2rem 0;
}
.responsible-band * { color: inherit; } /* children inherit light text */
.responsible-band a { color: var(--link-on-dark); }
.responsible-band a:hover { color: var(--link-on-dark-hover); }

/* Age gate / +18 note */
.age-gate-note {
  background: var(--pitch);
  color: var(--text-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
}
.age-gate-note * { color: inherit; } /* children inherit light text */

/* +18 badge */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   10. SITE HEADER
   ---------------------------------------------------------- */
.site-header {
  /* sticky top navigation bar */
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--pitch);
  color: var(--text-light);
  border-bottom: 2px solid rgba(255,77,46,0.35);
}
.site-header * { color: inherit; } /* all header children inherit light text */

.header-inner {
  /* header flex row */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 60px;
  max-width: var(--max);
  margin: 0 auto;
}

.header-logo {
  /* logo lockup */
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-light);
  text-decoration: none;
}
.header-logo span { color: var(--accent); } /* accent color on logo mark */

.header-info-badge {
  /* info badge in header */
  font-family: var(--font-meta);
  font-size: 0.65rem;
  background: rgba(255,77,46,0.18);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 0.15rem 0.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.5rem;
}

/* ----------------------------------------------------------
   11. MAIN NAVIGATION
   ---------------------------------------------------------- */
.main-nav {
  /* horizontal nav row — no grow, no space-between */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  list-style: none;
}

.nav-item { position: relative; } /* anchor for dropdowns */

.nav-link {
  /* nav link text */
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-item.active .nav-link { border-bottom-color: var(--accent); color: var(--accent); } /* active nav item */

/* CTA in nav */
.nav-cta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent) !important;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-strong); color: var(--on-accent) !important; transform: translateY(-1px); }

/* ----------------------------------------------------------
   12. DROPDOWN NAVIGATION
   ---------------------------------------------------------- */
.has-dropdown { position: relative; } /* relative container for dropdown */

.dropdown {
  /* dropdown menu — matches dark header */
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  z-index: 999;
  background: var(--pitch); /* same dark color as site-header */
  border: 2px solid var(--accent);
  min-width: 180px;
  padding-top: 8px; /* bridge gap so hover doesn't break */
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--text-light);
  list-style: none;
}
.dropdown * { color: inherit; } /* dropdown children inherit light text */

/* Invisible bridge to prevent hover gap closing dropdown */
.dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.has-dropdown:hover > .dropdown { display: block; } /* show dropdown on hover */

.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text-light);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.dropdown li a:hover { background: var(--accent); color: #fff; } /* dropdown item hover */

/* ----------------------------------------------------------
   13. HAMBURGER (MOBILE)
   ---------------------------------------------------------- */
.hamburger {
  /* mobile menu toggle button */
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius);
  z-index: 1001;
}
.hamburger__line {
  /* hamburger bar line */
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
/* Hamburger open state — X transform */
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .hamburger { display: flex; } /* show hamburger on mobile */
  .main-nav {
    display: none; /* hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--pitch);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 0.25rem;
    z-index: 999;
  }
  .main-nav.is-open {
    display: flex; /* show when toggled — mobile nav visible */
  }
  .main-nav .nav-item { width: 100%; }
  .main-nav .nav-link { display: block; padding: 0.75rem 0.5rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .main-nav .nav-cta { width: 100%; text-align: center; margin-top: 0.5rem; padding: 0.75rem; }
  .dropdown {
    position: static;
    display: none;
    border: none;
    border-left: 3px solid var(--accent);
    padding-top: 0;
    background: rgba(255,255,255,0.04);
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-radius: 0;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open > .dropdown { display: block; }
}

/* ----------------------------------------------------------
   14. SCROLL PROGRESS BAR
   ---------------------------------------------------------- */
.scroll-progress {
  /* fixed top progress bar */
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 2000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ----------------------------------------------------------
   15. MOBILE CTA RAIL (BOTTOM FIXED)
   ---------------------------------------------------------- */
.mobile-cta-rail {
  /* bottom fixed official CTA for mobile */
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pitch);
  border-top: 2px solid var(--accent);
  padding: 0.75rem 1.25rem;
  z-index: 900;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.mobile-cta-rail__text {
  font-family: var(--font-meta);
  font-size: 0.7rem;
  color: var(--on-pitch-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex: 1;
}
.mobile-cta-rail__btn {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 780px) {
  .mobile-cta-rail { display: flex; } /* show rail on mobile/tablet */
  body { padding-bottom: 72px; } /* prevent overlap */
}

/* ----------------------------------------------------------
   16. SITE FOOTER
   ---------------------------------------------------------- */
.site-footer {
  /* main footer with dark pitch background */
  background: var(--pitch);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}
.site-footer * { color: inherit; } /* all footer children inherit light text */
.site-footer a { color: var(--link-on-dark); }
.site-footer a:hover { color: var(--link-on-dark-hover); }

.footer-grid {
  /* 4-column footer grid */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col__heading {
  /* footer column heading */
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-family: var(--font-meta);
  color: var(--on-pitch-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; } /* footer link list reset */
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--link-on-dark); }
.footer-col ul li a:hover { color: var(--link-on-dark-hover); text-decoration: underline; }

.footer-disclaimer {
  /* legal disclaimer text at footer bottom */
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--on-pitch-muted);
  line-height: 1.6;
  margin-top: 2rem;
}

.footer-bottom {
  /* footer bottom bar */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: var(--on-pitch-muted);
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: block;
}
.footer-brand span { color: var(--accent); }
.footer-tagline { font-size: 0.8rem; color: var(--on-pitch-muted); margin-bottom: 1rem; }

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; } /* 2-col footer on mobile */
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------
   17. CALLOUT / DISCLOSURE BOXES
   ---------------------------------------------------------- */
.callout {
  /* info callout box */
  border-left: 4px solid var(--link);
  background: var(--bg-elevated);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.callout--gold {
  /* gold accented callout */
  border-left-color: var(--gold);
  background: rgba(240, 180, 41, 0.06);
}
.callout--accent {
  /* accent red callout (legal-callout) */
  border-left-color: var(--accent);
  background: rgba(255, 77, 46, 0.05);
}
.callout--muted {
  /* muted informational callout */
  border-left-color: var(--muted);
  background: var(--bg-elevated);
  color: var(--muted);
}
.callout__title { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; color: var(--text); } /* callout heading */
.callout p { font-size: 0.9rem; margin: 0; }

/* Disclosure highlight box */
.highlight-box {
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(255,77,46,0.04);
}

/* ----------------------------------------------------------
   18. TABLE SCROLL WRAPPER
   ---------------------------------------------------------- */
.table-scroll-wrap {
  /* horizontal scroll wrapper for tables */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  box-shadow: inset -8px 0 12px -8px rgba(20,28,40,0.12); /* right shadow hint for scroll */
}

.data-table {
  /* base data table */
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.9rem;
}
.data-table th {
  /* table header cell */
  background: var(--pitch);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.data-table td {
  /* table data cell */
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) td { background: rgba(20,28,40,0.025); } /* zebra stripe */
.data-table tbody tr:hover td { background: rgba(255, 77, 46, 0.04); } /* row hover highlight */
.data-table tbody tr:focus-within td { outline: 2px solid var(--accent); outline-offset: -2px; } /* row focus ring */

/* ----------------------------------------------------------
   19. PILL / TAG COMPONENTS
   ---------------------------------------------------------- */
.pill {
  /* inline pill tag */
  display: inline-flex;
  align-items: center;
  font-family: var(--font-meta);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
  white-space: nowrap;
}
.pill--accent { background: rgba(255,77,46,0.1); border-color: var(--accent); color: var(--accent); } /* accent pill */
.pill--gold { background: rgba(240,180,41,0.12); border-color: var(--gold); color: #a07500; } /* gold pill */
.pill--live { background: rgba(255,77,46,0.15); border-color: var(--accent); color: var(--accent); } /* live indicator pill */
.pill--verify { background: rgba(240,180,41,0.1); border-color: var(--gold); color: #9a6800; font-style: italic; } /* [verify] pill */

/* Focus-visible on pills */
.pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ----------------------------------------------------------
   20. LIVE DOT (CSS PULSE)
   ---------------------------------------------------------- */
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

.live-dot {
  /* animated live indicator dot */
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: livePulse 1.4s ease-in-out infinite;
  margin-right: 0.4rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   21. SCROLL REVEAL ANIMATIONS
   ---------------------------------------------------------- */
.reveal {
  /* element awaiting scroll-reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  /* element visible after intersection */
  opacity: 1;
  transform: translateY(0);
}

.reveal-slide {
  /* slide-in reveal variant */
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-slide.is-visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  /* scale-in reveal variant */
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Stagger delays for sequential reveals */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ----------------------------------------------------------
   22. BACK TO TOP BUTTON
   ---------------------------------------------------------- */
.back-to-top {
  /* floating back to top button */
  position: fixed;
  bottom: 90px;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  background: var(--pitch);
  color: var(--text-light);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 800;
  text-decoration: none;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); } /* show when scrolled */
.back-to-top:hover { background: var(--accent); }
@media (max-width: 640px) { .back-to-top { bottom: 80px; } }

/* ----------------------------------------------------------
   23. FOCUS VISIBLE (ENHANCED)
   ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Remove default focus for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* ----------------------------------------------------------
   24. SECURITY BADGE SHIMMER
   ---------------------------------------------------------- */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.security-badge {
  /* badge with shimmer animation */
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-meta);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(126, 224, 184, 0.4);
  background: linear-gradient(90deg, rgba(126,224,184,0.05) 25%, rgba(126,224,184,0.18) 50%, rgba(126,224,184,0.05) 75%);
  background-size: 200% auto;
  animation: shimmer 2.5s linear infinite;
  color: var(--link-on-dark);
}

/* ----------------------------------------------------------
   25. LINK UNDERLINE GROW (link-hover-grow)
   ---------------------------------------------------------- */
.link-grow {
  /* animated underline grow on hover */
  position: relative;
  text-decoration: none;
  display: inline-block;
}
.link-grow::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--link);
  transition: width 0.25s ease;
}
.link-grow:hover::after { width: 100%; }

/* Underline slide variant */
.link-underline-slide {
  text-decoration: none;
  background-image: linear-gradient(var(--link), var(--link));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size 0.25s ease;
}
.link-underline-slide:hover { background-size: 100% 2px; }

/* ----------------------------------------------------------
   26. MARK HIGHLIGHT (privacy)
   ---------------------------------------------------------- */
mark.privacy-highlight {
  background: rgba(240, 180, 41, 0.25);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

/* ----------------------------------------------------------
   27. QUOTE BAR ACCENT (mission-quote)
   ---------------------------------------------------------- */
.pull-quote {
  /* pull quote with accent left bar */
  border-left: 5px solid var(--accent);
  padding: 1.25rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg-elevated);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

/* ----------------------------------------------------------
   28. PROSE CONTENT
   ---------------------------------------------------------- */
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1rem; line-height: 1.7; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; line-height: 1.65; }
.prose a { color: var(--link); text-decoration: underline; }
.prose a:hover { color: var(--link-hover); }

/* ----------------------------------------------------------
   29. SKIP LINK (ACCESSIBILITY)
   ---------------------------------------------------------- */
.skip-link {
  /* skip to main content for screen readers */
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ----------------------------------------------------------
   30. REDUCED MOTION
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  /* disable all animations for accessibility */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-slide, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------------------------------------
   31. DIAGONAL STRIPE UTILITY
   ---------------------------------------------------------- */
.stripe-bg {
  /* diagonal 12deg stripe overlay */
  position: relative;
  overflow: hidden;
}
.stripe-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    12deg,
    transparent,
    transparent 48px,
    rgba(255,77,46,0.06) 48px,
    rgba(255,77,46,0.06) 49px
  );
  pointer-events: none;
  z-index: 0;
}
.stripe-bg > * { position: relative; z-index: 1; }

/* ----------------------------------------------------------
   32. STAT ROW
   ---------------------------------------------------------- */
.stat-row {
  /* stat metrics row */
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.stat-item { flex: 1; min-width: 120px; } /* individual stat cell */
.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-meta);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.25rem;
  display: block;
}

/* ----------------------------------------------------------
   33. NUMBERED STEPS
   ---------------------------------------------------------- */
.steps-list { list-style: none; padding: 0; counter-reset: steps; } /* numbered steps container */
.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.steps-list li .step-title { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.25rem; font-size: 1rem; } /* step title */
.steps-list li .step-body { font-size: 0.875rem; color: var(--muted); } /* step description */

/* ----------------------------------------------------------
   34. TRUST RAIL / HUB LINKS
   ---------------------------------------------------------- */
.trust-rail {
  /* horizontal trust icon row */
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.trust-item:hover { color: var(--link); }
.trust-item__icon { font-size: 1.25rem; flex-shrink: 0; } /* trust icon */

/* Hub link pill row */
.hub-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.hub-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--link);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
  background: var(--bg-elevated);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hub-link-pill:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,77,46,0.05); }

/* ----------------------------------------------------------
   35. AFFILIATE DISCLOSURE BAND
   ---------------------------------------------------------- */
.affiliate-disclosure {
  /* compact affiliate pre-lander notice */
  background: var(--bg-elevated);
  border-top: 3px solid var(--gold);
  padding: 0.875rem 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.affiliate-disclosure strong { color: var(--text); }

/* ----------------------------------------------------------
   36. FINAL CTA SECTION (diagonal stripe flourish)
   ---------------------------------------------------------- */
.cta-section {
  /* full-width final CTA band */
  background: var(--pitch);
  color: var(--text-light);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section * { color: inherit; }
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(12deg, transparent, transparent 60px, rgba(255,77,46,0.05) 60px, rgba(255,77,46,0.05) 61px);
  pointer-events: none;
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p { opacity: 0.78; margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }
