:root {
  color-scheme: light;
  --color-ink: #142033;
  --color-ink-strong: #091426;
  --color-muted: #5b687a;
  --color-soft: #eef4f9;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc;
  --color-border: #dce5ee;
  --color-border-strong: #c8d4df;
  --color-accent: #0867c7;
  --color-accent-dark: #064f9a;
  --color-accent-soft: #e7f2ff;
  --color-teal: #0d7d74;
  --color-header: #0b1f35;
  --shadow-sm: 0 1px 2px rgb(15 32 52 / 5%), 0 4px 14px rgb(15 32 52 / 5%);
  --shadow-md: 0 2px 5px rgb(15 32 52 / 6%), 0 16px 36px rgb(15 32 52 / 9%);
  --shadow-lg: 0 4px 10px rgb(15 32 52 / 8%), 0 28px 60px rgb(15 32 52 / 12%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --content-width: 1180px;
  --transition: 180ms ease;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-surface-alt);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 0 0, rgb(8 103 199 / 8%), transparent 32rem),
    linear-gradient(180deg, #f8fbfe 0, var(--color-surface-alt) 26rem);
}

body,
button,
input,
select {
  font: inherit;
}

a {
  color: var(--color-accent-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--color-accent);
}

img,
svg {
  max-width: 100%;
}

.wrap {
  width: min(100% - 40px, var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--color-ink-strong);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: #f7fbff;
  background: rgb(11 31 53 / 94%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  box-shadow: 0 8px 26px rgb(4 15 28 / 14%);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(145deg, #1789eb, #0d7d74);
  box-shadow: 0 8px 22px rgb(4 15 28 / 24%);
  font-size: 0.82rem;
  font-weight: 850;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-header nav a {
  padding: 9px 12px;
  border-radius: 9px;
  color: #dce8f4;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.site-header nav a:hover {
  color: #ffffff;
  background: rgb(255 255 255 / 9%);
}

main {
  padding-block: clamp(28px, 5vw, 64px) clamp(54px, 8vw, 96px);
}

h1,
h2,
h3 {
  margin-block: 0 0.6em;
  color: var(--color-ink-strong);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 17ch;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  font-size: 1.16rem;
}

p {
  margin-block: 0 1em;
}

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

.hero,
.page-heading {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(34px, 6vw, 68px);
  border: 1px solid rgb(196 213 228 / 76%);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgb(255 255 255 / 98%), rgb(241 248 255 / 94%)),
    var(--color-surface);
  box-shadow: var(--shadow-md);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(30px, 6vw, 72px);
}

.hero::after,
.page-heading::after {
  position: absolute;
  z-index: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(8 103 199 / 15%), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero::after {
  top: -140px;
  right: -80px;
}

.hero__content,
.hero__stats,
.page-heading > * {
  position: relative;
  z-index: 1;
}

.hero__lead,
.page-heading > p:not(.eyebrow) {
  max-width: 68ch;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  align-content: center;
  gap: 12px;
  margin: 0;
}

.hero__stats div {
  padding: 16px 18px;
  border: 1px solid rgb(200 212 223 / 78%);
  border-radius: 14px;
  background: rgb(255 255 255 / 72%);
  box-shadow: var(--shadow-sm);
}

.hero__stats dt {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__stats dd {
  margin: 3px 0 0;
  color: var(--color-ink-strong);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-heading {
  padding: clamp(28px, 5vw, 58px);
}

.page-heading::after {
  right: -120px;
  bottom: -180px;
}

.page-heading--category {
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: linear-gradient(135deg, #0b75d8, var(--color-accent-dark));
  box-shadow: 0 7px 18px rgb(8 103 199 / 20%);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #0867c7, #043f7d);
  box-shadow: 0 10px 24px rgb(8 103 199 / 28%);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button--secondary {
  border-color: #bfd5e9;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  box-shadow: none;
}

.button--secondary:hover {
  color: var(--color-accent-dark);
  background: #d9ebff;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: var(--color-accent-dark);
  font-weight: 750;
}

.section,
.category-section {
  margin-top: clamp(40px, 7vw, 76px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > div > p:not(.eyebrow) {
  max-width: 70ch;
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  grid-auto-rows: 1fr;
}

.grid--offerings {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--steps {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.organization-card {
  display: flex;
  min-width: 0;
  height: 100%;
  min-height: 472px;
  flex-direction: column;
  padding: 22px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.organization-card:hover {
  border-color: #bfd2e2;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__title {
  display: -webkit-box;
  min-height: calc(1.14em * 4);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  font-size: clamp(1.2rem, 2.2vw, 1.48rem);
}

.card__title a {
  color: var(--color-ink-strong);
  text-decoration-color: rgb(8 103 199 / 38%);
}

.card__summary {
  display: -webkit-box;
  min-height: calc(1.6em * 4);
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--color-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.card__tags {
  display: flex;
  min-height: 62px;
  align-content: flex-start;
  gap: 7px;
  flex-wrap: wrap;
}

.card__footer {
  display: flex;
  align-items: end;
  margin-top: auto;
  padding-top: 18px;
}

.card__hint,
.card__meta {
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 4px 5px 4px 0;
  padding: 4px 10px;
  border: 1px solid #cfe0ee;
  border-radius: 999px;
  color: #27435e;
  background: #eff6fc;
  font-size: 0.82rem;
  font-weight: 680;
}

.tag--segment {
  color: #075b55;
  border-color: #bfe2dc;
  background: #eaf8f5;
}

.empty-value {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.catalog-shell {
  display: grid;
  gap: 26px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(200px, 0.8fr) auto;
  align-items: end;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow-sm);
}

.filters label {
  display: grid;
  gap: 6px;
  color: var(--color-ink-strong);
  font-size: 0.86rem;
  font-weight: 750;
}

.filters input,
.filters select {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.filters input:hover,
.filters select:hover {
  border-color: #9eb4c8;
}

.results-count {
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  color: var(--color-muted);
  white-space: nowrap;
}

.empty-state {
  padding: clamp(28px, 6vw, 58px);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-muted);
  background: rgb(255 255 255 / 72%);
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: var(--color-ink-strong);
  font-size: 1.1rem;
}

.empty-state p {
  margin: 0;
}

.category-section + .category-section {
  padding-top: clamp(34px, 6vw, 64px);
  border-top: 1px solid var(--color-border);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.category-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 21px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-muted);
  background: linear-gradient(145deg, #ffffff, #f8fbfe);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.category-card:hover {
  color: var(--color-muted);
  border-color: #afc9df;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.category-card__top strong {
  color: var(--color-ink-strong);
  font-size: 1.12rem;
  line-height: 1.3;
}

.category-card__link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--color-accent-dark);
  font-weight: 750;
}

.count-badge,
.status-badge {
  display: inline-flex;
  min-width: 30px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border: 1px solid #c7daf0;
  border-radius: 999px;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.count-badge--large {
  margin-top: 12px;
  padding-inline: 13px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero--profile {
  grid-template-columns: 1fr;
}

.hero--profile h1 {
  max-width: 24ch;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin-block: 28px 64px;
}

.fact-card,
.content-card {
  padding: 20px;
}

.fact-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-ink-strong);
}

.content-card p:last-child {
  margin-bottom: 0;
}

.stack {
  display: grid;
  gap: 14px;
}

.step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  font-weight: 850;
}

.evidence {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 84%);
  box-shadow: var(--shadow-sm);
}

.claim-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.claim-list li {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.sources {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.source {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 13px 15px;
  border-left: 3px solid #b7d4ed;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-soft);
  font-size: 0.9rem;
}

.source a {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.source span {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.site-footer {
  color: #c7d6e5;
  border-top: 1px solid rgb(255 255 255 / 8%);
  background: var(--color-header);
}

.site-footer__inner {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-block: 34px;
}

.brand--footer {
  color: #ffffff;
}

.site-footer p {
  max-width: 52ch;
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.site-footer nav {
  justify-content: flex-end;
}

.site-footer nav a {
  min-height: 44px;
  padding: 9px;
  color: #dbe8f4;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid #58a9f2;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .results-count {
    grid-column: 1 / -1;
  }

  .grid--steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, var(--content-width));
  }

  .site-header__inner {
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 12px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }

  .site-header nav a {
    padding-inline: 6px;
    font-size: 0.9rem;
  }

  .hero,
  .page-heading {
    border-radius: 18px;
  }

  .hero {
    padding: 25px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .results-count {
    grid-column: auto;
  }

  .organization-card {
    min-height: 0;
  }

  .card__title {
    min-height: 0;
  }

  .card__tags {
    min-height: 0;
  }

  .claim-list li {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (hover: none) {
  .organization-card:hover,
  .category-card:hover,
  .button:hover {
    transform: none;
  }
}

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