:root {
  color-scheme: dark;
  --accent-gold: #f4c542;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  /* Matches the footer's own background (#111318, set further down under
     body.site-light) so overscroll/bounce past the page edges reveals that
     colour instead of the old dark-green theme colour. */
  background: #111318;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  background: #1c2416;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video.loaded {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 15, 0.18);
  z-index: 1;
}

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  /* Always solid and always present — matches the dark gray/black
     (#17191f) used elsewhere on the site (nav panel, footer, investor
     content) so scrolled content never shows through behind it. */
  background: #17191f;
}

.topbar--tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  /* auto/1fr/auto (not 1fr/auto/1fr) so the logo and lang-toggle/logout
     columns size to what they actually need instead of splitting leftover
     space 50/50 — a 50/50 split starves whichever side needs more room,
     which is what let the right side get squeezed into wrapping in French. */
  grid-template-columns: auto 1fr auto;
  column-gap: 20px;
}

.topbar--tabs .home-tabs {
  grid-column: 2;
  justify-self: stretch;
  justify-content: center;
}

.topbar--tabs .lang-toggle {
  grid-column: 3;
  justify-self: end;
}

/* affiliate-access.html wraps its lang-toggle in .topbar-right (alongside
   the logout button) instead of placing it as a direct grid child, so the
   rule above doesn't reach it — align the wrapper itself instead. */
.topbar--tabs .topbar-right {
  justify-self: end;
}

.home-tabs {
  display: flex;
  align-items: center;
  gap: 30px;
}

.home-tabs a,
.home-tabs button {
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.home-tabs a:hover,
.home-tabs button:hover {
  opacity: 0.75;
}

/* Investors/Affiliates/Support Circle/Resources/Careers (Media/Educators/Law
   Enforcement/Lawmakers live inside the Resources dropdown) need more room
   than the three this row was designed for — collapse to the hamburger menu
   earlier than the general mobile breakpoint below, rather than let the row
   wrap or overflow. */
@media (max-width: 1060px) {
  .topbar--tabs .home-tabs {
    display: none;
  }
}

/* "Resources" groups Media/Educators/Law Enforcement/Lawmakers behind one
   tab instead of cluttering the primary row with four more links. Hover and
   :focus-within (not JS) drive it open, so it keeps working if a page's own
   script fails to load. */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-dropdown-caret {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-trigger.active {
  color: var(--accent-gold);
  font-weight: 700;
  opacity: 1;
}

/* The outer box sits flush against the trigger (top: 100%, no gap) and
   carries the invisible top padding that bridges to .nav-dropdown-menu-inner
   below — a real gap here would break hover the moment the pointer leaves
   the trigger on its way down to the menu. */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 190px;
  background: #17191f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.nav-dropdown-menu-inner a {
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown-menu-inner a:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

/* French tab labels ("Forces de l'ordre", "Cercle de soutien", ...) and the
   logout button ("Se déconnecter" vs "Log Out") both run noticeably longer
   than their English originals. Tighten the row's own spacing/size for
   French first so it keeps fitting at close to the same widths English
   does, rather than giving up that much more screen width to the
   hamburger. */
html[lang="fr"] .home-tabs {
  gap: 18px;
}

html[lang="fr"] .home-tabs a,
html[lang="fr"] .home-tabs button {
  font-size: 14px;
}

/* Even tightened, French still needs a bit more room than English before
   the row safely fits next to the logout button — collapse to the
   hamburger a little earlier for French. (Measured natural width of the
   tightened French row + logo + lang toggle + logout button is ~1372px;
   1420px leaves room for the scrollbar gutter plus some margin.) */
@media (max-width: 1420px) {
  html[lang="fr"] .topbar--tabs .home-tabs {
    display: none;
  }
}

/* Marks whichever tab matches the current page (set per-page via
   HEADER_CONFIG.activeTab in js/header.js) so the header doubles as a
   "you are here" indicator. */
.home-tabs a[aria-current="page"] {
  color: var(--accent-gold);
  font-weight: 700;
  opacity: 1;
}

/* Mirrors the home-tabs links inside the nav-panel (see js/header.js) so the
   panel can stand in as the full primary nav once the row above hides
   itself — hidden here otherwise so wide screens never show them twice.
   Doubled-up class selector (vs. the single-class ".nav-links") beats that
   rule's "display: flex" on specificity, regardless of source order. */
.nav-panel-primary.nav-links {
  display: none;
}

@media (max-width: 1060px) {
  .nav-panel-primary.nav-links {
    display: flex;
  }
}

/* Mirrors the French-only threshold on .topbar--tabs .home-tabs above, so
   the nav-panel mirror takes over at the same width the tab row hides. */
@media (max-width: 1420px) {
  html[lang="fr"] .nav-panel-primary.nav-links {
    display: flex;
  }
}

.nav-panel-primary a[aria-current="page"] {
  color: var(--accent-gold);
  font-weight: 700;
  opacity: 1;
}

.topbar-logo[aria-current="page"] .topbar-logo-text {
  color: var(--accent-gold);
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.topbar-logo:hover {
  opacity: 0.75;
}

.topbar-logo img {
  display: block;
  width: 52px;
  height: 52px;
}

.topbar-logo-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.lang-toggle .divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 4px;
}

.lang-btn.active {
  color: #fff;
  font-weight: 600;
}

/* ---------- Home hero ---------- */

.home-hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(96px, 16vh, 140px) 24px 40px;
  gap: clamp(28px, 6vh, 64px);
}

.home-hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero-top .hero-logo {
  width: clamp(48px, 6vw, 72px);
  height: clamp(48px, 6vw, 72px);
  margin-bottom: 14px;
}

.home-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  margin: 0 0 20px;
}

.home-brand::before,
.home-brand::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.home-title {
  font-weight: 300;
  font-size: clamp(48px, 10vw, 104px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.home-hero-content .hero-tagline {
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 500;
  color: #fff;
}

.home-hero-content .quote-stage {
  height: auto;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 180px;
}

.home-hero-content .quote-nav {
  width: 36px;
  height: 36px;
}

.home-hero-content .quote-prev {
  left: 0;
}

.home-hero-content .quote-next {
  right: 0;
}

/* Grid-stack: every quote occupies the same cell so the box always sizes
   to the tallest quote. Keeps the title/logo above from jumping as the
   carousel cycles through quotes of different lengths. */
.quote-stack {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
}

.quote-stack .quote-text {
  grid-area: 1 / 1;
  justify-self: center;
  font-size: clamp(15px, 2vw, 21px);
  pointer-events: none;
}

.quote-stack .quote-text.visible {
  pointer-events: auto;
}

@media (max-width: 640px) {
  .hero--home {
    height: auto;
    min-height: 100vh;
  }

  .home-hero-content {
    gap: clamp(20px, 5vh, 40px);
  }

  .home-hero-content .quote-stage {
    flex-direction: column;
    gap: 20px;
    padding: 0 24px;
  }

  .home-hero-content .quote-nav-row {
    position: static;
    display: flex;
    justify-content: center;
    gap: 24px;
  }

  .home-hero-content .quote-nav-row .quote-nav {
    position: static;
    transform: none;
  }
}

/* ---------- Quote carousel ---------- */

.quote-stage {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 90px;
}

.quote-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quote-nav:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #1c2416;
}

.quote-nav svg {
  width: 18px;
  height: 18px;
}

.quote-prev {
  left: 24px;
}

.quote-next {
  right: 24px;
}

.quote-text {
  max-width: 760px;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.55;
  font-weight: 300;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  margin: 0 0 18px;
}

.quote-text:last-child {
  margin-bottom: 0;
}

.quote-text.visible {
  opacity: 1;
}

/* ---------- Side nav panel ---------- */

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-scrim.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 80vw);
  background: #17191f;
  z-index: 21;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  overflow-y: auto;
}

#nav-centre-links,
.nav-group {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
}

/* On wide screens .nav-panel-primary is hidden (see above), so whichever
   group immediately follows it becomes the panel's first visible item —
   drop the divider it'd otherwise draw above empty space. */
@media (min-width: 1061px) {
  .nav-panel-primary + #nav-centre-links,
  .nav-panel-primary + .nav-group {
    border-top: none;
    padding-top: 0;
  }
}

#nav-centre-links .section-eyebrow,
.nav-group .section-eyebrow {
  margin-bottom: 16px;
  cursor: default;
}

#nav-centre-links .nav-links,
.nav-group .nav-links {
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

#nav-centre-links .nav-links a,
.nav-group .nav-links a,
.nav-group .nav-links button {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
}

#nav-centre-links .nav-links a:hover,
.nav-group .nav-links a:hover,
.nav-group .nav-links button:hover {
  color: #fff;
  opacity: 1;
}

#nav-centre-links .nav-links a.active,
.nav-group .nav-links a.active {
  color: var(--accent-gold);
  font-weight: 600;
}

.nav-panel-note {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 24px 0 0;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.nav-panel.open {
  transform: translateX(0);
}

.nav-panel-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
}

.nav-panel-close svg {
  width: 18px;
  height: 18px;
}

.nav-login-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 12px 20px;
  border-radius: 24px;
  font-size: 15px;
  white-space: nowrap;
  align-self: flex-start;
}

.nav-login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* #topnav-logout-btn sits in the fixed-width right column of the grid-based
   .topbar--tabs (see below); letting [hidden]'s default display:none apply
   to it would shrink that column while logged out, which shoves the
   centered .home-tabs links sideways the moment it appears. Reserve its
   space at all times and only toggle visibility instead, on every page
   (see js/header.js), so the links never move on login or on navigation. */
#topnav-logout-btn[hidden] {
  display: inline-block;
  visibility: hidden;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  opacity: 0.75;
}

.nav-links button {
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-align: left;
  font-family: inherit;
}

.nav-links button:hover {
  opacity: 0.75;
}

.scroll-dots {
  position: fixed;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Home page only (see main.js): keeps the rail off the hero, where there
   are no section dots to show yet, fading it in once you've scrolled past. */
.scroll-dots--hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-dots-track {
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 0;
  border-left: 2px dotted rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
  z-index: 0;
}

.scroll-nav-bee {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 34px;
  height: 34px;
  z-index: 2;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: top 0.45s cubic-bezier(0.45, 0, 0.2, 1);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.scroll-dot {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #1c2416;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.scroll-dot:hover {
  border-color: #fff;
}

.scroll-dot.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: scale(1.3);
}

@media (max-width: 640px) {
  .scroll-dots {
    right: 14px;
  }
}

.dropdown-scrim {
  position: fixed;
  inset: 0;
  z-index: 24;
  display: none;
}

.dropdown-scrim.open {
  display: block;
}

.dropdown-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  background: rgba(20, 25, 15, 0.92);
  border-radius: 12px;
  padding: 36px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  min-width: 260px;
}

.dropdown-panel a,
.dropdown-panel button {
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  font-size: 17px;
  font-family: inherit;
  text-decoration: none;
}

.dropdown-panel a.emphasized,
.dropdown-panel button.emphasized {
  text-decoration: underline;
}

.dropdown-panel a:hover,
.dropdown-panel button:hover {
  opacity: 0.75;
}

.dropdown-panel .error-text {
  color: #e8a35c;
  font-size: 13px;
  margin: 0;
  text-align: center;
}

/* ---------- Contact (email + social links) ---------- */

.contact-email {
  display: inline-block;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin: 4px 0 24px;
}

.contact-email:hover {
  opacity: 0.8;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.18);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Larger variant when the contact block takes over the hero quote spot. */
.quote-text .contact-email {
  font-size: clamp(20px, 2.6vw, 30px);
  margin: 4px 0 32px;
}

.quote-text .social-links {
  gap: 24px;
}

.quote-text .social-icon {
  width: 60px;
  height: 60px;
}

.quote-text .social-icon svg {
  width: 26px;
  height: 26px;
}

/* ---------- Site footer ---------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 32px 36px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.site-footer-brand:hover {
  opacity: 0.75;
}

.site-footer-brand img {
  display: block;
  width: 32px;
  height: 32px;
}

.site-footer .social-links {
  justify-content: flex-end;
  gap: 12px;
}

.site-footer .social-icon {
  width: 36px;
  height: 36px;
}

.site-footer .social-icon svg {
  width: 16px;
  height: 16px;
}

.site-footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer .social-links {
    justify-content: center;
  }
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 26;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 24px;
}

.video-modal.open {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: min(900px, 100%);
}

.video-modal-content video {
  width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: 4px;
  background: #000;
}

.video-modal-content .error-text {
  color: #e8a35c;
  font-size: 13px;
  text-align: center;
  margin: 12px 0 0;
}

.video-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: #1c2416;
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-close svg {
  width: 16px;
  height: 16px;
}

/* ---------- Static content pages (e.g. Affiliates) ---------- */

.static-page {
  min-height: 100vh;
  background: #1c2416;
}

.affiliate-hero {
  min-height: 560px;
}

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  width: clamp(64px, 9vw, 104px);
  height: clamp(64px, 9vw, 104px);
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.hero-content h1 {
  font-weight: 300;
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 16px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  max-width: 560px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  margin: 0;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-scroll-cue svg {
  width: 20px;
  height: 20px;
  animation: hero-scroll-bob 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.static-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
}

.static-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px 100px;
}

.static-content h1 {
  font-weight: 300;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 24px;
}

.static-content h2 {
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 24px);
  margin: 32px 0 16px;
}

.static-content h2:first-child {
  margin-top: 0;
}

/* Full-bleed chapters, each its own distinct block — same spirit as the hero. */
.content-section {
  padding: 96px 24px;
}

.content-section--alt {
  background: #202b18;
}

.content-section .static-content {
  padding: 0;
}

.static-content .section-heading {
  text-align: center;
  font-size: clamp(28px, 3.8vw, 38px);
  margin: 0 0 24px;
}

.static-content .display-heading {
  text-align: center;
  font-weight: 300;
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 1.1;
  margin: 0 0 48px;
}

.static-content .stat-caveat {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin: -4px 0 28px;
}

.static-content .pull-quote {
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.5;
  color: #fff;
  margin: 24px 0 0;
}

.static-content .why-footnote {
  text-align: center;
  margin: 32px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  /* The opacity leg is deliberately much shorter than the slide. An
     ancestor with opacity < 1 forms a backdrop root, which disables
     backdrop-filter on everything inside it -- so while this wrapper faded
     over a full 0.9s, the frosted-glass cards within it rendered flat and
     only snapped to blurred once the fade finished. Settling opacity fast
     closes that window; the longer transform keeps the reveal unhurried. */
  transition: opacity 0.25s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .content-section {
    padding: 64px 24px;
  }

  .why-heading-row {
    flex-direction: column;
    text-align: center;
  }

  .why-image {
    width: 160px;
  }
}

.page-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
}

.page-title-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.page-title h1 {
  margin: 0;
}

.static-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0 0 20px;
  font-size: 16px;
}

.static-content ul {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0 0 24px;
  padding-left: 22px;
}

.why-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.why-heading-row h2 {
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 38px);
  margin: 0;
}

.why-image {
  width: 280px;
  height: auto;
  flex-shrink: 0;
}

.static-content .why-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.why-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 19px;
  height: 19px;
}

.static-cta {
  text-align: center;
}

.static-cta p {
  font-size: 19px;
}

.contact-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.contact-block p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* Used where the contact block is a section's only content — the default
   top border/margin assume it's following other content (as in the
   affiliates.html closing CTA), which reads as a redundant second divider
   when the section has nothing above it. */
.contact-block--section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: #1c2416;
  padding: 14px 28px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 12px;
}

.cta-btn:hover {
  opacity: 0.85;
}

/* ---------- Affiliate gate page (affiliate-login.html) ---------- */

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Top padding clears the fixed .topbar (~103px tall) that sits above
     this — .page only centers vertically via flex, so on viewports short
     enough that the card doesn't fit with room to spare, its content
     starts right under the fixed bar instead of getting centered behind
     it and clipped. */
  padding: 130px 24px 40px;
  background: #1c2416;
}

.page[hidden] {
  display: none;
}

/* Pre-login, the hamburger panel's own content (nav-centre-links, log-out)
   is all [hidden] until revealAffiliateContent() runs (js/affiliate-access.js).
   Below the 1060px breakpoint that's fine — .nav-panel-primary.nav-links
   falls back to flex there, so the panel still shows the primary nav links.
   At desktop widths that mirror stays display:none instead (redundant with
   the visible .home-tabs row), so the gate's hamburger pops open with
   nothing in it at all. Hide the trigger itself in that wide/pre-login
   case only; revealAffiliateContent() unhides the real panel content, so
   #menu-btn reappearing once #gate goes [hidden] lines up with the panel
   actually having something to show. visibility (not display) so
   .topbar-left's width — and therefore the centered .home-tabs column next
   to it — doesn't shift when the button disappears/reappears, same reason
   #topnav-logout-btn uses visibility:hidden below. */
@media (min-width: 1061px) {
  body:has(#gate.page:not([hidden])) #menu-btn {
    visibility: hidden;
  }
}

/* affiliate-access.html's body now carries site-light (see header
   unification work), so repaint the gate shell to match — it was still
   painting the original dark/green background over the light page. */
body.site-light .page {
  background: var(--paper);
}

/* Scoped to #gate so this generic-looking .card name can't collide with
   the unrelated, bare .card content-tile class used by the new Javanun
   marketing pages (media/law-enforcement/support-circle/educators). */
#gate .card {
  max-width: 420px;
  width: 100%;
  text-align: center;
}

#gate .card h1 {
  font-weight: 300;
  font-size: 28px;
  margin-bottom: 12px;
}

#gate .card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}

#gate .card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

/* The confirm-code and forgot-reset forms open with a plain intro <p>
   (e.g. "We sent a verification code to..."). #gate .card p's 28px
   margin-bottom is meant for the gate_intro paragraph above the tabs;
   inside a form it stacks on top of this flex gap too, leaving ~44px
   above the next field. Reset it here so the gap alone sets the spacing. */
#gate .card form > p {
  margin-bottom: 0;
}

#gate .card form[hidden] {
  display: none;
}

#gate .card label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.optional-tag {
  color: rgba(255, 255, 255, 0.4);
}

#gate .card input {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.password-field {
  position: relative;
  margin-top: 6px;
}

.password-field input {
  margin-top: 0;
  padding-right: 40px;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.password-toggle-btn:hover {
  color: #fff;
}

.password-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.password-toggle-btn .icon-eye-off {
  display: none;
}

.password-toggle-btn.is-visible .icon-eye {
  display: none;
}

.password-toggle-btn.is-visible .icon-eye-off {
  display: block;
}

#gate .card button[type="submit"] {
  margin-top: 8px;
  padding: 12px;
  border-radius: 24px;
  border: none;
  background: #fff;
  color: #1c2416;
  font-weight: 600;
}

#gate .card .back-link {
  display: inline-block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

#gate .card .error-text {
  color: #e8a35c;
  font-size: 13px;
  margin: -8px 0 0;
  min-height: 16px;
}

#gate .card input.field-invalid {
  border-color: #ff6b6b;
}

#gate .card .field-error {
  color: #ff6b6b;
  font-size: 12px;
  margin: 6px 0 0;
  display: none;
}

#gate .card .field-error:not(:empty) {
  display: block;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.6);
  padding: 10px;
  border-radius: 24px;
  font-size: 14px;
}

.auth-tab.active {
  background: #fff;
  color: #1c2416;
  border-color: #fff;
  font-weight: 600;
}

#gate .card .hint-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin: -8px 0 0;
}

.link-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-decoration: underline;
  padding: 0;
  align-self: center;
}

.link-btn:hover {
  color: #fff;
}

#gate .card textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  resize: vertical;
}

/* ---------- Contact form modal (home page "Contact the team") ---------- */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal .card {
  position: relative;
  background: #1c2416;
  border-radius: 16px;
  padding: 40px 32px 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.contact-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* ---------- Affiliate B2B content sections ---------- */

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 18px;
}

.content-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 16px;
}

.content-note {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.static-content .content-note--spaced {
  margin-top: 32px;
}

.content-heading {
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 38px);
  line-height: 1.2;
  margin: 0 0 20px;
}

.section-actions--center {
  justify-content: center;
}

.why-heading-row .content-lead {
  max-width: 360px;
  margin: 0;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col-grid--top {
  align-items: start;
}

.static-content--wide {
  max-width: 980px;
}

.quote-card {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.quote-card .quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  margin-bottom: 8px;
}

.quote-card p {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  margin: 0;
}

.quote-card .content-note {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  margin-top: 24px;
}

.cta-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.process-step {
  position: relative;
}

.process-step-num {
  width: 52px;
  height: 52px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #1c2416;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.process-footer {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.process-footer p {
  font-size: 17px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}

.benefit-card {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px 18px 18px;
  margin: 0 -18px;
  border-radius: 0 10px 10px 10px;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.benefit-card:hover .benefit-icon {
  stroke: var(--accent-gold);
}

.benefit-icon {
  transition: stroke 0.25s ease;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.6;
  fill: none;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.revenue-callout {
  margin-top: 48px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.revenue-callout h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}

.revenue-callout p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 640px;
}

.revenue-callout .cta-btn {
  flex-shrink: 0;
}

.landscape-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}

.landscape-item {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px;
}

.landscape-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.landscape-item p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.static-content .landscape-note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 48px 0 0;
  max-width: 760px;
}

.landscape-note a {
  color: rgba(255, 255, 255, 0.75);
}

.orbit-wrap {
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}

.orbit-wrap svg {
  width: 100%;
  height: 100%;
}

.orbit-center {
  position: absolute;
  background: #1c2416;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  padding: 8px;
}

.orbit-tag {
  position: absolute;
  background: #202b18;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.orbit-tag.one {
  top: 10%;
  left: 4%;
}

.orbit-tag.two {
  bottom: 14%;
  right: 0;
}

.orbit-tag.three {
  top: 28%;
  right: -2%;
}

.resource-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 36px;
}

.resource-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.resource-item span {
  color: rgba(255, 255, 255, 0.4);
  margin-right: 12px;
  font-size: 13px;
}

.statement-block {
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  padding-left: 28px;
  margin-top: 48px;
}

.statement-block p {
  font-size: 24px;
  line-height: 1.4;
  margin: 0;
}

.statement-block .content-note {
  margin-top: 18px;
}

.statement-block .section-actions {
  margin-top: 24px;
}

.signup-panel {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.signup-panel h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.signup-panel p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px;
}

@media (max-width: 900px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .revenue-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .resource-list {
    grid-template-columns: 1fr;
  }

  .orbit-wrap {
    font-size: 12px;
  }
}

@media (max-width: 860px) {
  .process-grid,
  .benefit-grid,
  .landscape-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .process-grid,
  .benefit-grid,
  .landscape-grid {
    grid-template-columns: 1fr;
  }

  /* The card layout (icon centered above a short sentence) leaves a lot of
     empty vertical space once each card is full-width on a phone. Scoped to
     the affiliates "How It Works" section only — collapse the number into
     an inline prefix on the title ("01 Introduce"), with the body text
     stacked underneath as a single compact block. */
  #how .process-grid {
    gap: 24px;
  }

  #how .process-step {
    padding: 0;
    margin: 0;
  }

  #how .process-step-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
  }

  #how .process-step-num {
    width: auto;
    height: auto;
    background: none;
    clip-path: none;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-gold);
  }

  #how .process-step h3 {
    margin: 0;
  }
}

/* ---------- Affiliate B2B: accent + emphasis helpers ---------- */

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

.accent-italic {
  font-style: italic;
  color: var(--accent-gold);
}

.accent-strong {
  font-weight: 700;
  font-style: italic;
  color: var(--accent-gold);
}

.content-heading--display {
  font-size: clamp(34px, 4.8vw, 46px);
}

.content-note--faint {
  font-size: 12px;
  font-style: italic;
  opacity: 0.75;
}

.section-eyebrow .eyebrow-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  margin-right: 3px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: linear-gradient(145deg, #fbda7a 0%, var(--accent-gold) 55%, #e3ac2a 100%);
  color: #1c2416;
  font-weight: 800;
  font-size: 12px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
}

.section-eyebrow .eyebrow-num::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: #c99a28;
}

/* Fix: ".statement-block p" was overriding ".content-note" font-size by
   specificity, making the caveat line read as big as the statement above
   it instead of as a quiet footnote. */
.statement-block p.content-note {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

.process-step {
  padding: 18px;
  margin: -18px;
  border-radius: 10px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.process-step:hover .process-step-num {
  filter: brightness(1.12);
  transform: scale(1.06);
}

.process-step-num {
  transition: filter 0.25s ease, transform 0.25s ease;
}

.orbit-center {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #1c2416;
}

/* ---------- Affiliate B2B: Let's Talk section ---------- */

.existing-affiliate,
.form-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.existing-affiliate:hover,
.form-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}

.existing-affiliate:hover {
  border-color: var(--accent-gold);
}

.existing-affiliate h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
}

.existing-affiliate .card-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
}

.existing-affiliate .cta-btn {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.form-card {
  border-color: rgba(244, 197, 66, 0.35);
}

.form-card:hover {
  border-color: rgba(244, 197, 66, 0.7);
}

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
}

.card-tag--accent {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: #1c2416;
}

.form-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.form-grid .field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-card .hint-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin: 6px 0 0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}

.consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.consent span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.form-card .cta-btn {
  width: 100%;
  text-align: center;
  border: none;
  margin-bottom: 20px;
}

.form-message {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 14px 0 0;
  min-height: 16px;
}

.form-message.is-error {
  color: #e8a35c;
}

@media (max-width: 520px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .field.full {
    grid-column: auto;
  }
}

/* ---------- Affiliate Information Centre (logged-in) ---------- */

#affiliate-content {
  padding-top: 140px;
}

.centre-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  padding: 32px 36px;
  border-radius: 20px;
  background: linear-gradient(165deg, #fffdf7, #fbf2d9);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(20, 20, 20, .05);
}

.centre-hero-logo {
  flex-shrink: 0;
  width: clamp(72px, 9vw, 110px);
  height: clamp(72px, 9vw, 110px);
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(20, 20, 20, .08);
}

.centre-hero-text {
  min-width: 0;
}

.centre-hero .content-heading {
  margin: 0;
}

.centre-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.centre-section {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.centre-section:first-child {
  padding-top: 0;
}

.centre-main > .centre-section:last-child {
  border-bottom: none;
}

@media (max-width: 640px) {
  .centre-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }
}

button.cta-btn {
  border: none;
  cursor: pointer;
  font: inherit;
}

.back-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
}

.back-link:hover {
  color: #fff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.quick-card {
  display: block;
  padding: 22px;
  background: #202b18;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.quick-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.quick-card small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-gold);
}

.quick-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 12px 0 8px;
}

.quick-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

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

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.metric {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.metric strong {
  display: block;
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 6px;
}

.metric span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.revenue-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 15px;
}

.revenue-table caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 12px;
}

.revenue-table th,
.revenue-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.revenue-table thead th {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.revenue-table tbody tr:last-child th,
.revenue-table tbody tr:last-child td {
  border-bottom: none;
}

.calc {
  margin-top: 36px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.calc h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}

.calc label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 8px;
}

.calc input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
}

.calc-result {
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  padding-left: 28px;
}

.calc-result span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.calc-result strong {
  display: block;
  font-size: 40px;
  font-weight: 600;
  margin: 6px 0;
}

.calc-result p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.brief-panel {
  margin-top: 36px;
}

.brief-panel .error-text {
  color: #e8a35c;
  font-size: 13px;
  margin: 12px 0 0;
}

body.site-light .brief-panel .error-text {
  color: #b4460f;
}

.faq-list {
  margin-top: 32px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
}

.faq-item summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-right: 28px;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent-gold);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.step-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-list .process-step-num {
  flex-shrink: 0;
  margin-bottom: 0;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.step-list li:hover .process-step-num {
  filter: brightness(1.12);
  transform: scale(1.06);
}

.step-list h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.step-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1000px) {
  .quick-grid,
  .metric-grid,
  .calc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #affiliate-content,
  #investor-content {
    padding-top: 110px;
  }

  .topbar {
    padding: 20px 16px;
  }

  .topbar-left,
  .topbar-right {
    gap: 10px;
  }

  .topbar--tabs {
    display: flex;
    justify-content: space-between;
    border-bottom: none;
  }

  .topbar--tabs .home-tabs {
    display: none;
  }

  .topbar--tabs .mobile-menu-btn {
    display: flex;
  }

  /* Already reachable from the popout nav (#nav-logout-item) — dropped
     from the header itself on mobile purely to make room; not a second,
     separate sign-out path. !important beats the #topnav-logout-btn[hidden]
     space-reserving override above, which only needs to win at desktop
     widths. */
  #topnav-logout-btn {
    display: none !important;
  }

  .nav-login-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .process-grid--3 {
    grid-template-columns: 1fr;
  }

  .calc-result {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 0;
    padding-top: 20px;
  }

  .revenue-table {
    font-size: 13px;
  }
}

/* ---------- Scroll bee tracker ----------
   Positioned (not fixed) so it scrolls with the document like any other
   content. The wrapper itself carries no opacity/transition of its own
   (and so no stacking context) — that lives on each child individually,
   so the -1 z-index still resolves in the page's own stacking context and
   the bee reliably ducks behind section backgrounds and cards instead of
   painting as one atomic layer on top of everything. It only becomes
   draggable in those visible moments. Fades in once right after load (not
   gated on scroll position), so it's already in place and ready by the
   time you start scrolling. */

.bee-track {
  pointer-events: none;
}

.bee-track-trail {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bee-track.is-visible .bee-track-trail {
  opacity: 1;
}

.bee-track-trail path {
  fill: none;
  stroke: rgba(244, 197, 66, 0.75);
  stroke-width: 3.5;
  stroke-dasharray: 4 14;
  stroke-linecap: round;
}

.bee-track-icon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
  will-change: transform;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bee-track.is-visible .bee-track-icon {
  opacity: 1;
}

.bee-track-icon.is-dragging {
  z-index: 29;
  cursor: grabbing;
}

@media (max-width: 900px) {
  .bee-track {
    display: none;
  }
}

/* ---------- Beehive drop target ----------
   Appears while the bee is being dragged, fixed to the viewport so it's
   reachable regardless of scroll position. Dropping the bee on it retires
   the bee for the rest of the visit. */

.bee-hive {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 30;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px dashed rgba(244, 197, 66, 0.55);
  background: rgba(28, 36, 22, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}

.bee-hive.is-active {
  opacity: 1;
  transform: scale(1);
}

.bee-hive.is-target {
  border-color: rgba(244, 197, 66, 0.95);
  background: rgba(244, 197, 66, 0.18);
  transform: scale(1.1);
}

.bee-hive svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.bee-hive-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .bee-hive {
    display: none;
  }
}

/* ---------- Card panels: explicitly stacked above the scroll bee ----------
   The bee sits at z-index:-1 so it ducks behind ordinary content by
   default. These are the site's actual "card" panels (their own visible
   background, not just plain text) — giving each one its own stacking
   context makes "the bee passes behind this" an explicit, reliable rule
   rather than an accident of default stacking order. */
.quote-card,
.form-card,
.existing-affiliate,
.quick-card,
.metric,
.benefit-card,
.revenue-callout,
.process-step,
.step-list li,
.calc {
  position: relative;
  z-index: 1;
}

.orbit-tag {
  z-index: 1;
}

/* A stacking context alone doesn't read as "behind" when the card's own
   background is only a few percent opaque (or absent until hover, like
   .benefit-card/.process-step) — there's almost nothing there to visually
   block what's underneath. Give these a frosted-glass treatment so the
   bee is actually obscured, not just technically stacked below a
   nearly-transparent (or momentarily absent) layer. */
.quote-card,
.form-card,
.existing-affiliate,
.metric,
.benefit-card,
.revenue-callout,
.process-step,
.step-list li,
.calc {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- Home page media sections (About / Media Resources / Get In
   Touch) ---------- */

/* Same gold top edge on the "About" quote and the closing callout, tying
   the two bookend cards of the sections together. */
#about .quote-card,
#press .revenue-callout {
  border-top: 3px solid var(--accent-gold);
}

/* The process-grid cards elsewhere on the site (affiliates "How It Works")
   stay flush with the page background and only reveal a hover tint — here
   they get a standing border/panel of their own, since this is the only
   spot on the home page using that component and it reads better as a set
   of distinct resource cards than as a bare numbered list. */
#media-resources .process-step {
  margin: 0;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

#media-resources .process-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 197, 66, 0.45);
}

#media-resources .process-step h3 {
  transition: color 0.25s ease;
}

#media-resources .process-step:hover h3 {
  color: var(--accent-gold);
}

/* =====================================================================
   New Javanun site design — index.html, media.html, law-enforcement.html,
   support-circle.html, educators.html. Scoped under body.site-light so
   these generic class names (.card, .hero, .section, .resource-list, …)
   can never collide with the dark-theme rules above, which style the
   live, Cognito-gated investors page (still dark post-login by design)
   and affiliate-login.html's gate / affiliate-access.html's centre (lit
   up by the dedicated rules further below).
   ===================================================================== */

body.site-light {
  /* The pre-existing html,body{height:100%} rule caps body's own box at
     viewport height; anything the page's content overflows past that
     shows the still-dark <html> background instead of body's. Let body's
     box grow to fit its content instead. */
  height: auto;
  min-height: 100%;
  --ink: #111318;
  --muted: #646a73;
  --paper: #f6f5f1;
  --white: #fff;
  --yellow: #f6c928;
  --line: #e3e2dd;
  --dark: #17191f;
  --max: 1160px;
  --green: #dce9dd;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.58;
}

/* Scoped to main/footer (not .hero — its only links are .button-classed
   CTAs, which need their own explicit button color, not inherit — and not
   the whole body, so this can't out-specificity header.js's own
   .home-tabs/.topbar-logo link colors). */
body.site-light main a, body.site-light footer a { color: inherit; }
body.site-light a:focus-visible, body.site-light button:focus-visible, body.site-light input:focus-visible {
  outline: 3px solid #2368d7;
  outline-offset: 3px;
}
body.site-light .wrap { width: min(calc(100% - 48px), var(--max)); margin: auto; }

body.site-light .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--yellow);
  color: #17191f;
  text-decoration: none;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
body.site-light .button:hover { background: #ffda4e; }
body.site-light .button.secondary { background: transparent; border-color: #62656c; color: inherit; }
body.site-light .button.secondary:hover { border-color: var(--yellow); color: var(--yellow); }
body.site-light .button.outline { background: var(--yellow); border-color: var(--yellow); color: #17191f; }
body.site-light .button.outline:hover { background: #ffda4e; }

body.site-light .eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: #735900; }

/* Reset height/min-height/width explicitly: the pre-existing .hero rule
   above (height:100vh, min-height:480px, width:100%) still applies to any
   property this rule doesn't also set, since CSS cascades per property,
   not per rule. */
/* padding-top clears the fixed .topbar (~109px tall on desktop) sitting
   above it — otherwise the topbar's bottom border cuts across the hero's
   eyebrow label. */
body.site-light .hero { height: auto; min-height: 0; width: auto; background: var(--dark); color: #fff; padding: 132px 0 82px; position: relative; overflow: hidden; }
body.site-light .hero:after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(246, 201, 40, .24);
  border-radius: 50%;
  right: -65px;
  top: -210px;
  box-shadow: 0 0 0 45px rgba(246, 201, 40, .045), 0 0 0 95px rgba(246, 201, 40, .035);
  pointer-events: none;
}
body.site-light .hero .eyebrow { color: var(--yellow); }
body.site-light .hero h1 { font-size: clamp(42px, 6.6vw, 72px); line-height: 1.12; letter-spacing: -.055em; max-width: 850px; margin: 17px 0 20px; }
body.site-light .hero h1 .hero-title-brand { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: clamp(17px, 2vw, 21px); font-weight: 500; letter-spacing: -.02em; color: #9a9ca3; }
body.site-light .hero h1 .hero-title-brand .accent { color: var(--yellow); text-decoration: none; }
body.site-light .hero h1 .hero-title-sub { display: block; margin-top: 26px; font-size: clamp(42px, 6.6vw, 72px); font-weight: 500; letter-spacing: -.055em; color: #fff; }
body.site-light .hero-title-logo { width: clamp(32px, 3.8vw, 42px); height: clamp(32px, 3.8vw, 42px); object-fit: contain; flex: none; background: #fff; border-radius: 50%; padding: 4px; border: 2px solid var(--yellow); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
body.site-light .hero p { max-width: 740px; margin: 0; color: #c4c6cb; font-size: 18px; }
body.site-light .hero .accent { color: var(--yellow); }
body.site-light .hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 27px; }
/* affiliate-hero's h1 line-breaks itself via an explicit <br> between the
   lead and accent spans, so it doesn't need the shared .hero h1 max-width
   capping its line length — let the lead line run the full wrap width. */
body.site-light .affiliate-hero h1 { max-width: none; }

/* index.html's two-column hero (with the beeSure product card) is distinct
   enough from the other 4 pages' single-column hero to get its own
   selector rather than overload .hero further. */
body.site-light .home-hero { padding: 140px 0 90px; }
/* Soft radial glows, not the hard-edged box-shadow rings .hero:after
   would otherwise contribute (same property-level cascade applies to any
   element carrying both .hero and .home-hero) — those banded rings read
   as flat grey smudges against the dark hero background, so both
   properties are reset to none here and replaced with blurred gradients. */
body.site-light .home-hero:before, body.site-light .home-hero:after {
  content: "";
  position: absolute;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  border: none;
  box-shadow: none;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body.site-light .home-hero:before {
  width: 620px;
  height: 620px;
  right: -200px;
  top: -260px;
  background: radial-gradient(circle at 35% 35%, rgba(246, 201, 40, .24), rgba(246, 201, 40, 0) 68%);
}
body.site-light .home-hero:after {
  width: 360px;
  height: 360px;
  left: -90px;
  bottom: -110px;
  background: radial-gradient(circle at 50% 50%, rgba(246, 201, 40, .16), rgba(246, 201, 40, 0) 70%);
}
body.site-light .hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
body.site-light .hero-report-stage { padding: 20px; }
body.site-light .hero-report { background: #fff; border-radius: 20px; padding: 26px 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform: rotate(2deg); text-align: left; }
body.site-light .hero-report-head { display: flex; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #e3e3e3; }
body.site-light .hero-report-brand { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
body.site-light .hero-report-brand img { width: 20px; height: 20px; }
body.site-light .hero-report h2 { font-size: 21px; line-height: 1.2; letter-spacing: -.03em; margin: 20px 0 6px; color: var(--ink); }
body.site-light .hero-report p { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 10px; }
body.site-light .hero-report-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 13.5px; color: var(--ink); }
body.site-light .hero-report-row + .hero-report-row { border-top: 1px solid #efefef; }
body.site-light .hero-report-symbol { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(246, 201, 40, .18); color: var(--ink); }
body.site-light .hero-report-symbol svg { width: 15px; height: 15px; }
body.site-light .hero-report-note { font-size: 11px; color: var(--muted); border-top: 1px solid #e3e3e3; padding-top: 13px; margin-top: 10px; line-height: 1.5; }

body.site-light main { padding: 70px 0 90px; }
/* Anchor-jump targets (section headings linked from the "On This Page"
   nav-panel group) need clearance from the fixed topbar, same as the
   hero's own top padding. */
body.site-light [id] { scroll-margin-top: 120px; }
body.site-light .section-head { margin-bottom: 23px; }
body.site-light .section-head h2 { font-size: clamp(30px, 4vw, 45px); letter-spacing: -.04em; line-height: 1.08; margin: 8px 0 10px; }
body.site-light .section-head p { color: var(--muted); max-width: 790px; margin: 0; }

body.site-light .intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start; margin-bottom: 68px; }
/* safety-resources.html's category-nav sits as a 3rd child of .intro's
   2-column grid — without this it only auto-places into column 1, so it
   reads as confined to the left column instead of spanning full width. */
body.site-light .intro > .category-nav { grid-column: 1 / -1; }
body.site-light .intro h2 { font-size: clamp(30px, 4vw, 45px); letter-spacing: -.04em; line-height: 1.08; margin: 9px 0 17px; }
body.site-light .intro p { color: var(--muted); margin: 0 0 13px; }
body.site-light .intro-panel { background: #f3f4f5; border: 1px solid var(--line); border-radius: 18px; padding: 27px; }
body.site-light .intro-panel .panel-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 850; color: #735900; }
body.site-light .intro-panel p { font-size: 15px; color: #41454d; margin: 12px 0 0; }
body.site-light .boilerplate { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; box-shadow: 0 12px 34px rgba(20, 20, 20, .04); }
body.site-light .boilerplate .label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #777; font-weight: 750; }
body.site-light .boilerplate p { font-size: 15px; color: #3e4249; margin: 14px 0 0; }

body.site-light .notice { background: #fff7d8; border: 1px solid #edd989; border-radius: 16px; padding: 24px 26px; }
body.site-light .notice strong { display: block; margin-bottom: 7px; }
body.site-light .notice p { margin: 0; color: #555044; font-size: 14px; }

body.site-light .section { margin: 0 0 72px; scroll-margin-top: 20px; }

body.site-light .updates { margin-top: 72px; }

body.site-light .card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; min-height: 205px; display: flex; flex-direction: column; }
body.site-light .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
body.site-light .card .number, body.site-light .card .tag, body.site-light .card .num {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff4c8;
  color: #5a4811;
  font-size: 13px;
  font-weight: 800;
}
body.site-light .card .tag { width: auto; height: auto; border-radius: 999px; padding: 5px 9px; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
body.site-light .card h3 { font-size: 18px; margin: 17px 0 8px; letter-spacing: -.02em; line-height: 1.25; }
body.site-light .card p { color: var(--muted); font-size: 14px; margin: 0; }
body.site-light .card a { color: #735600; font-weight: 750; text-underline-offset: 3px; }

body.site-light .resource-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 24px;
  min-height: 285px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
body.site-light .resource-tile:hover { transform: translateY(-4px); border-color: #d7b735; box-shadow: 0 16px 34px rgba(18, 20, 24, .08); }
body.site-light .resource-tile .icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: #fff4c8; color: #5a4811; font-size: 15px; font-weight: 900; }
body.site-light .resource-tile .kind { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #735900; font-weight: 850; margin-top: 20px; }
body.site-light .resource-tile h3 { font-size: 19px; letter-spacing: -.025em; margin: 5px 0 9px; }
body.site-light .resource-tile p { font-size: 13px; color: var(--muted); margin: 0; }
body.site-light .resource-tile .go { margin-top: auto; padding-top: 22px; color: #5a4811; font-size: 13px; font-weight: 850; }
body.site-light .resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

body.site-light .trend-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
body.site-light .trend { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 23px 25px; }
body.site-light .trend h3 { margin: 0 0 8px; font-size: 18px; }
body.site-light .trend p { margin: 0; color: var(--muted); font-size: 14px; }
body.site-light .trend .signal { display: block; color: #6b5600; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 9px; }
body.site-light .trend a, body.site-light .resource a, body.site-light .event a { color: #735600; font-weight: 750; text-underline-offset: 3px; }

body.site-light .callout { background: var(--dark); color: #fff; border-radius: 19px; padding: 34px; margin: 0 0 72px; }
body.site-light .callout-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 36px; align-items: start; }
body.site-light .callout h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -.04em; margin: 9px 0 15px; }
body.site-light .callout p { color: #c4c6cb; margin: 0 0 13px; }
body.site-light .callout .eyebrow { color: var(--yellow); }
body.site-light .callout .button { margin-top: 10px; }
body.site-light .notice-dark { border: 1px solid #45474d; border-radius: 14px; padding: 20px; color: #d9dadd; font-size: 13px; }
body.site-light .notice-dark strong { color: var(--yellow); display: block; margin-bottom: 7px; }
body.site-light .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 23px; }
body.site-light .step { border-top: 2px solid var(--yellow); padding: 16px 5px 0 0; }
body.site-light .step b { display: block; font-size: 14px; margin-bottom: 6px; }
body.site-light .step span { font-size: 13px; color: #c4c6cb; }

body.site-light .events { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
body.site-light .event { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px 24px; }
body.site-light .event .date { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; color: #735600; font-weight: 850; }
body.site-light .event h3 { font-size: 19px; margin: 8px 0 6px; }
body.site-light .event p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
body.site-light .event .place { font-size: 13px; color: #3d4249; font-weight: 700; margin-bottom: 12px; }
body.site-light .calendar-note { margin-top: 16px; color: var(--muted); font-size: 12px; }

body.site-light .resource-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
body.site-light .resource-list .resource { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 19px 21px; }
body.site-light .resource-list .resource h3 { margin: 0 0 7px; font-size: 16px; }
body.site-light .resource-list .resource p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
body.site-light .resource-list .tag { display: inline-block; padding: 5px 9px; background: #fff4c8; border-radius: 999px; color: #5a4811; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

body.site-light .request { background: #fff; border: 1px solid var(--line); border-radius: 19px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
body.site-light .request h2 { font-size: 30px; letter-spacing: -.035em; margin: 8px 0; }
body.site-light .request p { color: var(--muted); margin: 0; max-width: 750px; }
body.site-light .request .eyebrow { color: #735600; }
body.site-light .request-details { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 13px; }
body.site-light .request-details div { font-size: 13px; color: var(--muted); }
body.site-light .request-details b { display: block; color: var(--ink); margin-bottom: 5px; }

body.site-light .recovery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
body.site-light .recovery-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 25px; }
body.site-light .recovery-card h3 { font-size: 19px; margin: 0 0 10px; }
body.site-light .recovery-card p { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
body.site-light .recovery-card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
body.site-light .recovery-card li + li { margin-top: 7px; }

body.site-light .quote { margin: 40px 0 72px; background: #fff; border-left: 5px solid var(--yellow); border-radius: 0 16px 16px 0; padding: 27px 30px; box-shadow: 0 10px 30px rgba(20, 20, 20, .035); }
body.site-light .quote p { font-size: clamp(19px, 2.4vw, 25px); letter-spacing: -.02em; line-height: 1.35; margin: 0; color: #30343b; }
body.site-light .quote span { display: block; font-size: 13px; color: var(--muted); margin-top: 13px; }

body.site-light .product-note { background: var(--dark); color: #fff; border-radius: 18px; padding: 30px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin: 0 0 70px; }
body.site-light .product-note h2 { font-size: 27px; line-height: 1.15; letter-spacing: -.035em; margin: 7px 0 10px; }
body.site-light .product-note p { margin: 0; color: #c4c6cb; max-width: 770px; font-size: 14px; }
body.site-light .product-note .eyebrow { color: var(--yellow); }

body.site-light .promise { margin-top: 80px; background: var(--dark); color: #fff; border-radius: 20px; padding: 36px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 45px; align-items: center; }
body.site-light .promise .eyebrow { color: var(--yellow); }
body.site-light .promise h2 { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.1; letter-spacing: -.04em; margin: 9px 0 12px; color: var(--yellow); }
body.site-light .promise p { color: #c6c8ce; margin: 0; font-size: 15px; }
body.site-light .principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
body.site-light .principle { border: 1px solid #41434a; border-radius: 14px; padding: 17px; }
body.site-light .principle b { display: block; font-size: 14px; margin-bottom: 5px; }
body.site-light .principle span { font-size: 12px; color: #b9bbc1; }

body.site-light .contact { margin-top: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px 0; border-top: 1px solid var(--line); }
body.site-light .contact h2 { font-size: 23px; letter-spacing: -.03em; margin: 4px 0; }
body.site-light .contact p { color: var(--muted); font-size: 14px; margin: 0; }
body.site-light .contact .eyebrow { color: #735900; }
body.site-light .contact a:not(.button) { text-decoration: none; }
body.site-light .contact .button { flex: none; }

body.site-light .bands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
body.site-light .band-link { display: block; padding: 15px 16px; background: #fff; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; font-weight: 800; font-size: 13px; transition: transform .15s, border-color .15s; }
body.site-light .band-link .band-desc { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 3px; }
body.site-light .band-link:hover { border-color: #d0aa27; transform: translateY(-2px); }
body.site-light .meadow { background: var(--dark); color: #fff; border-radius: 20px; padding: 34px; margin: 0 0 72px; position: relative; overflow: hidden; }
body.site-light .meadow:after { content: ""; position: absolute; right: -90px; top: -150px; width: 320px; height: 320px; border: 1px solid rgba(246, 201, 40, .24); border-radius: 50%; box-shadow: 0 0 0 34px rgba(246, 201, 40, .04), 0 0 0 74px rgba(246, 201, 40, .03); pointer-events: none; }
body.site-light .meadow > * { position: relative; z-index: 1; }
body.site-light .meadow .eyebrow { color: var(--yellow); }
body.site-light .meadow h2 { font-size: clamp(29px, 4vw, 42px); line-height: 1.08; letter-spacing: -.04em; max-width: 760px; margin: 9px 0 14px; }
body.site-light .meadow > p { color: #c4c6cb; max-width: 800px; margin: 0 0 23px; }
body.site-light .characters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
body.site-light .character { border: 1px solid #41434a; background: rgba(255, 255, 255, .035); border-radius: 14px; padding: 18px; }
body.site-light .character strong { display: block; color: var(--yellow); font-size: 16px; margin-bottom: 5px; }
body.site-light .character span { font-size: 13px; color: #c4c6cb; }
body.site-light .storybox { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; margin-top: 20px; padding: 22px 23px; background: #22252d; border-radius: 15px; }
body.site-light .storybox h3 { font-size: 18px; margin: 0 0 8px; }
body.site-light .storybox p { margin: 0; color: #d5d6da; font-size: 14px; }
body.site-light .storybox ul { margin: 0; padding-left: 20px; color: #d5d6da; font-size: 13px; }
body.site-light .storybox li + li { margin-top: 6px; }
body.site-light .lessons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
body.site-light .lesson { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 24px; scroll-margin-top: 18px; }
body.site-light .lesson .grade { display: inline-block; border-radius: 999px; padding: 5px 10px; background: #fff4c8; color: #5a4811; font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
body.site-light .lesson h3 { font-size: 21px; letter-spacing: -.025em; margin: 12px 0 8px; }
body.site-light .lesson p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
body.site-light .lesson .label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; color: #735600; margin: 13px 0 5px; }
body.site-light .lesson ul { margin: 0; padding-left: 19px; color: var(--muted); font-size: 13px; }
body.site-light .lesson li + li { margin-top: 5px; }
body.site-light .lesson .outcome { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; font-size: 13px; color: #34383f; }
body.site-light .lesson .outcome b { color: var(--ink); }
body.site-light .teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
body.site-light .teacher-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 21px; }
body.site-light .teacher-card h3 { font-size: 17px; margin: 0 0 7px; }
body.site-light .teacher-card p { font-size: 13px; color: var(--muted); margin: 0; }
body.site-light .cta { background: #fff; border: 1px solid var(--line); border-radius: 19px; padding: 31px; display: grid; grid-template-columns: 1fr auto; gap: 27px; align-items: center; }
body.site-light .cta h2 { font-size: 29px; letter-spacing: -.035em; margin: 8px 0; }
body.site-light .cta p { color: var(--muted); margin: 0; max-width: 750px; }
body.site-light .cta .eyebrow { color: #735600; }
body.site-light .fineprint { font-size: 12px; color: var(--muted); margin: 18px 0 0; }

/* safety-resources.html: quick category nav (shield/heart/alert cards under
   the hero) and the "pending" badge standing in for a resource-list link
   whose official source URL hasn't been confirmed yet — never ship a
   fabricated href, so unverified sources render as plain text instead of
   a clickable <a>. */
body.site-light .category-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 36px 0 0; }
body.site-light .category-nav a { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
body.site-light .category-nav a:hover { transform: translateY(-3px); border-color: #d0aa27; box-shadow: 0 16px 34px rgba(18, 20, 24, .08); }
body.site-light .category-nav .icon-circle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff4c8; color: #5a4811; flex: none; }
body.site-light .category-nav .icon-circle svg { width: 20px; height: 20px; }
body.site-light .category-nav h3 { font-size: 16px; margin: 0; letter-spacing: -.02em; }
body.site-light .category-nav p { margin: 0; font-size: 13px; color: var(--muted); }

body.site-light .resource-list .resource .pending { display: inline-flex; align-items: center; gap: 6px; color: #8a6b1a; font-size: 12px; font-weight: 750; }
body.site-light .resource-list .resource .pending::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d0aa27; flex: none; }

body.site-light footer { background: #111318; color: #d9dadd; padding: 27px 0; font-size: 13px; }
body.site-light .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
body.site-light .footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
body.site-light .footer-links a, body.site-light .footer-inner a { color: var(--yellow); text-decoration: none; }
body.site-light .footer-links a:hover, body.site-light .footer-inner a:hover { text-decoration: underline; }
body.site-light .updated { color: #9ea1a7; font-size: 11px; }

@media (max-width: 1000px) {
  body.site-light .resources { grid-template-columns: repeat(2, 1fr); }
  body.site-light .resource-tile { min-height: 245px; }
  body.site-light .hero-inner { gap: 35px; }
}
@media (max-width: 950px) {
  body.site-light .bands { grid-template-columns: repeat(3, 1fr); }
  body.site-light .characters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  body.site-light .intro, body.site-light .callout-grid { grid-template-columns: 1fr; gap: 23px; }
  body.site-light .cards { grid-template-columns: 1fr; }
  body.site-light .trend-grid, body.site-light .events, body.site-light .resource-list, body.site-light .recovery, body.site-light .category-nav { grid-template-columns: 1fr; }
  body.site-light .steps { grid-template-columns: repeat(2, 1fr); }
  body.site-light .request, body.site-light .product-note, body.site-light .cta { grid-template-columns: 1fr; padding: 27px; }
  body.site-light .request .button, body.site-light .product-note .button, body.site-light .cta .button { justify-self: start; }
}
@media (max-width: 760px) {
  body.site-light .wrap { width: min(calc(100% - 36px), var(--max)); }
  body.site-light .hero { padding: 108px 0 68px; }
  body.site-light .home-hero, body.site-light .hero-inner, body.site-light .promise { grid-template-columns: 1fr; gap: 25px; }
  body.site-light .hero-report-stage { max-width: 520px; padding: 0; }
  body.site-light .hero-report { transform: none; }
  body.site-light .home-hero .actions { flex-wrap: nowrap; gap: 8px; }
  body.site-light .home-hero .actions .button { flex: 1 1 0; min-width: 0; padding: 13px 10px; font-size: 13px; white-space: normal; text-align: center; }
  body.site-light .hero-actions { flex-wrap: nowrap; gap: 8px; }
  body.site-light .hero-actions .button { flex: 1 1 0; min-width: 0; padding: 13px 10px; font-size: 13px; white-space: normal; text-align: center; }
  body.site-light main { padding: 58px 0 68px; }
  body.site-light .resources { grid-template-columns: 1fr; }
  body.site-light .bands { grid-template-columns: repeat(2, 1fr); }
  body.site-light .lessons, body.site-light .resource-list, body.site-light .teacher-grid { grid-template-columns: 1fr; }
  body.site-light .meadow, body.site-light .callout { padding: 27px; margin-bottom: 58px; }
  body.site-light .storybox { grid-template-columns: 1fr; }
  body.site-light .contact { align-items: flex-start; flex-direction: column; margin-top: 58px; }
  body.site-light .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  body.site-light .principles, body.site-light .bands, body.site-light .characters { grid-template-columns: 1fr; }
  body.site-light .hero-report { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body.site-light .resource-tile, body.site-light .band-link { transition: none; }
}

/* =====================================================================
   Investors (light-theme gate). The #gate id and every form/field id
   inside are untouched (see js/investors.js) — only the shell around
   them and the .card's own look are redone here. Everything is scoped
   under body.site-light #gate so affiliate-login.html, which shares
   the same #gate/.card/.password-field/.link-btn class names and stays
   on the original dark theme, is completely unaffected.
   ===================================================================== */

body.site-light #gate.investor-gate {
  background: var(--paper);
  padding: 132px 24px 90px;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}
body.site-light .investor-gate-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
body.site-light .investor-gate-intro h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 14px 0 16px;
  color: var(--ink);
}
body.site-light .investor-gate-intro h1 .accent { color: #a17a00; }
body.site-light .investor-gate-intro > p { color: var(--muted); font-size: 17px; margin: 0 0 28px; max-width: 460px; }
body.site-light .investor-gate-intro .notice {
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 14px 34px rgba(20, 20, 20, .05);
}
body.site-light .investor-gate-intro .notice strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
}
body.site-light .investor-gate-intro .notice p { margin: 0; color: var(--muted); font-size: 14px; }

body.site-light #gate .card {
  max-width: 440px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(20, 20, 20, .06);
}
body.site-light #gate .card h1, body.site-light #gate .card h2 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 800; color: var(--ink); }
body.site-light #gate .card > p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
body.site-light #gate .card label { color: var(--ink); font-weight: 700; font-size: 13px; }
body.site-light .optional-tag { color: #9a9da3; }
body.site-light .auth-tabs { margin-bottom: 24px; }
body.site-light .auth-tab { background: transparent; border: 1px solid #cfd1d5; color: var(--muted); }
body.site-light .auth-tab.active { background: var(--yellow); color: #17191f; border-color: var(--yellow); }
body.site-light #gate .card input {
  background: #fff;
  border: 1px solid #cfd1d5;
  color: var(--ink);
}
body.site-light #gate .card input::placeholder { color: #9a9da3; }
body.site-light #gate .card button[type="submit"] {
  background: var(--yellow);
  color: #17191f;
  border-radius: 999px;
  font-weight: 800;
}
body.site-light #gate .card button[type="submit"]:hover { background: #ffda4e; }
body.site-light .password-toggle-btn { color: #767a82; }
body.site-light .password-toggle-btn:hover { color: var(--ink); }
body.site-light #gate .card .error-text { color: #b4460f; }
body.site-light #gate .card input.field-invalid { border-color: #d93025; }
body.site-light #gate .card .field-error { color: #d93025; }
body.site-light #gate .card .hint-text { color: #767a82; }
body.site-light .link-btn { color: #5a5f68; }
body.site-light .link-btn:hover { color: var(--ink); }
body.site-light #gate .card .back-link { color: #5a5f68; }

@media (max-width: 800px) {
  body.site-light .investor-gate-grid { grid-template-columns: 1fr; gap: 32px; }
  body.site-light #gate.investor-gate { padding: 112px 20px 60px; min-height: 0; }
}

/* Affiliate gate (affiliate-login.html): same two-column
   hero + card layout as the investor gate above, with its own class
   names so this page's self-service sign-up forms stay independent of
   the investor flow. The card itself (#gate .card, inputs, buttons, …)
   already reuses the shared body.site-light #gate .card rules above —
   only the intro column and grid shell need affiliate-specific layout. */
body.site-light #gate.affiliate-gate {
  background: var(--paper);
  padding: 132px 24px 90px;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}
body.site-light .affiliate-gate-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: start;
}
body.site-light .affiliate-gate-intro h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 14px 0 16px;
  color: var(--ink);
}
body.site-light .affiliate-gate-intro > p { color: var(--muted); font-size: 17px; margin: 0 0 28px; max-width: 460px; }
body.site-light .affiliate-gate-intro .notice {
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 14px 34px rgba(20, 20, 20, .05);
}
body.site-light .affiliate-gate-intro .notice strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
}
body.site-light .affiliate-gate-intro .notice p { margin: 0; color: var(--muted); font-size: 14px; }

.signup-intro {
  margin-bottom: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
#gate .card .signup-intro h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
#gate .card .signup-intro p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px;
}
#gate .card .signup-intro p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
  body.site-light .affiliate-gate-grid { grid-template-columns: 1fr; gap: 32px; }
  body.site-light #gate.affiliate-gate { padding: 112px 20px 60px; min-height: 0; }
}

/* #investor-content (the authenticated investor centre) now shares the
   same light "static-content" component vocabulary as #affiliate-content
   below (centre-section/quote-card/metric/process-grid, …) instead of its
   old standalone dark scroll-story — see js/investors.js. It relies on
   <body>'s own light background showing through, same as #affiliate-content. */
#investor-content {
  padding-top: 140px;
}

/* Every section's .static-content shares one width here, including the
   --center sections (which would otherwise fall back to the narrower
   720px base), so the left-aligned section-eyebrow lines up at the same
   x position down the page instead of shifting per section. Centered
   content (quote-card--center, content-heading via inline text-align,
   the stat row's own margin:auto) still centers on the page either way,
   since it's centered relative to the viewport, not this box's edge. */
#investor-content .static-content {
  max-width: 980px;
}

/* Centers a quote-card's pull-quote; used for the mission-statement and
   dating-fraud-101 blocks, which read as a standalone emphasised quote
   rather than the usual left-aligned card paired with other content. */
.quote-card--center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.static-content--center {
  text-align: center;
}

/* The eyebrow label ("5 / Scam Losses…") reads as a section number/tag, not
   part of the centered statement below it — keep it left-aligned even in
   centered sections so every section's eyebrow lines up the same way down
   the page, matching the always-left-aligned --wide sections. */
.static-content--center .section-eyebrow {
  text-align: left;
}

/* A full-width gold top border on the card read as an unrelated stripe
   sitting under the black heading above it — heading and card looked like
   two separate elements rather than one grouped unit. Instead, the gold
   accent moves to a short rule directly under the heading, pulled in
   close (tight margin, no border-top on the card itself), so it reads as
   the heading's own underline leading straight into the card rather than
   a stripe belonging to the card. */
#investor-content .content-heading:has(+ .quote-card) {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

#investor-content .content-heading:has(+ .quote-card)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-gold);
}

/* A section's eyebrow ("2 / Our Goal") is a small label, not a title — it
   was standing in for one across the investor centre, which read as
   under-weighted. .content-heading (used here as each section's real
   headline) already exists sitewide; nothing new needed there. */

/* ---------- Investor centre: contact card ---------- */

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 48px 40px;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff4c8;
  color: #5a4811;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-email {
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 0.2s ease;
}

.contact-card-email:hover {
  border-color: var(--accent-gold);
}

.contact-card .social-links {
  gap: 20px;
  margin-top: 4px;
}

.contact-card .social-icon {
  width: 48px;
  height: 48px;
}

.contact-card .social-icon svg {
  width: 22px;
  height: 22px;
}

.logo-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.logo-showcase img {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .15));
}

/* Missing from the original site-light pass: index.html's hero button row
   used this class but it was never actually defined, so those buttons sat
   on plain inline-flow spacing (visually close by accident). Defining it
   properly now that affiliates.html's new hero also needs it. */
body.site-light .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
body.site-light .bee-visual video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   Affiliates.html content (opportunity/how/benefits/landscape/global/
   resources/join sections) — recolored for the light theme. Every class
   below this point is also used by affiliate-access.html's #affiliate-
   content (same shared "static content block" component vocabulary),
   which stays on the original dark theme — so every rule is scoped
   under body.site-light to leave that page untouched.
   ===================================================================== */

body.site-light .content-section { padding: 90px 24px; }
body.site-light .content-section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.site-light .static-content h1, body.site-light .static-content h2 { color: var(--ink); }
body.site-light .section-eyebrow { color: #735900; font-weight: 800; }
body.site-light .content-heading { color: var(--ink); font-weight: 800; letter-spacing: -.03em; }
body.site-light .content-lead { color: var(--muted); }
body.site-light .content-note { color: var(--muted); }
body.site-light .content-note--faint { opacity: 1; color: #8a8e96; }

body.site-light .quote-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(20, 20, 20, .04); }
body.site-light .quote-card .quote-mark { color: #d9b43a; }
body.site-light .quote-card p { color: var(--ink); }
body.site-light .quote-card .content-note { border-top: 1px solid var(--line); }

body.site-light .cta-btn { background: var(--yellow); color: #17191f; font-weight: 800; }
body.site-light .cta-btn:hover { opacity: 1; background: #ffda4e; }
body.site-light .cta-btn--ghost { background: transparent; color: var(--ink); border: 1px solid #c7c9ce; }
body.site-light .cta-btn--ghost:hover { background: #f3f4f5; }

body.site-light .process-step p { color: var(--muted); }
body.site-light .process-step h3 { color: var(--ink); }
body.site-light .process-step:hover { background: #f6f5f1; }
body.site-light .process-footer { border-top: 1px solid var(--line); }
body.site-light .process-footer p { color: var(--ink); }

body.site-light .benefit-card { border-top: 1px solid var(--line); }
body.site-light .benefit-card:hover { background: #f6f5f1; border-color: var(--yellow); }
body.site-light .benefit-card:hover .benefit-icon { stroke: #a17a00; }
body.site-light .benefit-icon { stroke: #3a3d42; }
body.site-light .benefit-card h3 { color: var(--ink); }
body.site-light .benefit-card p { color: var(--muted); }

body.site-light .revenue-callout { background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(20, 20, 20, .04); }
body.site-light .revenue-callout h3 { color: var(--ink); }
body.site-light .revenue-callout p { color: var(--muted); }

body.site-light .landscape-item { border-top: 1px solid var(--line); }
body.site-light .landscape-item h3 { color: var(--ink); }
body.site-light .landscape-item p { color: var(--muted); }
body.site-light .landscape-note { color: var(--muted); }
body.site-light .landscape-note a { color: #735600; font-weight: 700; }

body.site-light .orbit-wrap { background: var(--dark); border-radius: 50%; }
body.site-light .orbit-tag { background: #22252d; box-shadow: 0 10px 30px rgba(20, 20, 20, .18); }

body.site-light .resource-item { border-bottom: 1px solid var(--line); color: var(--ink); }
body.site-light .resource-item span { color: #9a9da3; }

body.site-light .statement-block { border-left: 2px solid var(--yellow); }
body.site-light .statement-block p { color: var(--ink); }

body.site-light .existing-affiliate, body.site-light .form-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(20, 20, 20, .04);
}
body.site-light .existing-affiliate:hover, body.site-light .form-card:hover { background: #fdfcf9; }
body.site-light .existing-affiliate:hover { border-color: var(--yellow); }
body.site-light .existing-affiliate h3, body.site-light .form-card h3 { color: var(--ink); }
body.site-light .existing-affiliate .card-body { color: var(--muted); }
body.site-light .form-card { border-color: rgba(246, 201, 40, .4); }
body.site-light .form-card:hover { border-color: rgba(246, 201, 40, .8); }
body.site-light .card-tag { border: 1px solid #c7c9ce; color: var(--muted); }
body.site-light .field label { color: var(--ink); font-weight: 700; }
body.site-light .field input, body.site-light .field textarea { background: #fff; border: 1px solid #cfd1d5; color: var(--ink); }
body.site-light .field input:focus, body.site-light .field textarea:focus { border-color: var(--yellow); }
body.site-light .form-card .hint-text { color: var(--muted); }
body.site-light .consent span { color: var(--muted); }
body.site-light .form-message { color: var(--ink); }
body.site-light .form-message.is-error { color: #b4460f; }

body.site-light .contact-block { border-top: 1px solid var(--line); }
body.site-light .contact-block p { color: var(--muted); }

/* Signature "underline accent" motif borrowed from the beesure-website-
   concept reference, applied only to the three pages in this restyle
   pass (home/investors/affiliates) rather than globally, since the other
   light-themed pages weren't part of this request. */
body.site-light .home-hero .accent,
body.site-light .affiliate-hero .accent,
body.site-light .investor-gate-intro h1 .accent,
body.site-light .affiliate-gate-intro h1 .accent-underline {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 5px;
  text-underline-offset: 6px;
}

/* =====================================================================
   affiliate-access.html's #affiliate-content (logged-in Affiliate
   Information Centre) — components unique to this page, not shared with
   affiliates.html, so the "Affiliates.html content" pass above never
   touched them. Left on their original dark styling even once the page
   as a whole went light, which washed them out (dark card fills, and
   low-alpha white text, on the new light background). Recolored here
   the same way the shared components above were.
   ===================================================================== */

body.site-light .centre-section { border-bottom: 1px solid var(--line); }

body.site-light .scroll-dots-track { border-left: 2px dotted var(--line); }
body.site-light .scroll-dot { background: #fff; border-color: #c7c9ce; }
body.site-light .scroll-dot:hover { border-color: var(--ink); }

body.site-light .quick-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(20, 20, 20, .04); color: var(--ink); }
body.site-light .quick-card:hover { border-color: var(--yellow); }
body.site-light .quick-card h3 { color: var(--ink); }
body.site-light .quick-card p { color: var(--muted); }

body.site-light .metric { background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(20, 20, 20, .04); }
body.site-light .metric strong { color: var(--ink); }
body.site-light .metric span { color: var(--muted); }

body.site-light .revenue-table th, body.site-light .revenue-table td { border-bottom: 1px solid var(--line); color: var(--ink); }
body.site-light .revenue-table thead th { color: var(--muted); }

body.site-light .calc { background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(20, 20, 20, .04); }
body.site-light .calc h3 { color: var(--ink); }
body.site-light .calc label { color: var(--muted); }
body.site-light .calc input { background: #fff; border: 1px solid #cfd1d5; color: var(--ink); }
body.site-light .calc-result { border-left: 2px solid var(--line); }
body.site-light .calc-result span, body.site-light .calc-result p { color: var(--muted); }
body.site-light .calc-result strong { color: var(--ink); }

body.site-light .faq-item { border-bottom: 1px solid var(--line); }
body.site-light .faq-item summary { color: var(--ink); }
body.site-light .faq-item p { color: var(--muted); }

body.site-light .step-list h3 { color: var(--ink); }
body.site-light .step-list p { color: var(--muted); }
