:root {
  --teal-950: #073c3a;
  --teal-800: #0b5a55;
  --teal-700: #0b6b63;
  --teal-600: #148579;
  --teal-200: #9fe3cf;
  --teal-100: #d7f5eb;
  --teal-50: #eefbf7;
  --navy-950: #10242e;
  --navy-700: #334f5d;
  --navy-500: #617783;
  --line: #d9e5e8;
  --paper: #fff;
  --mist: #f5f9f8;
  --coral: #e36c53;
  --coral-soft: #fff0eb;
  --gold: #f3c969;
  --shadow: 0 24px 70px rgb(16 36 46 / 12%);
  --radius-sm: .75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --content: 74rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-950);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal-700);
  text-underline-offset: .18em;
}

a:hover {
  color: var(--teal-950);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: .25rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: .75rem auto auto .75rem;
  padding: .7rem 1rem;
  color: var(--paper);
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(217 229 232 / 80%);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(16px);
}

.header-row {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy-950);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
}

.brand span {
  color: var(--teal-700);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-inline-start: auto;
}

.desktop-nav a,
.mobile-nav a {
  padding: .65rem .8rem;
  color: var(--navy-700);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: .65rem;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--teal-800);
  background: var(--teal-50);
}

.header-action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  color: var(--paper);
  background: var(--teal-700);
  border-radius: .75rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 20px rgb(11 107 99 / 18%);
}

.header-action:hover {
  color: var(--paper);
  background: var(--teal-800);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4.5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 82% 18%, rgb(159 227 207 / 46%), transparent 24rem),
    linear-gradient(145deg, #fff 24%, var(--teal-50) 100%);
}

.hero::after {
  position: absolute;
  width: 19rem;
  height: 19rem;
  right: -8rem;
  bottom: -9rem;
  border: 3rem solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: var(--teal-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 2px;
  background: var(--teal-600);
  content: "";
}

h1,
h2,
h3 {
  margin-block-start: 0;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  max-width: 13ch;
  margin-block-end: 1.35rem;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
}

.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

h2 {
  margin-block-end: 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  margin-block-end: .65rem;
  font-size: 1.2rem;
}

.lead {
  max-width: 42rem;
  margin: 0;
  color: var(--navy-700);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .85rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--paper);
  background: var(--teal-700);
  box-shadow: 0 12px 28px rgb(11 107 99 / 20%);
}

.button-primary:hover {
  color: var(--paper);
  background: var(--teal-800);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--teal-800);
  background: var(--paper);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--teal-50);
  border-color: var(--teal-200);
}

.hero-note {
  margin-top: 1.35rem;
  color: var(--navy-500);
  font-size: .9rem;
}

.care-map {
  position: relative;
  min-height: 30rem;
}

.care-card {
  position: absolute;
  width: min(21rem, 78%);
  padding: 1.35rem;
  border: 1px solid rgb(217 229 232 / 80%);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 94%);
  box-shadow: var(--shadow);
}

.care-card p {
  margin: .35rem 0 0;
  color: var(--navy-700);
  font-size: .93rem;
}

.care-card strong {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.care-card strong::before {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--teal-800);
  background: var(--teal-100);
  border-radius: .6rem;
  content: "✓";
}

.care-card:nth-child(1) {
  top: 0;
  left: 3%;
  transform: rotate(-2deg);
}

.care-card:nth-child(2) {
  z-index: 2;
  top: 9.5rem;
  right: 0;
  transform: rotate(2deg);
}

.care-card:nth-child(3) {
  bottom: 0;
  left: 11%;
  transform: rotate(-1deg);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-tint {
  background: var(--mist);
}

.section-dark {
  color: var(--paper);
  background: var(--navy-950);
}

.section-dark .lead,
.section-dark .card p {
  color: #c9d9df;
}

.section-heading {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

.section-heading p {
  max-width: 42rem;
  margin: 0;
  color: var(--navy-700);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.card p {
  margin: 0;
  color: var(--navy-700);
}

.card-number {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.35rem;
  place-items: center;
  color: var(--teal-950);
  background: var(--teal-100);
  border-radius: .8rem;
  font-size: .9rem;
  font-weight: 850;
}

.card-coral .card-number {
  color: #8e311f;
  background: var(--coral-soft);
}

.feature-list {
  display: grid;
  gap: .9rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-weight: 900;
  content: "↗";
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.visual-panel {
  position: relative;
  min-height: 25rem;
  padding: 2rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--teal-800), var(--teal-950));
}

.visual-panel::before,
.visual-panel::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.visual-panel::before {
  width: 18rem;
  height: 18rem;
  right: -6rem;
  top: -7rem;
  background: rgb(159 227 207 / 22%);
}

.visual-panel::after {
  width: 11rem;
  height: 11rem;
  left: -4rem;
  bottom: -5rem;
  border: 2rem solid rgb(255 255 255 / 10%);
}

.visual-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  height: 100%;
  align-content: center;
}

.visual-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem;
  color: var(--navy-950);
  background: rgb(255 255 255 / 94%);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgb(0 0 0 / 12%);
}

.visual-row:nth-child(2) {
  margin-left: 2rem;
}

.visual-icon {
  display: grid;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: var(--teal-800);
  background: var(--teal-100);
  border-radius: .75rem;
  font-weight: 900;
}

.quote {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  color: var(--paper);
  background: var(--teal-800);
}

.quote blockquote {
  max-width: 29ch;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.quote p {
  margin: 1.5rem 0 0;
  color: var(--teal-100);
}

.page-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(circle at 80% 0, rgb(159 227 207 / 36%), transparent 25rem),
    var(--teal-50);
}

.breadcrumb {
  display: flex;
  gap: .45rem;
  align-items: center;
  padding: 0;
  margin: 0 0 1.4rem;
  color: var(--navy-500);
  list-style: none;
  font-size: .9rem;
}

.breadcrumb li + li::before {
  margin-right: .45rem;
  content: "/";
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.stat {
  padding: 1.5rem;
  background: var(--paper);
}

.stat strong {
  display: block;
  color: var(--teal-700);
  font-size: 1.6rem;
}

.stat span {
  color: var(--navy-700);
  font-size: .9rem;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-lg);
  background: var(--teal-50);
}

.callout h2 {
  max-width: 16ch;
  margin-bottom: .5rem;
}

.callout p {
  max-width: 38rem;
  margin: 0;
  color: var(--navy-700);
}

.emergency-note {
  padding: 1rem 1.2rem;
  border-left: .3rem solid var(--coral);
  color: #732918;
  background: var(--coral-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.site-footer {
  padding: 4rem 0 2rem;
  color: #c9d9df;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-brand {
  max-width: 24rem;
}

.footer-brand .brand {
  color: var(--paper);
}

.footer-brand p {
  margin-bottom: 0;
}

.footer-nav h2 {
  margin-bottom: .8rem;
  color: var(--paper);
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  gap: .45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav a {
  color: #c9d9df;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: .85rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 58rem) {
  .desktop-nav,
  .site-header > .shell > .header-action {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    margin-inline-start: auto;
    border: 1px solid var(--line);
    border-radius: .75rem;
    color: var(--navy-950);
    background: var(--paper);
    font: inherit;
    font-size: 1.2rem;
    cursor: pointer;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + .5rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav .header-action {
    margin-top: .5rem;
    color: var(--paper);
  }

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

  .care-map {
    max-width: 38rem;
    width: 100%;
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 40rem) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--content));
  }

  .hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-actions,
  .callout,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .care-map {
    display: grid;
    min-height: auto;
    gap: .8rem;
  }

  .care-card {
    position: static;
    width: 100%;
    transform: none !important;
  }

  .grid-3,
  .grid-2,
  .stat-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 22rem;
    padding: 1.25rem;
  }

  .visual-row:nth-child(2) {
    margin-left: .75rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
