@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #f7f9fc;
  --bg-accent: #f9fbff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: #f2f7ff;
  --stroke: rgba(15, 35, 67, 0.08);
  --stroke-strong: rgba(15, 35, 67, 0.14);
  --text: #132238;
  --text-soft: #5f6f84;
  --primary: #1f6fe5;
  --primary-deep: #1658b9;
  --mint: #dff5ef;
  --blue-tint: #eef6ff;
  --danger-tint: #fff2f2;
  --shadow-lg: 0 22px 50px rgba(27, 54, 96, 0.08);
  --shadow-md: 0 12px 28px rgba(28, 56, 92, 0.07);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(104, 162, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(117, 212, 193, 0.15), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 22px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f6fe5 0%, #7bc7ff 100%);
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-link {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid transparent;
  color: var(--text-soft);
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(31, 111, 229, 0.12);
  color: var(--text);
}

.nav-link--active {
  background: var(--blue-tint);
  border-color: rgba(31, 111, 229, 0.12);
  color: var(--text);
}

.hero {
  position: relative;
  padding: 62px 24px 34px;
  text-align: center;
}

.hero--home {
  padding-top: 78px;
}

.hero__eyebrow,
.info-card__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 111, 229, 0.08);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px auto 18px;
  max-width: 880px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero__lead {
  margin: 0 auto;
  max-width: 740px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.search-panel,
.info-card,
.result-card,
.empty-state {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.search-panel {
  margin-top: 14px;
  padding: 28px 28px 24px;
  border-radius: var(--radius-xl);
}

.search-panel__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
}

.search-panel__glow--one {
  inset: 18px auto auto 16px;
  width: 180px;
  height: 180px;
  background: rgba(123, 199, 255, 0.17);
}

.search-panel__glow--two {
  inset: auto 24px 12px auto;
  width: 220px;
  height: 220px;
  background: rgba(154, 239, 223, 0.16);
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.search-panel .section-heading,
.search-form,
.search-status {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.info-card h2,
.empty-state h3,
.result-card__title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: 1.7rem;
}

.section-heading p,
.info-card p,
.result-card p,
.empty-state p {
  color: var(--text-soft);
  line-height: 1.72;
}

.section-heading--tight {
  margin-bottom: 18px;
}

.search-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.search-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid rgba(31, 111, 229, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.search-bar:focus-within {
  border-color: rgba(31, 111, 229, 0.28);
  box-shadow:
    0 0 0 6px rgba(31, 111, 229, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.search-bar__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary-deep);
}

.search-bar__icon svg {
  width: 18px;
  height: 18px;
}

.search-bar input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.search-bar input::placeholder {
  color: #95a3b5;
}

.search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 26px rgba(31, 111, 229, 0.25);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 16px 30px rgba(31, 111, 229, 0.32);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 35, 67, 0.08);
  color: var(--text);
}

.button--inline {
  width: fit-content;
  margin-top: 8px;
}

.search-status {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.search-status p {
  margin: 0;
  font-weight: 700;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 116, 102, 0.08);
  color: #137566;
  font-size: 0.86rem;
  font-weight: 800;
}

.results-section {
  margin-top: 30px;
}

.results-meta {
  margin: 0;
}

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

.result-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(22, 52, 90, 0.11);
  border-color: rgba(31, 111, 229, 0.14);
}

.result-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.result-card__title-wrap {
  display: grid;
  gap: 8px;
}

.result-card__title {
  font-size: 1.5rem;
}

.result-card__id {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(19, 34, 56, 0.06);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.result-card__aliases {
  margin: 0;
}

.result-card__aliases strong,
.result-card__body strong,
.meta-chip strong {
  color: var(--text);
}

.result-card__body {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.result-card__summary {
  margin: 0;
}

.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.evidence-box {
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid rgba(31, 111, 229, 0.08);
}

.evidence-box p,
.risk-box p {
  margin: 0;
}

.evidence-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.evidence-badge--0 {
  background: rgba(244, 91, 105, 0.12);
  color: #b03a47;
}

.evidence-badge--1 {
  background: rgba(255, 189, 86, 0.16);
  color: #9f6316;
}

.evidence-badge--2 {
  background: rgba(94, 151, 255, 0.15);
  color: #245dbb;
}

.evidence-badge--3 {
  background: rgba(80, 199, 160, 0.16);
  color: #0f7b5e;
}

.evidence-badge--na {
  background: rgba(19, 34, 56, 0.08);
  color: var(--text-soft);
}

.risk-box {
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  background: var(--danger-tint);
  border: 1px solid rgba(244, 91, 105, 0.09);
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31, 111, 229, 0.11);
  color: var(--primary-deep);
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.link-pill:hover,
.link-pill:focus-visible {
  transform: translateY(-1px);
  background: var(--surface-soft);
  border-color: rgba(31, 111, 229, 0.2);
}

.empty-state {
  margin-top: 18px;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.info-grid--single,
.methodology-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.info-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--primary-deep);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .site-header,
  .search-status,
  .result-card__top {
    flex-direction: column;
    align-items: stretch;
  }

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

  .results-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .hero,
  .hero--home {
    padding-left: 8px;
    padding-right: 8px;
  }

  .search-panel,
  .result-card,
  .info-card {
    padding: 22px;
  }

  .search-bar {
    border-radius: 24px;
  }

  .search-panel .section-heading,
  .search-form,
  .search-status {
    max-width: none;
  }
}
