:root {
  color-scheme: light;
  --violet: #7266ba;
  --violet-dark: #5d509b;
  --violet-soft: #eceafb;
  --blue: #5bc0de;
  --blue-dark: #277a96;
  --paper: #eef2f6;
  --surface: #fff;
  --ink: #303242;
  --muted: #697286;
  --line: #dfe4eb;
  --font: Helvetica Neue, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(100% - 48px, 1080px); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: baseline; color: var(--violet-dark); font-size: 23px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.brand-dot { color: var(--blue); margin-inline: 1px 3px; }
.brand-country { font-weight: 400; letter-spacing: -.7px; }
.header-tagline { color: var(--muted); font-size: 12px; }
.registry-nav { color: var(--violet-dark); font-size: 12px; text-align: right; }
.registry-nav:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero { background: var(--violet); color: white; }
.hero-inner { padding-block: 42px 48px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 700; }
.eyebrow { color: #d9d4fb; margin-bottom: 10px; }
h1 { max-width: 680px; font-size: clamp(27px, 4vw, 38px); line-height: 1.16; letter-spacing: -.8px; font-weight: 650; margin-bottom: 25px; }
.search-form { position: relative; display: flex; align-items: center; gap: 8px; max-width: 735px; padding: 7px; background: var(--surface); border-radius: 7px; box-shadow: 0 4px 13px #342a6b33; }
.search-form:focus-within { box-shadow: 0 0 0 3px #5bc0de88, 0 4px 13px #342a6b33; }
.search-field { display: flex; align-items: center; flex: 1; min-width: 0; gap: 12px; padding: 3px 10px; }
.pin-icon { width: 20px; height: 23px; color: var(--violet); stroke: currentColor; stroke-width: 1.7; }
.input-wrap { min-width: 0; flex: 1; }
.input-wrap label { display: block; color: var(--muted); font-size: 11px; line-height: 1.25; margin-bottom: 3px; }
.input-wrap input { display: block; width: 100%; border: 0; outline: 0; padding: 0; color: var(--ink); background: transparent; font-size: 16px; line-height: 1.45; }
.input-wrap input::placeholder { color: #929aaa; }
.search-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 21px; border: 1px solid transparent; border-radius: 5px; background: var(--blue); color: #14394a; font-size: 14px; font-weight: 700; transition: background .15s ease; }
.search-button:hover { background: #78cde5; }
.search-button svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; }
.search-message { min-height: 1.2em; max-width: 735px; margin-top: 9px; color: #ffe4df; font-size: 13px; }
.city-options { position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 7px); max-height: 300px; overflow-y: auto; list-style: none; margin: 0; padding: 6px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 28px #2932482a; }
.city-option { display: flex; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 4px; cursor: pointer; }
.city-option small { color: var(--muted); font-size: 12px; }
.city-option:hover, .city-option[aria-selected=true] { background: var(--violet-soft); color: var(--violet-dark); }
.results-section { padding-block: 38px 16px; }
.results-header { margin-bottom: 16px; }
.section-kicker { color: var(--violet); margin-bottom: 4px; }
h2 { color: var(--ink); font-size: 23px; line-height: 1.3; font-weight: 650; letter-spacing: -.35px; }
#city-name { color: var(--violet-dark); }
.ranking-list { list-style: none; margin: 0; padding: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 2px 6px #26324608; }
.ranking-list:empty { display: none; }
.practitioner-row { display: grid; grid-template-columns: minmax(0, 1fr) 88px 132px; align-items: center; gap: 24px; min-height: 92px; padding: 19px 22px; }
.practitioner-row + .practitioner-row { border-top: 1px solid var(--line); }
.practitioner-name { margin-bottom: 4px; color: var(--ink); font-size: 16px; line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
.practitioner-address { color: var(--muted); font-size: 13px; line-height: 1.4; }
.rating { text-align: right; font-variant-numeric: tabular-nums; }
.rating-value { display: flex; justify-content: flex-end; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.rating-value > span[aria-hidden] { color: #e0a42e; font-size: 15px; }
.review-count { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.row-link { display: inline-flex; align-items: center; justify-content: center; justify-self: end; gap: 7px; min-height: 38px; padding: 8px 12px; border: 1px solid #9ed8e8; border-radius: 5px; color: var(--blue-dark); font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.row-link:hover { background: #edfafd; border-color: var(--blue); }
.row-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.7; }
.source-line { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.source-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.city-guide { display: grid; gap: 0; margin-block: 24px 8px; border-top: 1px solid var(--line); }
.city-guide details { padding: 13px 0; border-bottom: 1px solid var(--line); }
.city-guide summary { color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 650; }
.city-guide summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.city-guide p { max-width: 760px; margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.ranking-status { padding: 33px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 14px; }
.ranking-status:empty { display: none; }
.ranking-status h3 { margin-bottom: 12px; color: var(--ink); font-size: 18px; }
.ranking-status p { margin-bottom: 15px; }
.ranking-status a, .ranking-status button { display: inline-block; margin: 3px 6px; padding: 8px 13px; border: 1px solid #cbc5e4; border-radius: 5px; background: white; color: var(--violet-dark); font-size: 13px; }
.ranking-status a:hover, .ranking-status button:hover { background: var(--violet-soft); }
.loading-bar { height: 3px; max-width: 180px; overflow: hidden; margin: 18px auto 0; background: var(--violet-soft); }
.loading-bar::after { content: ''; display: block; width: 40%; height: 100%; background: var(--violet); animation: loading 1.3s ease-in-out infinite; }
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(350%); } }
.city-directory { padding-block: 30px 40px; border-top: 1px solid var(--line); }
.directory-heading { margin-bottom: 14px; }
.city-links { display: flex; flex-wrap: wrap; gap: 9px; }
.city-links button, .city-links a { padding: 8px 15px; border: 1px solid #c7cce0; border-radius: 5px; background: var(--surface); color: var(--violet-dark); font-size: 13px; transition: border-color .15s ease, background .15s ease; }
.city-links button:hover, .city-links a:hover { border-color: var(--violet); background: var(--violet-soft); }
.city-links a span { color: var(--muted); margin-left: 5px; font-size: 11px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 20px; color: var(--muted); font-size: 13px; }
.pagination a { border: 1px solid var(--line); border-radius: 5px; padding: 10px 14px; background: white; color: var(--violet-dark); }
.pagination a:hover { border-color: var(--violet); }
.department-directory { margin-top: 38px; }
.department-directory h2 { margin-bottom: 15px; font-size: 20px; }
.all-cities-link { display: inline-block; margin-top: 18px; color: var(--violet-dark); }
.sources-content { padding-block: 32px; max-width: 800px; }
.sources-content p { margin-top: 16px; }
.sources-content a { text-decoration: underline; }
.eyebrow a:hover { text-decoration: underline; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 19px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.preview-label { color: #858d9d; }
.skip-link { position: absolute; z-index: 50; top: -100px; left: 12px; padding: 10px 12px; border-radius: 5px; background: var(--violet-dark); color: white; }
.skip-link:focus { top: 12px; }
.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; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 540px); }
  .header-inner { min-height: 59px; }
  .header-tagline { display: none; }
  .hero-inner { padding-block: 33px 38px; }
  h1 { font-size: 29px; }
  .practitioner-row { grid-template-columns: minmax(0, 1fr) 70px; gap: 14px; padding: 18px; }
  .row-link { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 470px) {
  .brand { font-size: 20px; }
  .registry-nav { font-size: 11px; }
  .hero-inner { padding-block: 28px 32px; }
  h1 { font-size: 26px; margin-bottom: 20px; }
  .search-form { gap: 4px; padding: 5px; }
  .search-field { gap: 8px; padding-inline: 6px; }
  .pin-icon { width: 18px; height: 21px; }
  .search-button { min-height: 46px; padding-inline: 13px; }
  .search-button svg { display: none; }
  .results-section { padding-top: 30px; }
  h2 { font-size: 21px; }
  .practitioner-name { font-size: 15px; }
  .practitioner-address { font-size: 12px; }
  .rating-value { font-size: 14px; }
  .source-line { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
