:root {
  --blue: #0066CF;
  --gold: #FDB415;
  --navy: #102A43;
  --bg: #F6F9FC;
  --text: #16202A;
  --muted: #65758B;
  --line: #DDE6EF;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-weight: 800;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

nav {
  display: flex;
  gap: 25px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.hero {
  padding: 105px 0 80px;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

h1 {
  margin: 0;
  max-width: 880px;
  color: var(--navy);
  font-size: clamp(42px, 7vw, 78px);
  line-height: .99;
  letter-spacing: -.045em;
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.search {
  margin-top: 40px;
  padding: 7px;
  max-width: 760px;
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(16,42,67,.08);
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 15px 17px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.search button {
  border: 0;
  border-radius: 13px;
  padding: 0 23px;
  background: var(--blue);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.section {
  padding: 48px 0 78px;
}

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

h2 {
  margin: 0;
  color: var(--navy);
  font-size: 32px;
}

.count,
.status {
  color: var(--muted);
  font-size: 14px;
}

.status {
  padding: 25px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 19px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(16,42,67,.08);
}

.card-tag {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.card h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.card-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 5px 9px;
  border-radius: 999px;
  background: #EEF5FC;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.empty {
  grid-column: 1 / -1;
  padding: 38px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

footer {
  min-height: 110px;
  padding: 30px clamp(20px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  color: white;
}

footer span {
  color: #C6D3DF;
  font-size: 13px;
}

@media (max-width: 820px) {
  nav {
    display: none;
  }

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

  .hero {
    padding-top: 70px;
  }

  .search {
    display: block;
  }

  .search button {
    width: 100%;
    height: 48px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
