:root {
  color-scheme: light;
  --ink: #10223f;
  --muted: #65758d;
  --line: #dbe3ee;
  --line-strong: #c8d3e2;
  --paper: #ffffff;
  --canvas: #f3f7fb;
  --blue: #1265e8;
  --blue-dark: #0746aa;
  --blue-soft: #eaf2ff;
  --cyan: #16b7c9;
  --green: #16875a;
  --green-soft: #e7f7f0;
  --amber: #a96600;
  --amber-soft: #fff4d9;
  --red: #b82d3b;
  --red-soft: #fff0f1;
  --shadow: 0 24px 70px rgba(20, 46, 84, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 7%, rgba(22, 183, 201, 0.1), transparent 24rem),
    linear-gradient(180deg, #f9fbfe 0, var(--canvas) 38rem);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.site-header {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(200, 211, 226, 0.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 24px rgba(18, 101, 232, 0.24);
  font-size: 24px;
  font-weight: 800;
}

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

.brand strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

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

.header-link {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.header-link:hover {
  text-decoration: underline;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link.active {
  color: var(--ink);
}

.page-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 36px;
}

.hero {
  max-width: 790px;
  margin-bottom: 50px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 22px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.coverage-metrics {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.coverage-metrics span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.coverage-metrics strong {
  margin-right: 3px;
  color: var(--blue-dark);
  font-size: 13px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: start;
  gap: 24px;
}

.search-card,
.results-card {
  min-width: 0;
  border: 1px solid rgba(200, 211, 226, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.search-card {
  padding: 34px;
}

.results-card {
  min-height: 690px;
  padding: 34px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.step-number {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.card-heading h2 {
  margin: 6px 0 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px 16px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field-wide input {
  height: 54px;
  font-size: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field > span,
.years-fieldset legend {
  color: #2b3e5d;
  font-size: 13px;
  font-weight: 700;
}

.field b {
  color: var(--blue);
}

.field input,
.field select {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input::placeholder {
  color: #a5b1c1;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 101, 232, 0.1);
}

.field select {
  appearance: none;
  padding-right: 40px;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 21px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 12px) 21px / 6px 6px no-repeat,
    #fff;
}

.region-field {
  margin-bottom: 12px;
}

.region-support {
  margin-bottom: 24px;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}

.support-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: #a8b4c3;
  box-shadow: 0 0 0 5px rgba(168, 180, 195, 0.14);
}

.region-support strong,
.region-support p {
  display: block;
}

.region-support strong {
  font-size: 12px;
}

.region-support p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.region-support.available {
  border-color: #bce3d3;
  background: var(--green-soft);
}

.region-support.available .support-dot {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(22, 135, 90, 0.12);
}

.region-support.unavailable {
  border-color: #efcc91;
  background: var(--amber-soft);
}

.region-support.unavailable .support-dot {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(169, 102, 0, 0.1);
}

.field input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(184, 45, 59, 0.08);
}

.field small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.years-fieldset {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.years-toolbar {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 12px;
}

.years-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.text-button {
  padding: 3px 0;
  border: 0;
  color: var(--blue);
  background: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.text-button:hover {
  text-decoration: underline;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.year-option {
  position: relative;
  cursor: pointer;
}

.year-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.year-option span {
  min-height: 48px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  transition: all 150ms ease;
}

.year-option strong {
  display: block;
}

.year-option strong {
  font-size: 15px;
}

.year-option input:checked + span {
  border-color: var(--blue);
  color: var(--blue-dark);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.year-option input:focus-visible + span {
  outline: 3px solid rgba(18, 101, 232, 0.22);
  outline-offset: 2px;
}

.current-year input:checked + span {
  border-color: var(--cyan);
  background: #e9fbfc;
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.field-error {
  margin: 9px 0 0;
  color: var(--red);
  font-size: 12px;
}

.field > .field-error {
  margin: 0;
  color: var(--red);
}

.captcha-panel {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid #c9d9ef;
  border-radius: 16px;
  background: #f5f9ff;
}

.captcha-copy h3 {
  margin: 5px 0 5px;
  font-size: 16px;
}

.captcha-copy > p:last-child {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
}

.captcha-copy .captcha-progress {
  margin: -7px 0 14px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.captcha-empty {
  display: flex;
}

.captcha-ready {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 12px 15px;
}

.captcha-ready img {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
}

.captcha-field {
  min-width: 0;
}

.captcha-ready .text-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.secondary-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  color: var(--blue-dark);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.secondary-button:hover:not(:disabled) {
  background: var(--blue-soft);
}

.secondary-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.connection-settings {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.connection-settings summary {
  padding: 14px 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.compact-field {
  padding: 0 0 16px;
}

.consent {
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #53647b;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.55;
}

.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.primary-button {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(100deg, var(--blue-dark), var(--blue));
  box-shadow: 0 13px 28px rgba(18, 101, 232, 0.22);
  cursor: pointer;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(18, 101, 232, 0.28);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.button-arrow {
  font-size: 23px;
  font-weight: 400;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.empty-state {
  min-height: 500px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(145deg, #fbfdff, #f6f9fd);
  text-align: center;
}

.empty-state h3,
.loading-state h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.empty-state p,
.loading-state p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.radar {
  position: relative;
  width: 118px;
  height: 118px;
  border: 1px solid #cbd9eb;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.5%, #dce6f3 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, #dce6f3 50%, transparent 50.5%),
    radial-gradient(circle, transparent 31%, #dce6f3 32%, transparent 33%, transparent 64%, #dce6f3 65%, transparent 66%);
}

.radar::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: rotate(-32deg);
  transform-origin: left;
}

.radar span,
.radar i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(22, 183, 201, 0.12);
}

.radar span {
  top: 28px;
  right: 31px;
}

.radar i {
  bottom: 26px;
  left: 35px;
}

.loading-state {
  padding-top: 8px;
}

.loading-header {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  background: var(--blue-soft);
}

.loading-header h3 {
  margin: 0 0 4px;
}

.spinner {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 3px solid rgba(18, 101, 232, 0.18);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

.source-status {
  min-height: 62px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafcff;
}

.status-mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: #e8eef6;
  font-size: 11px;
  font-weight: 900;
}

.source-status strong,
.source-status small {
  display: block;
}

.source-status strong {
  font-size: 12px;
}

.source-status small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.source-status.pending .status-mark {
  color: var(--blue);
  background: var(--blue-soft);
  animation: pulse 1.2s ease-in-out infinite;
}

.source-status.ok {
  border-color: #bce3d3;
  background: var(--green-soft);
}

.source-status.ok .status-mark {
  color: #fff;
  background: var(--green);
}

.source-status.error {
  border-color: #efc4c8;
  background: var(--red-soft);
}

.source-status.error .status-mark {
  color: #fff;
  background: var(--red);
}

@keyframes pulse {
  50% { opacity: 0.48; }
}

.summary {
  padding: 17px 18px;
  border-radius: 14px;
}

.summary strong,
.summary span {
  display: block;
}

.summary strong {
  font-size: 15px;
}

.summary span {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
}

.summary.complete {
  color: #0e6845;
  background: var(--green-soft);
}

.summary.partial {
  color: #805000;
  background: var(--amber-soft);
}

.summary.failed {
  color: #8e2330;
  background: var(--red-soft);
}

.results-block {
  margin-top: 25px;
}

.results-table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.results-table-heading h3 {
  margin: 0;
  font-size: 16px;
}

.count-badge {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 10px;
  font-weight: 800;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th,
td {
  padding: 12px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  background: #f7f9fc;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #f8fbff;
}

.grade-badge {
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 900;
}

.request-reference {
  margin-top: 18px;
  color: #8b98aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  word-break: break-all;
}

.privacy-strip {
  margin-top: 24px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #cce8df;
  border-radius: 18px;
  background: rgba(236, 249, 244, 0.82);
}

.privacy-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.privacy-strip strong {
  font-size: 13px;
}

.privacy-strip p {
  margin: 3px 0 0;
  color: #507064;
  font-size: 11px;
  line-height: 1.5;
}

.noscript-message {
  color: var(--red);
}

footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(200, 211, 226, 0.75);
  color: var(--muted);
  font-size: 10px;
}

.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;
}

.health-page {
  padding-top: 58px;
}

.health-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.health-hero > div {
  max-width: 780px;
}

.health-hero h1 {
  margin: 13px 0 15px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.health-hero p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.health-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.health-summary article {
  min-height: 104px;
  padding: 20px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
}

.health-summary strong,
.health-summary small {
  display: block;
}

.health-summary strong {
  margin-top: 4px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.health-summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.summary-dot {
  width: 8px;
  height: 8px;
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 50%;
  background: #a8b4c3;
}

.summary-dot.ok { background: var(--green); }
.summary-dot.warning { background: var(--amber); }
.summary-dot.error { background: var(--red); }

.health-panel {
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.health-toolbar h2 {
  margin: 6px 0 0;
  font-size: 25px;
}

.health-filters {
  display: flex;
  gap: 9px;
}

.health-filters input,
.health-filters select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.health-filters input {
  min-width: 230px;
}

.health-filters input:focus,
.health-filters select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 101, 232, 0.1);
}

.health-loading {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.health-table {
  min-width: 960px;
}

.health-table td:nth-child(2) {
  min-width: 300px;
}

.health-table td strong,
.health-table td a,
.health-table td small {
  display: block;
}

.health-table td a {
  max-width: 360px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.health-table td a:hover {
  text-decoration: underline;
}

.health-table td small {
  max-width: 360px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.health-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.health-badge.ok {
  color: var(--green);
  background: var(--green-soft);
}

.health-badge.warning {
  color: var(--amber);
  background: var(--amber-soft);
}

.health-badge.error {
  color: var(--red);
  background: var(--red-soft);
}

.health-checked,
.health-empty {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.health-empty {
  padding: 30px;
  text-align: center;
}

.health-explanation {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid #efcc91;
  border-radius: 16px;
  background: var(--amber-soft);
}

.health-explanation strong {
  font-size: 13px;
}

.health-explanation p {
  margin: 5px 0 0;
  color: #76511d;
  font-size: 11px;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

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

  .results-card {
    min-height: 560px;
  }

  .empty-state {
    min-height: 370px;
  }

  .health-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .health-hero,
  .health-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .health-filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-header,
  .page-shell,
  footer {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    padding: 16px 0;
  }

  .brand small,
  .site-header > .header-link {
    display: none;
  }

  .header-nav {
    gap: 10px;
  }

  .header-nav .header-link:nth-child(3) {
    display: none;
  }

  .page-shell {
    padding-top: 48px;
  }

  .hero {
    margin-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(43px, 16vw, 64px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .search-card,
  .results-card {
    padding: 24px 18px;
    border-radius: 19px;
  }

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

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

  .captcha-ready {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .source-status-grid {
    grid-template-columns: 1fr;
  }

  .privacy-strip {
    align-items: flex-start;
  }

  footer {
    flex-direction: column;
  }

  .health-summary {
    grid-template-columns: 1fr 1fr;
  }

  .health-summary article:last-child {
    grid-column: 1 / -1;
  }

  .health-filters,
  .health-filters label,
  .health-filters input,
  .health-filters select {
    width: 100%;
  }
}

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