:root {
  --porcelain: #fbfdfb;
  --mist: #eef6f2;
  --petrol: #0a4f63;
  --deep-petrol: #053745;
  --aqua: #42d2c6;
  --sage: #9ccf9a;
  --ink: #17313c;
  --muted: #637780;
  --line: rgba(10, 79, 99, 0.14);
  --shadow: 0 24px 60px rgba(5, 55, 69, 0.15);
  --soft-shadow: 0 16px 34px rgba(23, 49, 60, 0.12);
  --display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --body: "Aptos", "Segoe UI", Arial, sans-serif;
  --utility: "Cascadia Mono", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(66, 210, 198, 0.12) 0 1px, transparent 1px 42px),
    linear-gradient(0deg, rgba(66, 210, 198, 0.09) 0 1px, transparent 1px 42px),
    radial-gradient(circle at 85% 8%, rgba(156, 207, 154, 0.34), transparent 24rem),
    linear-gradient(180deg, #fff 0%, var(--porcelain) 48%, var(--mist) 100%);
  font-family: var(--body);
}

a {
  color: inherit;
}

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

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

.site-shell {
  width: min(1130px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
  min-height: 610px;
  padding: 12px 0 44px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--petrol);
  font-family: var(--utility);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--deep-petrol);
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 4.25rem, 4.25rem);
  font-weight: 820;
  line-height: 0.9;
}

h2 {
  font-size: clamp(2rem, 2.65rem, 2.65rem);
  font-weight: 790;
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.14;
}

.hero-line {
  max-width: 26ch;
  margin-bottom: 14px;
  color: var(--petrol);
  font-size: 1.45rem;
  font-weight: 780;
  line-height: 1.2;
}

.hero-text,
.video-copy p,
.signals-card p,
.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-text {
  max-width: 39ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  max-width: 100%;
  padding: 0 18px 0 24px;
  border: 0;
  border-radius: 0 30px 30px 0;
  color: var(--deep-petrol);
  background: var(--aqua);
  box-shadow: 0 16px 34px rgba(66, 210, 198, 0.3);
  font-weight: 850;
  line-height: 1.12;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(66, 210, 198, 0.38);
}

.button:focus-visible,
.text-link:focus-visible,
.carousel-button:focus-visible {
  outline: 4px solid rgba(156, 207, 154, 0.48);
  outline-offset: 4px;
}

.button-icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--petrol);
}

.button-icon::before,
.button-icon::after {
  content: "";
  position: absolute;
}

.button-icon::before {
  width: 11px;
  height: 2px;
  top: 14px;
  left: 9px;
  background: #fff;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.button-icon::after {
  width: 8px;
  height: 8px;
  top: 8px;
  right: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.text-link {
  color: var(--petrol);
  font-weight: 800;
  text-underline-offset: 6px;
}

.hero-media {
  position: relative;
  min-height: 590px;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(336px, 72%);
  margin-left: auto;
  overflow: hidden;
  border: 13px solid var(--deep-petrol);
  border-radius: 46px;
  background: var(--deep-petrol);
  box-shadow: var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 50%;
  width: 88px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
}

.phone-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 30px;
}

.care-arc {
  position: absolute;
  inset: 24px auto auto 20px;
  z-index: 1;
  width: 72%;
  opacity: 0.95;
}

.care-arc svg {
  width: 100%;
  overflow: visible;
}

.care-arc path {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 11 13;
  animation: care-flow 8s linear infinite;
}

.care-arc circle {
  fill: var(--sage);
  stroke: #fff;
  stroke-width: 6;
}

.credential-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 92px;
  width: min(330px, 72%);
  padding: 22px 24px;
  border-radius: 28px 0 28px 0;
  color: #fff;
  background: var(--petrol);
  box-shadow: var(--soft-shadow);
  font-weight: 760;
  line-height: 1.35;
}

.credential-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--aqua);
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.treatments {
  position: relative;
  padding: 22px 0 74px;
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 58ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

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

.treatment-grid article {
  min-height: 230px;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 30px 30px 6px 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--aqua);
}

.mini-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--deep-petrol);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.treatment-grid p,
.video-slide p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 46px;
  align-items: center;
  padding: 58px 62px;
  border-radius: 90px 0 90px 0;
  background: var(--deep-petrol);
  box-shadow: var(--shadow);
}

.video-section h2,
.video-section .eyebrow {
  color: #fff;
}

.video-section .eyebrow {
  color: var(--aqua);
}

.video-section p {
  color: rgba(255, 255, 255, 0.74);
}

.carousel-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.carousel-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font: 800 0.9rem var(--body);
  cursor: pointer;
}

.carousel-button.is-active {
  color: var(--deep-petrol);
  background: var(--aqua);
}

.video-carousel {
  position: relative;
  min-height: 560px;
}

.video-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.video-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.video-slide video {
  width: min(380px, 100%);
  max-height: 620px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 12px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background: #071d26;
}

.signals {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 84px 0 58px;
}

.signals-card {
  padding: 42px;
  border-radius: 54px 0 54px 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.signal-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  padding: 18px 20px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 24px 24px 6px 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(23, 49, 60, 0.07);
  font-weight: 760;
}

.signal-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 22px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 7px rgba(66, 210, 198, 0.14);
}

.feedback {
  padding: 38px 0 72px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  gap: 20px;
  align-items: stretch;
}

.feedback-card {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border: 12px solid #fff;
  border-radius: 38px 38px 8px 38px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feedback-card-featured {
  border-radius: 8px 46px 8px 46px;
}

.feedback-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--aqua) 0 5px, transparent 6px),
    var(--deep-petrol);
  box-shadow: 0 12px 24px rgba(5, 55, 69, 0.2);
}

.feedback-card img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: contain;
  object-position: center;
}

.about {
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
  padding: 56px 70px 56px 56px;
  border-radius: 0 90px 0 90px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.about-image {
  overflow: hidden;
  min-height: 480px;
  border-radius: 0 126px 0 126px;
  background: var(--aqua);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: 42% center;
}

.about-copy h2 {
  max-width: 12ch;
  margin-bottom: 20px;
}

.about-copy p {
  margin-bottom: 28px;
}

@keyframes care-flow {
  to {
    stroke-dashoffset: -48;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 930px) {
  .site-shell {
    width: min(100% - 24px, 720px);
    padding-top: 22px;
  }

  .hero,
  .video-section,
  .signals,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: 0;
  }

  .hero-media {
    min-height: 540px;
  }

  .phone-frame {
    margin-inline: auto;
    width: min(310px, 82%);
  }

  .care-arc {
    left: 0;
    width: 66%;
  }

  .credential-card {
    right: 6%;
    bottom: 34px;
  }

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

  .video-section {
    padding: 38px 28px;
    border-radius: 62px 0 62px 0;
  }

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

  .feedback-card-featured {
    grid-column: 1 / -1;
  }

  .about {
    padding: 28px;
    border-radius: 0 62px 0 62px;
  }
}

@media (max-width: 580px) {
  .site-shell {
    width: min(100% - 18px, 430px);
    padding-bottom: 38px;
  }

  .hero {
    padding-bottom: 48px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-line {
    font-size: 1.16rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: space-between;
  }

  .text-link {
    padding-left: 2px;
  }

  .hero-media {
    min-height: 510px;
  }

  .phone-frame {
    width: min(282px, 86%);
    border-width: 11px;
    border-radius: 38px;
  }

  .credential-card {
    left: 0;
    right: 0;
    bottom: 8px;
    width: auto;
    padding: 18px 20px;
  }

  .treatments {
    padding-top: 24px;
  }

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

  .treatment-grid article {
    min-height: 0;
  }

  .video-section {
    padding: 30px 20px;
    border-radius: 46px 0 46px 0;
  }

  .video-carousel {
    min-height: 0;
  }

  .video-slide {
    position: static;
    display: none;
  }

  .video-slide.is-active {
    display: grid;
  }

  .signals {
    gap: 24px;
    padding-top: 46px;
  }

  .signals-card {
    padding: 28px 22px;
    border-radius: 38px 0 38px 0;
  }

  .signal-list li {
    padding-right: 16px;
  }

  .feedback {
    padding: 26px 0 48px;
  }

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

  .feedback-card,
  .feedback-card-featured {
    min-height: 0;
    border-width: 9px;
    border-radius: 30px 30px 8px 30px;
  }

  .feedback-card img {
    min-height: 0;
    height: auto;
  }

  .about {
    padding: 20px;
    border-radius: 0 46px 0 46px;
  }

  .about-image,
  .about-image img {
    min-height: 315px;
  }

  .about-image {
    border-radius: 0 82px 0 82px;
  }
}
