:root {
  color-scheme: light dark;
  --page: #fff9f5;
  --surface: #fffdfb;
  --surface-soft: #f4eee9;
  --peach: #f2cbb9;
  --peach-soft: #fae7dd;
  --ink: #18342f;
  --ink-soft: #415f59;
  --muted: #5c716c;
  --accent: #17685a;
  --accent-hover: #0f564a;
  --accent-ink: #f8fffd;
  --line: rgba(24, 52, 47, 0.16);
  --shadow: rgba(67, 48, 38, 0.12);
  --font: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --max: 74rem;
  --radius: 1.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 4px;
  border-radius: 0.3rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  color: var(--accent-ink);
  background: var(--accent);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main > section,
.site-footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 7.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 11rem;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.site-nav > a:not(.button) {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 620;
  text-decoration: none;
}

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

.button {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 0.65rem 1.7rem rgba(23, 104, 90, 0.18);
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.button:hover {
  color: var(--accent-ink);
  background: var(--accent-hover);
  box-shadow: 0 0.85rem 2rem rgba(23, 104, 90, 0.24);
  transform: translateY(-2px);
}

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

.button-small {
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  box-shadow: none;
}

.hero {
  min-height: calc(100dvh - 7.75rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3rem, 7vh, 5.5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.3rem, 6.5vw, 5.75rem);
  font-weight: 680;
  letter-spacing: -0.062em;
  line-height: 0.96;
}

.hero-lede {
  max-width: 30rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.hero-actions p {
  max-width: 18rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hero-actions strong {
  color: var(--ink);
}

.care-visual {
  position: relative;
  min-height: clamp(31rem, 67vh, 39rem);
  isolation: isolate;
}

.visual-field,
.organic-shape {
  position: absolute;
}

.visual-field {
  inset: 3% 0;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.2), transparent 28%),
    var(--peach-soft);
  box-shadow: 0 1.8rem 5rem var(--shadow);
}

.visual-field::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 56%;
  height: 46%;
  top: 27%;
  left: 22%;
  border: 1px solid var(--line);
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(-8deg);
}

.visual-field::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(var(--accent) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at 52% 50%, #000, transparent 64%);
}

.organic-shape {
  filter: saturate(0.85);
}

.shape-one {
  width: 27rem;
  height: 25rem;
  top: -7.5rem;
  right: -7rem;
  border-radius: 43% 57% 62% 38% / 49% 41% 59% 51%;
  background: var(--peach);
  transform: rotate(12deg);
}

.shape-two {
  width: 25rem;
  height: 22rem;
  bottom: -8rem;
  left: -6rem;
  border-radius: 58% 42% 44% 56% / 53% 61% 39% 47%;
  background: #c7ddd6;
  transform: rotate(-9deg);
}

.shape-three {
  width: 19rem;
  height: 13rem;
  top: 35%;
  left: 20%;
  border-radius: 48% 52% 37% 63% / 58% 41% 59% 42%;
  background: var(--surface-soft);
  opacity: 0.7;
  transform: rotate(-14deg);
}

.care-node,
.care-center {
  position: absolute;
  z-index: 2;
  border-radius: var(--radius);
}

.care-node {
  width: min(13rem, 42%);
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow:
    0 1rem 2.6rem var(--shadow),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.care-node p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}

.node-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem 1rem 1rem 0.4rem;
  color: var(--accent);
  background: var(--surface-soft);
  font-size: 0.72rem;
  font-weight: 750;
}

.node-patient {
  top: 8%;
  left: -2%;
}

.node-practice {
  right: -2%;
  bottom: 8%;
}

.care-center {
  top: 50%;
  left: 50%;
  width: min(16rem, 48%);
  padding: 1.7rem;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow:
    0 1.4rem 3.5rem rgba(23, 104, 90, 0.3),
    inset 0 1px rgba(248, 255, 253, 0.2);
  transform: translate(-50%, -50%);
}

.care-center-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  margin-bottom: 2.4rem;
  border: 1px solid rgba(248, 255, 253, 0.38);
  border-radius: 0.85rem 0.85rem 0.85rem 0.35rem;
  font-weight: 750;
}

.care-center strong,
.care-center > span:last-child {
  display: block;
}

.care-center strong {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.care-center > span:last-child {
  color: rgba(248, 255, 253, 0.76);
  font-size: 0.76rem;
}

.belief-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  padding-block: clamp(6rem, 10vw, 9rem);
}

.belief-intro h2,
.solution-heading h2,
.values-title h2,
.access-copy h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 4.6vw, 4.25rem);
  font-weight: 670;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.belief-intro p,
.solution-heading > p:last-child,
.values-title p,
.access-copy > p {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.belief-statement {
  padding-left: clamp(0rem, 3vw, 3rem);
}

.belief-statement > p {
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.05em;
}

.belief-statement blockquote {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 630;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.solution-section {
  padding: clamp(4.5rem, 8vw, 7.5rem);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.solution-heading {
  max-width: 42rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.audience-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: stretch;
}

.audience-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5rem;
  min-height: 24rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: var(--radius);
}

.practice-panel {
  color: var(--accent-ink);
  background: var(--accent);
}

.patient-panel {
  border: 1px solid var(--line);
  background: var(--surface);
}

.panel-letter {
  width: 3.3rem;
  height: 3.3rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 760;
  opacity: 0.8;
}

.audience-panel h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.audience-panel p {
  max-width: 29rem;
  margin: 0;
  line-height: 1.55;
}

.practice-panel p {
  color: rgba(248, 255, 253, 0.78);
}

.patient-panel p {
  color: var(--muted);
}

.values-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(6rem, 10vw, 9rem);
}

.values-title {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.values-list,
.access-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.values-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding-block: 2.1rem;
  border-bottom: 1px solid var(--line);
}

.values-list li:first-child {
  padding-top: 0;
}

.value-number {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.values-list h3,
.access-steps h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.values-list p {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
}

.access-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 7rem);
  margin-bottom: clamp(5rem, 9vw, 8rem);
  padding: clamp(3rem, 7vw, 6rem);
  border-radius: var(--radius);
  color: var(--accent-ink);
  background: var(--accent);
}

.access-copy > p {
  margin-bottom: 2rem;
  color: rgba(248, 255, 253, 0.76);
}

.button-light {
  color: var(--accent);
  background: var(--surface);
  box-shadow: none;
}

.button-light:hover {
  color: var(--accent-hover);
  background: var(--peach-soft);
}

.access-steps {
  display: grid;
  gap: 0.75rem;
}

.access-steps li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.1rem;
  padding: 1.25rem;
  border: 1px solid rgba(248, 255, 253, 0.18);
  border-radius: 1rem;
  background: rgba(248, 255, 253, 0.07);
}

.access-steps > li > span {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--peach-soft);
  font-size: 0.78rem;
  font-weight: 760;
}

.access-steps h3 {
  margin-bottom: 0.2rem;
}

.access-steps p {
  margin: 0;
  color: rgba(248, 255, 253, 0.72);
  font-size: 0.9rem;
}

.site-footer {
  min-height: 9rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--ink);
  font-weight: 680;
}

.footer-logo .brand-logo {
  width: 10rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 680ms var(--ease),
    transform 680ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
  }

  .hero-copy {
    max-width: 40rem;
  }

  .care-visual {
    min-height: 34rem;
  }

  .belief-section,
  .values-section,
  .access-section {
    grid-template-columns: 1fr;
  }

  .belief-statement {
    max-width: 36rem;
    padding-left: 0;
  }

  .values-title {
    position: static;
  }

  .access-copy {
    max-width: 40rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding-block: 2.5rem;
  }

  .site-footer p {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header,
  main > section,
  .site-footer {
    width: min(calc(100% - 2rem), var(--max));
  }

  .site-nav > a:not(.button) {
    display: none;
  }

  .site-header {
    min-height: 6.75rem;
    gap: 1rem;
  }

  .brand-logo {
    width: 9rem;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem 5rem;
  }

  h1 {
    font-size: clamp(2.6rem, 12.7vw, 4.25rem);
  }

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

  .care-visual {
    min-height: 29rem;
  }

  .care-node {
    width: 44%;
    padding: 0.8rem;
  }

  .node-patient {
    left: 2%;
  }

  .node-practice {
    right: 2%;
  }

  .care-center {
    width: 56%;
    padding: 1.3rem;
  }

  .care-center-mark {
    margin-bottom: 2rem;
  }

  .belief-section,
  .values-section {
    gap: 2.5rem;
    padding-block: 5rem;
  }

  .solution-section,
  .access-section {
    width: 100%;
    border-radius: 0;
    padding: 4.5rem 1rem;
  }

  .solution-heading,
  .audience-layout,
  .access-copy,
  .access-steps {
    width: min(calc(100% - 1rem), var(--max));
    margin-inline: auto;
  }

  .audience-layout {
    grid-template-columns: 1fr;
  }

  .audience-panel {
    min-height: 20rem;
    gap: 3rem;
  }

  .values-list li {
    grid-template-columns: 2rem 1fr;
    gap: 0.85rem;
  }

  .access-section {
    gap: 2.5rem;
    margin-bottom: 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #12211e;
    --surface: #1a2c28;
    --surface-soft: #22342f;
    --peach: #d99e84;
    --peach-soft: #3e302b;
    --ink: #eff8f5;
    --ink-soft: #c7d8d3;
    --muted: #a9bdb7;
    --accent: #70b8a8;
    --accent-hover: #91c9bc;
    --accent-ink: #10231f;
    --line: rgba(239, 248, 245, 0.15);
    --shadow: rgba(3, 12, 10, 0.28);
  }

  .shape-two {
    background: #31534c;
  }

  .practice-panel,
  .access-section,
  .care-center {
    color: #10231f;
  }

  .practice-panel p,
  .care-center > span:last-child {
    color: rgba(16, 35, 31, 0.75);
  }

  .access-copy > p,
  .access-steps p {
    color: #17352f;
  }

  .access-steps li {
    border-color: rgba(16, 35, 31, 0.2);
    background: rgba(248, 255, 253, 0.3);
  }

  .access-steps > li > span {
    color: #f8fffd;
    background: #17352f;
  }

  .button-light {
    color: #f8fffd;
    background: #17352f;
  }

  .button-light:hover {
    color: #f8fffd;
    background: #244a42;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
