/* =========================================================================
   EP3 marketing pages — per-page CSS for /join.html (archetype A per
   brief-website.md §4). Originally drafted alongside /advocacy.html;
   that page was removed in a follow-up. Kept as a per-page file so a
   future second marketing page can pick it up without retyping the
   hero + section + 3-card row primitives.

   All tokens from webshield-navy.css.
   ========================================================================= */

html { scroll-behavior: smooth; }

/* ── Marketing hero ─────────────────────────────────────────── */
.ep3-mkt-hero {
  background: var(--ws-page);
  border-bottom: 1px solid var(--ws-rule);
}
.ep3-mkt-hero__wrap {
  max-width: 980px; margin: 0 auto;
  padding: 72px 48px 64px;
  text-align: center;
}
.ep3-mkt-hero__eyebrow {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  letter-spacing: var(--ws-tracking-mono);
  text-transform: uppercase;
  color: var(--ws-accent);
  margin: 0 0 22px;
}
.ep3-mkt-hero__title {
  font-family: var(--ws-font-display);
  font-size: clamp(36px, 4.8vw, 52px); font-weight: 500;
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ws-ink);
  margin: 0 0 22px;
  text-wrap: balance;
}
.ep3-mkt-hero__lede {
  font-family: var(--ws-font-display);
  font-size: clamp(17px, 1.8vw, 20px); font-weight: 400;
  line-height: var(--ws-lh-lede);
  color: var(--ws-ink-muted);
  max-width: 760px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ── Section + 3-card row ───────────────────────────────────── */
.ep3-mkt-section {
  background: var(--ws-surface);
  border-top: 1px solid var(--ws-rule);
}
.ep3-mkt-section--bone { background: var(--ws-page); }
.ep3-mkt-section__wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 64px 48px 80px;
}
.ep3-mkt-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.ep3-mkt-section__eyebrow {
  font-family: var(--ws-font-body);
  font-size: var(--ws-fs-label);
  letter-spacing: var(--ws-tracking-label);
  text-transform: uppercase;
  color: var(--ws-ink-faint); font-weight: 500;
  margin: 0 0 14px;
}
.ep3-mkt-section__title {
  font-family: var(--ws-font-display);
  font-size: 30px; font-weight: 500;
  line-height: 1.2; letter-spacing: -0.015em;
  color: var(--ws-ink);
  margin: 0 0 16px;
}
.ep3-mkt-section__lede {
  font-family: var(--ws-font-display);
  font-size: 17px; font-weight: 400;
  line-height: var(--ws-lh-lede);
  color: var(--ws-ink-muted);
  margin: 0 auto;
  text-wrap: pretty;
}

.ep3-mkt-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ep3-mkt-row--two { grid-template-columns: repeat(2, 1fr); }

.ep3-mkt-card {
  background: var(--ws-surface);
  border: 1px solid var(--ws-rule);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
}
.ep3-mkt-card__eyebrow {
  font-family: var(--ws-font-mono);
  font-size: 10.5px;
  letter-spacing: var(--ws-tracking-mono);
  text-transform: uppercase;
  color: var(--ws-accent);
  margin: 0 0 14px;
}
.ep3-mkt-card__title {
  font-family: var(--ws-font-display);
  font-size: 22px; font-weight: 500;
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ws-ink);
  margin: 0 0 8px;
}
.ep3-mkt-card__sub {
  font-family: var(--ws-font-body);
  font-size: 13px; line-height: 1.5;
  color: var(--ws-ink-faint); font-style: italic;
  margin: 0 0 18px;
}
.ep3-mkt-card__body {
  font-family: var(--ws-font-body);
  font-size: 14px; line-height: 1.6;
  color: var(--ws-ink-muted);
  margin: 0 0 16px;
}
.ep3-mkt-card__list {
  list-style: none;
  padding: 0; margin: 0 0 28px;
}
.ep3-mkt-card__list li {
  font-family: var(--ws-font-body);
  font-size: 13.5px; line-height: 1.5;
  color: var(--ws-ink);
  padding: 8px 0 8px 22px;
  position: relative;
  border-top: 1px solid var(--ws-rule-faint);
}
.ep3-mkt-card__list li:first-child { border-top: none; padding-top: 4px; }
.ep3-mkt-card__list li::before {
  content: '·';
  position: absolute;
  left: 6px; top: 4px;
  font-family: var(--ws-font-mono);
  color: var(--ws-accent);
  font-size: 22px; line-height: 1;
}
.ep3-mkt-card__list li:first-child::before { top: 0; }
.ep3-mkt-card__cta {
  margin-top: auto;
}

/* ── Marketing button (reused from ep3-home, kept here so /join
   doesn't have to load ep3-home.css just for buttons) ─── */
.ep3-mkt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ws-font-body);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 13px 22px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.ep3-mkt-btn--primary {
  background: var(--ws-ink);
  color: var(--ws-page);
  border-color: var(--ws-ink);
}
.ep3-mkt-btn--primary:hover {
  background: var(--ws-ink-deep);
  border-color: var(--ws-ink-deep);
}
.ep3-mkt-btn--ghost {
  background: transparent;
  color: var(--ws-ink);
  border-color: var(--ws-ink);
}
.ep3-mkt-btn--ghost:hover {
  background: var(--ws-ink);
  color: var(--ws-page);
}

/* ── Prose section (longer-form paragraphs) ──── */
.ep3-mkt-prose {
  background: var(--ws-surface);
  border-top: 1px solid var(--ws-rule);
}
.ep3-mkt-prose__wrap {
  max-width: 720px; margin: 0 auto;
  padding: 64px 48px 72px;
}
.ep3-mkt-prose__wrap p {
  font-family: var(--ws-font-display);
  font-size: 18px; line-height: 1.7;
  color: var(--ws-ink);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.ep3-mkt-prose__wrap p:last-child { margin-bottom: 0; }
.ep3-mkt-prose__wrap a {
  color: var(--ws-ink);
  border-bottom: 1px solid var(--ws-accent);
  text-decoration: none;
}

/* ── CTA strip (single centered CTA at the end of a page) ───── */
.ep3-mkt-cta {
  background: var(--ws-page);
  border-top: 1px solid var(--ws-rule);
}
.ep3-mkt-cta__wrap {
  max-width: 720px; margin: 0 auto;
  padding: 64px 48px 80px;
  text-align: center;
}
.ep3-mkt-cta__eyebrow {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  letter-spacing: var(--ws-tracking-mono);
  text-transform: uppercase;
  color: var(--ws-accent);
  margin: 0 0 14px;
}
.ep3-mkt-cta__title {
  font-family: var(--ws-font-display);
  font-size: 24px; font-weight: 500;
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ws-ink);
  margin: 0 0 28px;
  text-wrap: pretty;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .ep3-mkt-row { grid-template-columns: 1fr; gap: 18px; }
  .ep3-mkt-row--two { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ep3-mkt-hero__wrap { padding: 56px 24px 48px; }
  .ep3-mkt-section__wrap { padding: 48px 24px 64px; }
  .ep3-mkt-prose__wrap { padding: 48px 24px 56px; }
  .ep3-mkt-prose__wrap p { font-size: 16px; }
  .ep3-mkt-cta__wrap { padding: 48px 24px 64px; }
  .ep3-mkt-card { padding: 28px 24px 26px; }
}
