:root {
  color-scheme: light;
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-soft: #eef6f1;
  --ink: #173431;
  --ink-strong: #0d2321;
  --muted: #60736e;
  --line: #dce8e3;
  --line-strong: #b8d1c8;
  --green: #0f8b6d;
  --green-dark: #09664f;
  --green-soft: #dff4ec;
  --amber: #b36a08;
  --amber-soft: #fff3d9;
  --blue: #1f5b8f;
  --shadow: 0 18px 45px rgba(20, 50, 43, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 38%, #eff6f3 100%);
  color: var(--ink);
  min-width: 320px;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  transition:
    background 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(184, 209, 200, 0.76);
  box-shadow: 0 14px 34px rgba(20, 50, 43, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 50, 43, 0.12);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  overflow: hidden;
  width: 40px;
}

.brand-mark img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.top-nav {
  align-items: center;
  display: flex;
  gap: 10px;
}

.top-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  padding: 10px 12px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.top-nav a::after {
  background: var(--green);
  border-radius: 999px;
  bottom: 5px;
  content: "";
  height: 2px;
  left: 12px;
  opacity: 0;
  position: absolute;
  right: 12px;
  transform: scaleX(0.4);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.top-nav .download-link {
  background: var(--ink-strong);
  color: white;
  padding-inline: 14px;
}

.language-switch {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}

.language-switch button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  min-height: 30px;
  padding: 0 10px;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink-strong);
  color: #fff;
}

.language-switch button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--ink);
  outline: none;
}

.top-nav a.is-active {
  color: var(--ink-strong);
}

.top-nav a.is-active::after,
.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.top-nav .download-link:hover,
.top-nav .download-link:focus-visible {
  background: var(--green);
  color: white;
}

main {
  margin: 0 auto;
  max-width: 1240px;
  padding: 54px 28px 32px;
}

.lookup-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.72fr) minmax(640px, 1.65fr);
  align-items: start;
  position: relative;
}

.lookup-shell::before {
  background:
    linear-gradient(115deg, rgba(31, 91, 143, 0.08), transparent 34%),
    linear-gradient(245deg, rgba(15, 139, 109, 0.12), transparent 38%);
  content: "";
  filter: blur(22px);
  inset: -36px -28px auto -28px;
  height: 280px;
  opacity: 0.82;
  pointer-events: none;
  position: absolute;
  transform: translate3d(0, 0, 0);
  z-index: -1;
}

.lookup-copy {
  padding-top: 24px;
  position: relative;
}

.lookup-copy h1 {
  color: var(--ink-strong);
  font-size: 68px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 22px;
}

.lookup-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 470px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-link {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 790;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  cursor: pointer;
}

.hero-link.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.hero-link:hover,
.hero-link:focus-visible {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: white;
  outline: none;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  max-width: 520px;
}

.trust-strip span {
  background: rgba(15, 139, 109, 0.08);
  border: 1px solid rgba(15, 139, 109, 0.18);
  border-radius: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 790;
  padding: 8px 10px;
}

.trust-strip.secondary {
  margin-top: 12px;
}

.hero-utility-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(243, 250, 247, 0.64)),
    rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(184, 209, 200, 0.82);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(20, 50, 43, 0.13);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  max-width: 360px;
  padding: 12px;
  width: 100%;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition:
    box-shadow 240ms ease,
    transform 180ms ease;
}

.hero-utility-card:hover {
  box-shadow: 0 28px 70px rgba(20, 50, 43, 0.16);
}

.hero-utility-card div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 232, 227, 0.86);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.hero-utility-card span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 820;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.hero-utility-card strong {
  color: var(--ink-strong);
  display: block;
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hero-device {
  animation: floatDevice 7s ease-in-out infinite;
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  max-width: 156px;
}

.hero-device > span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.device-shell {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(235, 247, 241, 0.62)),
    var(--surface);
  border: 1px solid rgba(184, 209, 200, 0.76);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(20, 50, 43, 0.16);
  overflow: hidden;
  padding: 8px;
}

.device-shell video {
  aspect-ratio: 332 / 720;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.lookup-panel,
.info-band,
.app-band {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 252, 249, 0.86)),
    rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px);
}

.lookup-panel {
  padding: 22px;
}

.panel-head,
.results-head,
.app-band,
.info-band {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.panel-head {
  gap: 16px;
  margin-bottom: 18px;
}

.panel-head h2,
.info-band h2,
.app-band h2 {
  color: var(--ink-strong);
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0;
}

.panel-head p,
.info-band p,
.app-band p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 6px 0 0;
}

.panel-actions {
  display: flex;
  gap: 8px;
}

.icon-button,
.text-button,
.load-more,
.app-link {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 760;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  text-decoration: none;
}

.icon-button {
  justify-content: center;
  padding: 0;
  width: 42px;
}

.icon-button svg,
.text-button svg,
.notice svg,
.search-control svg,
.contact-action svg,
.meta-item svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-button svg,
.text-button svg {
  height: 18px;
  width: 18px;
}

.icon-button:hover,
.text-button:hover,
.load-more:hover,
.app-link:hover,
.icon-button:focus-visible,
.text-button:focus-visible,
.load-more:focus-visible,
.app-link:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: white;
  outline: none;
}

.text-button.compact {
  min-height: 40px;
  white-space: nowrap;
}

.text-button.ghost {
  background: #f4f8f6;
  border-color: var(--line);
  color: var(--muted);
}

.icon-button:disabled,
.text-button:disabled,
.load-more:disabled {
  cursor: wait;
  opacity: 0.64;
}

.controls {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) 176px;
}

.search-control,
.date-control {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  min-height: 48px;
}

.search-control {
  gap: 10px;
  padding: 0 14px;
}

.search-control svg {
  color: var(--muted);
  height: 19px;
  width: 19px;
  flex: 0 0 auto;
}

.search-control input,
.date-control input {
  background: transparent;
  border: 0;
  color: var(--ink);
  min-width: 0;
  outline: none;
  width: 100%;
}

.search-control input::placeholder {
  color: #7c8e89;
}

.date-control {
  gap: 10px;
  padding: 0 12px;
}

.date-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.district-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}

.district-tab {
  background: #f4f8f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  min-height: 38px;
  padding: 0 12px;
}

.district-tab:hover,
.district-tab:focus-visible {
  border-color: var(--green);
  color: var(--green-dark);
  outline: none;
}

.district-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.manual-location-control {
  background:
    linear-gradient(135deg, rgba(15, 139, 109, 0.08), rgba(31, 91, 143, 0.06)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  padding: 12px;
}

.manual-location-control > label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
}

.manual-location-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(180px, 1fr) auto auto;
}

.manual-location-row input {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 40px;
  min-width: 0;
  outline: none;
  padding: 0 12px;
}

.manual-location-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 139, 109, 0.12);
}

#locationMeta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.notice {
  align-items: center;
  background: var(--amber-soft);
  border: 1px solid #efd49d;
  border-radius: 8px;
  color: #704304;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  margin: 16px 0;
  padding: 12px 14px;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.notice svg {
  height: 20px;
  width: 20px;
  flex: 0 0 auto;
}

.notice-success {
  background: var(--green-soft);
  border-color: rgba(15, 139, 109, 0.24);
  color: var(--green-dark);
}

.notice-warning,
.notice-loading {
  background: var(--amber-soft);
  border-color: #efd49d;
  color: #704304;
}

.result-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.results {
  min-width: 0;
}

.results-head {
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  gap: 12px;
  margin-bottom: 10px;
}

.results-head span {
  min-width: 0;
}

#sortLabel {
  overflow-wrap: anywhere;
  text-align: right;
}

.result-list {
  display: grid;
  gap: 10px;
}

.pharmacy-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
  position: relative;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.pharmacy-row:focus-within,
.pharmacy-row:focus-visible,
.pharmacy-row:hover,
.pharmacy-row.is-selected {
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(20, 50, 43, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.row-main {
  min-width: 0;
}

.row-title {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 6px;
}

.row-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.row-title h3 {
  color: var(--ink-strong);
  font-size: 17px;
  line-height: 1.24;
  margin: 0;
  overflow-wrap: anywhere;
}

.district-chip {
  background: var(--green-soft);
  border-radius: 8px;
  color: var(--green-dark);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
}

.status-badge {
  border-radius: 8px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 840;
  padding: 6px 8px;
}

.status-badge.on-call {
  animation: onCallGlow 3.6s ease-in-out infinite;
  background: var(--amber-soft);
  color: #704304;
}

.meta-item.status-text {
  color: var(--green-dark);
}

.address {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.meta-item {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 690;
  gap: 6px;
}

.meta-item svg {
  height: 15px;
  width: 15px;
}

.row-actions {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.contact-action {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 790;
  gap: 7px;
  justify-content: center;
  min-height: 36px;
  min-width: 112px;
  padding: 0 10px;
  text-decoration: none;
}

.contact-action.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.contact-action:hover,
.contact-action:focus-visible {
  border-color: var(--green-dark);
  outline: none;
}

.contact-action svg {
  height: 16px;
  width: 16px;
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  padding: 28px;
  text-align: center;
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state strong {
  color: var(--ink-strong);
  font-size: 18px;
  margin-bottom: 6px;
}

.skeleton-row {
  pointer-events: none;
}

.skeleton-row-2 {
  animation-delay: 70ms;
}

.skeleton-row-3 {
  animation-delay: 140ms;
}

.skeleton-row-4 {
  animation-delay: 210ms;
}

.skeleton-line,
.skeleton-button {
  animation: shimmer 1.35s ease-in-out infinite;
  background:
    linear-gradient(90deg, rgba(220, 232, 227, 0.66), rgba(255, 255, 255, 0.92), rgba(220, 232, 227, 0.66));
  background-size: 220% 100%;
  border-radius: 8px;
  display: block;
}

.skeleton-line.title {
  height: 20px;
  max-width: 280px;
}

.skeleton-line.address {
  height: 15px;
  margin-top: 12px;
  max-width: 420px;
}

.skeleton-line.meta {
  height: 13px;
  margin-top: 14px;
  max-width: 520px;
}

.skeleton-button {
  height: 36px;
  width: 112px;
}

.pharmacy-drawer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 249, 0.94)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(20, 50, 43, 0.18);
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  position: fixed;
  right: 28px;
  top: 96px;
  transform: translate3d(26px, 0, 0) scale(0.98);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
  width: min(360px, calc(100vw - 40px));
  z-index: 30;
}

.pharmacy-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.drawer-close {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 820;
  min-height: 34px;
  padding: 0 12px;
  position: absolute;
  right: 14px;
  top: 14px;
}

.drawer-close:hover,
.drawer-close:focus-visible {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: white;
  outline: none;
}

.drawer-kicker {
  color: var(--green-dark);
  display: block;
  font-size: 12px;
  font-weight: 860;
  margin-bottom: 12px;
  padding-right: 72px;
  text-transform: uppercase;
}

.pharmacy-drawer h3 {
  color: var(--ink-strong);
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 10px;
  padding-right: 54px;
}

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

.drawer-status {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.drawer-status > span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.pharmacy-drawer dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.pharmacy-drawer dl div {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.pharmacy-drawer dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.pharmacy-drawer dd {
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 760;
  margin: 0;
}

.drawer-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.drawer-actions .contact-action {
  flex: 1;
  min-width: 0;
}

.drawer-note {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.load-more {
  justify-content: center;
  margin-top: 12px;
  width: 100%;
}

.info-band,
.app-band {
  gap: 24px;
  margin-top: 26px;
  padding: 24px;
}

.info-band {
  align-items: start;
}

.stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  min-width: min(100%, 430px);
}

.stat {
  background: #f5faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.stat strong {
  color: var(--ink-strong);
  display: block;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
}

.section-copy {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.section-copy h2 {
  color: var(--ink-strong);
  font-size: 44px;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.section-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.product-showcase,
.trust-section {
  margin-top: 30px;
}

.product-showcase {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 244, 0.96)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
}

.app-store-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 24px;
}

.app-store-facts div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 209, 200, 0.72);
  border-radius: 8px;
  padding: 14px;
}

.app-store-facts span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 820;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.app-store-facts strong {
  color: var(--ink-strong);
  display: block;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.15;
}

.product-layout {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.38fr);
  margin-top: 28px;
}

.product-panels {
  display: grid;
  gap: 12px;
}

.product-panels article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.product-panels span {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 12px;
}

.product-panels h3,
.trust-grid h3 {
  color: var(--ink-strong);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0 0 8px;
}

.product-panels p,
.trust-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.media-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.preview-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 35, 33, 0.96), rgba(25, 83, 77, 0.94)),
    #0d2321;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: white;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.48fr);
  overflow: hidden;
  padding: 20px;
}

.preview-copy {
  display: grid;
  gap: 10px;
}

.preview-copy span {
  color: rgba(158, 238, 215, 0.88);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.preview-copy h3 {
  color: white;
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.preview-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.preview-copy a {
  align-items: center;
  background: white;
  border: 1px solid white;
  border-radius: 8px;
  color: #113733;
  display: inline-flex;
  font-size: 14px;
  font-weight: 820;
  justify-content: center;
  margin-top: 4px;
  min-height: 42px;
  padding: 0 14px;
  text-decoration: none;
  width: fit-content;
}

.screenshot-rail {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: 1.08fr repeat(4, 0.92fr);
  min-width: 0;
}

.phone-frame {
  background: #f8fcfa;
  border: 1px solid rgba(184, 209, 200, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(20, 50, 43, 0.14);
  margin: 0;
  overflow: hidden;
  padding: 8px;
}

.phone-frame img {
  border-radius: 8px;
  display: block;
  height: auto;
  width: 100%;
}

.phone-frame video {
  aspect-ratio: 332 / 720;
  background: #10211f;
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.video-frame {
  justify-self: center;
  max-width: 210px;
  padding: 7px;
  width: 100%;
}

.lead-shot {
  transform: translateY(-10px);
}

.trust-section {
  display: grid;
  gap: 24px;
}

.trust-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.trust-grid span,
.trust-grid a {
  color: var(--green-dark);
  display: block;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
  margin-top: 12px;
}

.trust-grid a {
  overflow-wrap: anywhere;
  text-decoration: none;
}

.trust-grid a:hover,
.trust-grid a:focus-visible {
  color: var(--blue);
  outline: none;
  text-decoration: underline;
}

.app-band {
  background:
    radial-gradient(circle at 14% 16%, rgba(150, 238, 214, 0.22), transparent 26%),
    linear-gradient(135deg, #0d2321 0%, #113733 52%, #164d61 100%);
  border-color: rgba(255, 255, 255, 0.06);
  color: white;
}

.app-band h2 {
  color: white;
}

.app-band p {
  color: rgba(255, 255, 255, 0.72);
}

.app-band-copy {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.app-band-logo {
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  flex: 0 0 auto;
  height: 76px;
  width: 76px;
}

.app-link {
  background: white;
  border-color: white;
  color: #113733;
  flex: 0 0 auto;
  justify-content: center;
  text-align: center;
}

.site-footer {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 20px 28px 36px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 760;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue);
  outline: none;
  text-decoration: underline;
}

.animations-ready [data-animate],
.animations-ready .story-panel,
.animations-ready .alerts-grid article,
.animations-ready .subscription-grid article {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animations-ready [data-animate].is-visible,
.animations-ready .story-panel.is-visible,
.animations-ready .alerts-grid article.is-visible,
.animations-ready .subscription-grid article.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-kicker {
  color: var(--green-dark);
  display: block;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.storytelling-section,
.nearest-section,
.route-story-section,
.alerts-section,
.accessibility-section,
.premium-section {
  margin-top: 30px;
}

.storytelling-section {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
}

.sticky-story {
  position: sticky;
  top: 104px;
}

.sticky-story h2 {
  color: var(--ink-strong);
  font-size: 48px;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.sticky-story p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 18px 0 0;
}

.story-panels,
.alerts-grid,
.subscription-grid {
  display: grid;
  gap: 14px;
}

.story-panel,
.alerts-grid article,
.subscription-grid article,
.nearest-section,
.route-story-section,
.accessibility-section,
.premium-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(249, 253, 251, 0.86)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-panel {
  min-height: 210px;
  padding: 28px;
  transform-origin: center;
  transition:
    border-color 280ms ease,
    box-shadow 280ms ease,
    transform 280ms ease;
}

.story-panel:hover {
  border-color: var(--line-strong);
  box-shadow: 0 26px 62px rgba(20, 50, 43, 0.16);
  transform: translateY(-4px) scale(1.01);
}

.story-panel span,
.alerts-grid span,
.subscription-grid span {
  color: var(--green-dark);
  display: block;
  font-size: 12px;
  font-weight: 860;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.story-panel h3,
.alerts-grid h3,
.subscription-grid h3,
.easy-card h3,
.ios-widget-list h3 {
  color: var(--ink-strong);
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 10px;
}

.story-panel p,
.alerts-grid p,
.subscription-grid p,
.easy-card p,
.ios-widget-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  margin: 0;
}

.emergency-panel {
  background:
    linear-gradient(135deg, rgba(255, 243, 217, 0.9), rgba(255, 255, 255, 0.86)),
    var(--surface);
  border-color: #efd49d;
}

.nearest-section,
.route-story-section,
.accessibility-section,
.premium-section {
  padding: 34px;
}

.nearest-demo {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 1fr) auto;
  margin-top: 28px;
}

.search-orbit {
  background:
    radial-gradient(circle at 50% 50%, rgba(15, 139, 109, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(238, 246, 241, 0.94), rgba(255, 255, 255, 0.8));
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.orbit-ring {
  animation: slowSpin 26s linear infinite;
  border: 1px solid rgba(15, 139, 109, 0.22);
  border-radius: 50%;
  height: 180px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
}

.orbit-ring::before,
.orbit-ring::after {
  background: var(--green);
  border-radius: 999px;
  content: "";
  height: 10px;
  position: absolute;
  width: 10px;
}

.orbit-ring::before {
  right: 20px;
  top: 22px;
}

.orbit-ring::after {
  bottom: 20px;
  left: 24px;
}

.orbit-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(184, 209, 200, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(20, 50, 43, 0.12);
  display: grid;
  gap: 4px;
  padding: 16px;
  position: absolute;
}

.orbit-card span,
.orbit-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.orbit-card strong {
  color: var(--ink-strong);
  font-size: 24px;
}

.orbit-card-primary {
  animation: widgetFloat 6s ease-in-out infinite;
  left: 12%;
  top: 22%;
}

.orbit-card-secondary {
  animation: widgetFloat 7s ease-in-out infinite reverse;
  bottom: 18%;
  right: 10%;
}

.demo-actions {
  display: grid;
  gap: 10px;
  min-width: 180px;
}

.demo-search-chip {
  background: var(--ink-strong);
  border: 1px solid var(--ink-strong);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 820;
  min-height: 46px;
  padding: 0 16px;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.demo-search-chip:hover,
.demo-search-chip:focus-visible {
  background: var(--green);
  border-color: var(--green);
  outline: none;
  transform: translateY(-2px);
}

.route-story-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  margin-top: 28px;
}

.route-preview-panel {
  background:
    radial-gradient(circle at 88% 18%, rgba(31, 91, 143, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(237, 248, 244, 0.94), rgba(255, 255, 255, 0.86));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(20, 50, 43, 0.1);
  display: grid;
  gap: 16px;
  min-height: 390px;
  padding: 28px;
  place-content: center;
}

.route-preview-panel h3 {
  color: var(--ink-strong);
  font-size: 34px;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
  max-width: 420px;
}

.route-preview-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 460px;
}

.route-choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.route-choice-grid span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  padding: 12px 14px;
}

.ios-widget-list {
  display: grid;
  gap: 12px;
}

.ios-widget-list article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(20, 50, 43, 0.12);
  padding: 20px;
}

.status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 860;
  margin-bottom: 16px;
  padding: 7px 10px;
}

.status-pill.open {
  background: var(--green-soft);
  color: var(--green-dark);
}

.status-pill.warning {
  background: var(--amber-soft);
  color: #704304;
}

.alerts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.alerts-grid article,
.subscription-grid article {
  padding: 22px;
  transition:
    box-shadow 280ms ease,
    transform 280ms ease;
}

.alerts-grid article:hover,
.subscription-grid article:hover {
  box-shadow: 0 26px 62px rgba(20, 50, 43, 0.16);
  transform: translateY(-4px);
}

.accessibility-demo {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  margin-top: 28px;
}

.easy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.easy-card span {
  color: var(--green-dark);
  display: block;
  font-size: 12px;
  font-weight: 860;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.easy-card.readable {
  background: #071c19;
  border-color: #071c19;
  color: white;
  min-height: 220px;
  padding: 28px;
}

.easy-card.readable h3 {
  color: white;
  font-size: 34px;
}

.easy-card.readable p,
.easy-card.readable span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.subscription-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.featured-tier {
  background:
    linear-gradient(145deg, rgba(13, 35, 33, 0.96), rgba(21, 75, 68, 0.92)),
    #0d2321;
  color: white;
  transform: translateY(-10px);
}

.featured-tier h3 {
  color: white;
}

.featured-tier p {
  color: rgba(255, 255, 255, 0.72);
}

.featured-tier span {
  color: rgba(158, 238, 215, 0.9);
}

.medical-footer {
  align-items: start;
  background: rgba(255, 255, 255, 0.74);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 22px;
}

.medical-footer strong {
  color: var(--ink-strong);
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.medical-footer p {
  max-width: 720px;
}

.pharmacy-row {
  animation: rowEnter 420ms ease both;
}

@keyframes floatDevice {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes slowSpin {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes widgetFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes onCallGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(179, 106, 8, 0);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(179, 106, 8, 0.12);
  }
}

@keyframes rowEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .animations-ready [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #071311;
    --surface: #10201d;
    --surface-soft: #162c28;
    --ink: #d7eee7;
    --ink-strong: #f4fffb;
    --muted: #9fb8b0;
    --line: #22403a;
    --line-strong: #35655b;
    --green: #31c49d;
    --green-dark: #8ee6cd;
    --green-soft: rgba(49, 196, 157, 0.18);
    --amber-soft: rgba(179, 106, 8, 0.2);
    --blue: #78b7f2;
    --shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
  }

  body {
    background:
      linear-gradient(180deg, #081715 0%, var(--bg) 48%, #0b1d1a 100%);
  }

  .site-header,
  .lookup-panel,
  .info-band,
  .app-band,
  .product-showcase,
  .trust-grid article,
  .story-panel,
  .nearest-section,
  .route-story-section,
  .alerts-grid article,
  .accessibility-section,
  .premium-section,
  .subscription-grid article,
  .medical-footer,
  .orbit-card,
  .ios-widget-list article,
  .easy-card {
    background-color: rgba(16, 32, 29, 0.86);
  }

  .search-control,
  .date-control,
  .manual-location-control,
  .manual-location-row input,
  .pharmacy-row,
  .pharmacy-drawer,
  .hero-utility-card,
  .hero-utility-card div,
  .stat,
  .product-panels article,
  .app-store-facts div {
    background: rgba(16, 32, 29, 0.86);
  }

  .route-preview-panel,
  .search-orbit {
    background-color: #10201d;
  }

  .text-button.ghost {
    background: rgba(16, 32, 29, 0.9);
  }

  .language-switch {
    background: rgba(16, 32, 29, 0.86);
  }

  .language-switch button[aria-pressed="true"] {
    background: var(--green);
    color: #071311;
  }

  .easy-card.readable {
    background: #eefaf6;
    color: #0d2321;
  }

  .easy-card.readable h3 {
    color: #0d2321;
  }

  .easy-card.readable p,
  .easy-card.readable span {
    color: #24413b;
  }
}

@media (max-width: 1060px) {
  .lookup-shell {
    grid-template-columns: 1fr;
  }

  .hero-device {
    display: none;
  }

  .storytelling-section,
  .nearest-demo,
  .route-story-layout {
    grid-template-columns: 1fr;
  }

  .sticky-story {
    position: static;
  }

  .app-store-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-layout,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .lookup-copy {
    padding-top: 0;
  }

  .lookup-copy p {
    max-width: 760px;
  }

  .alerts-grid,
  .subscription-grid {
    grid-template-columns: 1fr;
  }

  .featured-tier {
    transform: none;
  }

}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
    position: static;
  }

  .top-nav {
    gap: 2px;
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .top-nav a {
    font-size: 13px;
    padding: 7px 6px;
  }

  .top-nav .download-link {
    padding-inline: 8px;
  }

  main {
    padding: 30px 14px 24px;
  }

  .lookup-copy h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .section-copy h2 {
    font-size: 32px;
  }

  .lookup-copy p,
  .section-copy p {
    font-size: 16px;
  }

  .hero-utility-card {
    max-width: none;
    padding: 8px;
  }

  .hero-utility-card div {
    padding: 10px;
  }

  .trust-strip.secondary {
    display: none;
  }

  .sticky-story h2 {
    font-size: 34px;
  }

  .nearest-section,
  .route-story-section,
  .accessibility-section,
  .premium-section {
    padding: 20px 14px;
  }

  .story-panel {
    min-height: auto;
    padding: 20px;
  }

  .nearest-demo {
    gap: 16px;
  }

  .search-orbit,
  .route-preview-panel {
    min-height: 250px;
  }

  .demo-actions,
  .preview-copy a {
    width: 100%;
  }

  .accessibility-demo,
  .medical-footer {
    grid-template-columns: 1fr;
  }

  .app-store-facts {
    grid-template-columns: 1fr 1fr;
  }

  .lookup-panel {
    padding: 14px;
  }

  .panel-head,
  .results-head,
  .info-band,
  .app-band {
    align-items: stretch;
    flex-direction: column;
  }

  #sortLabel {
    text-align: left;
  }

  .panel-actions {
    width: 100%;
  }

  .text-button {
    justify-content: center;
    flex: 1;
  }

  .controls,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .manual-location-row {
    grid-template-columns: 1fr;
  }

  .results {
    order: 1;
  }

  .date-control {
    min-height: 46px;
  }

  .pharmacy-row {
    grid-template-columns: 1fr;
  }

  .pharmacy-drawer {
    border-radius: 8px 8px 0 0;
    bottom: 0;
    left: 0;
    max-height: 88vh;
    overflow: auto;
    right: 0;
    top: auto;
    transform: translate3d(0, 32px, 0);
    width: 100%;
  }

  .row-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .row-badges {
    justify-content: flex-start;
  }

  .row-actions {
    align-items: stretch;
    flex-direction: row;
  }

  .contact-action {
    flex: 1;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .product-showcase {
    padding: 20px 14px;
  }

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

  .preview-copy a {
    width: 100%;
  }

  .video-frame {
    max-width: 250px;
  }

  .screenshot-rail {
    display: flex;
    gap: 12px;
    margin-inline: -14px;
    overflow-x: auto;
    padding: 4px 14px 16px;
    scroll-snap-type: x mandatory;
  }

  .phone-frame {
    flex: 0 0 70%;
    max-width: 260px;
    scroll-snap-align: start;
  }

  .lead-shot {
    transform: none;
  }

  .app-link {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .district-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .district-tab {
    padding: 0 8px;
  }

  .row-actions {
    flex-direction: column;
  }

  .app-band-copy {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .app-store-facts {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    flex-basis: 78%;
  }

}
