:root {
  --ink: #10201e;
  --muted: #50635e;
  --paper: #f6f8f5;
  --paper-2: #ffffff;
  --paper-3: #e6efea;
  --line: #c8d6d0;
  --teal: #0b4f43;
  --teal-dark: #083a33;
  --mint: #5eaf83;
  --blue: #173f5f;
  --amber: #c77d24;
  --red: #9f312d;
  --green-soft: #e0f0e8;
  --amber-soft: #f4e5cf;
  --red-soft: #f2d8d6;
  --shadow: 0 24px 60px rgb(12 45 39 / 15%);
  --radius: 8px;
  --max: 1180px;
  --font-body: "Source Sans 3", Aptos, "Segoe UI", Arial, sans-serif;
  --font-heading: "Source Serif 4", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: var(--ink);
  color: var(--paper-2);
  border-radius: 6px;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(246 248 245 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  white-space: nowrap;
  line-height: 1.1;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-2);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--ink);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgb(200 214 208 / 34%) 1px, transparent 1px),
    linear-gradient(180deg, rgb(200 214 208 / 34%) 1px, transparent 1px),
    linear-gradient(110deg, var(--paper) 0%, var(--paper-3) 58%, #faf6ed 100%);
  background-size: 52px 52px, 52px 52px, auto;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) 0 clamp(38px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(410px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 92px);
}

h2 {
  font-size: clamp(34px, 4.8vw, 62px);
}

h3 {
  font-size: 24px;
}

p {
  overflow-wrap: anywhere;
}

.hero-lede {
  max-width: 690px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.chip:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(199 125 36 / 38%);
  outline-offset: 2px;
}

.button.primary {
  background: var(--teal-dark);
  color: var(--paper-2);
}

.button.secondary {
  border-color: var(--teal-dark);
  background: transparent;
  color: var(--teal-dark);
}

.button.compact {
  background: var(--ink);
  color: var(--paper-2);
  white-space: nowrap;
}

.proof-strip {
  max-width: 640px;
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-strip div {
  border-top: 2px solid var(--line);
  padding-top: 14px;
}

.proof-strip dt {
  color: var(--teal-dark);
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.proof-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.registry-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.panel-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgb(94 175 131 / 18%);
}

.registry-controls {
  margin-top: 22px;
}

.registry-controls label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
}

input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 14px;
  color: var(--ink);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.filter-row + .filter-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.chip.active {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: var(--paper-2);
}

.registry-summary {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.trainer-results {
  display: grid;
  gap: 12px;
}

.trainer-card,
.empty-state,
.split-grid article,
.process-grid article,
.apply-grid article,
.governance-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.trainer-card,
.empty-state {
  padding: 14px;
}

.trainer-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.registry-tier {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 7px;
}

.registry-badge-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.record-id {
  display: block;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.trainer-card h3,
.empty-state h3 {
  margin-top: 3px;
  font-size: 21px;
  line-height: 1.1;
}

.trainer-card p,
.empty-state p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.trainer-status,
.trainer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trainer-status {
  margin-top: 12px;
  align-items: center;
}

.program-line {
  font-size: 15px;
}

.badge,
.trainer-status span,
.trainer-meta span {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 800;
}

.badge.tier,
.badge.active {
  background: var(--green-soft);
  color: var(--teal);
}

.badge.review {
  background: var(--amber-soft);
  color: #704313;
}

.badge.danger {
  background: var(--red-soft);
  color: var(--red);
}

.trainer-status span:not(.badge),
.trainer-meta span {
  border: 1px solid var(--line);
  color: var(--muted);
}

.registry-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 70px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.section-heading.narrow {
  display: block;
  max-width: 900px;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.trust-band {
  border-bottom: 1px solid var(--line);
}

.split-grid,
.governance-grid,
.process-grid,
.apply-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.split-grid article,
.governance-grid article,
.process-grid article,
.apply-grid article {
  padding: 24px;
}

.split-grid article {
  border-top: 4px solid var(--teal);
}

.section-badge {
  width: 94px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}

.section-badge.round {
  width: 74px;
  height: 74px;
}

.mini-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.mini-badge-row img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.split-grid p,
.governance-grid p,
.process-grid p,
.apply-grid p,
.apply-grid li,
.endorsement-rules li,
.hire-copy p,
.community-inner p {
  color: var(--muted);
}

.evidence {
  border-bottom: 1px solid var(--line);
}

.evidence-ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.evidence-ladder article {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.evidence-ladder article:last-child {
  border-right: 0;
}

.evidence-ladder span,
.process-grid span {
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-ladder h3,
.process-grid h3,
.apply-grid h3,
.governance-grid h3 {
  margin-top: 12px;
}

.evidence-ladder p {
  color: var(--muted);
}

.tier-table {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.tier-row {
  display: grid;
  grid-template-columns: 0.72fr 1.12fr 1.24fr 1fr;
  border-top: 1px solid var(--line);
}

.tier-row:first-child {
  border-top: 0;
}

.tier-row > div {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.tier-row > div:last-child {
  border-right: 0;
}

.tier-head {
  background: var(--teal-dark);
  color: var(--paper-2);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-row strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.tier-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 12px;
}

.tier-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.tier-row.emphasis {
  background: var(--paper-3);
}

.governance-grid {
  margin-top: 14px;
}

.hire-band {
  background: var(--blue);
  color: var(--paper-2);
}

.hire-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.hire-media {
  min-height: 520px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / 22%);
}

.hire-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
}

.hire-copy .eyebrow,
.hire-copy p {
  color: #dbe8f0;
}

.buyer-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.buyer-checklist span {
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  padding: 9px 12px;
  color: #f8fbff;
  font-weight: 800;
}

.credential-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.credential-strip img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
  padding: 5px;
}

.rfp-box {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  padding: 18px;
}

.rfp-box span {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rfp-box p {
  margin: 8px 0 0;
  color: var(--ink);
}

.badge-callout {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.badge-callout img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.badge-callout p {
  margin: 0;
}

.endorsement-rules {
  margin-top: 16px;
  border-left: 6px solid var(--amber);
  background: #fff9ef;
  padding: 24px;
}

.endorsement-rules ul,
.apply-grid ul {
  padding-left: 20px;
  margin: 14px 0 0;
}

.endorsement-rules li + li,
.apply-grid li + li {
  margin-top: 7px;
}

.apply {
  border-top: 1px solid var(--line);
}

.apply-grid a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.community {
  background: var(--teal-dark);
  color: var(--paper-2);
}

.community-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.community-inner .eyebrow,
.community-inner p {
  color: #d7eee9;
}

.community-badge {
  width: 132px;
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 14px 24px rgb(0 0 0 / 18%));
}

.community-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.community-list span {
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 999px;
  padding: 10px 12px;
  color: #f5fffc;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 58px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 78px;
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
    box-shadow: var(--shadow);
    padding: 8px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .hero-inner,
  .section-heading,
  .hire-inner,
  .community-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .evidence-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-ladder article {
    border-bottom: 1px solid var(--line);
  }

  .tier-row {
    grid-template-columns: 1fr 1fr;
  }

  .tier-head {
    display: none;
  }

  .split-grid,
  .governance-grid,
  .process-grid,
  .apply-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .header-inner,
  .hero-inner,
  .section,
  .hire-inner,
  .community-inner,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: 190px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .proof-strip,
  .filter-row,
  .filter-row + .filter-row,
  .evidence-ladder,
  .tier-row,
  .buyer-checklist,
  .community-list {
    grid-template-columns: 1fr;
  }

  .registry-panel {
    padding: 16px;
  }

  .trainer-card header,
  .rfp-box,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .registry-tier {
    justify-items: start;
  }

  .badge-callout {
    grid-template-columns: 1fr;
  }

  .badge-callout img {
    width: 74px;
    height: 74px;
  }

  .tier-row > div,
  .evidence-ladder article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tier-row > div:last-child,
  .evidence-ladder article:last-child {
    border-bottom: 0;
  }

  .hire-media,
  .hire-media img {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
