.lead-form .form-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.lead-form .form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 1px 0 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--graphite);
}

.lead-form .form-consent a,
.lead-form .form-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form .form-consent a:hover,
.lead-form .form-note a:hover {
  color: var(--ink);
}

.legal-copy {
  max-width: 920px;
}

.legal-copy h2 {
  margin-top: 34px;
}

.legal-copy p + p {
  margin-top: 12px;
}

/* Calm, editorial typography for legal and document pages. */
.document-page .page-hero .eyebrow,
.document-page .section-heading .eyebrow {
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.11em;
}

.document-page .page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(32px, 3.2vw, 40px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
}

.document-page .page-hero > p:not(.eyebrow) {
  max-width: 840px;
  font-size: clamp(15px, 1.25vw, 17px) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.document-page .section-heading h2 {
  max-width: 900px;
  font-size: clamp(25px, 2.5vw, 32px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em;
}

.document-page .section-heading > div > p:not(.eyebrow) {
  max-width: 780px;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.licenses-page .content-card {
  padding: clamp(22px, 2.25vw, 30px);
}

.licenses-page .content-card h3 {
  margin-bottom: 10px;
  font-size: clamp(19px, 1.7vw, 22px) !important;
  line-height: 1.24 !important;
  letter-spacing: -0.018em;
}

.licenses-page .content-card p {
  font-size: 15px !important;
  line-height: 1.62 !important;
}

.licenses-page .content-card .text-link {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.licenses-page .license-document-block {
  margin-top: clamp(34px, 5vw, 64px);
  padding-top: clamp(26px, 3.5vw, 42px);
  border-top: 1px solid rgba(79, 90, 66, 0.18);
}

.licenses-page .license-document-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.licenses-page .license-document-heading h3 {
  margin: 6px 0 10px;
  font-size: clamp(23px, 2.2vw, 30px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em;
}

.licenses-page .license-document-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px !important;
  line-height: 1.62 !important;
}

.licenses-page .license-document-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2.8vw, 34px);
}

.licenses-page .license-document {
  min-width: 0;
  margin: 0;
}

.licenses-page .license-document > a {
  position: relative;
  display: block;
  aspect-ratio: 879 / 1280;
  overflow: hidden;
  border: 1px solid rgba(79, 90, 66, 0.18);
  border-radius: 18px;
  background: #ebe9df;
  box-shadow: 0 18px 42px rgba(41, 50, 32, 0.10);
}

.licenses-page .license-document img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
  transition: transform 480ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.licenses-page .license-document > a > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(79, 90, 66, 0.14);
  border-radius: 999px;
  color: #3f4835;
  background: rgba(255, 251, 225, 0.96);
  box-shadow: 0 8px 24px rgba(41, 50, 32, 0.16);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.025em;
}

.licenses-page .license-document figcaption {
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {
  .licenses-page .license-document > a:hover img,
  .licenses-page .license-document > a:focus-visible img {
    transform: scale(1.018);
  }

  .licenses-page .license-document > a:hover > span,
  .licenses-page .license-document > a:focus-visible > span {
    color: #fffbe1;
    background: #4f5a42;
  }
}

.document-page .legal-copy h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: clamp(21px, 2vw, 25px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
}

.document-page .legal-copy p {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

@media (max-width: 680px) {
  .document-page .page-hero h1 {
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

  .document-page .section-heading h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  .licenses-page .content-card h3 {
    font-size: 19px !important;
  }

  .document-page .legal-copy h2 {
    font-size: 20px !important;
  }

  .licenses-page .license-document-gallery {
    grid-template-columns: 1fr;
  }

  .licenses-page .license-document > a {
    border-radius: 14px;
  }

  .licenses-page .license-document > a > span {
    right: auto;
    bottom: 10px;
    left: 10px;
    min-height: 36px;
    padding: 8px 11px;
    font-size: 11px;
  }
}

/* Stable text flow for trust badges when icon rendering is unavailable. */
html[data-theme] body.home .clinic-trust-section .clinic-trust-badges > div,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges > div,
html[data-theme="dark"] body.home .clinic-trust-section .clinic-trust-badges > div,
body.home .clinic-trust-section .clinic-trust-badges > div {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 20px 22px 20px 58px !important;
}

html[data-theme] body.home .clinic-trust-section .clinic-trust-badges > div::before,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges > div::before,
body.home .clinic-trust-section .clinic-trust-badges > div::before {
  position: absolute;
  top: 20px;
  left: 22px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 251, 232, 0.32);
  border-radius: 50%;
  color: #46523b;
  background: #dedfbf;
  content: "✓";
  font-size: 13px;
  font-weight: 850;
  line-height: 20px;
  text-align: center;
}

html[data-theme] body.home .clinic-trust-section .clinic-trust-badges strong,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges strong,
body.home .clinic-trust-section .clinic-trust-badges strong {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.28 !important;
}

html[data-theme] body.home .clinic-trust-section .clinic-trust-badges span,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges span,
body.home .clinic-trust-section .clinic-trust-badges span {
  display: block !important;
  width: auto !important;
  margin: 6px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

html[data-theme] body.home .clinic-trust-section .clinic-trust-badges svg,
html[data-theme] body.home .clinic-trust-section .clinic-trust-badges i,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges svg,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges i,
body.home .clinic-trust-section .clinic-trust-badges svg,
body.home .clinic-trust-section .clinic-trust-badges i {
  display: none !important;
}

@media (max-width: 680px) {
  html[data-theme] body.home .clinic-trust-section .clinic-trust-badges > div,
  html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges > div,
  body.home .clinic-trust-section .clinic-trust-badges > div {
    padding: 18px 18px 18px 52px !important;
  }

  html[data-theme] body.home .clinic-trust-section .clinic-trust-badges > div::before,
  html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges > div::before,
  body.home .clinic-trust-section .clinic-trust-badges > div::before {
    top: 18px;
    left: 18px;
  }
}

/* Compact editorial layout for the "Why 8.0.8" section. */
html[data-theme] body.home .home-split,
body.home .home-split {
  display: grid !important;
  min-height: 0 !important;
  padding: 0 !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  grid-template-rows: auto !important;
  align-items: stretch !important;
  gap: clamp(18px, 2.2vw, 32px) !important;
}

html[data-theme] body.home .home-split .visual-panel,
body.home .home-split .visual-panel {
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(79, 90, 66, 0.14) !important;
  border-radius: 24px !important;
  background: #d8d2bd !important;
  box-shadow: 0 20px 52px rgba(52, 61, 43, 0.08);
}

html[data-theme] body.home .home-split .visual-panel img.approach-photo,
body.home .home-split .visual-panel img.approach-photo {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform: scale(1.035) !important;
}

html[data-theme] body.home .home-split .split-content,
body.home .home-split .split-content {
  display: flex !important;
  min-height: 0 !important;
  height: auto !important;
  padding: clamp(32px, 4vw, 54px) !important;
  flex-direction: column;
  justify-content: center !important;
  border: 1px solid rgba(79, 90, 66, 0.15) !important;
  border-radius: 24px !important;
  background: rgba(250, 247, 232, 0.8) !important;
  box-shadow: 0 20px 52px rgba(52, 61, 43, 0.055);
}

html[data-theme] body.home .home-split .split-content h2,
body.home .home-split .split-content h2 {
  max-width: 720px;
  margin: 12px 0 17px !important;
  font-size: clamp(32px, 3.15vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}

html[data-theme] body.home .home-split .approach-lead,
body.home .home-split .approach-lead {
  max-width: 720px;
  margin: 0 !important;
  font-size: clamp(16px, 1.35vw, 18px) !important;
  font-weight: 450 !important;
  line-height: 1.58 !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

body.home .home-split .approach-intro {
  display: grid;
  max-width: 760px;
  gap: 11px;
}

body.home .home-split .approach-intro .approach-lead strong {
  color: #3d4735;
  font-weight: 680;
}

body.home .home-split .approach-benefits {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

body.home .home-split .approach-benefits article {
  display: grid;
  min-width: 0;
  padding: 16px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  border: 1px solid rgba(79, 90, 66, 0.14);
  border-radius: 15px;
  background: rgba(255, 253, 239, 0.72);
}

body.home .home-split .approach-benefits article > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fffbe8;
  background: #667257;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

body.home .home-split .approach-benefits h3 {
  margin: 1px 0 7px;
  color: #35402f;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

body.home .home-split .approach-benefits p {
  margin: 0;
  color: #6c7462;
  font-size: 13px;
  line-height: 1.48;
}

@media (max-width: 680px) {
  body.home .home-split .approach-benefits {
    grid-template-columns: 1fr;
  }
}

html[data-theme] body.home .home-split .market-proof-list,
body.home .home-split .market-proof-list {
  display: grid !important;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  grid-auto-rows: max-content !important;
  align-content: start !important;
  align-self: stretch !important;
  width: 100% !important;
  gap: 12px 20px !important;
}

html[data-theme] body.home .home-split .market-proof-list li,
body.home .home-split .market-proof-list li {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 14px 0 0 27px !important;
  border-top: 1px solid rgba(79, 90, 66, 0.16);
  font-size: 13px !important;
  line-height: 1.48 !important;
}

html[data-theme] body.home .home-split .market-proof-list li::before,
body.home .home-split .market-proof-list li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #fffbe8;
  background: #667257;
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
}

html[data-theme] body.home .home-split .market-proof-list li > span,
body.home .home-split .market-proof-list li > span {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
}

html[data-theme] body.home .home-split .market-proof-list li > svg,
html[data-theme] body.home .home-split .market-proof-list li > i,
body.home .home-split .market-proof-list li > svg,
body.home .home-split .market-proof-list li > i {
  display: none !important;
}

html[data-theme] body.home .home-split .market-proof-list svg,
body.home .home-split .market-proof-list svg {
  width: 19px !important;
  height: 19px !important;
}

html[data-theme] body.home .home-split .market-proof-actions,
body.home .home-split .market-proof-actions {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 26px !important;
}

@media (max-width: 980px) {
  html[data-theme] body.home .home-split,
  body.home .home-split {
    grid-template-columns: 1fr !important;
  }

  html[data-theme] body.home .home-split .visual-panel,
  body.home .home-split .visual-panel {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }

  html[data-theme] body.home .home-split .split-content h2,
  body.home .home-split .split-content h2 {
    font-size: clamp(28px, 5vw, 36px) !important;
  }
}

/* Detailed medical direction pages opened from the homepage request cards. */
.direction-page .direction-hero {
  padding-bottom: clamp(44px, 6vw, 78px);
}

.direction-page .direction-hero h1 {
  max-width: 1040px;
  text-wrap: balance;
}

.direction-page .direction-hero > p:not(.eyebrow) {
  max-width: 900px;
}

.direction-page .direction-hero-actions {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.direction-page .direction-content-band {
  padding-top: clamp(42px, 5vw, 72px);
}

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

.direction-page .direction-detail-card {
  position: relative;
  min-height: 100%;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(79, 90, 66, 0.16);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 253, 240, 0.98), rgba(243, 241, 222, 0.86));
  box-shadow: 0 16px 42px rgba(52, 61, 43, 0.06);
}

.direction-page .direction-card-number {
  display: block;
  margin-bottom: 34px;
  color: rgba(79, 90, 66, 0.35);
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.direction-page .direction-detail-card h2 {
  margin: 0 0 22px;
  color: #30392a;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.direction-page .direction-detail-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.direction-page .direction-detail-card li {
  position: relative;
  padding-left: 22px;
  color: #68705e;
  font-size: 16px;
  line-height: 1.5;
}

.direction-page .direction-detail-card li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c896b;
  content: "";
}

.direction-page .direction-result-card {
  display: grid;
  margin-top: 20px;
  padding: clamp(30px, 4vw, 54px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  color: #fffbe8;
  background: linear-gradient(135deg, #35402f, #4b5740);
  box-shadow: 0 22px 58px rgba(38, 47, 32, 0.16);
}

.direction-page .direction-result-card .eyebrow {
  color: rgba(255, 251, 232, 0.68);
}

.direction-page .direction-result-card h2 {
  max-width: 920px;
  margin: 12px 0 0;
  color: #fffbe8;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.direction-page .direction-result-card > * {
  min-width: 0;
}

.direction-page .direction-result-card .button-light {
  flex: 0 0 auto;
  color: #35402f !important;
  background: #fffbe8 !important;
}

.direction-page .direction-lead {
  margin-top: clamp(62px, 7vw, 104px);
}

@media (max-width: 1020px) {
  .direction-page .direction-detail-grid {
    grid-template-columns: 1fr;
  }

  .direction-page .direction-detail-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .direction-page .direction-hero-actions .button,
  .direction-page .direction-result-card .button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .direction-page .direction-hero-actions .text-link {
    margin-inline: auto;
  }

  .direction-page .direction-detail-card {
    padding: 28px 24px;
    border-radius: 18px;
  }

  .direction-page .direction-card-number {
    margin-bottom: 24px;
  }

  .direction-page .direction-result-card {
    padding: 30px 24px;
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 20px;
  }
}

/* Photo-first reconstruction of the 8.0.8 approach artwork. */
html[data-theme] body.home .home-split .approach-artwork-panel,
html[data-theme="light"] body.home .home-split .approach-artwork-panel,
html[data-theme="dark"] body.home .home-split .approach-artwork-panel,
body.home .home-split .approach-artwork-panel {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  align-self: center !important;
  overflow: hidden !important;
  background: #c9d2c7 !important;
}

body.home .home-split .approach-artwork {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  isolation: isolate;
}

body.home .home-split .approach-artwork::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(91, 111, 92, 0.12);
  content: "";
  pointer-events: none;
}

body.home .home-split .approach-quadrant {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

body.home .home-split .approach-quadrant img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  filter: saturate(0.78) contrast(0.92) brightness(0.98);
  transform: none !important;
}

body.home .home-split .approach-quadrant--integration img {
  object-position: 50% 46% !important;
}

body.home .home-split .approach-quadrant--decoding img {
  object-position: 50% 51% !important;
}

body.home .home-split .approach-quadrant--recovery img {
  object-position: 48% 52% !important;
}

body.home .home-split .approach-quadrant--diagnostics img {
  object-position: 52% 47% !important;
}

body.home .home-split .approach-circles {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(255, 254, 242, 0.96);
  stroke-width: 0.54;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

body.home .home-split .approach-circles .approach-circle-node {
  fill: #fffef2;
  stroke: none;
}

body.home .home-split .approach-artwork-label {
  position: absolute;
  z-index: 3;
  color: #fffef1;
  font-size: clamp(12px, 1.65vw, 23px) !important;
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 8px rgba(31, 40, 31, 0.28);
  white-space: nowrap;
  pointer-events: none;
}

body.home .home-split .approach-artwork-label--integration {
  top: 22.5%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body.home .home-split .approach-artwork-label--recovery {
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
}

body.home .home-split .approach-artwork-label--decoding {
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
}

body.home .home-split .approach-artwork-label--diagnostics {
  bottom: 18.5%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 620px) {
  body.home .home-split .approach-artwork-label {
    font-size: clamp(11px, 3.6vw, 15px) !important;
  }

  body.home .home-split .approach-artwork-label--recovery {
    left: 5%;
  }

  body.home .home-split .approach-artwork-label--decoding {
    right: 5%;
  }
}

/* Editorial footer proportions: quieter copy and a wide landscape map. */
@media (min-width: 1100px) {
  html[data-theme] body .site-footer,
  html[data-theme="light"] body .site-footer,
  html[data-theme="dark"] body .site-footer,
  body .site-footer {
    grid-template-columns:
      minmax(260px, 0.75fr)
      minmax(210px, 0.6fr)
      minmax(500px, 1.45fr) !important;
    gap: clamp(28px, 3vw, 52px) !important;
  }

  html[data-theme] body .site-footer .footer-about > p,
  html[data-theme="light"] body .site-footer .footer-about > p,
  html[data-theme="dark"] body .site-footer .footer-about > p,
  body .site-footer .footer-about > p {
    max-width: 420px !important;
    margin-top: 28px !important;
    font-size: clamp(17px, 1.2vw, 19px) !important;
    font-weight: 430 !important;
    line-height: 1.62 !important;
    letter-spacing: -0.01em !important;
  }

  html[data-theme] body .site-footer .footer-map,
  html[data-theme="light"] body .site-footer .footer-map,
  html[data-theme="dark"] body .site-footer .footer-map,
  body .site-footer .footer-map {
    min-width: 0 !important;
    width: 100% !important;
  }

  html[data-theme] body .site-footer .footer-map-frame,
  html[data-theme="light"] body .site-footer .footer-map-frame,
  html[data-theme="dark"] body .site-footer .footer-map-frame,
  body .site-footer .footer-map-frame {
    width: 100% !important;
    height: clamp(300px, 22vw, 360px) !important;
    min-height: 0 !important;
    max-height: 360px !important;
  }
}

@media (min-width: 681px) and (max-width: 1099px) {
  html[data-theme] body .site-footer .footer-about > p,
  html[data-theme="light"] body .site-footer .footer-about > p,
  body .site-footer .footer-about > p {
    font-size: 17px !important;
    line-height: 1.62 !important;
  }

  html[data-theme] body .site-footer .footer-map-frame,
  html[data-theme="light"] body .site-footer .footer-map-frame,
  body .site-footer .footer-map-frame {
    height: 320px !important;
    min-height: 0 !important;
    max-height: 320px !important;
  }
}

@media (max-width: 620px) {
  html[data-theme] body.home .home-split .visual-panel,
  body.home .home-split .visual-panel {
    aspect-ratio: 4 / 3 !important;
    border-radius: 18px !important;
  }

  html[data-theme] body.home .home-split .split-content,
  body.home .home-split .split-content {
    padding: 26px 22px !important;
    border-radius: 18px !important;
  }

  html[data-theme] body.home .home-split .split-content h2,
  body.home .home-split .split-content h2 {
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  html[data-theme] body.home .home-split .market-proof-list,
  body.home .home-split .market-proof-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* Homepage marketing rebuild: positioning, patient paths and trust. */
.primary-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.35vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav-list li {
  margin: 0;
  padding: 0;
}

body.home main {
  overflow: clip;
}

body.home .market-hero,
body.home .section {
  width: min(100% - clamp(28px, 5vw, 88px), 1560px);
  margin-inline: auto;
}

body.home .market-hero {
  display: grid;
  min-height: min(760px, calc(100svh - 132px));
  margin-top: clamp(18px, 2vw, 32px);
  overflow: hidden;
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, 0.98fr);
  border: 1px solid rgba(79, 90, 66, 0.16);
  border-radius: clamp(24px, 2vw, 34px);
  background: #f5f1df;
  box-shadow: 0 28px 80px rgba(45, 54, 37, 0.11);
}

body.home .market-hero-copy {
  display: flex;
  min-width: 0;
  padding: clamp(44px, 6vw, 92px);
  flex-direction: column;
  justify-content: center;
}

body.home .market-hero-copy h1 {
  max-width: 780px;
  margin: 16px 0 22px;
  color: #2f3828;
  font-size: clamp(40px, 3.5vw, 56px) !important;
  font-weight: 700;
  line-height: 1.02 !important;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

body.home .market-hero-lead {
  max-width: 690px;
  margin: 0;
  color: #69715e;
  font-size: clamp(17px, 1.3vw, 20px) !important;
  line-height: 1.58 !important;
}

body.home .market-hero-actions,
body.home .market-proof-actions,
body.home .clinic-trust-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.home .market-hero-actions {
  margin-top: 34px;
}

body.home .market-button-secondary {
  border: 1px solid rgba(62, 72, 53, 0.24) !important;
  color: #3f4835 !important;
  background: rgba(255, 255, 255, 0.5) !important;
}

body.home .market-button-secondary:hover,
body.home .market-button-secondary:focus-visible {
  border-color: #4f5a42 !important;
  background: #fffbe1 !important;
}

body.home .market-hero-facts {
  display: flex;
  margin: 42px 0 0;
  padding: 22px 0 0;
  align-items: flex-start;
  gap: clamp(18px, 2.2vw, 36px);
  border-top: 1px solid rgba(79, 90, 66, 0.16);
  list-style: none;
}

body.home .market-hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4f5a42;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

body.home .market-hero-facts svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

body.home .market-hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #d8d2bd;
}

body.home .market-hero-visual {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: stretch;
  background: #f5f1df;
}

body.home .market-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 36, 25, 0.04) 45%, rgba(28, 36, 25, 0.42) 100%);
  content: "";
  pointer-events: none;
}

body.home .market-hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Keep the complete circle composition inside the photo on the main hero. */
html[data-theme] body.home .market-hero-media,
html[data-theme="light"] body.home .market-hero-media,
html[data-theme="dark"] body.home .market-hero-media,
body.home .market-hero-media {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  align-self: center !important;
}

html[data-theme] body.home .market-hero-media > img,
html[data-theme="light"] body.home .market-hero-media > img,
html[data-theme="dark"] body.home .market-hero-media > img,
body.home .market-hero-media > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
}

@media (max-width: 680px) {
  html[data-theme] body.home .market-hero-media,
  html[data-theme="light"] body.home .market-hero-media,
  html[data-theme="dark"] body.home .market-hero-media,
  body.home .market-hero-media {
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
}

body.home .market-hero-note {
  position: static;
  z-index: auto;
  display: grid;
  margin: 16px 18px 18px;
  padding: 17px 20px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(79, 90, 66, 0.22);
  border-radius: 16px;
  color: #fffdf0;
  background: #3f4937;
  box-shadow: 0 12px 28px rgba(42, 51, 35, 0.14);
}

body.home .market-hero-note strong {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home .market-hero-note span {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
  line-height: 1.45;
}

body.home .patient-request-section,
body.home .priority-services-section,
body.home .first-visit-section,
body.home .clinic-trust-section {
  padding-top: clamp(76px, 8vw, 126px);
}

body.home .section-heading.compact {
  align-items: end;
  gap: 32px;
}

body.home .section-heading.compact > div > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 14px;
  color: #6d755f;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

body.home .patient-request-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.home .patient-request-card {
  position: relative;
  display: flex;
  min-height: 250px;
  padding: clamp(24px, 2.2vw, 34px);
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(79, 90, 66, 0.16);
  border-radius: 20px;
  color: #343e2d;
  background:
    linear-gradient(145deg, rgba(255, 253, 240, 0.96), rgba(243, 241, 222, 0.82));
  box-shadow:
    inset 0 3px 0 rgba(132, 146, 110, 0.08),
    0 12px 36px rgba(52, 61, 43, 0.055);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

body.home .patient-request-card::before {
  position: absolute;
  right: -54px;
  bottom: -62px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 134, 96, 0.13) 0, rgba(119, 134, 96, 0.045) 48%, transparent 70%);
  content: "";
  pointer-events: none;
}

body.home .patient-request-card::after {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 82px;
  height: 42px;
  background: url("../img/logo-808-inline-black.svg") center / contain no-repeat;
  content: "";
  opacity: 0.11;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

body.home .patient-request-card > * {
  position: relative;
  z-index: 1;
}

body.home .patient-request-card > svg {
  display: none;
}

body.home .patient-request-card > strong {
  max-width: 92%;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

body.home .patient-request-card > span {
  max-width: 92%;
  margin-top: 11px;
  color: #747b69;
  font-size: 15px;
  line-height: 1.55;
}

body.home .patient-request-card > em {
  display: flex;
  margin-top: 24px;
  padding-top: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #4f5a42;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

body.home .patient-request-card > em svg {
  width: 15px;
  height: 15px;
}

body.home .patient-request-card:hover,
body.home .patient-request-card:focus-visible {
  border-color: rgba(79, 90, 66, 0.38);
  background: #fffbe7;
  box-shadow:
    inset 0 3px 0 rgba(132, 146, 110, 0.14),
    0 22px 48px rgba(52, 61, 43, 0.1);
  transform: translateY(-4px);
}

body.home .patient-request-card:hover::after,
body.home .patient-request-card:focus-visible::after {
  opacity: 0.18;
  transform: translateY(-2px) scale(1.025);
}

body.home .start-here-card {
  position: relative;
  display: grid;
  margin-top: 22px;
  padding: clamp(34px, 4.5vw, 62px);
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  border: 1px solid rgba(255, 251, 232, 0.16);
  border-radius: 24px;
  color: #fffbe8;
  background:
    radial-gradient(circle at 88% 18%, rgba(221, 225, 190, 0.16), transparent 34%),
    linear-gradient(135deg, #35402f, #4a573f);
  box-shadow: 0 24px 62px rgba(43, 52, 36, 0.14);
}

body.home .start-here-card::after {
  position: absolute;
  right: clamp(18px, 3vw, 46px);
  bottom: -22px;
  width: clamp(120px, 13vw, 190px);
  height: clamp(64px, 7vw, 100px);
  background: url("../img/logo-808-inline-black.svg") center / contain no-repeat;
  content: "";
  filter: invert(1);
  opacity: 0.045;
  pointer-events: none;
}

body.home .start-here-copy,
body.home .start-here-button {
  position: relative;
  z-index: 1;
}

body.home .start-here-card .eyebrow {
  color: rgba(255, 251, 232, 0.66);
}

body.home .start-here-card h2 {
  max-width: 760px;
  margin: 12px 0 16px;
  color: #fffbe8;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

body.home .start-here-card p:not(.eyebrow) {
  max-width: 880px;
  margin: 0;
  color: rgba(255, 251, 232, 0.78);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
}

body.home .start-here-card p strong {
  color: #fffbe8;
  font-weight: 650;
}

body.home .start-here-card .button-light {
  color: #35402f !important;
  background: #fffbe8 !important;
  white-space: nowrap;
}

@media (max-width: 860px) {
  body.home .start-here-card {
    grid-template-columns: 1fr;
  }

  body.home .start-here-card .button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  body.home .start-here-card {
    margin-top: 16px;
    padding: 30px 22px;
    border-radius: 20px;
  }

  body.home .start-here-card h2 {
    font-size: 29px;
  }
}

body.home .home-split {
  margin-top: clamp(76px, 8vw, 126px);
}

body.home .market-proof-list {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  gap: 18px;
  list-style: none;
}

body.home .market-proof-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  color: #6a725e;
  font-size: 15px;
  line-height: 1.55;
}

body.home .market-proof-list svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #5e6a50;
}

body.home .market-proof-list strong {
  color: #36402f;
  font-weight: 750;
}

body.home .market-proof-actions {
  margin-top: 32px;
}

body.home .priority-services-section {
  scroll-margin-top: 120px;
}

body.home .first-visit-grid {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: none;
  list-style: none;
}

body.home .first-visit-grid li {
  display: flex;
  min-height: 260px;
  padding: clamp(24px, 2.1vw, 34px);
  flex-direction: column;
  border: 1px solid rgba(79, 90, 66, 0.16);
  border-radius: 20px;
  background: #f5f1df;
}

body.home .first-visit-grid li > span {
  color: #9da48d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

body.home .first-visit-grid li > strong {
  margin-top: auto;
  color: #34402d;
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.22;
}

body.home .first-visit-grid li > p {
  margin: 12px 0 0;
  color: #717963;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

body.home .clinic-trust-section {
  display: grid;
  margin-top: clamp(76px, 8vw, 126px);
  padding: clamp(34px, 5vw, 76px);
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: start;
  gap: clamp(40px, 6vw, 94px);
  border-radius: clamp(24px, 2vw, 34px);
  color: #fffbe8;
  background: #46523b;
}

body.home .clinic-trust-section .eyebrow,
body.home .clinic-trust-section h2 {
  color: #fffbe8;
}

body.home .clinic-trust-copy h2 {
  max-width: 660px;
  margin: 14px 0 18px;
  font-size: clamp(30px, 2.8vw, 43px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.032em;
}

body.home .clinic-trust-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 251, 232, 0.76);
  font-size: 16px !important;
  line-height: 1.65 !important;
}

body.home .clinic-trust-actions {
  margin-top: 30px;
}

body.home .clinic-trust-section .button-dark {
  border-color: #fffbe1 !important;
  color: #3f4937 !important;
  background: #fffbe1 !important;
}

body.home .clinic-trust-section .text-link {
  color: #fffbe8 !important;
}

body.home .clinic-trust-badges {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 12px;
}

body.home .clinic-trust-badges > div {
  display: grid;
  padding: 22px 24px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 2px 14px;
  border: 1px solid rgba(255, 251, 232, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

body.home .clinic-trust-badges svg {
  width: 25px;
  height: 25px;
  grid-row: 1 / span 2;
  color: #e2dfbf;
}

body.home .clinic-trust-badges strong {
  color: #fffbe8;
  font-size: 17px;
}

body.home .clinic-trust-badges span {
  color: rgba(255, 251, 232, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

body.home .lead-section {
  margin-top: clamp(76px, 8vw, 126px);
  margin-bottom: clamp(76px, 8vw, 126px);
}

@media (max-width: 1280px) {
  body.home .market-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  }

  body.home .market-hero-copy {
    padding: 54px;
  }

  body.home .market-hero-copy h1 {
    font-size: clamp(38px, 4vw, 52px) !important;
  }

  body.home .market-hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }
}

@media (max-width: 1180px) {
  .primary-nav-list {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .primary-nav-list a {
    display: block;
    width: 100%;
  }

  body.home .market-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  body.home .market-hero-copy {
    padding: clamp(38px, 7vw, 66px);
  }

  body.home .market-hero-media {
    min-height: 560px;
  }

  body.home .patient-request-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .first-visit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .first-visit-grid li {
    min-height: 220px;
  }

  body.home .clinic-trust-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.home .market-hero,
  body.home .section {
    width: min(100% - 24px, 1560px);
  }

  body.home .market-hero {
    margin-top: 12px;
    border-radius: 20px;
  }

  body.home .market-hero-copy {
    padding: 34px 22px 30px;
  }

  body.home .market-hero-copy h1 {
    margin: 12px 0 17px;
    font-size: clamp(32px, 9.3vw, 38px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.042em;
  }

  body.home .market-hero-lead {
    font-size: 16px !important;
  }

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

  body.home .market-hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  body.home .market-hero-facts {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  body.home .market-hero-media {
    min-height: 390px;
  }

  body.home .market-hero-note {
    display: block;
    margin: 12px 12px 14px;
    padding: 16px;
  }

  body.home .market-hero-note span {
    display: block;
    margin-top: 7px;
    padding: 0;
    border: 0;
  }

  body.home .patient-request-section,
  body.home .priority-services-section,
  body.home .first-visit-section,
  body.home .clinic-trust-section {
    padding-top: 66px;
  }

  body.home .patient-request-grid,
  body.home .first-visit-grid {
    grid-template-columns: 1fr;
  }

  body.home .patient-request-card {
    min-height: 224px;
  }

  body.home .patient-request-card > svg {
    display: none;
  }

  body.home .patient-request-card::after {
    right: 16px;
    bottom: 14px;
    width: 72px;
    height: 36px;
  }

  body.home .home-split {
    margin-top: 66px;
  }

  body.home .first-visit-grid li {
    min-height: 200px;
  }

  body.home .clinic-trust-section {
    margin-top: 66px;
    padding: 32px 22px;
    border-radius: 20px;
  }

  body.home .clinic-trust-copy h2 {
    font-size: 29px !important;
  }

  body.home .clinic-trust-actions .button {
    width: 100%;
    justify-content: center;
  }

  body.home .clinic-trust-badges > div {
    padding: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .patient-request-card {
    transition: none;
  }
}

/* Crop the thin black bars embedded in the approach JPEG on wide screens. */
@media (min-width: 861px) {
  .home-split .visual-panel img.approach-photo {
    transform: scale(1.035) !important;
    transform-origin: 50% 50% !important;
  }
}

/* Refined image zoom for service cards on mouse and keyboard interaction. */
@media (hover: hover) and (pointer: fine) {
  .service-card .service-image {
    overflow: hidden !important;
  }

  .service-card .service-image img {
    transform: scale(1) translateZ(0) !important;
    transform-origin: 50% 50% !important;
    transition:
      transform 560ms cubic-bezier(0.22, 0.61, 0.36, 1),
      filter 320ms ease !important;
    will-change: transform;
  }

  .service-card:hover .service-image img,
  .service-card:focus-within .service-image img {
    transform: scale(1.05) translateZ(0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card .service-image img,
  .service-card:hover .service-image img,
  .service-card:focus-within .service-image img {
    transform: none !important;
    transition: filter 180ms ease !important;
    will-change: auto;
  }
}

/* Advertising-readiness: medical warning and first-visit messaging. */
.medical-ad-warning {
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff;
  background: #4f5a42;
  text-align: center;
}

.medical-ad-warning p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(16px, 1.5vw, 20px) !important;
  font-weight: 700;
  line-height: 1.4 !important;
  letter-spacing: 0.01em;
}

.medical-ad-warning-inline {
  margin: 2px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(79, 90, 66, 0.24);
  border-radius: 12px;
  color: #3f4835;
  background: rgba(148, 164, 118, 0.12);
  font-size: 13px !important;
  font-weight: 650;
  line-height: 1.45 !important;
}

.hero-brand-cta .button {
  text-align: center;
}

.hero-brand-subtitle {
  max-width: 430px;
  font-size: clamp(30px, 3.4vw, 46px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em;
}

@media (max-width: 520px) {
  .medical-ad-warning {
    padding: 15px 18px;
  }

  .medical-ad-warning p {
    font-size: 15px !important;
  }

  .hero-brand-subtitle {
    max-width: 290px;
    font-size: 27px !important;
  }
}

/* Keep the square approach photo optically centered inside its mobile crop. */
@media (max-width: 860px) {
  .home-split .visual-panel {
    position: relative !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
  }

  .home-split .visual-panel img.approach-photo {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
  }
}

/* Privacy policy: readable long-form legal typography. */
.page-id-126 .page-hero .eyebrow {
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.11em;
}

.page-id-126 .page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(32px, 3.2vw, 40px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
}

.page-id-126 .page-hero > p:not(.eyebrow) {
  max-width: 840px;
  font-size: clamp(15px, 1.25vw, 17px) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.page-id-126 .legal-text h2 {
  max-width: 900px;
  margin: 32px 0 12px;
  font-size: clamp(21px, 2vw, 25px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
}

.page-id-126 .legal-text p {
  max-width: 920px;
  margin-bottom: 14px;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.page-id-126 .legal-text strong {
  font-weight: 700;
}

.page-id-126 .legal-text a {
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .page-id-126 .page-hero h1 {
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

  .page-id-126 .legal-text h2 {
    margin-top: 28px;
    font-size: 20px !important;
  }

  .page-id-126 .legal-text p {
    font-size: 15px !important;
    line-height: 1.68 !important;
  }
}

/* Site-wide refined type scale. */
body {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.eyebrow,
.section .eyebrow,
.page-hero .eyebrow,
.section-heading .eyebrow,
.split-content .eyebrow,
.manifesto-copy .eyebrow {
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.11em;
}

.service-card h3,
.concept-card h3,
.content-card h3,
.doctor-card h3,
.review-card h3 {
  font-size: clamp(19px, 1.7vw, 23px) !important;
  line-height: 1.24 !important;
  letter-spacing: -0.018em;
}

.concept-card p,
.concept-lead p,
.split-content p,
.content-card p,
.service-card p,
.doctor-card p,
.review-card p {
  font-size: clamp(15px, 1.2vw, 17px) !important;
  line-height: 1.62 !important;
}

.approach-lead,
.home-split .approach-lead,
.split-content .approach-lead,
.home-split .split-content .approach-lead {
  font-size: clamp(18px, 1.65vw, 21px) !important;
  line-height: 1.55 !important;
}

.lead-copy h2,
.lead-form h2 {
  font-size: clamp(30px, 3vw, 38px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em;
}

.lead-copy p,
.lead-form p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.hero-brand-subtitle {
  font-size: clamp(28px, 3vw, 36px) !important;
  line-height: 1.12 !important;
}

.hero-system-copy p {
  font-size: clamp(36px, 4vw, 46px) !important;
  line-height: 1 !important;
}

@media (min-width: 861px) {
  .page-hero h1,
  .page-title,
  .single-hero h1 {
    font-size: clamp(36px, 3.4vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em;
  }

  .section-heading h2,
  .section-title,
  .content-card h2,
  .manifesto-copy h2,
  .split-content h2 {
    font-size: clamp(28px, 2.4vw, 36px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em;
  }

  .concept-section .section-heading h2 {
    font-size: clamp(36px, 3.8vw, 48px) !important;
    line-height: 1.1 !important;
  }

  .concept-lead h3,
  .quote-panel h2 {
    font-size: clamp(30px, 2.8vw, 40px) !important;
    line-height: 1.14 !important;
  }
}

@media (max-width: 860px) {
  .page-hero h1,
  .page-title,
  .single-hero h1 {
    font-size: 32px !important;
    line-height: 1.12 !important;
  }

  .section-heading h2,
  .section-title,
  .content-card h2,
  .manifesto-copy h2,
  .split-content h2 {
    font-size: 27px !important;
    line-height: 1.18 !important;
  }

  .concept-section .section-heading h2 {
    font-size: 34px !important;
  }

  .lead-copy h2,
  .lead-form h2 {
    font-size: 29px !important;
  }

  .service-card h3,
  .concept-card h3,
  .content-card h3,
  .doctor-card h3,
  .review-card h3 {
    font-size: 20px !important;
  }

  .hero-brand-subtitle {
    font-size: 28px !important;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px !important;
  }

  .page-hero h1,
  .page-title,
  .single-hero h1 {
    font-size: 29px !important;
  }

  .section-heading h2,
  .section-title,
  .content-card h2,
  .manifesto-copy h2,
  .split-content h2 {
    font-size: 24px !important;
  }

  .concept-section .section-heading h2 {
    font-size: 30px !important;
  }

  .lead-copy h2,
  .lead-form h2 {
    font-size: 26px !important;
  }

  .concept-card p,
  .concept-lead p,
  .split-content p,
  .content-card p,
  .service-card p,
  .doctor-card p,
  .review-card p {
    font-size: 15px !important;
  }
}

/* Standalone FAQ and contact templates use their own oversized rules. */
.legal-text h2 {
  margin: 32px 0 14px;
  font-size: clamp(22px, 2.1vw, 27px) !important;
  line-height: 1.24 !important;
  letter-spacing: -0.018em;
}

.legal-text p {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.page-id-359 .legal-text p {
  margin-bottom: 20px;
}

.page-id-359 .legal-text p strong:first-child {
  display: block;
  margin-bottom: 3px;
  font-size: 17px;
  line-height: 1.4;
}

.contact-card h2,
.contact-card h3 {
  font-size: clamp(25px, 2.6vw, 33px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em;
}

.contact-card p:not(.eyebrow) {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

@media (max-width: 680px) {
  .legal-text h2 {
    margin-top: 28px;
    font-size: 22px !important;
  }

  .legal-text p {
    font-size: 15px !important;
  }

  .contact-card h2,
  .contact-card h3 {
    font-size: 25px !important;
  }
}

/* Home hero: one calm palette without isolated dark-green blocks. */
@media (min-width: 861px) {
  body.home .hero-brand-stage,
  html[data-theme="light"] body.home .hero-brand-stage,
  html[data-theme="dark"] body.home .hero-brand-stage {
    background: #dedbc4 !important;
  }

  body.home .hero-brand-stage::before,
  html[data-theme="light"] body.home .hero-brand-stage::before,
  html[data-theme="dark"] body.home .hero-brand-stage::before {
    display: block !important;
    background: #dedbc4 !important;
    opacity: 1 !important;
  }

  body.home .hero-brand-stage .hero-system-visual,
  html[data-theme="light"] body.home .hero-brand-stage .hero-system-visual,
  html[data-theme="dark"] body.home .hero-brand-stage .hero-system-visual {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #dedbc4 !important;
  }

  body.home .hero-brand-stage .hero-system-visual img,
  html[data-theme="light"] body.home .hero-brand-stage .hero-system-visual img,
  html[data-theme="dark"] body.home .hero-brand-stage .hero-system-visual img {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  body.home .hero-brand-cta .button {
    border-color: #4f5a42 !important;
    background: #4f5a42 !important;
  }

  html[data-theme] body.home .hero-brand-stage .hero-brand-logo.hero-logo-lockup,
  html[data-theme="light"] body.home .hero-brand-stage .hero-brand-logo.hero-logo-lockup,
  html[data-theme="dark"] body.home .hero-brand-stage .hero-brand-logo.hero-logo-lockup,
  body.home .hero-brand-stage .hero-brand-logo.hero-logo-lockup {
    place-self: end stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 clamp(20px, 1.8vw, 26px) !important;
    padding: clamp(52px, 6vw, 86px) 0 0 !important;
    justify-content: center !important;
  }

  html[data-theme] body.home .hero-brand-stage .hero-brand-logo.hero-logo-lockup img,
  html[data-theme="light"] body.home .hero-brand-stage .hero-brand-logo.hero-logo-lockup img,
  html[data-theme="dark"] body.home .hero-brand-stage .hero-brand-logo.hero-logo-lockup img,
  body.home .hero-brand-stage .hero-brand-logo.hero-logo-lockup img {
    width: clamp(180px, 14.5vw, 210px) !important;
    max-width: 72% !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}

@media (min-width: 1181px) {
  html[data-theme] body .site-header .main-nav,
  html[data-theme="light"] body .site-header .main-nav,
  html[data-theme="dark"] body .site-header .main-nav,
  body .site-header .main-nav {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-theme] body .site-header .main-nav a::after,
  html[data-theme="light"] body .site-header .main-nav a::after,
  html[data-theme="dark"] body .site-header .main-nav a::after,
  body .site-header .main-nav a::after {
    background: rgba(255, 251, 225, 0.78) !important;
  }
}

@media (max-width: 1180px) {
  html[data-theme] body .site-header .main-nav.is-open,
  html[data-theme="light"] body .site-header .main-nav.is-open,
  html[data-theme="dark"] body .site-header .main-nav.is-open,
  body .site-header .main-nav.is-open {
    color: #3f4835 !important;
    background: rgba(255, 251, 225, 0.98) !important;
    box-shadow: 0 18px 48px rgba(41, 50, 32, 0.16) !important;
  }

  html[data-theme] body .site-header .main-nav.is-open a,
  html[data-theme="light"] body .site-header .main-nav.is-open a,
  html[data-theme="dark"] body .site-header .main-nav.is-open a,
  body .site-header .main-nav.is-open a {
    color: #3f4835 !important;
    background: rgba(79, 90, 66, 0.055) !important;
  }

  html[data-theme] body .site-header .main-nav.is-open a::after,
  html[data-theme="light"] body .site-header .main-nav.is-open a::after,
  html[data-theme="dark"] body .site-header .main-nav.is-open a::after,
  body .site-header .main-nav.is-open a::after {
    background: #7b8568 !important;
  }
}

/* Concept cards: original photography with accessible 3D reveal. */
html[data-theme] body.home .concept-card.concept-card--flip,
body.home .concept-card.concept-card--flip {
  position: relative;
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(79, 90, 66, 0.18) !important;
  border-radius: 20px !important;
  background: #f8f5e7 !important;
  box-shadow: 0 18px 46px rgba(52, 61, 43, 0.09);
  isolation: isolate;
  outline: none;
}

body.home .concept-card__inner {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body.home .concept-card__face {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

body.home .concept-card__front {
  min-height: clamp(220px, 46vw, 360px);
  color: #fffbe1;
  background: #4f5a42;
}

body.home .concept-card__front::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(34, 43, 28, 0.08) 22%, rgba(34, 43, 28, 0.82) 100%);
  pointer-events: none;
}

body.home .concept-card__front > img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: inherit;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.home .concept-card__front-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 5px 18px;
  padding: clamp(22px, 3vw, 38px);
}

html[data-theme] body.home .concept-card__front-copy > span,
body.home .concept-card__front-copy > span {
  grid-column: 1 / -1;
  color: rgba(255, 251, 225, 0.76) !important;
  font-size: clamp(32px, 4.5vw, 58px) !important;
  font-weight: 650 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.055em;
}

html[data-theme] body.home .concept-card__front-copy h3,
body.home .concept-card__front-copy h3 {
  margin: 0 !important;
  color: #fffbe1 !important;
  font-size: clamp(24px, 2.4vw, 34px) !important;
  font-weight: 720 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
}

body.home .concept-card__front-copy small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 251, 225, 0.88);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home .concept-card__front-copy small::after {
  content: "↗";
  font-size: 15px;
}

html[data-theme] body.home .concept-card__back,
body.home .concept-card__back {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4.2vw, 58px) !important;
  color: #26301f !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(180, 173, 125, 0.20), transparent 32%),
    linear-gradient(145deg, #fffbe9 0%, #f1eedc 100%) !important;
}

html[data-theme] body.home .concept-card__back > span,
body.home .concept-card__back > span {
  display: block;
  margin: 0 0 clamp(22px, 3vw, 36px) !important;
  color: #aaa57c !important;
  font-size: clamp(48px, 6.2vw, 82px) !important;
  font-weight: 680 !important;
  line-height: 0.82 !important;
  letter-spacing: -0.065em;
}

body.home .concept-card__back > strong {
  display: block;
  margin: 0;
  color: #26301f;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

html[data-theme] body.home .concept-card__back > p,
body.home .concept-card__back > p {
  max-width: 680px;
  margin: 16px 0 0 !important;
  color: #66705b !important;
  font-size: clamp(15px, 1.32vw, 18px) !important;
  line-height: 1.58 !important;
}

@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  html[data-theme] body.home .concept-card.concept-card--flip,
  body.home .concept-card.concept-card--flip {
    aspect-ratio: 1.58;
    min-height: 300px !important;
    overflow: visible;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none;
    perspective: 1300px;
  }

  body.home .concept-card--flip .concept-card__inner {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 760ms cubic-bezier(0.2, 0.75, 0.25, 1);
  }

  body.home .concept-card--flip .concept-card__face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(79, 90, 66, 0.18);
    border-radius: 20px;
    box-shadow: 0 18px 46px rgba(52, 61, 43, 0.10);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  body.home .concept-card--flip .concept-card__front {
    min-height: 0;
    transform: rotateY(0deg);
  }

  body.home .concept-card--flip .concept-card__back {
    transform: rotateY(180deg);
  }

  body.home .concept-card--flip:hover .concept-card__inner,
  body.home .concept-card--flip:focus .concept-card__inner,
  body.home .concept-card--flip:focus-visible .concept-card__inner {
    transform: rotateY(180deg);
  }

  body.home .concept-card--flip:hover .concept-card__front > img,
  body.home .concept-card--flip:focus .concept-card__front > img,
  body.home .concept-card--flip:focus-visible .concept-card__front > img {
    transform: scale(1.04);
  }

  body.home .concept-card--flip:focus-visible::after {
    position: absolute;
    inset: -5px;
    z-index: 3;
    border: 2px solid rgba(79, 90, 66, 0.7);
    border-radius: 24px;
    content: "";
    pointer-events: none;
  }
}

@media (max-width: 860px), (hover: none), (pointer: coarse) {
  body.home .concept-card--flip .concept-card__front-copy {
    padding: 24px;
  }

  body.home .concept-card--flip .concept-card__front-copy small {
    display: none;
  }

  body.home .concept-card--flip .concept-card__back > span {
    display: none !important;
  }

  body.home .concept-card--flip .concept-card__back > strong {
    display: none !important;
  }

  body.home .concept-card--flip .concept-card__back {
    min-height: 0;
    padding: 24px !important;
  }

  body.home .concept-card--flip .concept-card__back > p {
    margin-top: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .concept-card--flip .concept-card__inner,
  body.home .concept-card__front > img {
    transition-duration: 1ms !important;
  }
}

/* Footer address and always-visible Yandex map. */
.footer-map-head {
  gap: 8px !important;
}

.footer-map-head > span {
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  opacity: 0.72;
}

.footer-map-head > strong {
  max-width: 620px;
  font-size: clamp(18px, 1.45vw, 23px) !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.012em !important;
  text-wrap: balance;
}

.footer-map-box.footer-map-box-live {
  position: relative;
  display: block !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 251, 225, 0.28) !important;
  border-radius: 18px !important;
  background: #dedbc4 !important;
  box-shadow: 0 18px 46px rgba(31, 40, 27, 0.18);
}

.footer-map-frame {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: clamp(300px, 30vw, 430px);
  border: 0;
}

.footer-map-route {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(79, 90, 66, 0.12);
  border-radius: 12px;
  color: #3f4835 !important;
  background: rgba(255, 251, 225, 0.96);
  box-shadow: 0 10px 28px rgba(41, 50, 32, 0.18);
  font-size: 14px !important;
  font-weight: 750;
  line-height: 1.2 !important;
  text-decoration: none;
}

html[data-theme] body .site-footer a.footer-map-route,
html[data-theme="light"] body .site-footer a.footer-map-route,
html[data-theme="dark"] body .site-footer a.footer-map-route,
body .site-footer a.footer-map-route {
  color: #3f4835 !important;
  background: rgba(255, 251, 225, 0.96) !important;
}

.footer-map-route:hover,
.footer-map-route:focus-visible,
html[data-theme] body .site-footer a.footer-map-route:hover,
html[data-theme] body .site-footer a.footer-map-route:focus-visible {
  color: #fffbe1 !important;
  background: #4f5a42 !important;
}

.footer-map-route svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 680px) {
  .footer-map-head > strong {
    max-width: 330px;
    font-size: 18px !important;
    line-height: 1.4 !important;
    text-wrap: pretty;
  }

  .footer-map-frame {
    height: 310px;
  }

  .footer-map-route {
    right: 10px;
    bottom: 10px;
    min-height: 42px;
    padding: 9px 13px;
    font-size: 13px !important;
  }
}

/* Trust section: render immediately and keep its intended dark surface. */
html[data-theme] body.home section.section.clinic-trust-section,
html[data-theme="light"] body.home section.section.clinic-trust-section,
html[data-theme="dark"] body.home section.section.clinic-trust-section,
body.home section.section.clinic-trust-section {
  min-height: 0 !important;
  height: auto !important;
  padding: clamp(38px, 5vw, 72px) !important;
  overflow: hidden !important;
  grid-template-rows: auto !important;
  color: #fffbe8 !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(219, 222, 187, 0.13), transparent 38%),
    #46523b !important;
  content-visibility: visible !important;
  contain: layout paint style !important;
  contain-intrinsic-size: auto !important;
  box-shadow: 0 28px 72px rgba(45, 54, 37, 0.15) !important;
}

html[data-theme] body.home .clinic-trust-section .eyebrow,
html[data-theme] body.home .clinic-trust-section h2,
html[data-theme="light"] body.home .clinic-trust-section .eyebrow,
html[data-theme="light"] body.home .clinic-trust-section h2,
body.home .clinic-trust-section .eyebrow,
body.home .clinic-trust-section h2 {
  color: #fffbe8 !important;
}

html[data-theme] body.home .clinic-trust-section .clinic-trust-copy > p:not(.eyebrow),
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-copy > p:not(.eyebrow),
body.home .clinic-trust-section .clinic-trust-copy > p:not(.eyebrow) {
  color: rgba(255, 251, 232, 0.76) !important;
}

html[data-theme] body.home .clinic-trust-section .clinic-trust-badges > div,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges > div,
body.home .clinic-trust-section .clinic-trust-badges > div {
  border-color: rgba(255, 251, 232, 0.17) !important;
  background: rgba(255, 255, 255, 0.065) !important;
}

html[data-theme] body.home .clinic-trust-section .clinic-trust-badges strong,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges strong,
body.home .clinic-trust-section .clinic-trust-badges strong {
  color: #fffbe8 !important;
}

html[data-theme] body.home .clinic-trust-section .clinic-trust-badges span,
html[data-theme="light"] body.home .clinic-trust-section .clinic-trust-badges span,
body.home .clinic-trust-section .clinic-trust-badges span {
  color: rgba(255, 251, 232, 0.7) !important;
}

@media (max-width: 680px) {
  html[data-theme] body.home section.section.clinic-trust-section,
  html[data-theme="light"] body.home section.section.clinic-trust-section,
  html[data-theme="dark"] body.home section.section.clinic-trust-section,
  body.home section.section.clinic-trust-section {
    padding: 32px 22px !important;
  }
}

/* Restore the original consultation photo in the "Why 8.0.8" section. */
html[data-theme] body.home .home-split .visual-panel,
html[data-theme="light"] body.home .home-split .visual-panel,
html[data-theme="dark"] body.home .home-split .visual-panel,
body.home .home-split .visual-panel {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  align-self: center !important;
  background: #f5f1df !important;
}

html[data-theme] body.home .home-split .visual-panel img.approach-photo,
html[data-theme="light"] body.home .home-split .visual-panel img.approach-photo,
html[data-theme="dark"] body.home .home-split .visual-panel img.approach-photo,
body.home .home-split .visual-panel img.approach-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform: none !important;
}

@media (max-width: 980px) {
  html[data-theme] body.home .home-split .visual-panel,
  html[data-theme="light"] body.home .home-split .visual-panel,
  html[data-theme="dark"] body.home .home-split .visual-panel,
  body.home .home-split .visual-panel {
    aspect-ratio: 1 / 1 !important;
    align-self: start !important;
  }
}

/* The expanded "Why 8.0.8" copy must define the section height instead of being clipped. */
html[data-theme] body.home section.home-split,
html[data-theme="light"] body.home section.home-split,
html[data-theme="dark"] body.home section.home-split,
body.home section.home-split {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  grid-template-rows: auto !important;
  content-visibility: visible !important;
  contain: none !important;
}

html[data-theme] body.home .home-split .split-content,
html[data-theme="light"] body.home .home-split .split-content,
html[data-theme="dark"] body.home .home-split .split-content,
body.home .home-split .split-content {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  justify-content: flex-start !important;
}

html[data-theme] body.home .home-split .split-content h2,
body.home .home-split .split-content h2 {
  font-size: clamp(29px, 2.7vw, 38px) !important;
}

html[data-theme] body.home .home-split .approach-intro .approach-lead,
body.home .home-split .approach-intro .approach-lead {
  font-size: clamp(15px, 1.2vw, 17px) !important;
  line-height: 1.58 !important;
}

html[data-theme] body.home .home-split .approach-benefits h3,
body.home .home-split .approach-benefits h3 {
  font-size: 15px !important;
  line-height: 1.25 !important;
}

html[data-theme] body.home .home-split .approach-benefits p,
body.home .home-split .approach-benefits p {
  font-size: 13px !important;
  line-height: 1.48 !important;
}

/* Keep detailed direction copy visible immediately after the introduction. */
.direction-page .direction-hero {
  margin-bottom: 22px !important;
}

.direction-page .direction-content-band {
  padding-top: 0 !important;
  scroll-margin-top: 108px;
}

.direction-page .direction-detail-card {
  min-height: 0 !important;
  padding: clamp(28px, 2.7vw, 40px) !important;
  content-visibility: visible !important;
  contain: none !important;
}

.direction-page .direction-card-number {
  position: static;
  display: block;
  margin: 0 0 18px !important;
  font-size: clamp(40px, 3.2vw, 56px) !important;
  opacity: 0.62;
  pointer-events: none;
}

.direction-page .direction-detail-card h2 {
  min-height: 0;
  margin: 0 0 20px !important;
  padding-right: 0;
}

@media (max-width: 680px) {
  .direction-page .direction-hero {
    margin-bottom: 14px !important;
  }

  .direction-page .direction-card-number {
    margin-bottom: 15px !important;
    font-size: 38px !important;
  }

  .direction-page .direction-detail-card h2 {
    min-height: 0;
    padding-right: 0;
  }
}

/* Full direction copy expands inside each homepage request card. */
body.home details.patient-request-card {
  display: block;
  padding: 0;
}

body.home details.patient-request-card[open] {
  grid-column: 1 / -1;
  transform: none;
}

body.home .patient-request-summary {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 250px;
  padding: clamp(24px, 2.2vw, 34px);
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  text-align: center;
}

body.home .patient-request-summary::-webkit-details-marker {
  display: none;
}

body.home .patient-request-number {
  margin-bottom: 18px;
  color: rgba(79, 90, 66, 0.36);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 750;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

body.home .patient-request-summary > strong {
  max-width: 92%;
  color: #343e2d;
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

body.home .patient-request-short {
  max-width: 92%;
  margin-top: 11px;
  color: #747b69;
  font-size: 15px;
  line-height: 1.55;
}

body.home .patient-request-summary > em {
  display: flex;
  margin-top: 24px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #4f5a42;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

body.home .patient-request-summary > em svg {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

body.home details.patient-request-card[open] .patient-request-summary {
  min-height: 0;
  padding-bottom: 28px;
  align-items: flex-start;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(79, 90, 66, 0.14);
  text-align: left;
}

body.home details.patient-request-card[open] .patient-request-summary > strong,
body.home details.patient-request-card[open] .patient-request-short {
  max-width: 980px;
}

body.home details.patient-request-card[open] .patient-request-summary > em svg {
  transform: rotate(180deg);
}

body.home .patient-request-full {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3.5vw, 52px);
  text-align: left;
}

body.home .patient-request-intro {
  max-width: 1040px;
  margin: 0;
  color: #626b57;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

body.home .patient-request-detail-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.home .patient-request-detail-grid section {
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid rgba(79, 90, 66, 0.14);
  border-radius: 18px;
  background: rgba(255, 253, 240, 0.62);
}

body.home .patient-request-detail-grid h3 {
  margin: 0 0 18px;
  color: #30392a;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.2;
}

body.home .patient-request-detail-grid ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 11px;
  list-style: none;
}

body.home .patient-request-detail-grid li {
  position: relative;
  padding-left: 20px;
  color: #68705e;
  font-size: 15px;
  line-height: 1.5;
}

body.home .patient-request-detail-grid li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c896b;
  content: "";
}

body.home .patient-request-result {
  display: grid;
  margin-top: 20px;
  padding: clamp(24px, 3vw, 38px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-radius: 18px;
  color: #fffbe8;
  background: linear-gradient(135deg, #35402f, #4b5740);
}

body.home .patient-request-result div > span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 251, 232, 0.66);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.home .patient-request-result div > strong {
  display: block;
  max-width: 880px;
  color: #fffbe8;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.38;
}

body.home .patient-request-result .button-dark {
  color: #35402f !important;
  background: #fffbe8 !important;
  white-space: nowrap;
}

@media (max-width: 900px) {
  body.home .patient-request-detail-grid {
    grid-template-columns: 1fr;
  }

  body.home .patient-request-result {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.home .patient-request-summary {
    min-height: 224px;
  }

  body.home .patient-request-full {
    padding: 24px 20px;
  }

  body.home .patient-request-result .button {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    white-space: normal;
  }
}

/* Personal data controls — 2026-09-12 */
.cookie-notice[hidden] { display:none !important; }
.cookie-notice { z-index:10000; max-height:70vh; overflow:auto; }
.cookie-notice-actions { display:flex; flex-wrap:wrap; gap:10px; }
.cookie-notice-actions .button { white-space:normal; min-height:44px; }
.cookie-settings-link { background:none; border:0; padding:0; color:inherit; font:inherit; text-align:left; cursor:pointer; text-decoration:underline; }
.footer-map-box.map-placeholder { padding:18px; display:flex; flex-direction:column; gap:12px; justify-content:center; }
.footer-map-box.map-placeholder p { font-size:13px; line-height:1.5; margin:0; }
.lead-form .form-note { grid-column:1/-1; }
.modal-card { max-height:90dvh; overflow-y:auto; }
@media (max-width:600px) { .cookie-notice { left:12px; right:12px; bottom:12px; width:auto; max-width:none; padding:18px; } .cookie-notice-actions .button { flex:1 1 140px; } }
.cookie-notice:not([hidden]) { display:grid !important; grid-template-columns:1fr; }

.cookie-notice:not([hidden]) { background:#4f5a42; color:#fffbe1; }
.cookie-notice p { color:#fffbe1; }

/* Readability adjustments from the September 2026 mobile audit. */
.home main .eyebrow,
.home .market-hero-lead,
.home .first-visit-grid li > span,
.home .first-visit-grid li > p { color: #46543b !important; }
.site-footer .footer-group summary,
.site-footer .footer-map-head > span { color: #fffbe1 !important; opacity: 1; }
html body footer.site-footer .footer-quicklinks a { color: #27301f !important; }
