/* ==========================================================================
   SalesRep.io marketing site
   Design plan: docs/MARKETING_SITE_DESIGN.md — see the "Brand rebrand"
   addendum for where these tokens came from (sampled from the real logo,
   not invented). Entirely separate from core.css / rep-portal.css — no
   shared inheritance with the internal app.
   ========================================================================== */

:root {
  --ink: #1C2E4D;        /* wordmark "Sales-Rep." navy */
  --ink-deep: #0D1A2E;   /* darker panel shade within the navy hero */
  --paper: #F7F9FC;      /* page background — cool, not the old warm bone */
  --paper-raised: #FFFFFF;
  --graphite: #33415C;
  --graphite-soft: #5B6B84;  /* matches the logo's "Performance Intelligence" grey */
  --line: #E1E7EF;
  --ledger: #0E7AEF;         /* wordmark ".io" / icon blue — primary accent */
  --ledger-dark: #0A5BC2;    /* icon's gradient-deep blue — hover state */
  --brand-green: #2FC47B;    /* icon arrow — used sparingly, not as a second primary */
  --brand-green-light: #6EE7B7; /* on-dark tint of the arrow green */
  --flag: #DC2626;           /* warnings/errors — deliberately NOT the brand green */
  --focus-ring: #0E7AEF;

  /* On-dark text (inside the navy hero / closing band) — cool blue-white
     family to match the new brand, replacing the old warm cream-tinted set. */
  --on-dark: #E7ECF5;
  --on-dark-soft: #B7C3D9;
  --on-dark-mono: #8493AF;
  --on-dark-line: 231, 236, 245; /* r,g,b triplet for rgba() borders/fills below */

  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --container: 1120px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

* { box-sizing: border-box; }

body.mkt {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.mkt h1, .mkt h2, .mkt h3 {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

.mkt h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
.mkt h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
.mkt h3 { font-size: 1.15rem; font-weight: 600; }
.mkt p { margin: 0 0 1em; }
.mkt a { color: inherit; }

.mkt .num, .mkt-num, .mkt-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.mkt :focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

.mkt-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.mkt-skip:focus {
  left: 12px;
  top: 12px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.mkt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.mkt-btn-primary {
  background: var(--ledger);
  color: #fff;
}
.mkt-btn-primary:hover { background: var(--ledger-dark); }
.mkt-btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.mkt-btn-secondary:hover { border-color: var(--ink); }
.mkt-btn-onink {
  background: var(--paper);
  color: var(--ink);
}
.mkt-btn-onink:hover { background: #fff; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.mkt-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.mkt-wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.mkt-wordmark-icon { display: block; border-radius: 7px; }
.mkt-wordmark span { color: var(--ledger); }
.mkt-nav-links {
  display: flex;
  gap: 24px;
}
.mkt-nav-links a {
  text-decoration: none;
  color: var(--graphite);
  font-weight: 500;
}
.mkt-nav-links a:hover { color: var(--ink); }

/* Product mega-menu (desktop) */
.mkt-dropdown { position: relative; display: flex; align-items: center; }
.mkt-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
}
.mkt-dropdown-btn:hover,
.mkt-dropdown.is-open .mkt-dropdown-btn { color: var(--ink); }
.mkt-caret { font-size: 0.6rem; transition: transform 150ms ease; }
.mkt-dropdown.is-open .mkt-caret { transform: rotate(180deg); }
.mkt-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  width: max-content;
  max-width: min(600px, calc(100vw - 48px));
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: 0 12px 28px rgba(18, 32, 58, 0.14);
  z-index: 50;
}
/* Same rule as .mkt-mobile-menu below: [hidden] and this class share
   specificity, and CSS load order alone would let display:flex win. */
.mkt-dropdown-panel[hidden] { display: none; }
.mkt-dropdown-col { display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.mkt-dropdown-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--graphite-soft);
  margin-bottom: 6px;
}
.mkt-dropdown-col a {
  text-decoration: none;
  color: var(--graphite);
  font-size: 0.94rem;
  padding: 5px 0;
}
.mkt-dropdown-col a:hover { color: var(--ledger); }

.mkt-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.mkt-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 0 7px;
}
.mkt-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
}
/* The [hidden] attribute and this class share specificity (0,1,0), and this
   class loads after the UA stylesheet — so without this rule `display:flex`
   always won and the toggled-closed menu rendered open at every width. */
.mkt-mobile-menu[hidden] {
  display: none;
}
.mkt-mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.mkt-mobile-accordion-panel {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  margin-bottom: 4px;
}
/* Same rule as .mkt-mobile-menu above — [hidden] needs the extra
   specificity or the toggled-closed panel renders open. */
.mkt-mobile-accordion-panel[hidden] { display: none; }
.mkt-mobile-accordion-panel a {
  padding: 8px 0;
  text-decoration: none;
  color: var(--graphite);
  font-size: 0.94rem;
}
.mkt-mobile-group-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--graphite-soft);
  margin-top: 10px;
}
.mkt-mobile-menu a {
  padding: 10px 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.mkt-mobile-menu .mkt-btn { margin-top: 8px; justify-content: center; }

@media (max-width: 760px) {
  .mkt-nav-links, .mkt-nav-cta { display: none; }
  .mkt-nav-toggle { display: flex; }
}

/* ── Hero ────────────────────────────────────────────────────────── */
.mkt-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: 72px 24px 88px;
}
.mkt-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.mkt-hero h1 { color: #fff; text-align: left; }
.mkt-hero-sub {
  color: var(--on-dark-soft);
  font-size: 1.15rem;
  max-width: 46ch;
}
.mkt-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.mkt-hero-actions .mkt-btn-secondary {
  color: var(--on-dark);
  border-color: rgba(var(--on-dark-line),0.35);
}
.mkt-hero-actions .mkt-btn-secondary:hover { border-color: #fff; }

@media (max-width: 900px) {
  .mkt-hero-inner { grid-template-columns: 1fr; }
  .mkt-hero h1, .mkt-hero-sub { text-align: left; }
}

/* Reconciliation panel — the one bold move on the site */
.mkt-reconcile {
  position: relative;
  background: var(--ink-deep);
  border: 1px solid rgba(var(--on-dark-line),0.14);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  min-height: 280px;
}
.mkt-reconcile-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--on-dark-mono);
  text-transform: lowercase;
  margin-bottom: 18px;
}
.mkt-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.mkt-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(var(--on-dark-line),0.06);
  border: 1px solid rgba(var(--on-dark-line),0.12);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--on-dark-soft);
  transform: translateX(0) translateY(0);
  opacity: 1;
  transition: transform 900ms cubic-bezier(.4,0,.2,1), opacity 900ms ease;
}
.mkt-chip .mkt-chip-icon { color: var(--flag); flex-shrink: 0; }
.mkt-reconcile.is-resolving .mkt-chip {
  transform: translateY(64px) scale(0.92);
  opacity: 0;
}
.mkt-reconcile.is-resolved .mkt-chip { display: none; }

.mkt-ledger-row {
  border-top: 1px dashed rgba(var(--on-dark-line),0.25);
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms ease 900ms, transform 500ms ease 900ms;
}
.mkt-reconcile.is-resolving .mkt-ledger-row,
.mkt-reconcile.is-resolved .mkt-ledger-row {
  opacity: 1;
  transform: translateY(0);
}
.mkt-ledger-row-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--on-dark-mono);
}
.mkt-ledger-amount {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--brand-green-light);
}
.mkt-ledger-status {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-green-light);
  background: rgba(47, 196, 123, 0.16);
  border: 1px solid rgba(47, 196, 123, 0.4);
  padding: 3px 9px;
  border-radius: 3px;
}

/* ── Sections shell ──────────────────────────────────────────────── */
.mkt-section {
  padding: 76px 24px;
  border-bottom: 1px solid var(--line);
}
.mkt-section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.mkt-section-head {
  max-width: 60ch;
  margin-bottom: 40px;
}
.mkt-section-head p {
  color: var(--graphite-soft);
  font-size: 1.05rem;
}

/* Value prop 1 — Commission engine: split ledger comparison */
.mkt-vp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-raised);
}
.mkt-vp-split > div { padding: 26px 28px; }
.mkt-vp-split > div:first-child { border-right: 1px solid var(--line); }
.mkt-vp-split-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--graphite-soft);
  margin-bottom: 10px;
}
.mkt-vp-split-status {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
}
.mkt-vp-split .is-vendor .mkt-vp-split-status { color: var(--flag); }
.mkt-vp-split .is-rep .mkt-vp-split-status { color: var(--ledger); }
@media (max-width: 640px) {
  .mkt-vp-split { grid-template-columns: 1fr; }
  .mkt-vp-split > div:first-child { border-right: none; border-bottom: 1px solid var(--line); }
}

/* Value prop 2 — Payroll steps: the ONE genuine numbered sequence */
.mkt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: mkt-step;
}
.mkt-step {
  position: relative;
  padding: 22px 20px 22px 0;
  border-top: 2px solid var(--line);
}
.mkt-step::before {
  counter-increment: mkt-step;
  content: counter(mkt-step);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ledger);
  margin-bottom: 10px;
}
.mkt-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 40%;
  height: 2px;
  background: var(--ledger);
}
.mkt-step h3 { margin-bottom: 4px; font-size: 1rem; }
.mkt-step p { color: var(--graphite-soft); font-size: 0.92rem; margin: 0; }
@media (max-width: 760px) {
  .mkt-steps { grid-template-columns: 1fr; gap: 18px; }
  .mkt-step { padding-right: 0; }
}

/* Value prop 3 — Turf: parcel/boundary linework */
.mkt-vp-turf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.mkt-parcel-art {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
}
.mkt-parcel-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) {
  .mkt-vp-turf { grid-template-columns: 1fr; }
  .mkt-vp-turf .mkt-parcel-art { order: -1; }
}

/* Value prop 4 — Automated ingestion: source chips feeding one row */
.mkt-vp-ingest { display: flex; flex-direction: column; gap: 28px; }
.mkt-ingest-sources {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.mkt-ingest-source {
  flex: 1 1 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--graphite-soft);
}
.mkt-ingest-source strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 2px; }
.mkt-ingest-arrow {
  text-align: center;
  color: var(--graphite-soft);
  font-family: var(--font-mono);
}
.mkt-ingest-result {
  border: 1px solid var(--ledger);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Value prop 5 — Field ops: checklist stack */
.mkt-checklist {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  overflow: hidden;
}
.mkt-checklist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.mkt-checklist-row:last-child { border-bottom: none; }
.mkt-checklist-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ledger);
  flex-shrink: 0;
}
.mkt-checklist-row.is-flagged .mkt-checklist-dot { background: var(--flag); }
.mkt-checklist-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--graphite-soft);
}
.mkt-checklist-row.is-flagged .mkt-checklist-tag { color: var(--flag); }

/* Value prop 6 — Audit trail: vertical log strip */
.mkt-logstrip {
  border-left: 2px solid var(--line);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mkt-log-entry { position: relative; }
.mkt-log-entry::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ledger);
  border: 2px solid var(--paper);
}
.mkt-log-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--graphite-soft);
}
.mkt-log-detail { font-size: 0.96rem; }
.mkt-log-detail b { color: var(--ink); }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.mkt-faq-list { max-width: 760px; }
.mkt-faq-item { border-bottom: 1px solid var(--line); }
.mkt-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
}
.mkt-faq-q .mkt-faq-icon {
  font-family: var(--font-mono);
  color: var(--ledger);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.mkt-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}
.mkt-faq-item.is-open .mkt-faq-a { max-height: 400px; }
.mkt-faq-a-inner { padding: 0 0 20px; color: var(--graphite-soft); max-width: 64ch; }

/* ── Closing CTA band ────────────────────────────────────────────── */
.mkt-closing {
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: none;
}
.mkt-closing h2 { color: #fff; }
.mkt-closing .mkt-section-head p { color: var(--on-dark-soft); }

/* ── Waitlist form ───────────────────────────────────────────────── */
.mkt-waitlist { padding: 0; border-bottom: none; }
.mkt-waitlist-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 0 0;
}
.mkt-waitlist-copy h2 { margin-bottom: 6px; }
.mkt-closing .mkt-waitlist-copy p { color: var(--on-dark-soft); }
.mkt-waitlist-form {
  margin-top: 24px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.mkt-closing .mkt-waitlist-form { background: var(--ink-deep); border-color: rgba(var(--on-dark-line),0.14); }
.mkt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .mkt-form-row { grid-template-columns: 1fr; }
}
.mkt-field { margin-bottom: 16px; }
.mkt-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--graphite);
  margin-bottom: 6px;
}
.mkt-closing .mkt-field label { color: var(--on-dark-soft); }
.mkt-optional { font-weight: 400; color: var(--graphite-soft); }
.mkt-field input,
.mkt-field select,
.mkt-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  background: var(--paper);
  color: var(--graphite);
}
.mkt-closing .mkt-field input,
.mkt-closing .mkt-field select,
.mkt-closing .mkt-field textarea {
  background: rgba(var(--on-dark-line),0.06);
  border-color: rgba(var(--on-dark-line),0.2);
  color: var(--on-dark);
}
.mkt-field-error {
  display: block;
  color: var(--flag);
  font-size: 0.82rem;
  margin-top: 4px;
  min-height: 1em;
}
.mkt-form-status { margin: 12px 0 0; font-size: 0.9rem; color: var(--flag); }
.mkt-waitlist-submit { width: 100%; justify-content: center; margin-top: 4px; }
.mkt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mkt-waitlist-success {
  background: var(--paper-raised);
  border: 1px solid var(--ledger);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
}
.mkt-closing .mkt-waitlist-success { background: var(--ink-deep); }
.mkt-waitlist-success h2 { color: var(--ledger); }
.mkt-closing .mkt-waitlist-success h2 { color: var(--brand-green-light); }

/* ── Pricing tiers ───────────────────────────────────────────────── */
.mkt-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .mkt-tiers { grid-template-columns: 1fr; }
}
.mkt-tier {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.mkt-tier.is-featured { border-color: var(--ledger); border-width: 2px; }
.mkt-tier-band {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ledger);
  margin-bottom: 6px;
}
.mkt-tier-name { margin-bottom: 4px; }
.mkt-tier-size { color: var(--graphite-soft); font-size: 0.92rem; margin-bottom: 18px; }
.mkt-tier ul { list-style: none; margin: 0 0 22px; padding: 0; flex-grow: 1; }
.mkt-tier li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--graphite);
}
.mkt-tier li:first-child { border-top: none; }

/* ── Footer ──────────────────────────────────────────────────────── */
.mkt-footer { border-top: 1px solid var(--line); padding: 32px 24px; }
.mkt-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  color: var(--graphite-soft);
  font-size: 0.9rem;
}
.mkt-footer-name { font-weight: 600; color: var(--ink); margin-right: auto; }
.mkt-footer-inner nav { display: flex; gap: 18px; }
.mkt-footer-inner nav a { text-decoration: none; color: var(--graphite-soft); }
.mkt-footer-inner nav a:hover { color: var(--ink); }

/* ── Pipeline strip (Recruiting: a real ordered sequence) ───────────── */
.mkt-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.mkt-pipeline-stage {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--graphite);
  white-space: nowrap;
}
.mkt-pipeline-stage.is-terminal {
  border-color: var(--ledger);
  color: var(--ledger);
  font-weight: 600;
}
.mkt-pipeline-arrow {
  color: var(--graphite-soft);
  padding: 0 8px;
  font-family: var(--font-mono);
}
@media (max-width: 640px) {
  .mkt-pipeline { flex-direction: column; align-items: flex-start; }
  .mkt-pipeline-arrow { transform: rotate(90deg); padding: 4px 0 4px 18px; }
}

/* ── Before/after split (generic — Candidate→Rep, claimed→watched) ─── */
.mkt-vp-split .is-before .mkt-vp-split-status { color: var(--flag); }
.mkt-vp-split .is-after .mkt-vp-split-status { color: var(--ledger); }

/* ── Funnel (Recruiting source ROI) ──────────────────────────────── */
.mkt-funnel { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.mkt-funnel-row { display: flex; align-items: center; gap: 14px; }
.mkt-funnel-label {
  width: 130px;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--graphite);
}
.mkt-funnel-bar {
  height: 30px;
  background: var(--ledger);
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  min-width: 44px;
}
.mkt-funnel-bar span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #fff;
  white-space: nowrap;
}

/* ── Pitch-practice word fade (Training) ─────────────────────────── */
.mkt-fade-rounds { display: flex; flex-direction: column; gap: 14px; }
.mkt-fade-round {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  padding: 16px 20px;
}
.mkt-fade-round-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--graphite-soft);
  margin-bottom: 8px;
}
.mkt-fade-round p { margin: 0; font-size: 0.98rem; line-height: 1.6; }
.mkt-fade-blank {
  display: inline-block;
  min-width: 3.5em;
  border-bottom: 2px solid var(--line);
  color: transparent;
}

/* ── Leaderboard + badges (Recognition) ──────────────────────────── */
.mkt-leaderboard {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  overflow: hidden;
}
.mkt-leaderboard-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.mkt-leaderboard-row:last-child { border-bottom: none; }
.mkt-leaderboard-row.is-you { background: rgba(47, 196, 123, 0.06); }
.mkt-leaderboard-rank { font-family: var(--font-mono); color: var(--graphite-soft); width: 22px; }
.mkt-leaderboard-name { flex-grow: 1; }
.mkt-leaderboard-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ledger);
}
.mkt-leaderboard-count { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }

.mkt-badge-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.mkt-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 76px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--graphite-soft);
}
.mkt-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.mkt-badge.is-earned .mkt-badge-icon {
  border-color: var(--ledger);
  background: rgba(47, 196, 123, 0.08);
}

/* ── Integration cards ───────────────────────────────────────────── */
.mkt-integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.mkt-integration-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mkt-integration-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.mkt-integration-card p { font-size: 0.92rem; color: var(--graphite-soft); margin: 0; }
.mkt-integration-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.mkt-integration-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mkt-integration-logo.is-dark { background: #0f2a3d; border-color: #0f2a3d; }

/* ── Utility ─────────────────────────────────────────────────────── */
.mkt-eyebrow-plain {
  font-size: 0.9rem;
  color: var(--ledger);
  font-weight: 600;
  margin-bottom: 8px;
}
