/* ═══════════════════════════════════════════════════════════════
   PLSIC Interior Pages Stylesheet
   Loaded after colors_and_type.css. Uses design tokens.
   Replaces /css/style.css for all gated pages.
   ═══════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--bg-1);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
button { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--marking-yellow);
  outline-offset: 2px;
}

/* ─── Skip link ─── */
/* Hidden via clip/size rather than negative offset, negative offset
   lets a sliver peek above the nav on some fonts/DPRs. */
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  background: var(--marking-yellow);
  color: var(--asphalt);
  font-weight: 700;
  z-index: 300;
}
.skip:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 16px;
  overflow: visible;
  clip: auto;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════
   LAYOUT PRIMITIVES
   ═══════════════════════════════════════════ */

.container { max-width: var(--container-xl); margin: 0 auto; padding: 0 40px; }
.page-top { padding-top: var(--nav-height); }

/* .section is both a centered column AND a block with vertical padding.
   Pages don't wrap content in an inner .container, .section does the job. */
.section {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 64px 40px;
}
/* .section-alt is a full-width tinted band. Its vertical padding lives here;
   a nested .section provides the centered column without double padding. */
.section-alt {
  background: var(--concrete);
  padding: 64px 0;
}
.section-alt > .section,
.section-alt .section {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 820px) {
  .container { padding: 0 24px; }
  .section { padding: 48px 24px; }
  .section-alt { padding: 48px 0; }
  .section-alt > .section,
  .section-alt .section { padding-top: 0; padding-bottom: 0; }
}

.max-w-medium { max-width: 720px; margin-left: auto; margin-right: auto; }
.max-w-narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Stripe motif, signature flourish */
.stripe-motif {
  height: 10px;
  background: var(--stripe-motif);
  width: 100%;
}
.stripe-motif-tight {
  height: 6px;
  background: var(--stripe-motif-tight);
  width: 100%;
}

/* ─── Road treatment ───
   Two-lane road viewed from above. Wraps the CTA → newsletter →
   footer sequence so those dark blocks read as lanes of a road.
   All lines are 4px. has-bleed adds 15px of asphalt above the line. */
.road-edge-line {
  height: 4px;
  background: var(--line-white);
  width: 100%;
}
.road-edge-line.has-bleed {
  height: 19px;
  background:
    linear-gradient(var(--line-white), var(--line-white)) 0 100% / 100% 4px no-repeat,
    var(--asphalt);
}
.road-center-line {
  height: 12px;
  width: 100%;
  background-color: var(--warm-dark);
  background-image:
    linear-gradient(var(--marking-yellow), var(--marking-yellow)),
    repeating-linear-gradient(
      90deg,
      var(--marking-yellow) 0 20px,
      transparent 20px 60px
    );
  background-position: top, bottom;
  background-size: 100% 4px, 100% 4px;
  background-repeat: no-repeat, no-repeat;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--asphalt);
  border-bottom: 3px solid var(--marking-yellow);
  z-index: 100;
  color: var(--line-white);
  font-family: var(--font-sans);
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-height);
}
.nav-logo {
  display: flex;
  align-items: center;
  color: var(--line-white);
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--line-white); }
.nav-logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 560px) {
  .nav-logo img { height: 30px; }
}
@media (max-width: 380px) {
  .nav-logo img { height: 26px; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links > a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links > a:hover { color: var(--marking-yellow); }
.nav-links > a.active { color: var(--marking-yellow); }

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--marking-yellow);
  color: var(--asphalt);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.nav-cta:hover {
  color: var(--asphalt);
  transform: translateY(-1px);
  box-shadow: var(--shadow-yellow);
}
.nav-login {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.nav-login:hover { color: var(--marking-yellow); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--line-white);
  border-radius: 1px;
}

@media (max-width: 1000px) {
  .nav-links > a { font-size: 12px; }
  .nav-inner { padding: 14px 24px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--asphalt);
    border-bottom: 3px solid var(--marking-yellow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
  }
  .nav-cta-group {
    flex-direction: column;
    align-items: stretch;
    border-left: 0;
    padding-left: 0;
    padding-top: 12px;
    gap: 10px;
  }
  .nav-cta { justify-content: center; }
  .nav-login { text-align: center; padding: 8px 0; }
}

/* Nav submenus — parent items with children */
.nav-item-group {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-parent:hover, .nav-parent:focus-visible {
  color: var(--marking-yellow);
  outline: none;
}
.nav-parent .nav-caret {
  width: 9px;
  height: 9px;
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav-item-group.has-active > .nav-parent { color: var(--marking-yellow); }
.nav-submenu {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 14px;
  min-width: 240px;
  background: var(--asphalt-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--marking-yellow);
  border-radius: 4px;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  display: none;
  z-index: 200;
}
/* Invisible bridge between parent and panel so the hover doesn't drop
   in the gap between them. */
.nav-submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}
.nav-item-group:hover > .nav-submenu,
.nav-item-group:focus-within > .nav-submenu {
  display: block;
}
.nav-item-group:hover > .nav-parent .nav-caret,
.nav-item-group:focus-within > .nav-parent .nav-caret {
  transform: rotate(180deg);
}
.nav-submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-submenu a:hover { color: var(--marking-yellow); background: rgba(255,255,255,0.04); }
.nav-submenu a.active { color: var(--marking-yellow); }

/* Mobile accordion: collapse submenus inline under the parent button,
   tap-to-toggle, no hover. */
@media (max-width: 860px) {
  .nav-item-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-parent {
    width: 100%;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    justify-content: space-between;
    font-size: 14px;
  }
  .nav-submenu {
    position: static;
    margin-top: 0;
    background: transparent;
    border: 0;
    border-top: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    min-width: 0;
  }
  .nav-submenu::before { display: none; }
  .nav-item-group:hover > .nav-submenu,
  .nav-item-group:focus-within > .nav-submenu {
    display: none;
  }
  .nav-item-group.open > .nav-submenu {
    display: block;
  }
  .nav-item-group:hover > .nav-parent .nav-caret,
  .nav-item-group:focus-within > .nav-parent .nav-caret {
    transform: none;
  }
  .nav-item-group.open > .nav-parent .nav-caret {
    transform: rotate(180deg);
  }
  .nav-submenu a {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13px;
  }
}

/* Stripe motif under fixed nav (separator between nav and content) */
.nav-stripe {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  height: 10px;
  background: var(--stripe-motif);
  z-index: 99;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  min-height: 44px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.btn-primary {
  background: var(--marking-yellow);
  color: var(--asphalt);
}
.btn-primary:hover {
  background: var(--yellow-hover);
  color: var(--asphalt);
  transform: translateY(-1px);
  box-shadow: var(--shadow-yellow);
}
.btn-secondary {
  background: transparent;
  color: var(--asphalt);
  border-color: var(--body-gray);
}
.btn-secondary:hover {
  background: var(--asphalt);
  border-color: var(--asphalt);
  color: var(--line-white);
}
.btn-outline-white {
  background: transparent;
  color: var(--line-white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
  border-color: var(--marking-yellow);
  color: var(--marking-yellow);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-1);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--link); }

.btn-lg {
  padding: 16px 28px;
  min-height: 52px;
  font-size: 15px;
}
.btn-full { width: 100%; }

/* ═══════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════ */

.section-header {
  margin-bottom: 48px;
  max-width: 760px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--link);
  margin-bottom: 10px;
  display: block;
}
.section-alt .section-label { color: var(--link); }
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0 0 14px;
  max-width: 22ch;
}
.section-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 62ch;
  margin: 0;
}

/* ═══════════════════════════════════════════
   PAGE HERO, TYPE 1 (dark, optional bg image)
   Used on: home, about, standards, training,
   directory, and the 4 sales pages.
   ═══════════════════════════════════════════ */

.page-hero {
  background: var(--asphalt);
  color: var(--line-white);
  padding: calc(var(--nav-height) + 80px) 40px 48px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero.has-image {
  background-size: cover;
  background-position: center;
}
.page-hero.has-image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.72) 55%, rgba(26,26,26,0.5) 100%);
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--stripe-motif);
  z-index: 2;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-xl);
  margin: 0 auto;
}
.page-hero .section-label {
  color: var(--marking-yellow);
  margin-bottom: 18px;
}
.page-hero .section-title {
  color: var(--line-white);
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 22ch;
  margin-bottom: 18px;
}
.page-hero .section-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  max-width: 60ch;
}

/* Home landing-style hero (reskinned) */
.hero-landing {
  background: var(--asphalt);
  color: var(--line-white);
  padding: calc(var(--nav-height) + 72px) 40px 96px;
  position: relative;
  overflow: hidden;
}
.hero-landing::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--stripe-motif);
}
.hero-landing-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
}
.hero-copy-box { max-width: 900px; }
.hero-landing .hero-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--marking-yellow);
  margin-bottom: 24px;
  display: block;
}
.hero-landing h1 {
  font-weight: 900;
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--line-white);
  margin: 0 0 28px;
  max-width: 20ch;
  text-wrap: balance;
}
.hero-landing h1 .accent {
  background: linear-gradient(to bottom, transparent 78%, var(--marking-yellow) 78% 100%);
  padding: 0 2px;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-landing .hero-sub {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 62ch;
  color: rgba(255,255,255,0.82);
  margin: 0 0 36px;
}
.hero-landing .hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── TYPE 2: Compact page header (light) ─── */
.page-header-block {
  background: var(--concrete);
  padding: calc(var(--nav-height) + 56px) 40px 56px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}
.page-header-block .section-label,
.page-header-block .section-title,
.page-header-block .section-subtitle {
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
}
.page-header-block .section-title {
  font-weight: 700;
}

@media (max-width: 820px) {
  .page-hero { padding: calc(var(--nav-height) + 48px) 24px 48px; }
  .hero-landing { padding: calc(var(--nav-height) + 48px) 24px 72px; }
  .page-header-block { padding: calc(var(--nav-height) + 40px) 24px 40px; }
}

/* ═══════════════════════════════════════════
   GRID
   ═══════════════════════════════════════════ */

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

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2-1 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-1-1 { grid-template-columns: 1fr; }
  /* Breathing room when button-in-column stacks above a card */
  .grid-1-1 { row-gap: 48px; }
}

/* ═══════════════════════════════════════════
   CARDS, base treatment (pillar pattern)
   ═══════════════════════════════════════════ */

.card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--marking-yellow);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--marking-yellow);
  box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--yellow-light);
  border: 1px solid rgba(254,221,47,0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--asphalt);
  font-size: 20px;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 16px;
  flex: 1;
}
.card-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--link);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-fast) var(--ease-out);
}
.card-link:hover { color: var(--link-hover); }

/* ═══════════════════════════════════════════
   AUDIENCE CARDS (home)
   ═══════════════════════════════════════════ */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  color: var(--fg-1);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.audience-card:hover {
  transform: translateY(-3px);
  border-color: var(--marking-yellow);
  box-shadow: var(--shadow-md);
  color: var(--fg-1);
}
.audience-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.audience-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 18px;
  flex: 1;
}
.audience-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--yellow-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--asphalt);
}
.audience-card .card-link { margin-top: auto; }

@media (max-width: 980px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .audience-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   STATS BAR (home)
   ═══════════════════════════════════════════ */

.stats-bar {
  background: var(--asphalt);
  color: var(--line-white);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stats-bar-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats-bar .stat-item { text-align: left; border: 0; padding: 0; }
.stats-bar .stat-number {
  font-family: var(--font-mono);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: var(--marking-yellow);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stats-bar .stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.stats-bar-footnote {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 8px 40px 0;
  text-align: right;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 820px) {
  .stats-bar-footnote { padding: 8px 24px 0; }
}

.stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stats-row .stat-item { text-align: left; }
.stats-row .stat-number {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg-1);
  line-height: 1;
  margin-bottom: 6px;
}
.stats-row .stat-label {
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 820px) {
  .stats-bar-inner { grid-template-columns: 1fr 1fr; padding: 0 24px; }
}

/* ═══════════════════════════════════════════
   FEATURE LIST / CHECKMARKS
   ═══════════════════════════════════════════ */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}
.feature-list .check {
  flex: 0 0 auto;
  color: var(--link);
  font-weight: 700;
}
.feat-check {
  color: var(--link);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.topic-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}
.topic-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marking-yellow);
  margin-top: 7px;
}

/* ═══════════════════════════════════════════
   CERTIFICATION TABS (certification.html)
   ═══════════════════════════════════════════ */

.cert-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--asphalt);
  margin-bottom: 32px;
}
.cert-tab {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1.5px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-3);
  cursor: pointer;
  text-align: center;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.cert-tab:hover { color: var(--fg-1); }
.cert-tab.active {
  color: var(--asphalt);
  border-bottom-color: var(--marking-yellow);
}
.cert-panel { display: none; }
.cert-panel.active { display: block; }
.cert-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.cert-details h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--fg-1);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.cert-subtitle {
  font-size: 15px;
  color: var(--fg-2);
  margin: 0 0 20px;
}
.cert-requirements {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.cert-requirements li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--fg-2);
}
.cert-requirements li:last-child { border-bottom: 0; }
.cert-check {
  flex: 0 0 auto;
  color: var(--link);
  font-weight: 700;
}
.cert-pricing {
  background: var(--warm-dark);
  color: var(--line-white);
  padding: 28px 24px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.cert-pricing-fineprint {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  text-align: center;
}
.cert-pricing::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--stripe-motif-tight);
}
.cert-pricing .price-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--marking-yellow);
  margin-top: 8px;
}
.cert-pricing .price {
  font-size: 44px;
  font-weight: 900;
  color: var(--marking-yellow);
  line-height: 1;
  margin: 8px 0 4px;
}
.cert-pricing .price-note {
  font-size: 12px;
  color: var(--line-white);
  margin-bottom: 14px;
}
.cert-pricing .nonmember-price {
  font-size: 13px;
  color: var(--line-white);
  padding-top: 14px;
  margin-bottom: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.cert-pricing .btn { width: 100%; }

/* Compare table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--line-white);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--rule);
}
.compare-table th {
  background: var(--asphalt);
  color: var(--line-white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.compare-table tr:last-child td { border-bottom: 0; }
.check-cell {
  color: var(--link);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .cert-tabs { flex-direction: column; }
  .cert-tab { text-align: left; border-bottom: 1px solid var(--rule); }
  .cert-content { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PRICING CARDS (membership.html)
   ═══════════════════════════════════════════ */

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px;
  background: var(--concrete);
  border-radius: var(--r-pill);
  margin-bottom: 40px;
}
.pricing-toggle span {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-3);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.pricing-toggle span.active {
  background: var(--asphalt);
  color: var(--marking-yellow);
}
.toggle-switch {
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: var(--r-pill);
  position: relative;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--line-white);
  border-radius: 50%;
  transition: transform var(--dur-fast) var(--ease-out);
}
.toggle-switch.active { background: var(--asphalt); }
.toggle-switch.active::after { transform: translateX(20px); }

.pricing-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.pricing-card:hover {
  border-color: var(--marking-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured,
.pricing-card.selected {
  border-color: var(--marking-yellow);
  box-shadow: 0 0 0 3px rgba(254,221,47,0.18), var(--shadow-md);
}
.pricing-badge {
  display: inline-block;
  background: var(--marking-yellow);
  color: var(--asphalt);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}
.pricing-type {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.pricing-amount {
  font-size: 40px;
  font-weight: 900;
  color: var(--fg-1);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.pricing-amount .period {
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-3);
  letter-spacing: 0;
}
.pricing-subtext {
  font-size: 12px;
  font-weight: 700;
  color: var(--link);
  margin-bottom: 14px;
}
.pricing-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0 0 18px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--rule);
}
.pricing-features li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}
.pricing-features li:last-child { border-bottom: 0; }
.pricing-discount-link {
  font-size: 13px;
  color: var(--link);
  font-weight: 600;
  display: block;
  margin-top: 10px;
}
.pricing-card .btn { margin-top: auto; }
.selectable { cursor: pointer; }

/* ═══════════════════════════════════════════
   TRAINING / COURSE CARDS
   ═══════════════════════════════════════════ */

.course-track {
  margin-bottom: 56px;
}
.course-track:last-child {
  margin-bottom: 0;
}
.course-track-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-3);
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--marking-yellow);
  display: inline-block;
}

.training-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.training-card:hover {
  transform: translateY(-3px);
  border-color: var(--marking-yellow);
  box-shadow: var(--shadow-md);
}
.training-thumb {
  background: var(--warm-dark);
  color: var(--marking-yellow);
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 22px 16px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-mono);
}
.training-thumb::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--stripe-motif-tight);
}
.training-course-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.training-course-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--marking-yellow);
  line-height: 1;
}
.training-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.training-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.training-body p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 16px;
  flex: 1;
}
.training-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
}
.training-price-block { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.training-price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.training-price-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-3);
}
.training-price {
  font-weight: 700;
  color: var(--fg-1);
  font-size: 14px;
}
.training-price-alt {
  font-weight: 500;
  color: var(--fg-2);
  font-size: 12px;
}
.training-credits {
  color: var(--fg-3);
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}
/* Course status badge: planned / scoping / drafting */
.training-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.training-status-planned { background: rgba(0,0,0,0.06); color: var(--fg-2); }
.training-status-scoping { background: rgba(254,221,47,0.18); color: var(--asphalt); }
.training-status-drafting { background: rgba(0,51,160,0.10); color: var(--handicap-blue); }

/* ═══════════════════════════════════════════
   STANDARD CARDS
   ═══════════════════════════════════════════ */

.standard-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.standard-card:hover {
  transform: translateY(-3px);
  border-color: var(--marking-yellow);
  box-shadow: var(--shadow-md);
}
.standard-card-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.standard-card-header::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--stripe-motif-tight);
}
.standard-card .doc-series {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.standard-card .doc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg-1);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.standard-card-body {
  padding: 20px 24px 24px;
}
.doc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.doc-meta .label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.doc-meta .value {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-1);
}
.doc-status {
  display: inline-block;
  padding: 3px 10px;
  background: var(--yellow-light);
  color: var(--asphalt);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════
   RESEARCH CARDS
   ═══════════════════════════════════════════ */

.research-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px 24px;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.research-card:hover {
  transform: translateY(-3px);
  border-color: var(--marking-yellow);
  box-shadow: var(--shadow-md);
}
.research-type {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--asphalt);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
}
.research-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--fg-1);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.research-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 14px;
}
.research-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}

/* ═══════════════════════════════════════════
   FAQ (accordion)
   ═══════════════════════════════════════════ */

.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item:first-child { border-top: 1.5px solid var(--asphalt); }
.faq-question {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg-1);
  text-align: left;
  letter-spacing: -0.005em;
}
.faq-question:hover { color: var(--link); }
.faq-icon {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--asphalt);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  color: var(--asphalt);
  transition: all var(--dur-fast) var(--ease-out);
}
.faq-item.open .faq-icon {
  background: var(--marking-yellow);
  border-color: var(--marking-yellow);
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 68ch;
}
.faq-item.open .faq-answer { display: block; }

/* ═══════════════════════════════════════════
   FORMS (light)
   ═══════════════════════════════════════════ */

.form-group {
  margin-bottom: 16px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.form-row-2 .form-group { margin-bottom: 0; }
.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-1);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  min-height: 48px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg-1);
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--fg-3); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: var(--shadow-blue);
}
.form-textarea { min-height: 120px; resize: vertical; }

@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* Success panel */
.form-success-panel {
  text-align: center;
  padding: 40px 32px;
  background: var(--line-white);
  border: 1.5px solid var(--marking-yellow);
  border-radius: var(--r-xl);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.form-success-panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--stripe-motif-tight);
}
.form-success-panel.visible {
  opacity: 1;
  transform: translateY(0);
}
.success-checkmark {
  margin-bottom: 16px;
}
.success-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--fg-1);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.success-body {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.success-contact {
  font-size: 13px;
  color: var(--fg-3);
  margin: 0 0 18px;
}
.success-contact a { color: var(--link); font-weight: 600; }
.success-cta {
  display: inline-flex;
  padding: 12px 22px;
  background: var(--marking-yellow);
  color: var(--asphalt);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--r-md);
}

/* ═══════════════════════════════════════════
   CTA BANNER (deadline-style)
   ═══════════════════════════════════════════ */

.cta-banner {
  background: var(--warm-dark);
  color: var(--line-white);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Top of the CTA banner is the start of the road, white edge line
   with 15px of softer-dark above it. Replaces the old dashed accent. */
.cta-banner::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 19px;
  background:
    linear-gradient(var(--line-white), var(--line-white)) 0 100% / 100% 4px no-repeat,
    var(--warm-dark);
}
.cta-banner h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  color: var(--line-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto 16px;
  text-wrap: balance;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   CERT-PANEL META + PROPOSAL CARD
   New fields per Don audit H3 expansion of CPLS panels.
   ═══════════════════════════════════════════ */
.cert-meta {
  margin: 18px 0 24px;
  padding: 16px 18px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  border-left: 3px solid var(--marking-yellow);
}
.cert-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 0;
}
.cert-meta-row + .cert-meta-row { border-top: 1px dashed var(--border); padding-top: 12px; margin-top: 6px; }
.cert-meta-label {
  flex: 0 0 130px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mid-gray);
  padding-top: 2px;
}
.cert-meta-value {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal);
}
.cert-proposal-card {
  margin: 32px 0 8px;
  padding: 18px 22px;
  background: var(--asphalt);
  color: var(--line-white);
  border-radius: var(--r-md);
}
.cert-proposal-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--marking-yellow);
  margin-bottom: 10px;
}
.cert-proposal-value {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--line-white);
}
@media (max-width: 640px) {
  .cert-meta-row { flex-direction: column; gap: 4px; }
  .cert-meta-label { flex-basis: auto; }
}

/* ═══════════════════════════════════════════
   TRIAL LINK (under each tier card) + TRIAL CALLOUT
   ═══════════════════════════════════════════ */
.trial-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--link);
  text-align: center;
  text-decoration: none;
}
.trial-link:hover { color: var(--blue-dark); text-decoration: underline; }
.trial-callout {
  display: flex;
  align-items: stretch;
  max-width: 900px;
  margin: 32px auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.trial-callout-stripe { flex: 0 0 8px; background: var(--marking-yellow); }
.trial-callout-body { flex: 1; padding: 24px 28px; }
.trial-callout-label {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--mid-gray); margin: 0 0 6px;
}
.trial-callout-headline { font-size: 20px; font-weight: 800; color: var(--charcoal); margin: 0 0 10px; }
.trial-callout-body p { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 0 0 12px; }
.trial-callout-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.trial-callout-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--asphalt);
  text-decoration: none;
  border-bottom: 2px solid var(--marking-yellow);
  padding-bottom: 2px;
}
.trial-callout-link:hover { border-bottom-color: var(--asphalt); }
.trial-callout-link-sub { font-weight: 500; color: var(--link); border-bottom: none; }
.trial-callout-link-sub:hover { color: var(--blue-dark); text-decoration: underline; border-bottom: none; }

/* ═══════════════════════════════════════════
   INFO-CHIP POPOVER (comparison table tooltips)
   ═══════════════════════════════════════════ */
.info-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  margin-left: 6px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--fg-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.info-chip:hover, .info-chip:focus {
  background: var(--marking-yellow);
  color: var(--asphalt);
  outline: none;
}
th[scope="row"] { position: relative; }
.info-popover {
  position: absolute;
  z-index: 50;
  top: 100%;
  left: 0;
  margin-top: 8px;
  max-width: 320px;
  padding: 12px 14px;
  background: var(--asphalt);
  color: var(--line-white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  text-align: left;
}
.info-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 14px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--asphalt);
}

/* ═══════════════════════════════════════════
   FOUNDING-MEMBER CALLOUT
   Reusable component, surfaces on /home, /contractors, /property-managers,
   /manufacturers, /membership, /preferred-vendor, /partner, /sponsor.
   ═══════════════════════════════════════════ */

.founding-callout {
  display: flex;
  align-items: stretch;
  max-width: 800px;
  margin: 32px auto;
  background: var(--warm-dark);
  color: var(--line-white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.founding-callout-stripe {
  flex: 0 0 12px;
  background: var(--marking-yellow);
}
.founding-callout-body {
  flex: 1;
  padding: 28px 32px;
}
.founding-callout-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--marking-yellow);
  margin: 0 0 14px;
}
.founding-callout-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.founding-callout-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.founding-callout-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--marking-yellow);
  color: var(--asphalt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  margin-top: 1px;
}
@media (max-width: 640px) {
  .founding-callout-stripe { flex: 0 0 6px; }
  .founding-callout-body { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  background: var(--asphalt);
  color: var(--line-white);
  padding: 0 0 32px;
}
.footer .stripe-motif,
.footer > .road-center-line,
.footer > .road-edge-line { margin-bottom: 64px; }
.footer-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--marking-yellow);
  margin: 0 0 16px;
}
.footer-brand .wordmark {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--marking-yellow);
  margin-bottom: 12px;
}
.footer-brand p,
.footer-brand .tagline {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 42ch;
  margin: 0 0 8px;
}
.footer-brand .domain {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.footer-col a,
.footer a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col a:hover,
.footer a:hover { color: var(--marking-yellow); }
.footer-col { }
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li {
  padding: 4px 0;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-inner { padding: 0 24px; }
}

/* ═══════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════ */

.newsletter-section {
  background: var(--warm-dark);
  color: var(--line-white);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
/* The top accent stripe previously lived here; the road-edge-line
   injected by renderNewsletter() now plays that role. */
.newsletter-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.newsletter-logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--marking-yellow);
  margin-bottom: 14px;
}
.newsletter-left h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--line-white);
}
.newsletter-left p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 52ch;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  min-height: 48px;
  font-family: var(--font-sans);
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md);
  color: var(--line-white);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--marking-yellow);
  background: rgba(255,255,255,0.12);
}
.newsletter-form button {
  padding: 12px 22px;
  min-height: 48px;
  background: var(--marking-yellow);
  color: var(--asphalt);
  border: 0;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.newsletter-form button:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}
.newsletter-helper {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .newsletter-section { padding: 40px 24px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }
}

/* ═══════════════════════════════════════════
   TIMELINE (roadmap.html)
   ═══════════════════════════════════════════ */

.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 14px;
  width: 2px;
  background: var(--rule);
}
.timeline-item {
  position: relative;
  padding: 0 0 40px 0;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--concrete);
  border: 3px solid var(--border);
}
.timeline-item.completed .timeline-dot {
  background: var(--marking-yellow);
  border-color: var(--marking-yellow);
}
.timeline-item.active .timeline-dot {
  background: var(--line-white);
  border-color: var(--marking-yellow);
  box-shadow: 0 0 0 4px rgba(254,221,47,0.25);
}
.timeline-item.upcoming .timeline-dot { background: var(--line-white); }
.timeline-date {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.timeline-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 60ch;
}

/* ═══════════════════════════════════════════
   CONTACT CARDS (contact.html)
   ═══════════════════════════════════════════ */

.contact-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--marking-yellow);
  box-shadow: var(--shadow-md);
}
.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--yellow-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--fg-1);
  margin: 0 0 6px;
}
.contact-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 10px;
}
.contact-card a {
  font-size: 13px;
  color: var(--link);
  font-weight: 600;
}
a.contact-card { cursor: pointer; }
a.contact-card:hover { color: inherit; }
.contact-card-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--link);
}
a.contact-card:hover .contact-card-cta { color: var(--blue-dark); }

/* ═══════════════════════════════════════════
   TESTIMONIAL / NEWS / EVENT CARDS
   ═══════════════════════════════════════════ */

.testimonial-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  position: relative;
}
.testimonial-quote-mark {
  font-size: 44px;
  line-height: 1;
  color: var(--marking-yellow);
  margin-bottom: 6px;
  font-weight: 900;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0 0 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--concrete);
  color: var(--asphalt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-1);
}
.testimonial-role {
  font-size: 12px;
  color: var(--fg-3);
}

.news-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--marking-yellow);
  box-shadow: var(--shadow-md);
}
.news-thumb {
  background: var(--concrete);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 12px;
}
.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--yellow-light);
  color: var(--asphalt);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}
.news-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.news-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--fg-1);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.news-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 14px;
  flex: 1;
}
.news-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--link);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: start;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.event-card:hover {
  transform: translateY(-2px);
  border-color: var(--marking-yellow);
  box-shadow: var(--shadow-sm);
}
.event-date-block {
  background: var(--asphalt);
  color: var(--line-white);
  padding: 14px 10px;
  border-radius: var(--r-md);
  text-align: center;
}
.event-month {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--marking-yellow);
  letter-spacing: 0.05em;
}
.event-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.event-info h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--fg-1);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.event-format {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.event-info p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 14px;
}

/* ═══════════════════════════════════════════
   LOGO STRIP / MISSION / PROSE
   ═══════════════════════════════════════════ */

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}
.logo-item {
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.mission-callout {
  background: var(--concrete);
  border-left: 4px solid var(--marking-yellow);
  padding: 28px 32px;
  border-radius: var(--r-md);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-1);
  max-width: 760px;
  margin: 0 auto;
}

.prose { max-width: 720px; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--fg-2); margin: 0 0 16px; }
.prose p strong { color: var(--fg-1); }
.prose h2 { font-size: 28px; font-weight: 800; color: var(--fg-1); margin: 32px 0 12px; letter-spacing: -0.015em; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--fg-1); margin: 24px 0 10px; }
.prose-centered { max-width: 720px; margin: 0 auto; text-align: center; }
.prose-centered p { text-align: center; }

/* ═══════════════════════════════════════════
   EXIT-INTENT POPUP (#exitPopup)
   ═══════════════════════════════════════════ */

#exitPopup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#exitPopup.popup-visible { display: flex; }
.popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.72);
  cursor: pointer;
}
.popup-card {
  position: relative;
  background: var(--asphalt);
  color: var(--line-white);
  max-width: 460px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 40px 32px 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: popup-in 0.22s var(--ease-out);
}
.popup-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--stripe-motif-tight);
}
@keyframes popup-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-close {
  position: absolute; top: 8px; right: 8px;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  border-radius: var(--r-md);
}
.popup-close:hover { color: var(--line-white); background: rgba(255,255,255,0.06); }
.popup-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--marking-yellow);
  margin: 8px 0 10px;
}
.popup-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--line-white);
  margin: 0 0 10px;
}
.popup-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin: 0 0 22px;
}
.popup-desc strong { color: var(--marking-yellow); font-weight: 700; }
.popup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.popup-actions .btn-secondary {
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.25);
  background: transparent;
}
.popup-actions .btn-secondary:hover {
  color: var(--marking-yellow);
  border-color: var(--marking-yellow);
}

/* ═══════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════ */

.text-center { text-align: center; }
.text-crimson { color: var(--marking-yellow); }
.text-gray { color: var(--fg-2); }
.text-sm { font-size: 13px; }
.fw-700 { font-weight: 700; }

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mt-64 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-56 { margin-bottom: 56px; }

/* ═══════════════════════════════════════════
   SALES PAGES, HERO VARIANTS (inline style replacements)
   Use the new design tokens. Converted from the 4 pages'
   inline <style> blocks.
   ═══════════════════════════════════════════ */

/* ─── join.html ─── */
.join-hero {
  background: var(--asphalt);
  color: var(--line-white);
  padding: calc(var(--nav-height) + 72px) 24px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.join-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 10px;
  background: var(--stripe-motif);
}
.join-hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.join-hero .section-label { color: var(--marking-yellow); margin-bottom: 18px; }
.join-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.join-hero h1 .accent {
  background: linear-gradient(to bottom, transparent 78%, var(--marking-yellow) 78% 100%);
  padding: 0 2px;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.join-hero .hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.join-hero .hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
  background: var(--line-white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.stat-strip .stat-item {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--rule);
}
.stat-strip .stat-item:last-child { border-right: none; }
.stat-strip .stat-number {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--asphalt);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-strip .stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.narrative { max-width: 720px; margin: 0 auto; }
.narrative h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--fg-1);
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.narrative p {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.7;
  margin: 0 0 16px;
}
.narrative p:last-child { margin-bottom: 0; }
.narrative strong { color: var(--fg-1); }

.benefit-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.benefit-block:last-child { border-bottom: none; }
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--yellow-light);
  border: 1px solid rgba(254,221,47,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--asphalt);
}
.benefit-block h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 0 0 4px;
}
.benefit-block p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
}

.savings-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.savings-table th {
  background: var(--asphalt);
  color: var(--line-white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  text-align: left;
}
.savings-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--fg-1);
  border-bottom: 1px solid var(--rule);
}
.savings-table tr:last-child td { border-bottom: none; }
.savings-table .savings-amount {
  font-weight: 700;
  color: var(--link);
}

.proof-block {
  background: var(--concrete);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  border-left: 4px solid var(--marking-yellow);
}
.proof-block blockquote {
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-1);
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 16px;
}
.proof-block cite {
  font-size: 13px;
  color: var(--fg-3);
  font-style: normal;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.urgency-bar {
  background: var(--asphalt);
  color: var(--line-white);
  border-radius: var(--r-xl);
  padding: 32px 40px;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.urgency-bar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--stripe-motif-tight);
}
.urgency-bar h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.urgency-bar p {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.5;
  margin: 0;
}
.urgency-bar .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.price-snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.price-snap-card {
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--line-white);
  text-align: center;
  transition: all var(--dur-fast) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.price-snap-card:hover {
  border-color: var(--marking-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.price-snap-card.featured {
  border-color: var(--marking-yellow);
  box-shadow: 0 0 0 3px rgba(254,221,47,0.18), var(--shadow-sm);
  position: relative;
}
.price-snap-head {
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--rule);
}
.price-snap-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.price-snap-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--fg-1);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-snap-amount span {
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-3);
}
.price-snap-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--link);
  margin-top: 6px;
}
.price-snap-body {
  padding: 16px 20px;
  flex: 1;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
}
.price-snap-foot { padding: 12px 20px 20px; }

.join-form-section,
.pt-form-section,
.vendor-form-section,
.sp-form-section {
  background: var(--asphalt);
  color: var(--line-white);
  border-radius: var(--r-xl);
  padding: 48px;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.join-form-section::before,
.pt-form-section::before,
.vendor-form-section::before,
.sp-form-section::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--stripe-motif-tight);
}
.join-form-section h3,
.pt-form-section h3,
.vendor-form-section h3,
.sp-form-section h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--line-white);
  text-align: center;
  margin: 8px 0 8px;
  letter-spacing: -0.01em;
}
.join-form-section .form-sub,
.pt-form-section .form-sub,
.vendor-form-section .form-sub,
.sp-form-section .form-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  text-align: center;
  margin-bottom: 32px;
}
/* Dark-form input restyle inside sales forms */
.join-form-section .form-label,
.pt-form-section .form-label,
.vendor-form-section .form-label,
.sp-form-section .form-label {
  color: rgba(255,255,255,0.8);
}
.join-form-section .form-input,
.join-form-section .form-select,
.join-form-section .form-textarea,
.pt-form-section .form-input,
.pt-form-section .form-select,
.pt-form-section .form-textarea,
.vendor-form-section .form-input,
.vendor-form-section .form-select,
.vendor-form-section .form-textarea,
.sp-form-section .form-input,
.sp-form-section .form-select,
.sp-form-section .form-textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  color: var(--line-white);
}
.join-form-section .form-input::placeholder,
.pt-form-section .form-input::placeholder,
.vendor-form-section .form-input::placeholder,
.sp-form-section .form-input::placeholder,
.join-form-section .form-textarea::placeholder,
.pt-form-section .form-textarea::placeholder,
.vendor-form-section .form-textarea::placeholder,
.sp-form-section .form-textarea::placeholder { color: rgba(255,255,255,0.4); }
.join-form-section .form-input:focus,
.join-form-section .form-select:focus,
.join-form-section .form-textarea:focus,
.pt-form-section .form-input:focus,
.pt-form-section .form-select:focus,
.pt-form-section .form-textarea:focus,
.vendor-form-section .form-input:focus,
.vendor-form-section .form-select:focus,
.vendor-form-section .form-textarea:focus,
.sp-form-section .form-input:focus,
.sp-form-section .form-select:focus,
.sp-form-section .form-textarea:focus {
  border-color: var(--marking-yellow);
  background: rgba(255,255,255,0.1);
  box-shadow: none;
}
.join-form-section select option,
.pt-form-section select option,
.vendor-form-section select option,
.sp-form-section select option {
  color: var(--fg-1);
  background: var(--line-white);
}

@media (max-width: 900px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip .stat-item:nth-child(2) { border-right: none; }
  .stat-strip .stat-item:nth-child(3),
  .stat-strip .stat-item:nth-child(4) { border-top: 1px solid var(--rule); }
  .price-snapshot { grid-template-columns: 1fr; max-width: 420px; }
  .urgency-bar { flex-direction: column; text-align: center; padding: 28px 24px; }
  .proof-block { padding: 32px 24px; }
  .join-form-section, .pt-form-section, .vendor-form-section, .sp-form-section { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .join-hero h1 { font-size: 32px; }
  .stat-strip { margin-top: -24px; }
  .stat-strip .stat-number { font-size: 24px; }
  .narrative h2 { font-size: 22px; }
  .benefit-block { grid-template-columns: 1fr; gap: 12px; }
}

/* ─── partner.html ─── */
.pt-hero,
.vendor-hero,
.sp-hero {
  background: var(--asphalt);
  color: var(--line-white);
  padding: calc(var(--nav-height) + 72px) 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pt-hero::after,
.vendor-hero::after,
.sp-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 10px;
  background: var(--stripe-motif);
}
.pt-hero > *,
.vendor-hero > *,
.sp-hero > * { position: relative; z-index: 1; max-width: 1200px; margin-left: auto; margin-right: auto; }
.pt-hero h1,
.vendor-hero h1,
.sp-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 900;
  color: var(--line-white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 auto 18px;
  max-width: 22ch;
  text-wrap: balance;
}
.pt-hero h1 .accent,
.vendor-hero h1 .accent,
.sp-hero h1 .accent {
  background: linear-gradient(to bottom, transparent 78%, var(--marking-yellow) 78% 100%);
  padding: 0 2px;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.pt-hero .hero-sub,
.vendor-hero .hero-sub,
.sp-hero .hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 660px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.pt-hero .hero-ctas,
.vendor-hero .hero-ctas,
.sp-hero .hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.collab-card,
.channel-card {
  background: var(--line-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px 24px;
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.collab-card:hover,
.channel-card:hover {
  border-color: var(--marking-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.collab-icon,
.channel-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--asphalt);
}
.collab-card h4,
.channel-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.collab-card p,
.channel-card p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
}

.pt-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pt-compare-col,
.vendor-tier,
.tier-col {
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--line-white);
  transition: all var(--dur-fast) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pt-compare-col:hover,
.vendor-tier:hover,
.tier-col:hover {
  border-color: var(--marking-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pt-compare-col.featured,
.vendor-tier.featured,
.tier-col.featured {
  border-color: var(--marking-yellow);
  box-shadow: 0 0 0 3px rgba(254,221,47,0.18), var(--shadow-sm);
}
.pt-compare-head,
.vendor-tier-header,
.tier-head {
  padding: 28px 24px 20px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.pt-compare-head::before,
.vendor-tier-header::before,
.tier-head::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--stripe-motif-tight);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.pt-compare-col.featured .pt-compare-head::before,
.vendor-tier.featured .vendor-tier-header::before,
.tier-col.featured .tier-head::before { opacity: 1; }
.pt-compare-label,
.vendor-tier-name,
.tier-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.pt-compare-price,
.vendor-tier-price,
.tier-price {
  font-size: 40px;
  font-weight: 900;
  color: var(--fg-1);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pt-compare-price span,
.vendor-tier-price span,
.tier-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-3);
  letter-spacing: 0;
}
.pt-compare-founding,
.vendor-tier-founding {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--asphalt);
  background: var(--marking-yellow);
  padding: 4px 12px;
  border-radius: var(--r-sm);
}
.pt-compare-body,
.vendor-tier-body,
.tier-body {
  padding: 20px 24px 24px;
  flex: 1;
}
.pt-compare-body ul,
.vendor-tier-body ul,
.tier-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-compare-body li,
.vendor-tier-body li,
.tier-body li {
  font-size: 13px;
  color: var(--fg-1);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pt-compare-foot,
.tier-foot { padding: 0 24px 24px; }

.diff-block {
  background: var(--asphalt);
  color: var(--line-white);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.diff-block::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--stripe-motif-tight);
}
.diff-block h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--line-white);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.diff-block p {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

.founding-callout {
  background: var(--warm-dark);
  color: var(--line-white);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.founding-callout::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--stripe-motif-tight);
}
.founding-callout-icon {
  width: 64px; height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: var(--marking-yellow);
  color: var(--asphalt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founding-callout h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--line-white);
  margin: 0 0 6px;
}
.founding-callout p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin: 0;
}

.privacy-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.privacy-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-2);
}
.privacy-x {
  color: var(--link);
  font-size: 16px;
  font-weight: 800;
}

/* ─── preferred-vendor.html ─── */
.step-card {
  text-align: center;
  padding: 28px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--line-white);
  transition: all var(--dur-fast) var(--ease-out);
}
.step-card:hover {
  border-color: var(--marking-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--marking-yellow);
  color: var(--asphalt);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-1);
  margin: 0 0 6px;
}
.step-card p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
}

.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.cat-tag {
  background: var(--line-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  transition: all var(--dur-fast) var(--ease-out);
}
.cat-tag:hover {
  border-color: var(--marking-yellow);
  color: var(--fg-1);
}

.roi-callout {
  background: var(--yellow-light);
  border: 1.5px solid rgba(254,221,47,0.5);
  border-radius: var(--r-xl);
  padding: 24px 28px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.roi-callout p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
}
.roi-callout strong { color: var(--fg-1); }

/* ─── sponsor.html ─── */
.tier-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .tier-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tier-row { grid-template-columns: 1fr; } }

/* Responsive cleanup for sales-page callouts */
@media (max-width: 900px) {
  .pt-compare { grid-template-columns: 1fr; max-width: 520px; }
  .founding-callout { flex-direction: column; text-align: center; padding: 32px 28px; }
  .diff-block { padding: 32px 24px; }
}

/* ═══════════════════════════════════════════
   FOUNDING ALERT (membership.html)
   ═══════════════════════════════════════════ */

.founding-alert {
  background: var(--asphalt);
  color: var(--line-white);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 56px;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}
.founding-alert h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--marking-yellow);
  letter-spacing: -0.005em;
}
.founding-alert p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
  margin: 0;
  max-width: 50ch;
}
