/* 기존 TypeScript 버전과 동일한 디자인 규칙. 이 파일을 직접 수정할 수 있습니다. */
:root {
  --background: #fbfafc;
  --foreground: #27232e;
  --primary: #746091;
  --muted: #f0edf4;
  --muted-foreground: #756a7f;
  --accent: #ece5f6;
  --border: #e5e1e9;
  --popover: #fff;
}
.dark {
  --background: #211c28;
  --foreground: #f4eff9;
  --primary: #c6b1e4;
  --muted: #332b3e;
  --muted-foreground: #b9b0c4;
  --accent: #493959;
  --border: #51465f;
  --popover: #2c2435;
}
* {
  box-sizing: border-box;
  border-color: var(--border);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-family:
    'Pretendard Variable',
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #8b71b1;
  outline-offset: 5px;
}
::selection {
  background: #ddd0f1;
}
.shell {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: #fff;
  padding: 14px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.wordmark-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -1.6px;
}
.wordmark svg {
  width: 22px;
  height: 28px;
  color: #8d76ac;
  stroke-width: 1.25;
}
.header-nav {
  display: flex;
  gap: 37px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #766b7e;
}
.header-nav a:first-child {
  color: #33263f;
}
.header-nav a:hover {
  color: #8a6aac;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 14px;
}
.language-link {
  display: flex;
  align-items: center;
  gap: 7px;
}
.language-link svg {
  width: 16px;
}
.outline-link {
  border: 1px solid #d8d2df;
  border-radius: 40px;
  padding: 11px 18px;
  font-size: 14px;
}
.hero {
  min-height: 438px;
  position: relative;
  isolation: isolate;
  background: linear-gradient(115deg, #eeebf2, #ded6e7);
  border-radius: 20px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #eeebf2 0%,
    #eeebf2 30%,
    #eeebf2eb 39%,
    #eeebf26b 53%,
    transparent 68%
  );
}
.hero-content {
  padding: 44px 48px 29px;
  max-width: 740px;
}
.hero-title-mobile,
.hero-description-mobile {
  display: none;
}
.detail-dismiss {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e5e1e9;
  border-radius: 50%;
  background: #fff;
  color: #43334f;
  box-shadow: 0 2px 12px #27232e15;
}
.eyebrow {
  margin: 0 0 19px;
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #756583;
}
.hero h1 {
  font-size: 43px;
  line-height: 1.42;
  letter-spacing: -0.035em;
  font-weight: 550;
  margin: 0 0 17px;
}
.hero h1 em {
  font-style: normal;
  color: #8a70a8;
}
.hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: #74677e;
  margin: 0 0 24px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fffffff2;
  border: 1px solid #ffffff;
  box-shadow: 0 8px 32px #5342680a;
  border-radius: 11px;
  padding: 7px;
  width: 580px;
  max-width: 100%;
}
.region-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  padding-right: 12px;
}
.region-field > svg {
  width: 16px;
  color: #93869f;
  flex-shrink: 0;
}
.region-select {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 90px !important;
  background: transparent !important;
  font-size: 14px !important;
}
.query-field {
  padding-left: 10px;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.query-field > svg {
  width: 16px;
  color: #9b90a5;
  flex-shrink: 0;
}
.query-field input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 14px;
  min-height: 36px;
  color: #42364f;
}
.query-field input::placeholder {
  color: #8a7d96;
}
.search-submit {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  border: 0;
  background: #393040;
  color: #fff;
  border-radius: 7px;
  padding: 13px 19px;
  font-size: 14px;
}
.search-submit svg {
  width: 14px;
  height: 14px;
}
.suggestions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 16px;
  color: #766780;
  font-size: 12px;
  flex-wrap: wrap;
}
.suggestions > span {
  color: #69606f;
}
.suggestions :is(button, a) {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
}
.suggestions :is(button, a):hover {
  color: #483257;
}
.hero-caption {
  position: absolute;
  bottom: 24px;
  right: 30px;
  color: #ffffffed;
  font-size: 12px;
  letter-spacing: 3px;
}
.categories {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 27px 27px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 10px;
}
.category-intro {
  width: 200px;
  flex-shrink: 0;
}
.section-kicker {
  margin: 0 0 7px;
  color: #8c759e;
  font-size: 12px;
  letter-spacing: 2px;
}
.category-intro h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin: 0;
}
.category-options {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.category-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 0;
  color: #76687f;
  min-width: 66px;
}
.category-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 56px;
  border: 1px solid #e9e4ee;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff, #eeebf1);
  box-shadow: inset 0 1px 1px #fff;
  transition:
    background 0.2s,
    transform 0.2s;
}
.category-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.1;
}
.category-button span:last-child {
  font-size: 14px;
  white-space: nowrap;
}
.category-button:hover .category-icon {
  transform: translateY(-3px);
  background: #e8dff2;
}
.category-button[aria-pressed='true'] {
  color: #76608f;
}
.category-button[aria-pressed='true'] .category-icon {
  background: #e8dff2;
  border-color: #d9cbe9;
}
.directory {
  padding-top: 36px;
  padding-bottom: 55px;
  scroll-margin-top: 25px;
}
.directory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.directory-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0 0 9px;
}
.directory-heading h2 span {
  font-family: Georgia, serif;
  font-size: 17px;
  color: #9d84b4;
  letter-spacing: 0;
}
.directory-subtitle {
  font-size: 13px;
  line-height: 1.7;
  color: #81718e;
  margin: 0;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f0edf4;
  padding: 4px;
  border-radius: 8px;
}
.filter-row :is(button, a) {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #786984;
  padding: 8px 15px;
  font-size: 14px;
  white-space: nowrap;
}
.filter-row :is(button, a)[aria-pressed='true'] {
  background: #fff;
  box-shadow: 0 1px 5px #37264608;
  color: #544363;
}
.result-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  font-size: 14px;
  color: #82728d;
}
.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: #7c6097;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 31px 22px;
}
.provider-card {
  min-width: 0;
}
.provider-button {
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  width: 100%;
}
.card-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e6ddeb;
  aspect-ratio: 1.35;
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.provider-button:hover .card-image {
  transform: scale(1.04);
}
.card-image.nail {
  object-position: 50% 60%;
}
.card-image.lash {
  object-position: 50% 45%;
}
.card-image.makeup {
  object-position: 54% 40%;
}
.sample-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border: 1px solid #ffffffb0;
  background: #ffffffed;
  backdrop-filter: blur(8px);
  color: #766b80;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.4px;
}
.card-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #8a6b9e;
}
.card-category svg {
  width: 14px;
  height: 14px;
  color: #8e8199;
}
.provider-card h3 {
  margin: 7px 0 8px;
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.4px;
  line-height: 1.5;
}
.card-location {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 13px;
  color: #807189;
  margin: 0 0 11px;
}
.card-location svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.card-location > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.card-tags span {
  padding: 4px 7px;
  font-size: 12px;
  color: #7e6b8d;
  background: #f0edf4;
  border-radius: 4px;
  line-height: 1.5;
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.load-more {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 26px;
  border: 1px solid #ded6e7;
  border-radius: 7px;
  background: transparent;
  font-size: 14px;
  color: #7d6d89;
}
.load-more svg {
  width: 14px;
  height: 14px;
}
.empty-state {
  min-height: 260px;
  background: #f1edf6;
  padding: 40px;
  border-radius: 14px;
}
.about {
  border-top: 1px solid #e8e1ed;
  background: linear-gradient(100deg, #efebf4, #f7f5f9);
  padding: 30px 0;
}
.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.about h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 27px;
  letter-spacing: -0.7px;
  margin: 0 0 8px;
}
.about p {
  font-size: 14px;
  color: #7b6888;
  line-height: 1.8;
  margin: 0;
}
.about-side {
  display: flex;
  gap: 20px;
  align-items: center;
}
.about-side > svg {
  width: 34px;
  height: 34px;
  color: #a38bb7;
  stroke-width: 1;
}
.about-side p {
  font-size: 12px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 29px;
  gap: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-brand .wordmark-text {
  font-size: 23px;
  color: #72687a;
}
.footer-brand p,
.site-footer > p {
  color: #8b7b96;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.detail-dialog {
  max-width: 520px !important;
  width: calc(100% - 32px) !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: auto;
  max-height: 90dvh;
}
.detail-image {
  width: 100%;
  height: 215px;
  object-fit: cover;
}
.detail-body {
  min-width: 0;
  padding: 28px;
}
.detail-body [data-slot='dialog-title'] {
  font-size: 24px;
  line-height: 1.5;
  margin: 6px 0 12px;
}
.detail-body [data-slot='dialog-description'] {
  font-size: 16px;
  line-height: 1.9;
}
.detail-services {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.detail-services span {
  padding: 7px 12px;
  border-radius: 25px;
  background: #f0e9f7;
  color: #7d6295;
  font-size: 14px;
}
.detail-note {
  padding: 15px;
  background: #f6f3f8;
  border-radius: 9px;
  color: #796685;
  font-size: 13px;
  line-height: 1.8;
}
.detail-close {
  margin-top: 20px;
  width: 100%;
  border: 0;
  background: #43334f;
  color: #fff;
  border-radius: 8px;
  padding: 13px;
  font-size: 14px;
}
@media (min-width: 1600px) {
  .shell {
    width: min(1380px, calc(100% - 160px));
  }
  .hero {
    min-height: 480px;
  }
  .hero-content {
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 48px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 56px);
  }
  .header-nav {
    gap: 22px;
  }
  .header-tools {
    gap: 14px;
  }
  .hero-content {
    padding-left: 34px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-image {
    width: 70%;
  }
  .categories {
    gap: 20px;
    padding-inline: 10px;
  }
  .category-intro {
    width: 170px;
  }
  .category-options {
    gap: 10px;
  }
  .provider-grid {
    gap: 20px 16px;
  }
  .card-image-wrap {
    aspect-ratio: 1.15;
  }
}
@media (max-width: 900px) {
  .site-header {
    height: 78px;
    gap: 15px;
  }
  .header-nav {
    display: none;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero {
    min-height: 426px;
  }
  .hero-content {
    padding: 35px 27px;
    max-width: 620px;
  }
  .hero-image {
    width: 85%;
  }
  .hero::after {
    background: linear-gradient(
      90deg,
      #eeebf2 0%,
      #eeebf2f0 34%,
      #eeebf277 64%,
      transparent
    );
  }
  .search-form {
    margin-top: 25px;
  }
  .hero-caption {
    display: none;
  }
  .categories {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 27px 0 23px;
  }
  .category-intro {
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .category-intro .section-kicker {
    order: 2;
    margin: 0;
  }
  .category-options {
    overflow-x: auto;
    padding-bottom: 5px;
    gap: 16px;
  }
  .category-button {
    min-width: 65px;
  }
  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
  .card-image-wrap {
    aspect-ratio: 1.4;
  }
  .directory {
    padding-top: 28px;
  }
  .directory-heading h2 {
    font-size: 23px;
  }
  .directory-heading {
    align-items: start;
  }
  .directory-heading h2 span {
    display: none;
  }
  .filter-row :is(button, a) {
    padding: 8px 10px;
  }
  .about-side {
    display: none;
  }
  .site-footer {
    align-items: start;
  }
  .footer-brand {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .shell {
    width: calc(100% - 2rem);
  }
  .site-header {
    height: auto;
    min-height: 4.5rem;
    padding-block: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  .wordmark {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
  .wordmark-text {
    min-width: 0;
    font-size: 1.75rem;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
  }
  .wordmark svg {
    width: 1.25rem;
  }
  .outline-link {
    display: none;
  }
  .language-link {
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.9375rem;
  }
  .hero {
    min-height: 0;
    border-radius: 1rem;
    background: #eeebf2;
  }
  .hero-image {
    width: 48%;
    height: 13.5rem;
    object-position: 78% center;
  }
  .hero::after {
    height: 13.5rem;
    bottom: auto;
    background: linear-gradient(
      90deg,
      #eeebf2 0%,
      #eeebf2 43%,
      #eeebf266 59%,
      transparent 78%
    );
  }
  .hero-content {
    position: relative;
    padding: 1.25rem;
    max-width: none;
  }
  .hero-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 10.5rem;
    padding-inline-end: 36%;
  }
  .eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #6d597d;
  }
  .hero-title-desktop,
  .hero-description-desktop {
    display: none;
  }
  .hero-title-mobile,
  .hero-description-mobile {
    display: block;
  }
  .hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 1.875rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.035em;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .hero h1 em {
    color: #76578f;
  }
  .hero-description {
    position: relative;
    max-width: none;
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #655570;
    background: #eeebf2;
  }
  .search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr));
    width: 100%;
    gap: 0.5rem;
    padding: 0.625rem;
    margin-top: 0;
    border-color: #ddd5e5;
  }
  .query-field {
    grid-column: 1 / -1;
    order: 0;
    min-height: 3rem;
    padding: 0 0.25rem 0.375rem;
    border-bottom: 1px solid #e5dfeb;
  }
  .query-field > svg {
    display: block;
    width: 1.125rem;
  }
  .query-field input {
    min-width: 0;
    min-height: 3rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  .query-field input::placeholder {
    color: #756a7f;
  }
  .region-field {
    order: 1;
    min-width: 0;
    padding: 0 0.25rem;
    gap: 0.375rem;
    border-left: 0;
  }
  .region-select {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 3rem !important;
    height: auto !important;
    padding: 0.375rem 0 !important;
    font-size: 1rem !important;
    line-height: 1.5;
    white-space: normal;
  }
  .region-select [data-slot='select-value'] {
    display: block;
    min-width: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
  }
  .region-menu {
    min-width: min(13rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
  }
  .region-menu [data-slot='select-item'] {
    min-height: 2.75rem;
    padding-block: 0.625rem;
    font-size: 1rem;
  }
  .region-menu [data-slot='select-item'] > span {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .search-submit {
    order: 2;
    min-width: 0;
    min-height: 3rem;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .search-submit svg {
    flex-shrink: 0;
  }
  .suggestions {
    gap: 0.25rem;
    margin-top: 0.75rem;
  }
  .suggestions > span {
    display: none;
  }
  .suggestions :is(button, a) {
    min-height: 2.75rem;
    padding: 0.375rem 0.5rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #685473;
  }
  .categories {
    gap: 1rem;
    padding-block: 1.5rem 1.25rem;
  }
  .category-intro h2 {
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 550;
  }
  .category-intro .section-kicker {
    display: none;
  }
  .category-options {
    gap: 0.75rem;
    padding: 0.375rem;
    scroll-snap-type: x proximity;
  }
  .category-button {
    flex: 0 0 5.25rem;
    min-width: 0;
    gap: 0.5rem;
    scroll-snap-align: start;
  }
  .category-button span:last-child {
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .category-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
  }
  .category-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .directory {
    padding-block: 1.75rem 2.5rem;
  }
  .directory-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .directory-heading h2 {
    font-size: 1.5rem;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.03em;
  }
  .directory-subtitle {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #756a7f;
  }
  .filter-row {
    width: 100%;
    flex-wrap: wrap;
  }
  .filter-row :is(button, a) {
    flex: 1 1 0;
    min-width: 0;
    min-height: 3rem;
    padding: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .result-label {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #756a7f;
  }
  .result-label > span {
    flex: 1 1 10rem;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .text-button {
    min-height: 2.75rem;
    padding-block: 0.375rem;
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  .provider-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .card-image-wrap {
    border-radius: 0.875rem;
    aspect-ratio: 1.6;
  }
  .sample-badge {
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  .card-category {
    margin-top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
  .provider-card h3 {
    margin-block: 0.375rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.025em;
  }
  .card-location {
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #756a7f;
  }
  .card-location svg {
    width: 0.9375rem;
    height: 0.9375rem;
  }
  .card-tags {
    gap: 0.375rem;
  }
  .card-tags span {
    padding: 0.3125rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6e5c7b;
  }
  .load-more-wrap {
    margin-top: 2rem;
  }
  .load-more {
    justify-content: center;
    min-height: 3rem;
    width: 100%;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  .load-more svg {
    flex-shrink: 0;
  }
  .about {
    padding-block: 1.5rem;
  }
  .about h2 {
    font-size: 1.625rem;
    line-height: 1.4;
  }
  .about p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #756a7f;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-block: 1.5rem max(1.5rem, env(safe-area-inset-bottom));
  }
  .footer-brand {
    gap: 0.75rem;
  }
  .footer-brand .wordmark-text {
    font-size: 1.5rem;
  }
  .footer-brand p,
  .site-footer > p {
    max-width: none;
    text-align: left;
    font-size: 0.8125rem;
    line-height: 1.75;
    color: #756a7f;
  }
  .detail-dialog {
    width: calc(100% - 1.5rem) !important;
    max-height: calc(100dvh - 1.5rem);
    border-radius: 1rem !important;
  }
  .detail-image {
    height: clamp(10rem, 52vw, 16rem);
  }
  .detail-body {
    padding: 1.25rem;
  }
  .detail-body [data-slot='dialog-title'] {
    font-size: 1.5rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .detail-body [data-slot='dialog-description'] {
    font-size: 1rem;
    line-height: 1.8;
  }
  .detail-services {
    gap: 0.5rem;
    margin-block: 1.25rem;
  }
  .detail-services span {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
  .detail-note {
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.8;
  }
  .detail-close {
    min-height: 3rem;
    font-size: 1rem;
  }
  .empty-state {
    padding: 2rem 1rem;
  }
}
@media (max-width: 360px) {
  .hero-content {
    padding: 1rem;
  }
  .hero-heading {
    padding-inline-end: 35%;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}
@media (hover: none) {
  .provider-button:hover .card-image {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
