:root {
  --bg: #f8fafc;
  --bg-strong: #eef4f8;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-strong: #ffffff;
  --text: #0d1b2a;
  --muted: #64748b;
  --line: rgba(37, 99, 235, 0.12);
  --line-strong: rgba(20, 184, 166, 0.2);
  --accent: #2563eb;
  --accent-strong: #14b8a6;
  --accent-deep: #0d1b2a;
  --accent-soft: #e8f5f1;
  --accent-glow: rgba(37, 99, 235, 0.16);
  --positive: #22c55e;
  --positive-soft: rgba(34, 197, 94, 0.12);
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  --brand-gradient-strong: linear-gradient(135deg, #1d4ed8 0%, #0f8f82 100%);
  --gold: #c6a96b;
  --gold-soft: rgba(198, 169, 107, 0.14);
  --gold-line: rgba(198, 169, 107, 0.24);
  --shadow-lg: 0 40px 100px rgba(13, 27, 42, 0.16);
  --shadow-md: 0 24px 56px rgba(13, 27, 42, 0.1);
  --shadow-sm: 0 14px 32px rgba(13, 27, 42, 0.07);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
  --section-space: 96px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Avenir Next", "Circular Std", "Söhne", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.14), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(20, 184, 166, 0.12), transparent 24%),
    linear-gradient(180deg, #fdfefd 0%, var(--bg) 100%);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

section[id],
div[id] {
  scroll-margin-top: 100px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 8px 0 0;
}

.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 10px 14px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 38px rgba(13, 27, 42, 0.08);
  backdrop-filter: blur(22px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: 1.12rem;
  line-height: 1;
  color: var(--text);
}

.site-brand > span:last-child {
  position: relative;
  top: 0;
}

.site-brand-mark {
  width: 44px;
  height: 44px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 249, 255, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(37, 99, 235, 0.12);
}

.site-brand-mark::before {
  content: "C";
  position: absolute;
  left: 8px;
  top: 4px;
  font-size: 1.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.09em;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 52%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(37, 99, 235, 0.16));
}

.site-brand-mark::after {
  content: "X";
  position: absolute;
  right: 6px;
  bottom: 5px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 52%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(20, 184, 166, 0.18));
}

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

.site-nav a {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  padding-inline: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 30px 0 112px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  border-radius: var(--radius-xl);
  padding: 64px 60px;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.12), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(20, 184, 166, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 40%),
    linear-gradient(135deg, #0d1b2a 0%, #12365f 46%, #14b8a6 100%);
  box-shadow: var(--shadow-lg);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.hero::after {
  width: 240px;
  height: 240px;
  bottom: -80px;
  left: 40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 44px;
  align-items: end;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.9;
  margin: 0 0 16px;
  font-weight: 700;
}

.hero h1,
.section-header h2,
.profile-header h1,
.form-card h2,
.success-card h2 {
  margin: 0;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  max-width: 820px;
}

.hero p {
  max-width: 660px;
  font-size: 1.13rem;
  line-height: 1.92;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.hero-location-block {
  margin-top: 28px;
  max-width: 520px;
}

.location-quick-groups {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.location-quick-group {
  display: grid;
  gap: 7px;
}

.location-quick-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.location-chip {
  min-height: 34px;
  width: auto;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 22px rgba(13, 27, 42, 0.09);
  backdrop-filter: blur(12px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.location-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 184, 166, 0.3);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 26px rgba(13, 27, 42, 0.12);
}

.location-chip.is-selected {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.82), rgba(20, 184, 166, 0.8));
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(20, 184, 166, 0.22);
}

.location-chip-subtle,
.location-chip-muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.location-chip-subtle:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.location-chip-muted {
  cursor: default;
  pointer-events: none;
}

.hero-location-field {
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.hero-location-field span {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.hero-location-field input {
  min-height: 58px;
  padding-inline: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 32px rgba(13, 27, 42, 0.16);
  backdrop-filter: blur(12px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.hero-location-field input::placeholder {
  color: rgba(255, 255, 255, 0.58);
  transition: opacity 180ms ease, color 180ms ease;
}

.hero-location-field input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.16);
  border-color: rgba(20, 184, 166, 0.58);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0.13) 100%);
  box-shadow:
    0 0 0 6px rgba(20, 184, 166, 0.14),
    0 18px 36px rgba(13, 27, 42, 0.18);
  transform: translateY(-1px);
}

.hero-location-field input:focus::placeholder,
.hero-location-field input:not(:placeholder-shown)::placeholder {
  opacity: 0.28;
}

.hero .inline-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.hero-trust-line {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
  line-height: 1.7;
  font-weight: 600;
}

.hero-coverage-line {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.62;
}

.hero-activity-line {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 28px rgba(13, 27, 42, 0.12);
}

.hero-actions,
.hero-meta,
.profile-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 26px;
}

.hero-meta {
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.search-panel,
.market-card,
.faq-item,
.footer-shell,
.pricing-card,
.support-card,
.floating-cta,
.trust-note-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.search-panel {
  margin-top: -34px;
  position: relative;
  z-index: 2;
  padding: 30px;
}

.section-surface {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 254, 0.84) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.smart-match-section {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 28%),
    radial-gradient(circle at left top, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(244, 249, 255, 0.98) 0%, rgba(237, 247, 252, 0.92) 100%);
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 22px 54px rgba(13, 27, 42, 0.08);
}

.smart-match-section .market-card {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.9) 100%);
  border-color: rgba(37, 99, 235, 0.12);
}

.search-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}

.search-panel-header h2,
.market-card h3,
.pricing-card h3,
.support-card h3,
.faq-item summary,
.similar-provider-card h3 {
  margin: 0;
}

.search-panel-header p,
.market-card p,
.pricing-card p,
.support-card p,
.footer-note-small,
.filter-empty,
.similar-provider-card p {
  color: var(--muted);
}

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

.filter-group {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  background: var(--panel-strong);
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.14);
  border-color: rgba(20, 184, 166, 0.34);
  box-shadow: 0 0 0 6px var(--accent-glow);
}

.filter-empty {
  margin-top: 18px;
  text-align: center;
}

.filter-empty-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 253, 0.94) 100%);
  box-shadow: var(--shadow-md);
}

.filter-empty-card h3 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
}

.filter-empty-card p {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.filter-empty-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-panel-card,
.stat,
.card,
.form-card,
.success-card,
.profile-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.hero-panel-card {
  padding: 28px;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 253, 0.92) 100%);
}

.hero-panel-label,
.provider-type,
.card-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-panel-value {
  margin-top: 12px;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-panel-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  padding: 24px 24px;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.05;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: -0.03em;
}

.stat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.stat span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.62;
  font-size: 0.95rem;
}

.hero-floating-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.floating-trust-card {
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.floating-trust-card strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.floating-trust-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.section-header p,
.muted,
.provider-copy p,
.success-card p,
label span,
.inline-note,
.location-line,
.card-copy {
  color: var(--muted);
}

.section-header {
  margin: var(--section-space) 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
}

.section-header p {
  margin: 10px 0 0;
  font-size: 1.05rem;
  line-height: 1.78;
  max-width: 680px;
}

.results-location-line {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.5;
}

.market-section {
  margin-top: var(--section-space);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.featured-section {
  padding-top: 36px;
  border-top: 0;
}

.market-grid-three,
.pricing-grid,
.support-grid,
.footer-grid,
.similar-providers-grid {
  display: grid;
  gap: 20px;
}

.market-grid-three,
.pricing-grid,
.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-card,
.pricing-card,
.support-card,
.similar-provider-card,
.trust-note-card {
  padding: 30px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.market-step-number,
.pricing-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

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

.trust-line {
  margin: 28px auto 0;
  max-width: 840px;
  text-align: center;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.72;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.social-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.social-proof-stat {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(242, 248, 252, 0.84) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.social-proof-stat strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.social-proof-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.62;
}

.testimonial-card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.testimonial-role {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.testimonial-quote {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

.testimonial-name {
  margin-top: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.social-proof-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.68;
}

.social-proof-cta {
  justify-content: center;
  margin-top: 20px;
}

.footer-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 32px;
  padding: 42px 40px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 24%),
    radial-gradient(circle at left bottom, rgba(37, 99, 235, 0.12), transparent 26%),
    linear-gradient(135deg, #0d1b2a 0%, #102a43 42%, #123f63 100%);
  border-color: rgba(248, 250, 249, 0.08);
  box-shadow: var(--shadow-lg);
}

.footer-grid {
  grid-template-columns: 1.25fr 0.85fr 1fr;
  align-items: start;
  gap: 28px;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-site-brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.footer-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 14px 28px rgba(13, 27, 42, 0.24);
}

.footer-brand-mark::before {
  left: 9px;
  top: 5px;
  font-size: 1.8rem;
}

.footer-brand-mark::after {
  right: 6px;
  bottom: 5px;
  font-size: 1.08rem;
}

.footer-wordmark {
  color: #ffffff;
  line-height: 1;
}

.footer-brand-chip {
  display: inline-flex;
  width: fit-content;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  font-weight: 650;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: rgba(226, 232, 240, 0.84);
  font-weight: 600;
}

.footer-links a:hover {
  color: #7dd3fc;
}

.footer-note-small,
.footer-disclaimer {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.footer-note-small {
  margin: 2px 0 0;
  max-width: 34ch;
}

.footer-disclaimer {
  margin: 4px 0 0;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.compact-specialty-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.featured-providers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.featured-provider-card {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 248, 255, 0.9) 100%);
}

.featured-provider-card.provider-card {
  gap: 12px;
}

.featured-provider-card .provider-card-header {
  gap: 12px;
}

.featured-provider-card .provider-avatar-block {
  gap: 12px;
}

.featured-provider-card .provider-avatar {
  width: 52px;
  height: 52px;
}

.featured-provider-card .provider-name-row {
  gap: 8px;
  margin-top: 4px;
}

.featured-provider-card .best-for-line {
  font-size: 0.88rem;
  line-height: 1.5;
}

.featured-provider-card .specialties {
  margin-top: 10px;
  gap: 6px;
}

.featured-provider-card .tag {
  padding: 7px 11px;
  font-size: 0.76rem;
}

.featured-provider-card .provider-meta-row {
  margin-top: 10px;
  gap: 8px;
}

.featured-provider-card .provider-meta-pill {
  padding: 6px 10px;
  font-size: 0.76rem;
}

.featured-provider-card .insurance-stack {
  margin-top: 10px;
  gap: 2px;
}

.featured-provider-card .insurance-line {
  font-size: 0.82rem;
  color: rgba(100, 116, 139, 0.94);
}

.featured-provider-card .insurance-subline {
  font-size: 0.76rem;
  color: rgba(100, 116, 139, 0.82);
}

.featured-provider-card .next-available-line {
  margin-top: 10px;
  padding: 8px 12px;
  font-size: 0.84rem;
}

.featured-provider-card .card-signals {
  margin-top: 2px;
}

.featured-provider-card .provider-activity-stack {
  margin-top: 6px;
  gap: 4px;
}

.featured-provider-card .provider-activity-line {
  font-size: 0.76rem;
}

.featured-provider-card .provider-card-note {
  margin-top: 4px;
  font-size: 0.77rem;
}

.featured-provider-card .cta-row {
  margin-top: 6px;
  padding-top: 10px;
}

.featured-provider-card .cta-row .button {
  min-height: 46px;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95), rgba(20, 184, 166, 0.82), rgba(34, 197, 94, 0.4));
}

.card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: var(--line-strong);
  box-shadow: 0 32px 70px rgba(13, 27, 42, 0.14);
}

.provider-card,
.specialty-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.compact-specialty-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 248, 255, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 16px 34px rgba(13, 27, 42, 0.08);
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.compact-specialty-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 46px rgba(13, 27, 42, 0.12);
}

.compact-specialty-card .specialty-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

.compact-specialty-card .specialty-icon::before {
  width: 19px;
  height: 19px;
}

.provider-card {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.05), transparent 24%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 249, 253, 0.92) 100%);
}

.specialty-card {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 248, 255, 0.9) 100%);
}

.compact-specialties-section {
  margin-top: 36px;
  padding-top: 18px;
}

.compact-specialties-section .section-header {
  margin-top: 0;
  margin-bottom: 16px;
}

.featured-section .section-header {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .compact-specialty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .compact-specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .compact-specialty-card {
    min-height: 68px;
    padding: 14px 15px;
    gap: 10px;
    font-size: 0.95rem;
  }

  .compact-specialty-card .specialty-icon {
    width: 38px;
    height: 38px;
  }
}

.provider-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.provider-avatar-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.provider-avatar {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.95), rgba(37, 99, 235, 0.16)),
    linear-gradient(180deg, #fbfdff 0%, #e8f5f1 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.12);
  color: var(--accent-deep);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.provider-avatar img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transform: scale(1.02);
  background: linear-gradient(180deg, #f8fbff 0%, #edf6fb 100%);
}

.provider-avatar.has-photo {
  color: transparent;
}

.provider-avatar.has-photo img {
  display: block;
}

.provider-header-copy {
  min-width: 0;
}

.provider-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.provider-card h3 {
  margin: 0;
}

.specialty-card {
  min-height: 100%;
}

.specialty-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 255, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.06);
  color: var(--accent-deep);
}

.specialty-icon::before {
  content: "";
  width: 23px;
  height: 23px;
  display: block;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.specialty-icon-psychologist::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.2 5.5c-2.7 0-4.7 2.1-4.7 4.8 0 1.7.8 3.1 2 3.9-.1.4-.3 1-.8 1.6.9.1 1.9-.2 2.6-.7.4.1.6.1.9.1'/%3E%3Cpath d='M14.8 5.5c2.7 0 4.7 2.1 4.7 4.8 0 1.7-.8 3.1-2 3.9.1.4.3 1 .8 1.6-.9.1-1.9-.2-2.6-.7-.4.1-.6.1-.9.1'/%3E%3Cpath d='M10.4 8.8c-.8.5-1.3 1.4-1.3 2.4 0 1 .5 1.9 1.3 2.4'/%3E%3Cpath d='M13.6 8.8c.8.5 1.3 1.4 1.3 2.4 0 1-.5 1.9-1.3 2.4'/%3E%3Cpath d='M12 8v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.2 5.5c-2.7 0-4.7 2.1-4.7 4.8 0 1.7.8 3.1 2 3.9-.1.4-.3 1-.8 1.6.9.1 1.9-.2 2.6-.7.4.1.6.1.9.1'/%3E%3Cpath d='M14.8 5.5c2.7 0 4.7 2.1 4.7 4.8 0 1.7-.8 3.1-2 3.9.1.4.3 1 .8 1.6-.9.1-1.9-.2-2.6-.7-.4.1-.6.1-.9.1'/%3E%3Cpath d='M10.4 8.8c-.8.5-1.3 1.4-1.3 2.4 0 1 .5 1.9 1.3 2.4'/%3E%3Cpath d='M13.6 8.8c.8.5 1.3 1.4 1.3 2.4 0 1-.5 1.9-1.3 2.4'/%3E%3Cpath d='M12 8v6'/%3E%3C/svg%3E");
}

.specialty-icon-therapist::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6.5h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H10l-4.5 3v-3H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M8.5 11.5h7'/%3E%3Cpath d='M8.5 14.5h4.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6.5h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H10l-4.5 3v-3H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M8.5 11.5h7'/%3E%3Cpath d='M8.5 14.5h4.5'/%3E%3C/svg%3E");
}

.specialty-icon-dentist::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 4.5c-2.4 0-4 2-4 4.8 0 3.4 2 8.9 3.5 8.9 1.1 0 .6-3.7 2.3-3.7s1.5 3.7 2.7 3.7c1.2 0 .8-3.7 2.5-3.7s1.3 3.7 2.5 3.7c1.6 0 3.5-5.5 3.5-8.9 0-2.8-1.6-4.8-4-4.8-1.4 0-2.3.6-3 .6-.8 0-1.6-.6-3-.6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 4.5c-2.4 0-4 2-4 4.8 0 3.4 2 8.9 3.5 8.9 1.1 0 .6-3.7 2.3-3.7s1.5 3.7 2.7 3.7c1.2 0 .8-3.7 2.5-3.7s1.3 3.7 2.5 3.7c1.6 0 3.5-5.5 3.5-8.9 0-2.8-1.6-4.8-4-4.8-1.4 0-2.3.6-3 .6-.8 0-1.6-.6-3-.6Z'/%3E%3C/svg%3E");
}

.specialty-icon-dermatologist::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.5c1.7 2 4.8 3 4.8 6.4 0 2.8-2.1 5.1-4.8 5.1s-4.8-2.3-4.8-5.1c0-3.4 3.1-4.4 4.8-6.4Z'/%3E%3Cpath d='M16.8 6.5l.8-2.2.8 2.2 2.2.8-2.2.8-.8 2.2-.8-2.2-2.2-.8 2.2-.8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.5c1.7 2 4.8 3 4.8 6.4 0 2.8-2.1 5.1-4.8 5.1s-4.8-2.3-4.8-5.1c0-3.4 3.1-4.4 4.8-6.4Z'/%3E%3Cpath d='M16.8 6.5l.8-2.2.8 2.2 2.2.8-2.2.8-.8 2.2-.8-2.2-2.2-.8 2.2-.8Z'/%3E%3C/svg%3E");
}

.specialty-icon-physical-therapist::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='6.5' r='2'/%3E%3Cpath d='M10 19.5l1.6-5.2 2.8-1.4 2.4 2.1'/%3E%3Cpath d='M11.4 8.8 9.7 12l-3.2 1.8'/%3E%3Cpath d='M11.3 9.1 15 10l3.5-2'/%3E%3Cpath d='M9 14.8l-1.5 4.7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='6.5' r='2'/%3E%3Cpath d='M10 19.5l1.6-5.2 2.8-1.4 2.4 2.1'/%3E%3Cpath d='M11.4 8.8 9.7 12l-3.2 1.8'/%3E%3Cpath d='M11.3 9.1 15 10l3.5-2'/%3E%3Cpath d='M9 14.8l-1.5 4.7'/%3E%3C/svg%3E");
}

.specialty-icon-primary-care::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5.5h4.2a3.8 3.8 0 0 1 3.8 3.8v5.2a3.8 3.8 0 0 1-3.8 3.8H11'/%3E%3Cpath d='M9 5.5v5.2a2.3 2.3 0 0 0 2.3 2.3h2'/%3E%3Cpath d='M6.5 8.5H5a2 2 0 0 0-2 2v1.5a2 2 0 0 0 2 2h1.5'/%3E%3Cpath d='M14.5 17.5v2a1.8 1.8 0 1 0 3.5 0v-2'/%3E%3Cpath d='M12.5 14.5h7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5.5h4.2a3.8 3.8 0 0 1 3.8 3.8v5.2a3.8 3.8 0 0 1-3.8 3.8H11'/%3E%3Cpath d='M9 5.5v5.2a2.3 2.3 0 0 0 2.3 2.3h2'/%3E%3Cpath d='M6.5 8.5H5a2 2 0 0 0-2 2v1.5a2 2 0 0 0 2 2h1.5'/%3E%3Cpath d='M14.5 17.5v2a1.8 1.8 0 1 0 3.5 0v-2'/%3E%3Cpath d='M12.5 14.5h7'/%3E%3C/svg%3E");
}

.specialty-icon-chiropractor::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5c1.4 1.2 1.4 2.7 0 3.9s-1.4 2.7 0 3.9 1.4 2.7 0 3.9-1.4 2.7 0 3.9'/%3E%3Cpath d='M15 4.5c-1.4 1.2-1.4 2.7 0 3.9s1.4 2.7 0 3.9-1.4 2.7 0 3.9 1.4 2.7 0 3.9'/%3E%3Cpath d='M10.6 6.4h2.8'/%3E%3Cpath d='M10.6 10.3h2.8'/%3E%3Cpath d='M10.6 14.2h2.8'/%3E%3Cpath d='M10.6 18.1h2.8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5c1.4 1.2 1.4 2.7 0 3.9s-1.4 2.7 0 3.9 1.4 2.7 0 3.9-1.4 2.7 0 3.9'/%3E%3Cpath d='M15 4.5c-1.4 1.2-1.4 2.7 0 3.9s1.4 2.7 0 3.9-1.4 2.7 0 3.9 1.4 2.7 0 3.9'/%3E%3Cpath d='M10.6 6.4h2.8'/%3E%3Cpath d='M10.6 10.3h2.8'/%3E%3Cpath d='M10.6 14.2h2.8'/%3E%3Cpath d='M10.6 18.1h2.8'/%3E%3C/svg%3E");
}

.specialty-icon-eye-care::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 12s3.3-5 9.2-5 9.2 5 9.2 5-3.3 5-9.2 5-9.2-5-9.2-5Z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 12s3.3-5 9.2-5 9.2 5 9.2 5-3.3 5-9.2 5-9.2-5-9.2-5Z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E");
}

.specialty-icon-pediatrician::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='3.2'/%3E%3Cpath d='M6.5 18c1.4-2.5 3.1-3.8 5.5-3.8s4.1 1.3 5.5 3.8'/%3E%3Cpath d='M8.8 4.8c.5-1 1.5-1.8 3.2-1.8 1.7 0 2.7.8 3.2 1.8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='3.2'/%3E%3Cpath d='M6.5 18c1.4-2.5 3.1-3.8 5.5-3.8s4.1 1.3 5.5 3.8'/%3E%3Cpath d='M8.8 4.8c.5-1 1.5-1.8 3.2-1.8 1.7 0 2.7.8 3.2 1.8'/%3E%3C/svg%3E");
}

.specialty-icon-urgent-care::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='4.5' width='15' height='15' rx='4'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='4.5' width='15' height='15' rx='4'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
}

.specialty-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.specialty-card .button {
  margin-top: auto;
}

.market-card:hover,
.pricing-card:hover,
.support-card:hover,
.similar-provider-card:hover,
.trust-note-card:hover,
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(13, 27, 42, 0.12);
}

.support-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.support-card-link:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.42);
  outline-offset: 4px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.provider-badge {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #15803d;
  background: linear-gradient(180deg, rgba(243, 253, 247, 0.98) 0%, rgba(231, 249, 238, 0.92) 100%);
  border: 1px solid rgba(34, 197, 94, 0.18);
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.1);
}

.verified-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #34d399 0%, #22c55e 100%);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.card-signals {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.16);
}

.card h3 {
  margin: 8px 0 0;
  font-size: 1.62rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.location-line {
  margin: 14px 0 0;
  font-size: 0.98rem;
}

.provider-card .location-line {
  margin: 0;
  font-size: 0.94rem;
}

.provider-rating-line,
.profile-rating-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.5;
}

.provider-rating-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.14);
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-rating-line .provider-rating-score {
  font-size: 0.92rem;
  padding: 7px 12px;
}

.provider-rating-count {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.card-copy {
  margin: 18px 0 0;
  line-height: 1.76;
}

.provider-card .card-copy,
.provider-card .specialties,
.provider-card .provider-meta-row,
.provider-card .insurance-stack,
.provider-card .next-available-line,
.provider-card .card-signals,
.provider-card .cta-row {
  margin-top: 0;
}

.best-for-line {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.specialties {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0 0;
}

.tag {
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 600;
}

.provider-meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.provider-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.08);
  color: rgba(100, 116, 139, 0.92);
  font-size: 0.8rem;
  font-weight: 600;
}

.insurance-stack {
  display: grid;
  gap: 3px;
  margin-top: 20px;
}

.insurance-line {
  color: rgba(71, 85, 105, 0.94);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
}

.insurance-subline {
  color: rgba(100, 116, 139, 0.92);
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 1;
}

.next-available-line {
  margin: 20px 0 0;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(237, 248, 255, 0.98) 0%, rgba(228, 244, 251, 0.94) 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.next-available-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #14b8a6 0%, #2563eb 100%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.provider-card-note {
  margin: auto 0 0;
  color: rgba(100, 116, 139, 0.9);
  font-size: 0.82rem;
  line-height: 1.55;
}

.provider-activity-stack {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.provider-activity-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.provider-activity-line::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.72);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08);
  flex-shrink: 0;
}

.featured-provider-stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.featured-provider-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.featured-provider-line strong {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
}

.featured-provider-line span {
  text-align: right;
  color: var(--text);
  line-height: 1.55;
}

.card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.card-availability strong {
  display: block;
  margin-top: 8px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.provider-card .cta-row {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}

.provider-card .cta-row .button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 50px;
}

.button,
button {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
button:not(.modal-close):hover {
  transform: translateY(-1px) scale(1.02);
}

.button-primary,
form button:not(.modal-close) {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.button-primary:hover,
form button:not(.modal-close):hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--brand-gradient-strong);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(20, 184, 166, 0.26);
}

.nav-cta,
.primary-btn,
.btn-primary,
.hero-actions a,
.modal button,
form button,
.cta-button,
.button-primary {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: none;
  -webkit-text-fill-color: #ffffff;
}

.nav-cta {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.hero-actions a {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.button-secondary {
  background: rgba(244, 250, 255, 0.96);
  color: var(--accent-deep) !important;
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  -webkit-text-fill-color: var(--accent-deep) !important;
}

.button-secondary:hover {
  background: rgba(236, 246, 255, 1);
  color: var(--accent) !important;
  border-color: rgba(20, 184, 166, 0.26);
  box-shadow: 0 16px 28px rgba(20, 184, 166, 0.12);
  -webkit-text-fill-color: var(--accent) !important;
}

.button-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-text-fill-color: #ffffff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-assistant {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

.button-assistant:hover {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(135deg, #1d4ed8 0%, #0f8f82 100%);
}

.profile-layout,
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  margin-top: 32px;
}

.info-hero {
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 24%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.info-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 760px;
}

.info-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.inline-link {
  color: var(--accent);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.profile-card,
.form-card,
.success-card {
  padding: 30px;
}

.profile-main-card,
.profile-sidebar-card {
  position: relative;
}

.profile-main-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95), rgba(20, 184, 166, 0.86), rgba(34, 197, 94, 0.52));
}

.profile-hero-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(191, 219, 254, 0.78), rgba(37, 99, 235, 0.14)),
    linear-gradient(180deg, #f8fbff 0%, #e8f5f1 100%);
  color: var(--accent-deep);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.profile-avatar img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar.has-photo {
  color: transparent;
}

.profile-avatar.has-photo img {
  display: block;
}

.profile-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.profile-intro {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.profile-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-trust-note-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.profile-trust-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.profile-trust-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #14b8a6 0%, #22c55e 100%);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08);
}

.response-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.response-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.07);
  border: 1px solid rgba(20, 184, 166, 0.14);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.profile-top-cta {
  margin-top: 24px;
}

.live-activity-card {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(248, 250, 249, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.live-activity-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.live-activity-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.availability-available {
  color: #15803d;
  background: #eafbf0;
  border-color: rgba(34, 197, 94, 0.14);
}

.availability-limited {
  color: #0f766e;
  background: #e8fbf8;
  border-color: rgba(20, 184, 166, 0.14);
}

.availability-full {
  color: #8f3838;
  background: #f8dddd;
  border-color: rgba(143, 56, 56, 0.12);
}

.profile-content-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.profile-panel {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 249, 0.82);
  border: 1px solid var(--line);
}

.verified-trust-card {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(247, 253, 249, 0.98) 0%, rgba(236, 251, 242, 0.84) 100%);
}

.good-fit-tags {
  margin-top: 0;
}

.profile-panel p {
  margin: 0;
}

.availability-panel {
  overflow: hidden;
}

.availability-subtext {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.72;
}

.availability-times-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.availability-time-card {
  width: 100%;
  min-height: 112px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 255, 0.92) 100%);
  box-shadow: var(--shadow-sm);
  color: var(--accent-deep);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.availability-time-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 16px 30px rgba(13, 27, 42, 0.1);
}

.availability-time-day {
  color: var(--accent);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.availability-time-value {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.availability-time-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.availability-time-card-limited {
  background: linear-gradient(180deg, rgba(240, 252, 251, 0.98) 0%, rgba(230, 248, 247, 0.92) 100%);
  border-color: rgba(20, 184, 166, 0.16);
}

.availability-time-card-limited .availability-time-badge {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
}

.availability-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.profile-section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

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

.profile-list-item {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.72;
}

.profile-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #14b8a6 0%, #2563eb 100%);
}

.specialties-clean {
  margin-top: 0;
}

.tag-specialty {
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.96) 0%, rgba(232, 245, 241, 0.92) 100%);
  border-color: rgba(37, 99, 235, 0.14);
  font-weight: 600;
}

.tag-session {
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(37, 99, 235, 0.14);
  font-weight: 600;
}

.profile-approach-panel p,
.sidebar-copy {
  color: var(--muted);
  line-height: 1.75;
}

.profile-bottom-cta {
  margin-top: 26px;
  padding: 30px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(20, 184, 166, 0.04) 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.profile-bottom-cta p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.profile-bottom-cta h2 {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.profile-bottom-note {
  margin-top: 14px;
  color: var(--muted);
  max-width: 720px;
}

.provider-demand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.provider-demand-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
}

.similar-providers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.similar-provider-card {
  background: rgba(248, 250, 249, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

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

.privacy-note-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  padding: 10px;
}

.floating-cta .button {
  min-width: 220px;
}

.finder-cta {
  display: none;
}

.profile-sidebar-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.profile-sidebar-section {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 249, 0.78);
  border: 1px solid var(--line);
}

.profile-header p {
  font-size: 1.05rem;
  line-height: 1.78;
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-list strong {
  display: block;
  margin-bottom: 6px;
}

.detail-list span {
  display: block;
  line-height: 1.7;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  background: var(--panel-strong);
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.14);
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow: 0 0 0 6px var(--accent-glow);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-trust-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.form-trust-note {
  padding: 14px 16px;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 26%),
    rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.08);
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.95rem;
}

.form-trust-note strong {
  color: var(--text);
}

.form-qualification-note {
  margin-top: 6px;
  font-size: 0.92rem;
}

.field-error {
  color: #a63a3a;
  font-size: 0.9rem;
  margin-top: -2px;
}

.form-error-message {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(166, 58, 58, 0.14);
  background: rgba(255, 248, 248, 0.94);
  color: #8f2d2d;
  line-height: 1.6;
  font-size: 0.95rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 600;
}

.footer-note {
  margin-top: 34px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.provider-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: var(--radius-xl);
  color: white;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #0d1b2a 0%, #143e68 54%, #14b8a6 100%);
  box-shadow: var(--shadow-lg);
}

.provider-hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -100px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.provider-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

.provider-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 760px;
}

.provider-subheadline {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

.provider-hero-side,
.provider-signal-grid,
.provider-problem-grid,
.provider-choice-grid,
.steps-grid,
.solution-list {
  display: grid;
  gap: 18px;
}

.provider-metric-card,
.signal-card,
.problem-card,
.step-card,
.trust-banner,
.lead-form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.provider-metric-card,
.signal-card {
  padding: 24px;
  color: var(--text);
}

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

.signal-card strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.signal-card span {
  color: var(--muted);
  line-height: 1.6;
}

.provider-section {
  margin-top: 32px;
}

.provider-section-header {
  margin-top: 0;
}

.provider-problem-grid,
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.problem-card,
.step-card,
.trust-banner {
  padding: 28px;
}

.pricing-grid .pricing-card:nth-child(1),
.pricing-grid .pricing-card:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 253, 0.9) 100%);
}

.pricing-grid .pricing-card:nth-child(2) {
  border-color: rgba(20, 184, 166, 0.22);
  box-shadow: 0 26px 56px rgba(13, 27, 42, 0.1);
}

.problem-card h3,
.step-card h3,
.lead-copy h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.problem-card p,
.step-card p,
.solution-copy p,
.solution-item p,
.trust-banner p,
.lead-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.solution-band {
  padding: 6px 0;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.solution-copy {
  padding-right: 10px;
}

.solution-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.solution-check {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(180deg, #14b8a6 0%, #2563eb 100%);
  font-weight: 700;
}

.solution-item p {
  margin: 0;
}

.step-number {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.trust-banner {
  text-align: center;
}

.trust-banner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.trust-banner p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.built-differently-card,
.provider-cta-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.provider-bullet-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.provider-bullet-item {
  position: relative;
  padding: 18px 20px 18px 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  line-height: 1.55;
}

.provider-bullet-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.08);
}

.provider-cta-panel {
  text-align: center;
}

.provider-cta-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.provider-cta-panel p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.72;
}

.provider-cta-actions {
  justify-content: center;
  margin-top: 24px;
}

.section-microcopy {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 24px;
  align-items: start;
}

.contact-hero {
  min-height: 100%;
}

.contact-highlights {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-highlight {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 249, 0.78);
  border: 1px solid var(--line);
}

.contact-highlight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-highlight span {
  color: var(--muted);
  line-height: 1.7;
}

.pricing-price {
  margin-top: 12px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  font-weight: 700;
}

.pricing-caption {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.68;
}

.lead-form-intro {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.lead-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(237, 248, 255, 0.98) 0%, rgba(226, 244, 250, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lead-highlight::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.lead-form-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.lead-copy {
  padding: 8px 8px 0 0;
}

.lead-form-card {
  padding: 30px;
}

.contact-form-card {
  padding: 30px;
}

.admin-login-wrap {
  display: grid;
  place-items: center;
  min-height: 62vh;
}

.admin-login-card {
  width: min(100%, 520px);
  padding: 32px;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius-xl);
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #0d1b2a 0%, #2563eb 52%, #14b8a6 100%);
  box-shadow: var(--shadow-lg);
}

.admin-hero h1,
.admin-table-header h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.admin-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  max-width: 720px;
}

.admin-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.admin-table-card {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.admin-table-header {
  margin-bottom: 18px;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(248, 250, 249, 0.84);
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.dashboard-table th,
.dashboard-table td {
  text-align: left;
  padding: 18px 20px;
  vertical-align: top;
}

.dashboard-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
}

.dashboard-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.dashboard-table tbody td {
  color: var(--text);
  line-height: 1.65;
}

.admin-empty-state {
  padding: 28px 8px;
  text-align: center;
  color: var(--muted);
}

.admin-subtle-note {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
}

.booking-success-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 38px;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 26%),
    rgba(255, 255, 255, 0.94);
}

.modal-success-card {
  max-width: 100%;
  padding: 34px;
}

.request-processing-card {
  padding-top: 42px;
}

.request-state-enter {
  animation: requestStateIn 260ms ease;
}

.request-spinner {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(37, 99, 235, 0.12);
  border-top-color: var(--accent);
  border-right-color: var(--accent-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 16px 34px rgba(37, 99, 235, 0.12);
  animation: requestSpinnerSpin 900ms linear infinite;
}

.success-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.2);
}

.success-lead {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.8;
}

.success-supporting {
  margin: 14px auto 0;
  max-width: 660px;
  color: var(--muted);
  line-height: 1.75;
}

.next-steps-card {
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: left;
  background: rgba(248, 250, 249, 0.8);
  border: 1px solid var(--line);
}

.modal-progress-card {
  margin-top: 22px;
}

.request-timeline-card {
  margin-top: 22px;
}

.request-timeline {
  display: grid;
  gap: 12px;
}

.request-timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

.request-timeline-step strong {
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.request-timeline-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.request-timeline-step-complete .request-timeline-icon {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
}

.request-timeline-step-active {
  border-color: rgba(20, 184, 166, 0.18);
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.07);
}

.request-timeline-step-active .request-timeline-icon {
  background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  color: #ffffff;
}

.request-timeline-step-pending {
  background: rgba(248, 250, 252, 0.92);
}

.request-timeline-step-pending .request-timeline-icon {
  color: var(--muted);
  background: rgba(100, 116, 139, 0.08);
}

.success-steps {
  display: grid;
  gap: 12px;
}

.success-step {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.success-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(13, 27, 42, 0.52);
  backdrop-filter: blur(8px);
}

.modal-card {
  width: min(100%, 760px);
  padding: 36px;
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 36px 80px rgba(13, 27, 42, 0.22);
}

.modal-card h2 {
  margin: 0;
  line-height: 1.04;
}

.modal-selected-note {
  margin-top: 18px;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.modal-card .form-trust-stack {
  margin-top: 16px;
}

.matching-modal-card {
  width: min(100%, 820px);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.98);
}

.matching-modal-header {
  display: grid;
  gap: 14px;
}

.matching-modal-header .inline-note {
  max-width: 640px;
}

.matching-helper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(232, 245, 241, 0.94);
  border: 1px solid rgba(20, 184, 166, 0.12);
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 600;
}

.matching-helper::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #14b8a6 0%, #2563eb 100%);
}

.matching-progress {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.matching-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.matching-progress-meta strong {
  color: var(--accent-deep);
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.matching-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  overflow: hidden;
}

.matching-progress-track span {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  transition: width 200ms ease;
}

.match-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.matching-step-panel {
  animation: matchingStepIn 220ms ease;
}

.match-option-card {
  width: 100%;
  min-height: 92px;
  position: relative;
  justify-content: flex-start;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(243, 248, 255, 0.92) 100%);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
}

.match-option-card-soft {
  min-height: 82px;
  color: var(--accent-deep);
}

.match-option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 36px rgba(13, 27, 42, 0.12);
}

.match-option-card.is-selected {
  border-color: rgba(20, 184, 166, 0.38);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(232, 245, 241, 0.96) 100%);
  box-shadow: 0 20px 42px rgba(13, 27, 42, 0.12);
}

.match-option-card.is-selected::after {
  content: "✓";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2563eb 0%, #14b8a6 100%);
  color: white;
  font-size: 0.84rem;
  font-weight: 800;
}

.matching-contact-form {
  margin-top: 24px;
}

.matching-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.matching-result-intro {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.matching-result-intro h2 {
  margin: 0;
}

.matching-result-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.matching-result-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 248, 255, 0.92) 100%);
}

.matching-result-card-best {
  border-color: rgba(20, 184, 166, 0.28);
  box-shadow: 0 24px 52px rgba(13, 27, 42, 0.1);
}

.matching-best-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(237, 248, 255, 0.98) 0%, rgba(230, 245, 252, 0.92) 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matching-best-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--positive);
}

.matching-result-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.matching-result-card h3 {
  margin: 6px 0 0;
}

.matching-result-card .location-line,
.matching-result-card .best-for-line,
.matching-result-card .cta-row,
.matching-results-trust {
  margin-top: 0;
}

@keyframes matchingStepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes requestStateIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-progress-steps {
  display: grid;
  gap: 12px;
}

.modal-progress-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.modal-progress-step strong {
  display: block;
  color: var(--text);
  letter-spacing: -0.02em;
}

.modal-progress-number {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.modal-progress-step.is-complete .modal-progress-number {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  box-shadow: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.why-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.why-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.76;
}

@media (max-width: 768px) {
  .site-header {
    position: static;
    padding-top: 8px;
  }

  .nav-shell {
    width: min(calc(100% - 24px), var(--max));
    padding: 12px 14px;
    border-radius: 22px;
    gap: 12px;
  }

  .site-brand {
    width: 100%;
    font-size: 1rem;
  }

  .site-brand-mark {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .site-nav a[href="/"],
  .site-nav a[href="/contact/"],
  .site-nav a[href="/for-providers/"]:not(.nav-cta) {
    display: none;
  }

  .site-nav a,
  .site-nav .nav-cta {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
  }

  .site-nav .nav-cta {
    grid-column: 1 / -1;
    min-height: 50px;
  }

  .site-nav a:not(.nav-cta) {
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.1);
  }

  .page-shell {
    width: min(calc(100% - 24px), var(--max));
    padding-top: 22px;
    padding-bottom: 78px;
  }

  .hero,
  .provider-hero,
  .admin-hero,
  .info-hero {
    padding: 24px 22px;
    border-radius: 28px;
  }

  .hero::before,
  .hero::after,
  .provider-hero::after {
    opacity: 0.65;
  }

  .hero h1,
  .provider-hero-copy h1,
  .admin-hero h1,
  .info-hero h1,
  .profile-hero-copy h1 {
    font-size: clamp(2.2rem, 8.6vw, 3rem);
  }

  .hero p,
  .provider-subheadline,
  .info-hero p:not(.eyebrow),
  .admin-hero p:not(.eyebrow),
  .profile-intro,
  .section-header p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .section-header {
    margin-top: 64px;
    margin-bottom: 20px;
  }

  .market-section {
    margin-top: 64px;
    padding-top: 28px;
  }

  .compact-specialties-section {
    margin-top: 28px;
    padding-top: 14px;
  }

  .compact-specialties-section .section-header {
    margin-bottom: 14px;
  }

  .providers-grid,
  .filter-grid,
  .profile-content-grid,
  .provider-problem-grid,
  .provider-choice-grid,
  .steps-grid,
  .provider-signal-grid,
  .hero-stats,
  .market-grid-three,
  .pricing-grid,
  .support-grid,
  .specialty-grid,
  .compact-specialty-grid,
  .trust-grid,
  .social-proof-stats,
  .testimonials-grid,
  .why-grid,
  .featured-providers-grid,
  .similar-providers-grid,
  .privacy-grid,
  .footer-grid {
    gap: 18px;
  }

  .filter-grid,
  .market-grid-three,
  .pricing-grid,
  .support-grid,
  .specialty-grid,
  .compact-specialty-grid,
  .trust-grid,
  .provider-choice-grid,
  .social-proof-stats,
  .testimonials-grid,
  .why-grid,
  .featured-providers-grid,
  .similar-providers-grid,
  .privacy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .profile-card,
  .form-card,
  .success-card,
  .problem-card,
  .step-card,
  .built-differently-card,
  .provider-cta-panel,
  .trust-banner,
  .admin-table-card,
  .lead-form-card,
  .contact-form-card {
    border-radius: 20px;
  }

  .card,
  .profile-card,
  .form-card,
  .success-card,
  .problem-card,
  .step-card,
  .built-differently-card,
  .provider-cta-panel,
  .trust-banner,
  .admin-table-card,
  .lead-form-card,
  .contact-form-card,
  .hero-panel-card,
  .provider-metric-card,
  .signal-card {
    padding: 24px;
  }

  .profile-hero-block {
    gap: 18px;
  }

  .provider-card-header,
  .provider-avatar-block {
    flex-direction: column;
  }

  .provider-badge {
    align-self: flex-start;
  }

  .hero-grid {
    gap: 18px;
    align-items: start;
  }

  .hero-copy .eyebrow,
  .hero .inline-note,
  .hero-meta,
  .hero-panel-card,
  .hero-floating-grid {
    display: none;
  }

  .hero-copy {
    max-width: none;
  }

  .hero p {
    max-width: 32ch;
    margin-top: 12px;
    line-height: 1.68;
  }

  .hero-location-block {
    margin-top: 20px;
    max-width: none;
  }

  .hero-location-field input {
    min-height: 56px;
  }

  .location-quick-groups {
    margin-top: 16px;
    gap: 10px;
  }

  .location-chip-row {
    gap: 8px;
  }

  .location-chip {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.81rem;
  }

  .hero-trust-line {
    margin-top: 18px;
    max-width: 32ch;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .hero-coverage-line {
    max-width: 32ch;
    font-size: 0.88rem;
    line-height: 1.56;
  }

  .hero-activity-line {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 22px;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 56px;
  }

  .hero-panel {
    gap: 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat {
    padding: 22px 20px;
  }

  .stat strong {
    font-size: 1.56rem;
  }

  .stat span {
    font-size: 0.98rem;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.4rem;
  }

  .provider-avatar {
    width: 54px;
    height: 54px;
  }

  .profile-meta,
  .hero-meta,
  .hero-actions,
  .cta-row {
    gap: 10px;
  }

  .button,
  button {
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
  }

  .hero-actions .button,
  .cta-row .button,
  .profile-sidebar-section .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .profile-sidebar-section,
  .profile-panel,
  .profile-bottom-cta,
  .next-steps-card {
    padding: 20px;
  }

  .search-panel {
    margin-top: 28px;
    padding: 22px;
  }

  .section-surface {
    padding: 24px;
    border-radius: 26px;
  }

  .hero-floating-grid {
    grid-template-columns: 1fr;
  }

  .featured-provider-line {
    grid-template-columns: 1fr;
  }

  .provider-card {
    gap: 20px;
  }

  .provider-card .card-copy {
    display: none;
  }

  .provider-card .insurance-subline {
    display: none;
  }

  .provider-card .specialties .tag:nth-child(n + 3) {
    display: none;
  }

  .provider-activity-stack,
  .provider-card-note,
  .card-signals {
    display: none;
  }

  .provider-card .cta-row {
    gap: 10px;
  }

  .location-quick-group:last-child {
    display: none;
  }

  .footer-shell {
    padding: 32px 24px;
  }

  .lead-copy,
  .solution-copy {
    padding-right: 0;
  }

  .dashboard-table {
    min-width: 720px;
  }

  .featured-provider-card {
    padding: 20px;
  }

  .featured-provider-card.provider-card {
    gap: 10px;
  }

  .featured-provider-card .provider-meta-row {
    margin-top: 8px;
  }

  .featured-provider-card .insurance-line {
    font-size: 0.8rem;
  }

  .featured-provider-card .provider-card-note {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
  }

  .featured-provider-card .cta-row {
    margin-top: 4px;
    padding-top: 8px;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .provider-hero-grid,
  .solution-layout,
  .lead-layout,
  .contact-layout,
  .profile-layout,
  .booking-layout,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .profile-hero-block {
    grid-template-columns: 1fr;
  }

  .provider-problem-grid,
  .provider-choice-grid,
  .steps-grid,
  .provider-signal-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    border-radius: 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-cta {
    right: 18px;
    bottom: 18px;
  }

  .modal-card {
    width: min(100%, 820px);
    padding: 28px;
  }

  .matching-result-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .hero {
    padding: 36px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 18px;
    padding-bottom: 64px;
  }

  .nav-shell {
    width: min(calc(100% - 20px), var(--max));
    padding: 10px 12px 10px 14px;
  }

  .site-brand {
    gap: 8px;
    font-size: 1.04rem;
    line-height: 1;
    align-self: flex-start;
  }

  .site-brand-mark {
    width: 40px;
    height: 40px;
  }

  .site-brand-mark::before {
    left: 7px;
    top: 3px;
    font-size: 1.54rem;
    letter-spacing: -0.09em;
  }

  .site-brand-mark::after {
    right: 5px;
    bottom: 4px;
    font-size: 0.96rem;
    letter-spacing: -0.05em;
  }

  .site-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .nav-cta {
    min-height: 52px;
  }

  .footer-grid {
    gap: 22px;
    text-align: center;
  }

  .footer-brand {
    justify-items: center;
    gap: 16px;
  }

  .footer-brand-lockup {
    justify-content: center;
  }

  .footer-brand-mark {
    width: 44px;
    height: 44px;
  }

  .footer-brand-mark::before {
    left: 8px;
    top: 5px;
    font-size: 1.72rem;
  }

  .footer-brand-mark::after {
    right: 6px;
    bottom: 5px;
    font-size: 1.02rem;
  }

  .footer-note-small,
  .footer-disclaimer {
    max-width: none;
  }

  .footer-links {
    justify-items: center;
    gap: 10px;
  }

  .hero,
  .provider-hero,
  .admin-hero,
  .profile-card,
  .form-card,
  .success-card,
  .card,
  .info-hero,
  .problem-card,
  .step-card,
  .built-differently-card,
  .provider-cta-panel,
  .trust-banner,
  .lead-form-card,
  .admin-table-card,
  .admin-login-card {
    padding: 24px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .provider-name-row {
    align-items: flex-start;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .provider-bullet-list {
    grid-template-columns: 1fr;
  }

  .modal-form-grid {
    grid-template-columns: 1fr;
  }

  .match-option-grid,
  .matching-progress-meta,
  .matching-footer {
    grid-template-columns: 1fr;
  }

  .matching-progress-meta,
  .matching-footer {
    display: grid;
  }

  .match-option-grid {
    gap: 12px;
  }

  .match-option-card {
    min-height: 78px;
    padding: 16px 18px;
  }

  .profile-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-surface {
    padding: 20px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .floating-trust-card {
    padding: 15px 16px;
  }

  .availability-times-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .availability-time-card {
    min-height: 104px;
    padding: 16px;
  }

  .availability-time-value {
    font-size: 1.22rem;
  }

  .featured-provider-line {
    flex-direction: column;
    gap: 8px;
  }

  .featured-provider-line span {
    text-align: left;
  }

  .card-top {
    flex-direction: column;
  }

  .response-chip-row,
  .provider-meta-row {
    gap: 8px;
  }

  .card h3,
  .problem-card h3,
  .step-card h3,
  .lead-copy h2 {
    font-size: 1.28rem;
  }

  .dashboard-table {
    min-width: 640px;
  }

  .finder-cta {
    display: block;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px;
  }

  .floating-cta .button {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-brand {
    gap: 8px;
    font-size: 0.98rem;
  }

  .site-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .site-brand-mark::before {
    left: 6px;
    top: 3px;
    font-size: 1.38rem;
    letter-spacing: -0.09em;
  }

  .site-brand-mark::after {
    right: 4px;
    bottom: 4px;
    font-size: 0.86rem;
    letter-spacing: -0.05em;
  }

  .hero,
  .provider-hero,
  .admin-hero,
  .info-hero,
  .card,
  .profile-card,
  .form-card,
  .success-card,
  .admin-table-card {
    padding: 20px;
  }

  .hero h1,
  .provider-hero-copy h1,
  .admin-hero h1,
  .info-hero h1,
  .profile-hero-copy h1 {
    font-size: 1.9rem;
  }

  .tag,
  .availability-pill,
  .pill {
    font-size: 0.8rem;
  }

  input,
  textarea {
    padding: 15px 14px;
  }

  .modal-card {
    width: 100%;
    padding: 22px;
    border-radius: 24px;
  }

  .modal-success-card {
    padding: 24px;
  }
}
