:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #5e6470;
  --hairline: #e4e7ec;
  --paper: #ffffff;
  --wash: #f6f7f9;
  --blue: #2f6fed;
  --yellow: #ffd84d;
  --green: #1b8f63;
  --shadow: 0 20px 60px rgba(22, 28, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 88px;
  padding: 0 64px;
  border-bottom: 1px solid rgba(228, 231, 236, 0.65);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  flex: 1;
}

.nav-links a,
.site-footer a {
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--blue);
}

.search-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.search-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -7px;
  bottom: -4px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 62px;
  align-items: center;
  max-width: 1800px;
  min-height: 660px;
  margin: 0 auto;
  padding: 80px 96px 56px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #101116;
  font-size: clamp(72px, 8vw, 150px);
  font-weight: 520;
  line-height: 0.92;
}

.hero-text {
  max-width: 820px;
  margin: 42px 0 0;
  color: #565b66;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  display: block;
  width: min(100%, 720px);
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.accent-dot {
  position: absolute;
  top: -32px;
  left: 4%;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 18px 40px rgba(255, 216, 77, 0.28);
}

.toolbar {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 64px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 34px 96px 28px;
  border-top: 2px solid #222631;
}

.filter-label {
  color: #20232a;
  font-size: 14px;
  font-weight: 800;
}

.controls {
  display: grid;
  grid-template-columns: 220px 180px minmax(260px, 420px);
  gap: 18px;
  justify-content: end;
  align-items: end;
}

.select-label,
.search-field {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

select,
input {
  height: 46px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

select {
  padding: 0 34px 0 14px;
}

.search-field {
  position: relative;
}

.search-field input {
  width: 100%;
  padding: 0 46px 0 16px;
}

.search-field .search-icon {
  position: absolute;
  right: 20px;
  bottom: 15px;
  color: #323844;
}

.content-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 64px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 10px 96px 96px;
}

.areas {
  align-self: start;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
}

.area-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 0 22px;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.area-row:last-child {
  border-bottom: 0;
}

.area-row.active {
  background: #f0f5ff;
  color: #174da8;
}

.report-panel {
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}

.panel-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 650;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.report-list {
  display: grid;
}

.report-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
}

.report-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 520;
  line-height: 1.18;
}

.report-card h3 a {
  text-decoration: none;
}

.report-card h3 a:hover {
  color: var(--blue);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.summary {
  max-width: 840px;
  margin: 16px 0 0;
  color: #444b58;
  font-size: 17px;
  line-height: 1.55;
}

.tag {
  align-self: start;
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: #334155;
  background: var(--wash);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.empty-state {
  margin-top: 36px;
  padding: 34px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--wash);
}

.empty-state h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.empty-state p {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #e9edf4;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  padding: 34px 96px 52px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 28px;
    gap: 20px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 28px 44px;
  }

  .hero-visual {
    min-height: 0;
  }

  .toolbar,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .controls {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

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

  .tag {
    justify-self: start;
  }

  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
  }

  .search-pill {
    width: 48px;
    padding: 0;
    justify-content: center;
  }

  .search-pill span:last-child {
    display: none;
  }

  h1 {
    font-size: 58px;
  }

  .hero-text {
    margin-top: 28px;
    font-size: 18px;
  }

  .accent-dot {
    width: 54px;
    height: 54px;
    top: -18px;
  }
}
