@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --skel-base: #c9dbc2;
  --skel-shine: rgba(255, 252, 246, 0.55);
  --cream: oklch(97% 0.015 80);
  --paper: oklch(94% 0.022 140);
  --ink: oklch(20% 0.012 80);
  --deep: oklch(28% 0.05 175);
  --teal: #c9dbc2;
  --teal-dark: #c9dbc2;
  --muted: oklch(58% 0.024 155);
  --line: color-mix(in oklch, var(--deep) 24%, transparent);
  --sans: "Work Sans", Arial, sans-serif;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--deep); font: 16px/1.5 var(--sans); }
a { color: inherit; }

.shell { width: min(1260px, calc(100% - 64px)); margin: 0 auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 26px 0;
  color: var(--cream);
}

.nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.wordmark {
  color: inherit;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: .82;
  text-decoration: none;
}

.wordmark small {
  display: block;
  margin-top: 7px;
  color: var(--teal);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav-links { display: flex; justify-content: center; gap: clamp(22px, 3vw, 42px); }
.nav-links a {
  position: relative;
  padding-bottom: 18px;
  color: inherit;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 600;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  transform: translate(-50%, 4px) scale(.6);
  transition: opacity .2s ease, transform .2s ease;
}

.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.is-active, .footer-link:hover { color: var(--teal); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.is-active::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 14px 22px;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: var(--cream);
  font: 600 13px/1 var(--sans);
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.button:hover { background: var(--teal); color: var(--deep); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button--small { min-height: 42px; padding: 12px 16px; border-color: var(--cream); background: var(--deep); }
.nav .button--small { justify-self: end; }
.button--light { background: transparent; color: var(--deep); border-color: var(--deep); }

.hero {
  position: relative;
  min-height: min(860px, 100vh);
  overflow: hidden;
  background: var(--deep);
  color: var(--cream);
}

.hero-art { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 52%) 0%, rgb(0 0 0 / 22%) 50%, rgb(0 0 0 / 5%) 100%);
}

.hero-art video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 51%;
  filter: none;
}

.hero-geometry {
  position: absolute;
  z-index: 1;
  top: 7%;
  right: 15%;
  width: min(42vw, 610px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in oklch, var(--teal) 62%, transparent);
  opacity: .64;
  transform: rotate(45deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: min(860px, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px 0 34px;
}

.hero-grid > div:first-child { max-width: 650px; animation: rise-in .8s cubic-bezier(.22,.61,.36,1) both; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1,
.section-title {
  margin: 0;
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .92;
}

.hero h1 { max-width: 680px; font-size: clamp(50px, 6.3vw, 92px); }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-intro { max-width: 535px; margin: 28px 0 32px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; }
.section { padding: clamp(96px, 13vw, 180px) 0; }
.section--teal { background: var(--cream); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .56fr);
  gap: 70px;
  align-items: end;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.section-title { max-width: 850px; font-size: clamp(44px, 5.5vw, 82px); }
.section-lead { max-width: 430px; margin: 0; color: var(--muted); font-size: 17px; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.benefit {
  min-height: 300px;
  padding: 26px 24px 18px;
  border-right: 1px solid var(--line);
}
.benefit:first-child { padding-left: 0; }
.benefit:last-child { border-right: 0; padding-right: 0; }
.number { display: block; margin-bottom: 82px; color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.benefit h3, .feature h3 { margin: 0 0 13px; font-size: 20px; font-weight: 500; letter-spacing: -.045em; line-height: 1.07; }
.benefit p, .feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

@media (prefers-reduced-motion: no-preference) {
  .how-it-works.is-pending .section-heading,
  .how-it-works.is-pending .benefit {
    opacity: 0;
    transform: translateY(18px);
  }

  .how-it-works.is-visible .section-heading,
  .how-it-works.is-visible .benefit {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1);
  }

  .how-it-works.is-visible .benefit:nth-child(1) { transition-delay: .08s; }
  .how-it-works.is-visible .benefit:nth-child(2) { transition-delay: .15s; }
  .how-it-works.is-visible .benefit:nth-child(3) { transition-delay: .22s; }
  .how-it-works.is-visible .benefit:nth-child(4) { transition-delay: .29s; }
}

#how-it-helps {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
  color: var(--cream);
}

.conversations-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
}

.conversations-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 68%);
}

.conversations-video-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% 50%;
  filter: saturate(.76) contrast(.9);
}

.features-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(250px, .76fr) minmax(0, 1.24fr); gap: clamp(50px, 11vw, 175px); }
.section-kicker { display: block; margin-bottom: 20px; color: var(--teal); font: 600 31px/1 var(--hand); }
.features-copy { position: sticky; top: 32px; }
.features-copy p { max-width: 360px; margin: 28px 0 0; color: color-mix(in oklch, var(--cream) 72%, transparent); font-size: 17px; }
.feature-list { border-top: 1px solid color-mix(in oklch, var(--cream) 40%, transparent); }
.feature { border-bottom: 1px solid color-mix(in oklch, var(--cream) 25%, transparent); }
.feature-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 30px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.feature-trigger:hover .feature-title { color: var(--teal); }
.feature-trigger:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.feature-title { font-size: 20px; font-weight: 500; letter-spacing: -.045em; line-height: 1.07; }
.feature-icon {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: -2px;
  border: 1px solid color-mix(in oklch, var(--cream) 72%, transparent);
  border-radius: 50%;
}
.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--teal);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.feature-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.feature-trigger[aria-expanded="true"] .feature-icon::after { transform: translate(-50%, -50%) rotate(0); }
.feature-panel { padding: 0 44px 30px 0; }
.feature p { color: color-mix(in oklch, var(--cream) 72%, transparent); font-size: 15px; }

.assurance { padding: clamp(105px, 15vw, 190px) 0; background: var(--paper); text-align: left; }
.guidance-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(56px, 9vw, 145px);
  align-items: center;
}
.family-photo {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.family-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 54%;
  filter: saturate(.76) contrast(.95);
}
.assurance .section-title { max-width: 760px; margin: 0 0 28px; }
.assurance p:not(.eyebrow) { max-width: 570px; margin: 0 0 36px; color: var(--muted); font-size: 18px; }

.footer { padding: 50px 0 56px; background: var(--deep); color: var(--cream); font-size: 13px; }
.footer .wordmark { display: inline-block; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.footer p { max-width: 545px; margin: 20px 0 0; color: color-mix(in oklch, var(--cream) 72%, transparent); line-height: 1.6; }
.footer-link { margin-top: 5px; color: var(--teal); font-weight: 600; text-decoration: none; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-art { background: var(--deep); }
  .hero-art video { display: none; }
  .conversations-video { background: var(--deep); }
  .conversations-video video { display: none; }
}

@media (max-width: 840px) {
  .shell { width: min(100% - 34px, 650px); }
  .site-header { padding: 18px 0; }
  .nav { display: flex; gap: 16px; }
  .nav-links { display: none; }
  .nav .button { margin-left: auto; }
  .hero, .hero-grid { min-height: 760px; }
  .hero-grid { padding: 155px 0 30px; }
  .hero-art::after { background: linear-gradient(0deg, rgb(0 0 0 / 62%) 0%, rgb(0 0 0 / 8%) 100%); }
  .hero-geometry { display: none; }
  .hero h1 { font-size: clamp(50px, 11.5vw, 72px); }
  .hero-intro { max-width: 510px; }
  .section-heading, .features-layout { grid-template-columns: 1fr; }
  .section-heading { gap: 28px; }
  .benefits { grid-template-columns: repeat(2, 1fr); margin-top: 45px; }
  .benefit { min-height: 220px; padding: 25px 20px; border-bottom: 1px solid var(--line); }
  .benefit:nth-child(odd) { padding-left: 0; }
  .benefit:nth-child(even) { border-right: 0; }
  .number { margin-bottom: 46px; }
  .features-copy { position: static; }
  .guidance-layout { grid-template-columns: 1fr; gap: 52px; }
  .footer-grid { display: block; }
  .footer-link { display: inline-block; margin-top: 30px; }
}

@media (max-width: 460px) {
  .wordmark { font-size: 21px; }
  .wordmark small { font-size: 7px; }
  .nav .button { min-height: 38px; padding: 10px 12px; font-size: 11px; }
  .hero, .hero-grid { min-height: 705px; }
  .hero h1 { font-size: 49px; letter-spacing: -.075em; }
  .hero-intro { margin: 23px 0 27px; font-size: 16px; }
  .hero-note { margin-top: 25px; font-size: 25px; }
  .section { padding: 88px 0; }
  .section-title { font-size: 44px; }
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit:first-child, .benefit:last-child { min-height: auto; padding: 24px 0; border-right: 0; }
  .number { margin-bottom: 28px; }
  .feature-trigger { grid-template-columns: 1fr auto; gap: 10px; }
  .feature-panel { padding: 0 32px 25px 0; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .how-it-works .benefits { grid-template-columns: repeat(2, 1fr); }
  .how-it-works .benefit { min-height: 255px; border-bottom: 1px solid var(--line); }
  .how-it-works .benefit:nth-child(odd) { padding-left: 0; }
  .how-it-works .benefit:nth-child(even) { border-right: 0; padding-right: 0; }
}

@media (max-width: 767px) {
  .how-it-works .benefits { grid-template-columns: 1fr; }
  .how-it-works .benefit,
  .how-it-works .benefit:first-child,
  .how-it-works .benefit:last-child {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .how-it-works .number { margin-bottom: 30px; }
}
