:root {
  color: #2f2435;
  background: #fcf9f5;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  --ink: #2f2435;
  --muted: #5d5362;
  --violet: #563a70;
  --violet-dark: #432959;
  --cream: #fcf9f5;
  --lavender: #eee4f5;
  --line: #dfd3e3;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #86629d;
  outline-offset: 4px;
}
figure, h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.045;
}
h2 { font-size: clamp(2.5rem, 4.7vw, 4.8rem); }
h3 { font-size: 1.27rem; line-height: 1.3; letter-spacing: -.025em; }
[id] { scroll-margin-top: 22px; }

.wrap { width: min(100% - 96px, 1250px); margin-inline: auto; }
.section { padding-block: clamp(66px, 8vw, 120px); }
.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: #fff;
  transform: translateY(calc(-100% - 24px));
}
.skip-link:focus { transform: none; }

.header {
  border-bottom: 1px solid #e9e0e6;
  background: #fffcf9;
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  text-decoration: none;
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -.048em;
}
.brand-mark {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
  overflow: hidden;
  background: var(--lavender);
}
.brand-mark img {
  position: absolute;
  width: 369px;
  max-width: none;
  top: -55px;
  left: -19px;
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2.7vw, 37px); }
.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}
.nav a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 5px; }
.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
  line-height: 1.25;
}
.button {
  gap: 12px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button-small { min-height: 44px; padding: 10px 14px; font-size: .86rem; }
.button-primary { color: white; background: var(--violet); }
.button-primary:hover { background: var(--violet-dark); }
.button-outline { color: var(--violet-dark); border-color: #ad95bd; }
.button-outline:hover { background: var(--lavender); border-color: var(--violet); }
.text-link { gap: 8px; color: var(--violet-dark); text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  background: linear-gradient(135deg, #fcf9f4 35%, #f6edea 100%);
  padding-block: clamp(54px, 6vw, 98px);
  border-bottom: 1px solid #eae1e8;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
}
.hero h1 { font-size: clamp(3.75rem, 6.7vw, 7rem); }
.hero h1 em { color: var(--violet); font-weight: inherit; }
.hero-description {
  max-width: 445px;
  margin-top: 25px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.48vw, 1.24rem);
  line-height: 1.57;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 27px;
}
.hero-detail { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.hero-image {
  position: relative;
  aspect-ratio: 1.12;
  overflow: hidden;
  border: 1px solid #e0cfe9;
  border-radius: 38px;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 9% 7%, #fbf5f8 0, transparent 47%),
    linear-gradient(145deg, #f1e6f6, #e9d9f2 55%, #e1cde9);
}
.hero-image::before {
  position: absolute;
  left: 7%;
  top: 9%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid #fff9;
  border-radius: 50%;
  content: "";
}
.hero-person {
  position: absolute;
  width: 84%;
  bottom: -3%;
  left: -7%;
  filter: drop-shadow(0 16px 22px #55406c24);
}
.phone {
  position: absolute;
  width: 37%;
  right: 7%;
  top: 7%;
  padding: 7px;
  overflow: hidden;
  transform: rotate(7deg);
  transform-origin: center center;
  border: 1px solid #63556b;
  border-radius: 29px;
  background: #382d41;
  box-shadow: 0 19px 35px #3a254749, 0 2px 5px #3a254732;
}
.phone img { width: 100%; border-radius: 22px; }
.hero-figure figcaption {
  padding: 10px 4px 0;
  color: var(--muted);
  text-align: right;
  font-size: .77rem;
}

.steps { background: #fffdfa; }
.steps-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 43px;
}
.steps-heading p, .habits-copy > p, .care-copy > p {
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.65;
}
.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step-list li { border-top: 1px solid #ccbdd5; padding: 21px 18px 0 0; }
.step-list p { margin-top: 10px; color: var(--muted); }

.habits { background: #edf2ec; }
.habits-inner, .care-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(33px, 7vw, 104px);
  align-items: center;
}
.habits-copy > p, .care-copy > p { margin-top: 20px; }
.how-score {
  margin-top: 22px;
  padding-inline: 0 12px;
  color: #305447;
  max-width: 465px;
}
.how-score p { color: #465b4d; padding-bottom: 5px; }
summary { cursor: pointer; min-height: 46px; align-content: center; font-weight: 700; }
.how-score summary { text-decoration: underline; text-underline-offset: 4px; }
.score {
  background: #fffdfa;
  padding: clamp(21px, 4vw, 38px);
  border: 1px solid #d7e0d6;
  border-radius: 30px;
  box-shadow: 0 13px 35px #284a3810;
}
.score-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.score-top strong { display: block; font-size: 1.16rem; line-height: 1.35; }
.score-top small { display: block; color: var(--muted); font-size: .84rem; }
.score-top > span {
  color: #284c3a;
  background: #e5efe4;
  font-size: .77rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 40px;
  text-align: center;
}
.gauge {
  position: relative;
  width: min(100%, 277px);
  aspect-ratio: 2 / 1;
  overflow: hidden;
  margin: 26px auto 17px;
}
.gauge::before, .gauge::after {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
}
.gauge::before {
  top: 0;
  left: 0;
  width: 100%;
  background: conic-gradient(from 270deg, #648870 0deg, #567b64 144deg, #e3eee3 144deg 180deg, transparent 180deg);
}
.gauge::after {
  top: 14px;
  left: 14px;
  width: calc(100% - 28px);
  background: #fffdfa;
}
.gauge-face {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 0;
  color: #385646;
  text-align: center;
  line-height: 1.1;
}
.gauge-face strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -.065em;
}
.gauge-face strong span { font-size: .61em; }
.gauge-face > span { font-size: .85rem; letter-spacing: .01em; }
.gauge-summary { text-align: center; line-height: 1.44; }
.score-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: .84rem;
}
.score-breakdown span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #a07756;
  vertical-align: 1px;
  content: "";
}
.score-breakdown span:last-child::before { background: #9e87aa; }
.score figcaption { margin-top: 16px; color: var(--muted); text-align: center; font-size: .78rem; }
.care { background: #fcf8f4; }
.care-image {
  border-radius: 32px;
  background: linear-gradient(145deg, #f8e9de, #eee3ee);
  display: grid;
  place-items: center;
  min-height: 288px;
  padding: 22px;
}
.care-image img { width: min(100%, 420px); }
.pricing {
  border-block: 1px solid #e5d9e9;
  background: linear-gradient(135deg, #f6eef7, #fdf8f3);
}
.pricing-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(27px, 6vw, 84px);
}
.pricing-copy p { max-width: 36ch; margin-top: 20px; color: var(--muted); font-size: 1.13rem; }
.price-card {
  margin: 0;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #dacbdf;
  border-radius: 30px;
  background: #fffdfa;
  box-shadow: 0 13px 35px #43295912;
}
.price-card > div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-card dt { color: var(--muted); font-size: .9rem; font-weight: 650; }
.price-card dd { margin: 2px 0 0; font-weight: 650; }
.price-offer dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  color: var(--violet-dark);
}
.price-offer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.06;
  white-space: nowrap;
}
.questions { background: #fffdfa; }
.questions-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 5vw, 60px);
}
.question-list details { border-bottom: 1px solid var(--line); padding: 6px 2px; }
.question-list details:first-child { border-top: 1px solid var(--line); }
.question-list p { padding-bottom: 14px; color: var(--muted); }
.footer { background: #f4edf3; border-top: 1px solid #e3d7e3; color: #4c3d55; }
.footer-inner, .footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-inner { min-height: 88px; justify-content: space-between; }
.footer-brand { font-weight: 650; }
.footer-divider { padding-inline: 3px; }
.footer a { font-size: .9rem; }

@media (max-width: 960px) {
  .wrap { width: min(100% - 56px, 1250px); }
  .hero h1 { font-size: clamp(3.3rem, 7.7vw, 5.9rem); }
  .hero-inner { gap: 27px; }
  .phone { width: 41%; top: 8%; right: 7%; padding: 5px; border-radius: 21px; }
  .phone img { border-radius: 16px; }
  .nav { gap: 15px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 38px); }
  .header-inner { min-height: 67px; gap: 12px; }
  .nav { display: none; }
  .hero { padding-block: 43px 53px; }
  .hero-inner, .steps-heading, .habits-inner, .care-inner, .pricing-inner, .questions-inner {
    grid-template-columns: 1fr;
  }
  .hero-inner { gap: 29px; }
  .hero h1 { font-size: clamp(3.1rem, 13.3vw, 5.55rem); }
  .hero-description { margin-top: 19px; font-size: 1.07rem; }
  .actions { margin-top: 18px; }
  .hero-image { aspect-ratio: 1.18; border-radius: 28px; }
  .phone { right: 8%; top: 6%; width: 38%; }
  .hero-person { left: -6%; width: 82%; }
  .hero-figure figcaption { text-align: center; }
  .section { padding-block: 62px; }
  .steps-heading { gap: 14px; margin-bottom: 28px; }
  .steps-heading br { display: none; }
  .step-list { grid-template-columns: 1fr; gap: 22px; }
  .step-list li { padding-top: 15px; padding-inline-end: 0; }
  .step-list p { margin-top: 6px; }
  .care-inner > .care-copy { grid-row: 1; }
  .care-image { min-height: 0; }
  .footer-inner { padding-block: 14px; }
}

@media (max-width: 520px) {
  .footer-brand { font-size: .86rem; }
  .footer-brand img { width: 30px; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 1.13rem; gap: 7px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 8px; }
  .brand-mark img { width: 305px; top: -46px; left: -15.5px; }
  .button-small { padding-inline: 9px; font-size: .78rem; gap: 5px; }
  .actions { gap: 4px 16px; }
  .hero-image { border-radius: 21px; }
  .phone { border-radius: 16px; }
  .phone img { border-radius: 11px; }
  .score-top > span { padding-inline: 7px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 0; }
}

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