/* ===== Mission-Primed Dark System (locked) ===== */
:root{
  --black:#0B0B0B;
  --charcoal:#121212;
  --panel:#1A1A1A;

  --white:#F5F5F5;
  --muted:#A0A0A0;

  --emerald:#00733E;
  --gold:#D4AF37;

  --border: rgba(255,255,255,.08);
  --soft: rgba(255,255,255,.06);

  --radius: 18px;
  --radius-sm: 12px;

  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.45);

  --max: 1120px;
}

/* Base */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", Helvetica;
  background: var(--black);        /* base */
  color: var(--white);
  line-height:1.5;
  position: relative;              /* anchor for z-index stacking */
  overflow-x: hidden;              /* prevents glow “side scroll” */
}

/* Fixed background layer (does NOT scroll) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(1200px 700px at 30% -10%, rgba(0,115,62,.25), transparent 55%),
    radial-gradient(900px 600px at 80% 20%, rgba(212,175,55,.14), transparent 55%),
    radial-gradient(900px 700px at 20% 120%, rgba(0,115,62,.10), transparent 60%),
    radial-gradient(900px 700px at 90% 120%, rgba(212,175,55,.06), transparent 60%),
    var(--black);

  transform: translateZ(0);  /* helps some GPUs */
}

a{ color: var(--white); text-decoration:none; }
a:hover{ opacity:.9; }

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

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

/* Panels */
.panel{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow:hidden;
}

/* subtle inner glow edge */
.panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(600px 300px at 10% 0%, rgba(0,115,62,.18), transparent 60%),
              radial-gradient(600px 300px at 90% 30%, rgba(212,175,55,.10), transparent 60%);
  pointer-events:none;
  opacity:.9;
}

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(11,11,11,.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__mark{
  width:34px;
  height:34px;
  object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55));
}
.brand__name{
  font-weight:800;
  letter-spacing:.08em;
  font-size: 13px;
}
.brand__tag{
  font-size: 12px;
  color: var(--muted);
  margin-top:2px;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav__link{
  color: var(--muted);
  font-size: 13px;
  letter-spacing:.02em;
}
.nav__link:hover{ color: var(--white); }
.nav__cta{
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,115,62,.45);
  background: rgba(0,115,62,.10);
}
.nav__cta:hover{
  border-color: rgba(212,175,55,.55);
  background: rgba(212,175,55,.08);
}

/* Typography */
.h1{
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.06;
  margin: 16px 0 10px;
  letter-spacing:-.02em;
}
.h2{
  font-size: 20px;
  margin:0 0 10px;
  letter-spacing:-.01em;
}
.h3{
  font-size: 16px;
  margin:0 0 8px;
}
.lead{
  color: rgba(245,245,245,.86);
  font-size: 15px;
  max-width: 62ch;
  margin: 0 0 18px;
}
.accent{
  color: var(--emerald);
  text-shadow: 0 0 18px rgba(0,115,62,.25);
}

/* Hero */
.hero{
  padding: 48px 0 26px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 22px;
  align-items: stretch;
}
.hero__left{
  padding: 26px;
}
.hero__right{
  padding: 22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

/* Pills / chips */
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.20);
  background: rgba(26,26,26,.65);
}
.pill__dot{
  width:10px;
  height:10px;
  border-radius:99px;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(0,115,62,.12);
}
.pill__text{
  font-size: 12px;
  color: rgba(245,245,245,.85);
}
.pill__text b{ color: var(--gold); font-weight:800; }

.stack{ display:flex; flex-direction:column; gap:12px; margin-top: 8px; }
.mini{
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(18,18,18,.55);
}
.mini__title{
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}
.mini__desc{
  color: var(--muted);
  font-size: 12.5px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
}
.chip{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(245,245,245,.85);
  background: rgba(255,255,255,.03);
}
.chip--emerald{
  border-color: rgba(0,115,62,.40);
  background: rgba(0,115,62,.10);
}
.chip--gold{
  border-color: rgba(212,175,55,.38);
  background: rgba(212,175,55,.08);
}

/* Buttons */
.cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 14px; }
.cta--right{ justify-content:flex-end; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.btn--primary{
  border-color: rgba(0,115,62,.55);
  background: linear-gradient(180deg, rgba(0,115,62,.22), rgba(0,115,62,.10));
}
.btn--primary:hover{
  border-color: rgba(212,175,55,.55);
}
.btn--ghost{
  background: rgba(255,255,255,.02);
}
.btn--outline{
  border-color: rgba(212,175,55,.35);
  background: rgba(212,175,55,.06);
}
.btn:hover{ transform: translateY(-1px); transition: .18s ease; }

.subline{
  margin-top: 12px;
  color: rgba(160,160,160,.95);
  font-size: 12.5px;
}

/* Stats strip */
.stats{
  padding: 8px 0 30px;
}
.stats__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat{
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(18,18,18,.45);
  border-radius: 14px;
  padding: 14px;
}
.stat__num{
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--gold);
  font-size: 16px;
}
.stat__label{
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  text-transform: lowercase;
}

/* Sections */
.section{
  padding: 72px 0;
}
.section--alt{
  background: transparent; /* let the fixed background show through */
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 20px;
  margin-bottom: 18px;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{ padding: 18px; }
.step__badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: var(--black);
  background: linear-gradient(180deg, rgba(212,175,55,1), rgba(212,175,55,.7));
  margin-bottom: 10px;
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  padding: 18px;
}
.list{
  margin: 10px 0 12px;
  padding-left: 18px;
  color: rgba(245,245,245,.86);
  font-size: 12.8px;
}
.list li{ margin: 7px 0; color: rgba(245,245,245,.78); }
.link{
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}
.link:hover{ color: var(--white); }

/* Baseline block */
.baseline{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
}
.checks{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.checks li{
  padding-left: 30px;
  position: relative;
  color: rgba(245,245,245,.82);
  font-size: 13px;
}
.checks li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,115,62,.18);
  border: 1px solid rgba(0,115,62,.45);
  color: var(--gold);
  font-weight: 900;
}

/* Proof */
.proof{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.proof__box{ padding: 18px; }
.tags{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 8px; }
.tag{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
  color: rgba(245,245,245,.82);
}
.divider{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 14px 0;
}

/* Offers */
.offers{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.offer{ padding: 18px; }
.offer--featured{
  border-color: rgba(0,115,62,.35);
  box-shadow: 0 18px 60px rgba(0,115,62,.10), var(--shadow-soft);
}
.offer__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 8px;
}
.offer__title{
  font-weight: 900;
  letter-spacing: .02em;
}
.offer__pill{
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(245,245,245,.82);
}
.offer__pill--emerald{
  border-color: rgba(0,115,62,.45);
  background: rgba(0,115,62,.10);
}
.offer__pill--gold{
  border-color: rgba(212,175,55,.45);
  background: rgba(212,175,55,.08);
}

/* Bottom CTA block */
.ctaBlock{
  padding: 72px 0;
}
.ctaBlock__inner{
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

/* Footer */
.footer{
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(11,11,11,.55);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
}
.footer__brand{
  font-weight: 900;
  margin-bottom: 6px;
}
.footer__meta{
  color: var(--muted);
  font-size: 12.5px;
}
.footer__meta a{ color: rgba(245,245,245,.85); }
.footer__meta a:hover{ color: var(--gold); }
.footer__small{ font-size: 12px; }

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .stats__grid{ grid-template-columns: repeat(2,1fr); }
  .steps{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .proof{ grid-template-columns: 1fr; }
  .offers{ grid-template-columns: 1fr; }
  .baseline{ grid-template-columns: 1fr; }
  .ctaBlock__inner{ flex-direction: column; align-items:flex-start; }
  .cta--right{ justify-content:flex-start; }
  .nav{ display:none; } /* keep simple for now; we can add mobile menu later */
}

/* =========================================================
   PANEL CONTENT SAFETY PADDING (GLOBAL FIX)
   ========================================================= */

/* Ensure all panels have usable inner spacing */
.panel{
  padding: 28px 30px;
}

/* Long-form document panels (privacy, terms, compliance text) */
.panel h2,
.panel h3,
.panel p,
.panel ul,
.panel ol{
  margin-left: 2px;
  margin-right: 2px;
}

/* Comfortable reading width inside panels */
.panel p,
.panel li{
  max-width: 70ch;
}

/* Lists need real indentation */
.panel ul,
.panel ol{
  padding-left: 1.25rem;
}

/* Space stacked sections cleanly */
.panel h2 + p,
.panel h3 + p{
  margin-top: 0.6rem;
}

/* Prevent text from touching glass edges on small screens */
@media (max-width: 768px){
  .panel{
    padding: 22px 20px;
  }

  .panel p,
  .panel li{
    max-width: 100%;
  }
}

.panel--document{
  padding: 34px 38px;
}

/* Two-card layout helper (used for "Who We Support") */
.cards--two{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

/* HERO: better vertical alignment + fill right-panel gap */
.hero__left,
.hero__right{
  display: flex;
  flex-direction: column;
}

/* Keep the left panel feeling centered and strong */
.hero__left{
  justify-content: center;
}

/* Distribute content in the right panel so it doesn't look empty */
.hero__right{
  justify-content: space-between;
  gap: 14px;
}

/* Chip row inside right hero panel */
.hero__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* On smaller screens, don't force "space-between" (looks weird stacked) */
@media (max-width: 900px){
  .hero__right{
    justify-content: flex-start;
  }
}

/* NAV DROPDOWN (desktop hover + mobile click) */
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  position:relative;
}

/* left group vs right CTA */
.nav__left{ display:flex; align-items:center; gap:12px; }
.nav__right{ display:flex; align-items:center; gap:12px; }

/* base link */
.nav__link{
  color:var(--muted-100);
  text-decoration:none;
  padding:8px 10px;
  display:inline-block;
  font-weight:600;
  border-radius:8px;
}
.nav__link:hover,
.nav__link:focus{ color:var(--accent-100); background: rgba(255,255,255,0.02); outline: none; }

/* dropdown wrapper */
.nav__dropdown{
  position:relative;
  display:inline-block;
}

/* visible trigger (styled like text button) */
.nav__trigger{
  background:transparent;
  border:0;
  color:var(--muted-100);
  font-weight:600;
  padding:8px 10px;
  border-radius:8px;
  cursor:pointer;
}
.nav__trigger:hover,
.nav__trigger:focus{ color:var(--accent-100); background: rgba(255,255,255,0.02); outline:none; }

/* dropdown menu */
.nav__menu{
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  min-width:220px;
  background: linear-gradient(180deg, rgba(20,24,21,0.98), rgba(14,14,14,0.95));
  border-radius:12px;
  padding:8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  z-index:50;
}

/* menu items inside */
.nav__menu li{ list-style:none; margin:0; }
.nav__sublink{
  display:block;
  padding:10px 12px;
  color:var(--muted-80);
  border-radius:8px;
  font-weight:600;
}
.nav__sublink:hover,
.nav__sublink:focus{ background: rgba(255,255,255,0.02); color:var(--accent-100); outline:none; }

/* show on hover for desktop */
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* When JS toggles .open on dropdown, make visible */
.nav__dropdown.open .nav__menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* small screens: stack nav and make menu full-width under item */
@media (max-width: 900px){
  .nav{ flex-direction:column; align-items:flex-start; gap:8px; }
  .nav__left{ width:100%; display:flex; flex-wrap:wrap; gap:6px; }
  .nav__right{ width:100%; display:flex; justify-content:flex-end; }

  .nav__menu{
    position:relative;
    transform:none;
    opacity:1;
    visibility:visible;
    display:none;
    background:transparent;
    box-shadow:none;
    padding-left: 12px;
  }

  /* when open, show (JS toggles .open) */
  .nav__dropdown.open .nav__menu{ display:block; }

  .nav__sublink{ padding:8px 0; color:var(--muted-70); }
}

/* small visual polish */
.nav__trigger::after{ content:''; display:inline-block; width:0; height:0; margin-left:6px; }
