/* ============================================================
   JERKMONEY — Main Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --gd: #3b6d11;
  --gm: #639922;
  --gl: #c0dd97;
  --gt: #eaf3de;
  --at: #fff9ed;
  --ab: #f0c865;
  --ax: #7a5200;
  --bg: #f7f9f3;
  --card: #fff;
  --bd: #dce8c8;
  --t1: #111a0e;
  --t2: #5a6b52;
  --t3: #8a9e7a;
  --r: 10px;
  --wrap-w: 1100px;
  --header-h: 64px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--t1);
  line-height: 1.6;
  padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; }
h2 {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: .4rem;
}
h3 {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.015em;
  margin-bottom: .2rem;
}
p { color: var(--t2); font-weight: 400; font-size: .93rem; }
strong { font-weight: 600; color: var(--t1); }

/* ── Layout helpers ─────────────────────────────────────────── */
.wrap { max-width: var(--wrap-w); margin: 0 auto; }
.sec { padding: 3rem 2rem; }
.sec-w { background: var(--card); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.lbl {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gm);
  margin-bottom: .4rem;
}
.mt { margin-top: 1.25rem; }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--card);
  border-bottom: 1px solid var(--bd);
  z-index: 200;
}
.header-inner {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { height: 36px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--t2);
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-link:hover { background: var(--gt); color: var(--gd); }
.nav-link.active { color: var(--gd); background: var(--gt); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  gap: 5px;
}
.nav-toggle .bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--t1);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Sticky Nav Band ────────────────────────────────────────── */
.band {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: var(--card);
  border-bottom: 1px solid var(--gl);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.band-i {
  display: flex;
  gap: 3px;
  padding: 8px 2rem;
  overflow-x: auto;
  white-space: nowrap;
  max-width: var(--wrap-w);
  margin: 0 auto;
  scrollbar-width: none;
  flex: 1;
}
.band-i::-webkit-scrollbar { display: none; }

.back-to-top {
  position: fixed;
  bottom: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gd);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 12px rgba(59, 109, 17, .2);
}
.back-to-top:hover {
  background: #2f5a0d;
  transform: scale(1.05);
}
.back-to-top.show {
  display: flex;
}
.pill {
  font-size: .8rem;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--t2);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  white-space: nowrap;
  transition: background .12s, color .12s;
  flex-shrink: 0;
}
.pill:hover { background: var(--gt); color: #27500a; }
.pill.active { background: var(--gd); color: #fff; border-color: var(--gd); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--card);
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--bd);
}
.eyebrow {
  display: inline-block;
  background: var(--gt);
  color: var(--gm);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  border: 1px solid var(--gl);
  margin-bottom: 1.4rem;
}
.hero-h {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -.04em;
  max-width: 640px;
  margin: 0 auto .9rem;
}
.hero-h em { color: var(--gd); font-style: normal; }
.hero-sub {
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--t2);
}
.btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn-p {
  display: inline-block;
  background: var(--gd);
  color: #fff;
  text-decoration: none;
  padding: .7rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s;
}
.btn-p:hover { background: #2f5a0d; }
.btn-o {
  display: inline-block;
  background: transparent;
  color: var(--gd);
  text-decoration: none;
  padding: .7rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .9rem;
  border: 1.5px solid var(--gl);
  transition: background .15s, border-color .15s;
}
.btn-o:hover { background: var(--gt); border-color: var(--gm); }

/* ── Stats ──────────────────────────────────────────────────── */
.stat-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.stat-c {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1rem;
  text-align: center;
}
.stat-n {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gd);
}
.stat-l { font-size: .73rem; color: var(--t3); margin-top: .2rem; }

/* ── Platforms ──────────────────────────────────────────────── */
.plat-g { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.plat-c {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 12px;
  overflow: hidden;
}
.plat-h {
  background: var(--gt);
  border-bottom: 1px solid var(--gl);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plat-nm {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gd);
}
.plat-bg {
  font-size: .67rem;
  background: var(--gd);
  color: #fff;
  padding: .2rem .65rem;
  border-radius: 100px;
  font-weight: 600;
}
.plat-b { padding: 1.1rem 1.4rem; }
.pros { list-style: none; margin-bottom: 1rem; }
.pros li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .85rem;
  color: var(--t2);
  padding: .25rem 0;
}
.pros li i { color: var(--gd); font-size: .95rem; margin-top: 3px; flex-shrink: 0; }
.pay-lbl {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--t3);
  margin-bottom: .35rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1rem; }
.chip {
  font-size: .72rem;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 100px;
  padding: .18rem .6rem;
  color: var(--t2);
}
.plat-cta {
  display: inline-block;
  background: var(--gd);
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 6px;
  transition: background .15s;
}
.plat-cta:hover { background: #2f5a0d; }

/* ── NEW badge box ──────────────────────────────────────────── */
.nb {
  background: var(--at);
  border: 1px solid var(--ab);
  border-radius: 8px;
  padding: .9rem 1.1rem;
  margin: .9rem 0;
}
.nb-h {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ax);
  margin-bottom: .45rem;
}
.nb-h i { font-size: .95rem; }
.nb p { font-size: .8rem; color: var(--ax); line-height: 1.55; margin-bottom: .4rem; }
.nb ul { list-style: none; }
.nb li { font-size: .8rem; color: var(--ax); padding: .18rem 0; display: flex; gap: .4rem; }
.nb li::before { content: "→"; flex-shrink: 0; }

/* ── Multi-platform tip ─────────────────────────────────────── */
.multi {
  background: var(--gt);
  border: 1px solid var(--gl);
  border-radius: var(--r);
  padding: 1.1rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.1rem;
}
.multi i { font-size: 1.4rem; color: var(--gd); flex-shrink: 0; margin-top: 3px; }
.multi h3 { font-size: .95rem; }
.multi p { font-size: .85rem; }

/* ── Equipment ──────────────────────────────────────────────── */
.eq-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.eq-c {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1rem;
}
.eq-i { font-size: 1.4rem; color: var(--gd); margin-bottom: .5rem; }
.eq-d { font-size: .8rem; color: var(--t2); line-height: 1.55; }

/* ── Steps ──────────────────────────────────────────────────── */
.steps { list-style: none; }
.step {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--bd);
  align-items: flex-start;
}
.step:last-child { border-bottom: none; }
.step-n {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gd);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step p { font-size: .85rem; }
.step-lnk {
  display: inline-block;
  background: var(--gd);
  color: #fff;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 5px;
  margin-top: .5rem;
  transition: background .15s;
}
.step-lnk:hover { background: #2f5a0d; }

/* ── Alert ──────────────────────────────────────────────────── */
.alert {
  background: var(--at);
  border: 1px solid var(--ab);
  border-radius: 8px;
  padding: .8rem 1.1rem;
  margin-top: 1.1rem;
  font-size: .83rem;
  color: var(--ax);
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  line-height: 1.55;
}
.alert i { flex-shrink: 0; margin-top: 2px; }

/* ── Privacy list ───────────────────────────────────────────── */
.priv-ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.priv-li {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: .9rem 1.1rem;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.priv-li i { font-size: 1.2rem; color: var(--gd); flex-shrink: 0; margin-top: 2px; }
.priv-li p { font-size: .83rem; }

/* ── Earnings grid ──────────────────────────────────────────── */
.earn-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.earn-c {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1rem;
}
.earn-i { font-size: 1.3rem; color: var(--gd); margin-bottom: .45rem; }
.earn-d { font-size: .8rem; color: var(--t2); line-height: 1.55; }

/* ── Go deeper link ─────────────────────────────────────────── */
.deeper {
  background: var(--card);
  border: 1px solid var(--bd);
  border-left: 3px solid var(--gd);
  border-radius: 0 8px 8px 0;
  padding: .9rem 1.1rem;
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.deeper-l { display: flex; gap: .75rem; align-items: flex-start; }
.deeper-l i { font-size: 1.1rem; color: var(--gd); flex-shrink: 0; margin-top: 2px; }
.deeper-t { font-size: .86rem; font-weight: 600; color: var(--t1); }
.deeper-d { font-size: .78rem; color: var(--t2); }
.deeper a {
  font-size: .82rem;
  color: var(--gd);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s;
}
.deeper a:hover { color: #2f5a0d; }

/* ── Article Library ────────────────────────────────────────── */
.lib-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.lib-c {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.1rem;
}
.lib-tag {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 600;
  color: var(--gm);
  margin-bottom: .35rem;
}
.lib-t {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--t1);
  line-height: 1.35;
  margin-bottom: .3rem;
}
.lib-d { font-size: .75rem; color: var(--t2); line-height: 1.55; margin-bottom: .6rem; }
.lib-a { font-size: .76rem; color: var(--gd); font-weight: 600; text-decoration: none; }
.lib-a:hover { text-decoration: underline; }

/* ── Legal box ──────────────────────────────────────────────── */
.legal-b {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.3rem 1.6rem;
}
.legal-b p { font-size: .9rem; line-height: 1.8; }
.legal-b a { color: var(--gd); font-weight: 500; }
.legal-b a:hover { text-decoration: underline; }

/* ── Bottom CTA ─────────────────────────────────────────────── */
.cta-sec {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--card);
  border-top: 1px solid var(--bd);
}
.cta-sec h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .65rem;
}
.cta-sec h2 em { color: var(--gd); font-style: normal; }
.cta-sec p { max-width: 480px; margin: 0 auto 1.75rem; font-size: .95rem; }

/* ── Platform sign-up buttons ───────────────────────────────── */
.platform-btns {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.platform-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  flex: 0 1 160px;
  min-width: 140px;
}
.platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  background: var(--card);
  border: 1.5px solid var(--bd);
  border-radius: var(--r);
  padding: .65rem 1.25rem;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.platform-btn:hover {
  border-color: var(--gm);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gd) 15%, transparent);
  transform: translateY(-1px);
}
.platform-logo { height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.platform-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--t2);
  text-transform: lowercase;
  letter-spacing: .01em;
}

/* ── Affiliate notice ───────────────────────────────────────── */
.disc {
  font-size: .73rem;
  color: var(--t3);
  text-align: center;
  padding: 1.1rem 2rem;
  border-top: 1px solid var(--bd);
  background: var(--card);
}
.disc a { color: var(--gm); }

/* ── Site Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--card);
  border-top: 2px solid var(--bd);
}
.footer-top { padding: 3.5rem 2rem 2.5rem; }
.footer-inner {
  max-width: var(--wrap-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {}
.footer-logo-link { display: inline-flex; margin-bottom: .85rem; }
.footer-logo { height: 32px; width: auto; }
.footer-tagline { font-size: .83rem; color: var(--t2); line-height: 1.6; max-width: 280px; }
.footer-col-h {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--t3);
  margin-bottom: .85rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-links a {
  font-size: .85rem;
  color: var(--t2);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--gd); }

.footer-bottom {
  border-top: 1px solid var(--bd);
  padding: 1.1rem 2rem;
  background: var(--bg);
}
.footer-inner-bottom {
  max-width: var(--wrap-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: .8rem; color: var(--t3); }
.footer-disc { font-size: .8rem; color: var(--t3); }
.footer-disc a { color: var(--gm); text-decoration: none; }
.footer-disc a:hover { text-decoration: underline; }

/* ── Legal/Static pages ─────────────────────────────────────── */
.page-hero {
  background: var(--card);
  border-bottom: 1px solid var(--bd);
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -.035em;
  line-height: 1.15;
  margin-bottom: .5rem;
}
.page-hero p { font-size: .95rem; color: var(--t2); max-width: 520px; margin: 0 auto; }
.page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.page-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: .5rem;
}
.page-body p { font-size: .92rem; line-height: 1.8; margin-bottom: .9rem; }
.page-body ul, .page-body ol { padding-left: 1.4rem; margin-bottom: .9rem; }
.page-body li { font-size: .92rem; line-height: 1.8; color: var(--t2); }
.page-body a { color: var(--gd); font-weight: 500; }
.page-body a:hover { text-decoration: underline; }
.page-updated {
  font-size: .78rem;
  color: var(--t3);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bd);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --wrap-w: 100%; }
  .lib-g { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .lib-g { grid-template-columns: repeat(2, 1fr); }
  .earn-g { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid var(--bd);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    gap: 0;
    z-index: 150;
  }
  .main-nav.open { display: flex; }
  .nav-link {
    padding: .75rem 1rem;
    font-size: .95rem;
    border-radius: 8px;
  }

  /* Mobile sticky band at bottom */
  .band {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    flex-direction: column;
    border-bottom: none;
    border-top: 1px solid var(--gl);
    box-shadow: 0 -2px 8px rgba(0,0,0,.04);
  }
  .band-i {
    padding: 8px 1.5rem;
    max-width: 100%;
    width: 100%;
  }

  .hero-h { font-size: 2.1rem; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .cta-sec h2 { font-size: 1.75rem; }
  .sec { padding: 2.5rem 1.5rem; }
  body { padding-bottom: 60px; }
}

@media (max-width: 640px) {
  .hero-h { font-size: 1.8rem; }
  .stat-g { grid-template-columns: repeat(2, 1fr); }
  .plat-g { grid-template-columns: 1fr; }
  .eq-g { grid-template-columns: repeat(2, 1fr); }
  .lib-g { grid-template-columns: repeat(2, 1fr); }
  .earn-g { grid-template-columns: repeat(2, 1fr); }
  .deeper { flex-direction: column; align-items: flex-start; }
  .multi { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero h1 { font-size: 1.75rem; }
}

@media (max-width: 420px) {
  .eq-g { grid-template-columns: 1fr; }
  .earn-g { grid-template-columns: 1fr; }
  .lib-g { grid-template-columns: 1fr; }
  .hero-h { font-size: 1.6rem; }
}
