/* DropSet — public program pages (/programs/). Shares the landing design language:
 * dark #0a0a0a, lime accent, Syne headings, DM Mono details. Served as one external
 * stylesheet so all 51 pages share the cache (CSP style-src allows inline, but external wins). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --surface: rgba(255,255,255,0.05);
  --surface2: rgba(255,255,255,0.07);
  --surface-hover: rgba(255,255,255,0.09);
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f0;
  --muted: #888;
  --muted2: rgba(255,255,255,0.65);
  --accent: #c8f135;
  --accent-dim: rgba(200,241,53,0.12);
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3, .nav-logo { font-family: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif; }
.section-label, .badge, .set-chip, .dow, .day-time, .rest-cell, .week-count, .pi-count { font-family: 'DM Mono', monospace; }
a { color: inherit; }

/* ── Nav ── */
.pp-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.82);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 700; letter-spacing: -0.5px;
  color: var(--text); text-decoration: none;
}
.logo-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent); color: #0a0a0a;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: -0.5px;
  flex-shrink: 0;
}
.pp-nav-links { display: flex; align-items: center; gap: 24px; }
.pp-nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.pp-nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #0a0a0a;
  font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }
@media (max-width: 560px) {
  .pp-nav { padding: 12px 16px; }
  .pp-nav-links { gap: 14px; }
  .pp-nav-links a[href="/app/"] { display: none; }
}

/* ── Layout ── */
.pp-main { max-width: 1060px; margin: 0 auto; padding: 28px 24px 80px; }
.crumbs { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs b { color: var(--muted2); font-weight: 500; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}

/* ── Hero ── */
.pp-hero {
  display: flex; gap: 48px; align-items: center;
  margin-bottom: 56px;
}
.pp-hero-text { flex: 1 1 0; min-width: 0; }
.pp-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.05;
  margin-bottom: 10px;
}
.aka-line { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.aka-line span { color: var(--muted2); }
.lede { font-size: 16px; color: var(--muted2); max-width: 560px; margin-bottom: 20px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.badge {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted2); border-radius: 999px; padding: 5px 12px;
  white-space: nowrap;
}
.badge.lvl-beginner     { color: #7dd3fc; border-color: rgba(125,211,252,0.25); background: rgba(125,211,252,0.08); }
.badge.lvl-intermediate { color: var(--accent); border-color: rgba(200,241,53,0.25); background: var(--accent-dim); }
.badge.lvl-advanced     { color: #f9a8d4; border-color: rgba(249,168,212,0.25); background: rgba(249,168,212,0.08); }
.badge.rating           { color: var(--accent); border-color: rgba(200,241,53,0.25); background: var(--accent-dim); }
.pp-hero-art { flex: 0 1 420px; min-width: 0; }
.pp-hero-art img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(200,241,53,0.06);
}
@media (max-width: 820px) {
  .pp-hero { flex-direction: column-reverse; gap: 28px; align-items: stretch; }
  .pp-hero-art { flex-basis: auto; max-width: 480px; }
}

.hero-cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #0a0a0a;
  font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 12px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; 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; }

/* ── Content sections ── */
.pp-section { margin-bottom: 52px; }
.pp-section h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800; letter-spacing: -0.8px; line-height: 1.15;
  margin-bottom: 16px;
}
.pp-section > p { font-size: 15.5px; color: var(--muted2); max-width: 720px; margin-bottom: 14px; }
.section-sub { font-size: 14px !important; color: var(--muted) !important; }

.prog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.prog-chip {
  font-size: 12.5px; color: var(--accent);
  background: var(--accent-dim); border: 1px solid rgba(200,241,53,0.22);
  border-radius: 10px; padding: 7px 14px;
}
.prog-note { font-size: 13px !important; color: var(--muted) !important; }

/* ── Program tables ── */
.week-block {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 14px; overflow: hidden;
}
.week-block > summary {
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; cursor: pointer; padding: 16px 22px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px;
  transition: background 0.2s;
}
.week-block > summary:hover { background: var(--surface-hover); }
.week-block > summary::-webkit-details-marker { display: none; }
.week-block > summary::after { content: '+'; font-size: 20px; color: var(--muted); margin-left: 12px; }
.week-block[open] > summary::after { content: '–'; }
.week-count { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: auto; }
.week-block .day-block { margin: 0 18px 18px; }
.week-block .day-block:first-of-type { margin-top: 4px; }

.day-block { margin-bottom: 26px; }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.day-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.day-meta { display: flex; gap: 10px; align-items: baseline; }
.dow { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.day-time { font-size: 11.5px; color: var(--accent); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,0.02); }
.day-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 460px; }
.day-table th {
  text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  font-family: 'DM Mono', monospace;
}
.day-table td { padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: top; }
.day-table tbody tr:last-child td { border-bottom: none; }
.ex-cell { font-weight: 600; color: var(--text); white-space: nowrap; }
.sets-cell { color: var(--muted2); }
.rest-cell { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.set-chip {
  display: inline-block; font-size: 12px; color: var(--muted2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 7px; padding: 2px 8px; margin: 2px 3px 2px 0;
  white-space: nowrap;
}
.set-chip.amrap { color: var(--accent); border-color: rgba(200,241,53,0.3); background: var(--accent-dim); }
.ss-tag {
  display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #7dd3fc;
  background: rgba(125,211,252,0.1); border: 1px solid rgba(125,211,252,0.25);
  border-radius: 5px; padding: 1px 6px; margin-left: 8px; vertical-align: middle;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 15px 20px;
  font-weight: 600; font-size: 14.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: background 0.2s;
}
.faq-item summary:hover { background: var(--surface-hover); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 18px; color: var(--muted); flex-shrink: 0; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 20px 16px; font-size: 14px; color: var(--muted2); }

/* ── Attribution ── */
.attribution-box {
  border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255,255,255,0.02); padding: 16px 20px;
  margin-bottom: 52px; max-width: 760px;
}
.attribution-box p { font-size: 12.5px; color: var(--muted); }
.attribution-box p:first-child { margin-bottom: 4px; }
.attribution-box b { color: var(--muted2); }

/* ── CTA band ── */
.pp-cta {
  text-align: center; padding: 56px 28px;
  border: 1px solid rgba(200,241,53,0.15); border-radius: 20px;
  background: linear-gradient(180deg, rgba(200,241,53,0.02) 0%, rgba(200,241,53,0.07) 100%);
  margin-bottom: 56px;
}
.pp-cta h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.pp-cta p { font-size: 15px; color: var(--muted2); max-width: 520px; margin: 0 auto 28px; }
.pp-cta .hero-cta-row { justify-content: center; }

/* ── Related programs ── */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.rel-card {
  display: block; text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.rel-card:hover { background: var(--surface-hover); border-color: rgba(200,241,53,0.2); transform: translateY(-2px); }
.rel-card img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.rel-body { padding: 12px 14px 14px; }
.rel-body b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.rel-body span { font-size: 11.5px; color: var(--muted); font-family: 'DM Mono', monospace; }

/* ── Index page ── */
.pi-hero { text-align: center; padding: 36px 0 20px; margin-bottom: 30px; }
.pi-hero h1 {
  font-size: clamp(34px, 5.4vw, 56px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 16px;
}
.pi-hero .accent { color: var(--accent); }
.pi-hero .lede { margin: 0 auto 26px; max-width: 620px; }
.pi-hero .hero-cta-row { justify-content: center; }
.pi-group { margin-bottom: 46px; }
.pi-group h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px;
}
.pi-count { font-size: 12px; color: var(--muted); font-weight: 400; }
.pi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pi-card {
  display: block; text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.pi-card:hover { background: var(--surface-hover); border-color: rgba(200,241,53,0.2); transform: translateY(-2px); }
.pi-card img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.pi-body { padding: 14px 16px 16px; }
.pi-body b { display: block; font-family: 'Syne', sans-serif; font-size: 15.5px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 8px; }
.pi-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pi-badges .badge { font-size: 10.5px; padding: 3px 9px; }
.pi-body p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ── 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: 'Syne', sans-serif; }
.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: #121212; 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: 'Syne', sans-serif; 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: 20px; }
#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; }
