/* DropSet shared CHROME — the single header/banner/buttons/footer/modal used
   by BOTH the landing and every /guide + /programs page. Linked after
   tokens.css, before each page's own component CSS. One system. */

/* ── Founders banner — identical to the landing header strip: a static in-flow
   bar, not a fixed overlay, so the page scrolls exactly like the landing. ── */
.promo-banner {
  height: 44px; box-sizing: border-box;  /* fixed height, identical to the landing banner — the header never jumps between pages */
  background: #0B0C08;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-wrap: nowrap;
  gap: 10px; padding: 0 clamp(20px, 5vw, 64px);
  font-family: var(--sans);
  font-size: 13px; font-weight: 700;
  color: var(--text); letter-spacing: 0.01em; text-align: center;
}
.promo-banner s { color: var(--muted); font-weight: 700; text-decoration-thickness: 2px; }
.promo-banner .promo-badge {
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; flex-shrink: 0;
}
/* Pill + CTA mirror the landing banner: neutral, lime only on the badge and on hover. */
.spots-pill {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: var(--muted2); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 2px 10px; flex-shrink: 0;
}
.promo-banner .promo-cta {
  background: none; color: var(--text);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  padding: 4px 13px; border-radius: 999px; border: 1px solid var(--border);
  text-decoration: none; flex-shrink: 0; cursor: pointer; white-space: nowrap;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}
.promo-banner .promo-cta:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
@media (max-width: 560px) {
  /* Wrap and grow on small screens instead of forcing one line (which pushed
     the page wide). Matches the landing banner's mobile behaviour. */
  .promo-banner { height: auto; min-height: 44px; flex-wrap: wrap; white-space: normal; padding: 7px clamp(20px, 5vw, 64px); font-size: 12px; gap: 8px; }
  .promo-banner .promo-badge { display: none; }
}

/* ── Nav — the landing header exactly: logo left, links + CTA grouped right on
   the same 1120px content box. Sticky from load: the banner scrolls away above,
   then the nav pins flush to the top on a solid ground with a soft shadow. ── */
.pp-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: flex-start; gap: 18px;
  max-width: calc(1120px + 2 * clamp(20px, 5vw, 64px)); margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 64px);
}
/* Full-bleed solid ground behind the centred nav (it stops at the content box). */
.pp-nav::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw);
  background: var(--bg); border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0,0,0,.28); z-index: -1;
}
.nav-logo, .pp-nav-links, .nav-cta, .nav-burger { position: relative; }
.pp-nav-links { margin-left: auto; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; letter-spacing: -0.5px;
  color: var(--text); text-decoration: none;
  white-space: nowrap;
}
.logo-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--logo); color: #0a0a0a;
  font-family: var(--sans); font-weight: 800; font-size: 12px; letter-spacing: -0.5px;
  flex-shrink: 0;
}
.pp-nav-links { display: flex; align-items: center; gap: 32px; }
.pp-nav-links a {
  color: var(--text); text-decoration: none;
  font-family: var(--sans);
  font-size: 15.5px; font-weight: 700; letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.pp-nav-links a:hover { color: var(--accent); }
.pp-nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--text); color: var(--bg);
  font-weight: 700; font-size: 13px; padding: 9px 20px; border-radius: 6px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  transition: transform 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta .cta-short { display: none; }
/* Burger (pure-CSS checkbox — no JS, CSP-safe). Hidden on desktop. */
.nav-burger-box { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.nav-burger { display: none; }
@media (max-width: 600px) {
  /* Compact row: logo left, burger + CTA right; links collapse into a sheet */
  .pp-nav { padding: 12px 16px; }
  .nav-logo { font-size: 17px; gap: 8px; }
  .logo-tile { width: 26px; height: 26px; }
  .nav-burger {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; margin-left: auto; margin-right: 6px;
    color: var(--text); font-size: 20px; line-height: 1; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-burger::before { content: '\2630'; }
  #nav-burger:checked ~ .nav-burger::before { content: '\2715'; }
  .pp-nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(18, 20, 14, 0.97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 4px 0 8px;
  }
  #nav-burger:checked ~ .pp-nav-links { display: flex; }
  .pp-nav-links a { font-size: 15px; padding: 13px 20px; border-top: 1px solid var(--border); }
  .pp-nav-links .nav-feat { display: block; }  /* room to breathe in the sheet */
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .nav-cta .cta-full { display: none; }
  .nav-cta .cta-short { display: inline; }
}
@media (max-width: 380px) {
  .pp-nav { padding: 10px 12px; }
  .nav-logo { font-size: 16px; }
  .nav-cta { padding: 7px 12px; }
}


.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg);
  font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 6px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  transition: transform 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 12px; text-decoration: none;
  cursor: pointer; font-family: inherit;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-secondary.discord { background: #5865F2; border-color: #5865F2; color: #fff; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border); padding: 40px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.5px; font-family: var(--sans); }
.footer-logo .logo-tile { width: 26px; height: 26px; font-size: 11px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── Waitlist modal (mirrors landing) ── */
.waitlist-open { border: none; cursor: pointer; font-family: inherit; }
.wl-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 24px; }
.wl-modal.open { display: flex; }
.wl-card { position: relative; width: 100%; max-width: 400px; background: #0B0C08; border: 1px solid var(--border); border-radius: 22px; padding: 34px 28px 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); text-align: center; }
.wl-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.06); border: none; color: var(--muted2); font-size: 15px; cursor: pointer; }
.wl-title { font-family: var(--sans); font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.wl-sub { font-size: 13px; color: var(--muted2); line-height: 1.6; margin-bottom: 16px; }
.wl-note { font-size: 12px; color: var(--muted2); line-height: 1.5; text-align: left; background: var(--accent-dim); border: 1px solid rgba(91,123,166,0.2); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.wl-note strong { color: var(--text); font-weight: 700; }
#wl-form { display: flex; flex-direction: column; gap: 10px; }
#wl-email { width: 100%; box-sizing: border-box; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; color: var(--text); font-size: 15px; text-align: center; font-family: inherit; }
#wl-email:focus { outline: none; border-color: var(--accent); }
#wl-submit { width: 100%; justify-content: center; padding: 14px; border: none; cursor: pointer; }
.wl-status { font-size: 13px; min-height: 18px; margin-top: 12px; }
.wl-status.ok { color: var(--accent); }
.wl-status.err { color: #ff6b6b; }
.wl-fine { font-size: 10px; color: var(--muted); margin-top: 14px; }

