:root {
  --sky: #eef6f8;
  --horizon: #cfe7ed;
  --cloud: #ffffff;
  --ink: #0e161a;
  --mist: #5b6c73;
  --soft: #f5f9fa;
  --edge: #dce8eb;
  --blue: #1f7f9d;
  --teal: #3aa6a3;
  --citrus: #d97d4d;
  --shadow: 0 1px 2px rgba(14, 22, 26, 0.05), 0 24px 60px -36px rgba(14, 22, 26, 0.32);
  --shadow-soft: 0 1px 2px rgba(14, 22, 26, 0.04), 0 18px 42px -32px rgba(14, 22, 26, 0.24);
  --radius: 28px;
  --radius-sm: 14px;
  --container: 1180px;
  --pad: clamp(20px, 4vw, 36px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.95) 0 16%, transparent 28%),
    radial-gradient(circle at 82% 2%, rgba(255, 255, 255, 0.86) 0 14%, transparent 24%),
    linear-gradient(180deg, var(--horizon) 0, var(--sky) 34%, #fff 100%);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(31, 127, 157, 0.32);
  outline-offset: 3px;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.concept-bar {
  width: 100%;
  padding: 9px 18px;
  text-align: center;
  background: var(--ink);
  color: var(--cloud);
  font-size: 13px;
}

.site-header,
.container {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 232, 235, 0.88);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--mist);
  font-weight: 600;
  font-size: 14px;
}

.site-nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.site-nav .nav-cta {
  background: var(--ink);
  color: var(--cloud);
  padding-inline: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: var(--cloud);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.section-pad {
  padding-block: clamp(64px, 8vw, 96px);
}

.section-pad.compact {
  padding-block: clamp(48px, 6vw, 72px);
}

.hero {
  padding-top: clamp(42px, 6vw, 78px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 7vw, 82px);
}

h1 em {
  color: var(--mist);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h2 {
  font-size: clamp(34px, 5vw, 52px);
}

h3 {
  font-size: 21px;
}

.hero-lede {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--mist);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions,
.action-panel,
.owner-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: var(--cloud);
}

.button.secondary {
  background: var(--cloud);
  border-color: var(--edge);
  color: var(--ink);
}

.hero-media,
.doctor-media,
.new-patient-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cloud);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
}

.patient-path {
  margin-top: clamp(38px, 6vw, 68px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--edge);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.patient-path a {
  min-height: 132px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 24px;
  background: var(--cloud);
  border: 1px solid transparent;
}

.patient-path a:hover {
  border-color: var(--edge);
}

.path-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #eaf6f8;
}

.patient-path strong {
  font-size: 18px;
}

.patient-path span:last-child,
.trust-item p,
.service-card p,
.doctor-copy p,
.process-grid p,
.action-panel p,
.new-patient-copy p,
.community p,
.owner-panel p,
.site-footer p {
  color: var(--mist);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.section-heading.split > div {
  max-width: 760px;
}

.text-link {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

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

.trust-item,
.process-grid article {
  padding: 24px;
  background: var(--cloud);
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.trust-item span {
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.trust-item strong {
  display: block;
  margin-top: 8px;
  font-size: 19px;
}

.trust-item p {
  margin: 8px 0 0;
  font-size: 14px;
}

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

.service-card {
  overflow: hidden;
  background: var(--cloud);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card p {
  min-height: 74px;
  margin: 12px 0 18px;
}

.service-card a {
  color: var(--blue);
  font-weight: 700;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.service-list li {
  padding: 9px 14px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--cloud);
  color: var(--mist);
  font-weight: 700;
}

.doctor-grid,
.new-patient-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}

.doctor-media img,
.new-patient-media img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
}

.doctor-copy p {
  font-size: 18px;
}

.doctor-copy .button {
  margin-top: 10px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cloud);
  font-weight: 800;
}

.action-panel,
.owner-panel,
.community-panel {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--cloud);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.action-panel,
.owner-panel {
  justify-content: space-between;
}

.action-panel > div,
.owner-panel > div {
  max-width: 710px;
}

.new-patient-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

details {
  background: var(--cloud);
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.community-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 220px minmax(220px, 0.65fr);
  gap: 28px;
  align-items: center;
}

.partner {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 24px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.community-links {
  display: grid;
  gap: 10px;
}

.community-links a {
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--mist);
  font-weight: 700;
}

.owner-cta {
  padding-top: 0;
}

.site-footer {
  padding: 48px 0;
  background: var(--ink);
  color: var(--cloud);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.5fr 0.75fr;
  gap: 34px;
}

.footer-logo {
  width: 180px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--cloud);
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% - 6px) 0 auto auto;
    width: min(360px, 100%);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .hero-grid,
  .doctor-grid,
  .new-patient-grid,
  .community-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .patient-path,
  .trust-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.split {
    display: block;
  }

  .text-link {
    display: inline-flex;
    margin-top: 18px;
  }

  .community-panel {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 158px;
  }

  .section-pad {
    padding-block: 56px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .hero-actions,
  .action-panel,
  .owner-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .patient-path,
  .trust-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .patient-path {
    border-radius: 24px;
  }

  .patient-path a {
    min-height: auto;
  }

  .service-card p {
    min-height: auto;
  }

  .footer-grid {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
