:root {
  color-scheme: light;
  --navy: #102d52;
  --navy-deep: #0b2342;
  --ink: #102643;
  --muted: #66758a;
  --teal: #079b9c;
  --teal-dark: #087d80;
  --line: #dce6ef;
  --soft: #f5f9fc;
  --white: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #f8fbfd;
}

button, input, select { font: inherit; }

button, select { cursor: pointer; }

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

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

.site-header {
  position: relative;
  z-index: 5;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 6px 24px rgb(11 35 66 / 12%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1420px, calc(100% - 64px));
  min-height: 112px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.logo-panel {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 174px;
  height: 96px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.logo-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-divider { width: 1px; height: 56px; background: rgb(255 255 255 / 33%); }

.product-name {
  color: #eaf4fb;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: .015em;
}

.product-name strong { color: var(--white); font-size: 19px; }

.site-nav { display: flex; align-items: center; gap: 34px; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #dce8f3;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover, .nav-link:focus-visible { color: #fff; }

.nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 3px;
  border-radius: 10px;
  background: #30d1bf;
  content: "";
}

.page-shell { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 246px;
  overflow: hidden;
  padding: 44px 0 36px;
}

.hero::before {
  position: absolute;
  top: -145px;
  right: -200px;
  width: 530px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(192 230 247 / 43%), rgb(231 245 251 / 12%) 66%, transparent 67%);
  content: "";
}

.hero-copy { position: relative; z-index: 1; max-width: 790px; }

.eyebrow, .section-kicker {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.hero-subtitle { max-width: 640px; margin: 14px 0 0; color: #5f6e81; font-size: 18px; line-height: 1.6; }

.hero-art { position: absolute; top: 25px; right: 28px; width: 240px; height: 200px; opacity: .8; }
.art-orbit { position: absolute; display: block; border: 1px solid #99d1e9; border-radius: 50%; transform: rotate(-28deg); }
.orbit-one { top: 20px; right: 17px; width: 205px; height: 112px; }
.orbit-two { top: 51px; right: 43px; width: 160px; height: 87px; border-color: #b1e3ec; }
.art-label { position: absolute; top: 68px; right: 91px; color: #2c8cb2; font-size: 24px; font-weight: 800; letter-spacing: .18em; }
.art-dot { position: absolute; display: block; width: 12px; height: 12px; border-radius: 50%; background: #14aaa9; box-shadow: 0 0 0 6px rgb(20 170 169 / 12%); }
.dot-one { top: 31px; right: 64px; }
.dot-two { right: 14px; bottom: 40px; width: 8px; height: 8px; background: #67bfd8; box-shadow: 0 0 0 5px rgb(103 191 216 / 15%); }

.lookup-panel {
  position: relative;
  z-index: 3;
  padding: 27px 30px 30px;
  border: 1px solid #d9e6f0;
  border-radius: 20px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 14px 42px rgb(29 76 111 / 8%);
}

.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.panel-heading h2 { margin: 0; color: var(--navy); font-size: 21px; letter-spacing: -.02em; }
.section-kicker { margin-bottom: 5px; font-size: 10px; }

.record-count { display: inline-flex; align-items: center; gap: 8px; color: #738195; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #1bb59f; box-shadow: 0 0 0 4px #e2f6f1; }

.lookup-form { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; align-items: end; gap: 16px; }
.field-group { position: relative; min-width: 0; }
.field-group label { display: block; margin: 0 0 8px; color: #263954; font-size: 14px; font-weight: 700; }

.field-group select, .field-group input {
  width: 100%;
  height: 52px;
  padding: 0 43px 0 15px;
  border: 1px solid #b9c7d5;
  border-radius: 11px;
  outline: none;
  color: #1c2e47;
  background-color: #fff;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.field-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2355687d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field-group select:disabled, .field-group input:disabled { cursor: not-allowed; color: #9ba7b4; background-color: #f3f6f8; }
.field-group select:focus, .field-group input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgb(7 155 156 / 12%); }
.field-group select:focus-visible, .field-group input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgb(38 175 178 / 55%); outline-offset: 2px; }

.search-wrap { position: relative; }
.field-group input { padding-right: 60px; }
.search-icon { position: absolute; z-index: 1; top: 15px; left: 14px; width: 21px; height: 21px; fill: none; stroke: #607187; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.field-group input { padding-left: 44px; }
.clear-search { position: absolute; top: 12px; right: 12px; display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; color: #596a7e; background: #edf3f6; font-size: 20px; line-height: 1; }
.clear-search:hover { color: var(--navy); background: #dfeaf0; }
.field-hint { min-height: 16px; margin: 6px 1px 0; color: #7a8798; font-size: 11px; }

.suggestions {
  position: absolute;
  z-index: 8;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 5px;
  border: 1px solid #d0dce6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgb(13 43 72 / 17%);
  list-style: none;
}

.suggestion { padding: 11px 12px; border-radius: 8px; color: #203550; font-size: 14px; cursor: pointer; }
.suggestion:hover, .suggestion.active { color: var(--navy); background: #e4f5f4; }
.suggestion-empty { padding: 12px; color: #77869a; font-size: 13px; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 148px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #0ba6a4, #078b8b);
  box-shadow: 0 8px 18px rgb(8 139 139 / 17%);
  font-size: 14px;
  font-weight: 750;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.primary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.primary-button:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 11px 22px rgb(8 139 139 / 24%); }
.primary-button:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }

.result-region { min-height: 250px; margin: 28px 0 34px; }
.empty-state { display: flex; align-items: center; gap: 18px; min-height: 160px; padding: 28px 34px; border: 1px dashed #c9d9e5; border-radius: 18px; background: linear-gradient(110deg, #fff, #f2f8fb); }
.empty-icon { display: grid; flex: 0 0 auto; width: 58px; height: 58px; place-items: center; border-radius: 17px; color: #0a989a; background: #e3f5f4; }
.empty-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.empty-state h2 { margin: 0 0 6px; color: var(--navy); font-size: 18px; }
.empty-state p { margin: 0; color: #738196; font-size: 14px; line-height: 1.5; }

.result-card { overflow: hidden; border: 1px solid #d9e5ed; border-radius: 20px; background: #fff; box-shadow: 0 12px 36px rgb(29 76 111 / 8%); }
.result-header { position: relative; display: flex; align-items: center; gap: 15px; min-height: 105px; padding: 21px 29px; overflow: hidden; color: #fff; background: linear-gradient(115deg, #102f56, #143f6b); }
.result-header::after { position: absolute; top: 32px; right: -31px; width: 250px; height: 118px; border-radius: 50%; background: linear-gradient(135deg, rgb(26 189 177 / 82%), rgb(9 141 139 / 70%)); transform: rotate(-16deg); content: ""; }
.location-mark { position: relative; z-index: 1; display: grid; flex: 0 0 auto; width: 43px; height: 49px; place-items: center; color: #fff; }
.location-mark svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.result-title-wrap { position: relative; z-index: 1; min-width: 0; }
.result-label { margin: 0 0 3px; color: #adcedf; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.result-title-wrap h2 { margin: 0; overflow: hidden; color: #fff; font-size: 22px; font-weight: 750; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.result-location { margin: 5px 0 0; color: #d4e3ee; font-size: 13px; }
.result-id { position: relative; z-index: 1; margin-left: auto; color: #dceaf2; font-size: 12px; white-space: nowrap; }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 23px 25px 17px; }
.metric-card { display: flex; align-items: center; gap: 22px; min-height: 155px; padding: 21px 23px; border: 1px solid #e1efef; border-radius: 17px; background: linear-gradient(130deg, #f1fafa, #e5f4f5); }
.metric-icon { display: grid; flex: 0 0 auto; width: 79px; height: 79px; place-items: center; border-radius: 21px; color: var(--navy); background: #d2eeeb; }
.metric-icon svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.people-icon svg circle, .people-icon svg path { fill: currentColor; stroke: currentColor; }
.people-icon svg path { fill: none; }
.metric-copy { min-width: 0; }
.metric-label { margin: 0; color: #193653; font-size: 15px; font-weight: 750; }
.metric-value { margin: 2px 0 0; color: #078d8c; font-size: clamp(36px, 4.5vw, 55px); font-weight: 800; letter-spacing: -.055em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.metric-note { margin: 5px 0 0; color: #758696; font-size: 11px; }
.result-footnote { display: flex; align-items: center; gap: 9px; margin: 0; padding: 0 27px 21px; color: #6b7a8d; font-size: 12px; }
.info-mark, .about-icon { display: inline-grid; flex: 0 0 auto; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; background: #5b9bc4; font-family: Georgia, serif; font-size: 13px; font-weight: 700; font-style: italic; }

.about-data { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 40px; padding: 18px 20px; border: 1px solid #e1e9f0; border-radius: 14px; background: #fff; }
.about-icon { width: 21px; height: 21px; margin-top: 1px; background: #83abc5; }
.about-data h2 { margin: 0 0 5px; color: #23405c; font-size: 13px; }
.about-data p { max-width: 760px; margin: 0; color: #708094; font-size: 12px; line-height: 1.6; }
.data-source { margin: 3px 0 0 auto; color: #718196; font-size: 11px; white-space: nowrap; }

.site-footer { color: #cfdae5; background: var(--navy); }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 10px; width: min(1280px, calc(100% - 64px)); min-height: 55px; margin: 0 auto; font-size: 11px; }
.footer-separator { color: #39c7b5; font-size: 16px; }

@media (max-width: 920px) {
  .header-inner { width: min(100% - 40px, 760px); min-height: 96px; gap: 18px; }
  .logo-panel { width: 135px; height: 75px; }
  .brand { gap: 12px; }
  .brand-divider { height: 44px; }
  .product-name { font-size: 13px; }
  .product-name strong { font-size: 16px; }
  .site-nav { gap: 20px; }
  .page-shell, .footer-inner { width: min(100% - 40px, 760px); }
  .hero-art { right: -34px; opacity: .45; }
  .lookup-form { grid-template-columns: 1fr 1fr; }
  .gp-field { grid-column: 1 / 2; }
  .primary-button { grid-column: 2; }
  .metric-card { gap: 15px; padding: 18px; }
  .metric-icon { width: 65px; height: 65px; border-radius: 17px; }
  .metric-icon svg { width: 38px; height: 38px; }
  .data-source { display: none; }
}

@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; width: calc(100% - 28px); min-height: 0; padding: 12px 0 0; gap: 3px 12px; }
  .brand { gap: 10px; }
  .logo-panel { width: 110px; height: 62px; }
  .brand-divider { height: 37px; }
  .product-name { font-size: 11px; }
  .product-name strong { font-size: 14px; }
  .site-nav { justify-content: flex-end; width: 100%; gap: 23px; min-height: 42px; }
  .nav-link { min-height: 40px; font-size: 12px; }
  .page-shell, .footer-inner { width: calc(100% - 28px); }
  .hero { min-height: 0; padding: 38px 0 25px; }
  .hero-art { top: -20px; right: -78px; transform: scale(.78); opacity: .25; }
  .eyebrow { font-size: 10px; }
  h1 { max-width: 400px; font-size: clamp(31px, 10vw, 42px); }
  .desktop-break { display: none; }
  .hero-subtitle { max-width: 350px; margin-top: 11px; font-size: 15px; }
  .lookup-panel { padding: 21px 17px 18px; border-radius: 16px; }
  .panel-heading { align-items: flex-start; margin-bottom: 17px; }
  .panel-heading h2 { font-size: 18px; }
  .record-count { gap: 6px; padding-top: 3px; font-size: 10px; }
  .lookup-form { grid-template-columns: 1fr; gap: 14px; }
  .gp-field, .primary-button { grid-column: auto; }
  .primary-button { width: 100%; }
  .result-region { min-height: 0; margin: 19px 0 23px; }
  .empty-state { align-items: flex-start; min-height: 136px; padding: 21px 17px; gap: 13px; }
  .empty-icon { width: 47px; height: 47px; border-radius: 14px; }
  .empty-icon svg { width: 26px; height: 26px; }
  .empty-state h2 { font-size: 15px; }
  .empty-state p { font-size: 12px; }
  .result-header { min-height: 93px; padding: 17px 16px; gap: 10px; }
  .location-mark { width: 34px; height: 38px; }
  .location-mark svg { width: 33px; height: 33px; }
  .result-title-wrap h2 { max-width: 220px; font-size: 17px; }
  .result-location { font-size: 11px; }
  .result-id { display: none; }
  .metric-grid { grid-template-columns: 1fr; gap: 11px; padding: 14px 13px 12px; }
  .metric-card { min-height: 116px; gap: 17px; padding: 15px; }
  .metric-icon { width: 61px; height: 61px; }
  .metric-label { font-size: 13px; }
  .metric-value { font-size: 39px; }
  .metric-note { font-size: 10px; }
  .result-footnote { padding: 0 16px 17px; font-size: 11px; }
  .about-data { margin-bottom: 26px; padding: 15px; }
  .about-data p { font-size: 11px; }
  .footer-inner { min-height: 49px; font-size: 10px; }
}

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