@charset "UTF-8";

/* Fluid type: 375px is the minimum viewport; 1920px is the maximum. See docs/seo/common-parts.md. */

:root {
  --type-viewport: clamp(375px, 100vw, 1920px);
  --main: #3e4f83;
  --cta-navy: #334276;
  --pink: #c350cd;
  --purple: #9592d8;
  --dark-purple: #6863c7;
  --yellow: #fffaaf;
  --text: #242838;
  --section-space: clamp(80px, 7.3vw, 140px);
  --line-outer: #c5c3d9;
  --line-divider: #d3d0e5;
  --line-emphasis: #e1dff1;
  --font-jp: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Jost", sans-serif;
}

* {
  box-sizing: border-box;

  &::before {
    box-sizing: border-box;
  }

  &::after {
    box-sizing: border-box;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;

  &:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 6px;
  }
}

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

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

p {
  margin: 0;
}

h1 {
  margin: 0;
}

figure {
  margin: 0;
}

/* Shared responsive line breaks. */

.br-mobile {
  display: none;

  @media (max-width:767px) {
    display: initial;
  }
}

.br-desktop {
  display: initial;

  @media (max-width:767px) {
    display: none;
  }
}

.text-nowrap {
  white-space: nowrap;
}

/* Shared typography and section headings. See ../../../docs/seo/common-parts.md. */

.text-base {
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0;
  font-size: clamp(13px, calc(12.271845px + var(--type-viewport) * 0.001941748), 16px);
}

.text-base--emphasis {
  font-weight: 700;
}

.text-base--reading {
  line-height: 1.9;
  font-size: clamp(15px, calc(14.271845px + var(--type-viewport) * 0.001941748), 18px);
}

.text-band {
  --text-band-color: #fff;
  padding: 12px 24px;
  background: linear-gradient(90deg, transparent, var(--text-band-color) 22%, var(--text-band-color) 78%, transparent);
}

.text-band--lavender {
  --text-band-color: #eeebf8;
}

/* Shared yellow underline: scales with type size, same weight and offset everywhere. */

.text-underline-yellow {
  text-decoration-line: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: .32em;
  text-underline-offset: -.1em;
  text-decoration-skip-ink: none;
}

.section-heading {
  margin: 0 0 48px;
  text-align: center;
}

.section-heading--start {
  text-align: left;
}

.section-heading--flush {
  margin-bottom: 0;
}

.section-heading__eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  color: var(--dark-purple);
  font: 500 clamp(11px, calc(10.757282px + var(--type-viewport) * 0.000647249), 12px) var(--font-en);
  letter-spacing: .16em;
  font-size: clamp(11px, calc(10.757282px + var(--type-viewport) * 0.000647249), 12px);
}

.section-heading--start {
  & .section-heading__eyebrow {
    justify-content: flex-start;
  }
}

.section-heading__title {
  margin: 22px 0 20px;
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: .025em;

  font-size: clamp(24px, calc(19.631068px + var(--type-viewport) * 0.011650485), 42px);

  text-wrap: balance;

  &:last-child {
    margin-bottom: 0;
  }
}

.section-heading__lead {
  margin: 0;
  text-wrap: balance;
}

.section-heading__title--compact {
  font-size: 30px;
}

.section-heading__eyebrow--light {
  color: #d2ccf0;
}

.section-heading__lead--light {
  color: #e0e4f5;
}

.text-base {
  @media (max-width:767px) {
    line-height: 1.9;
  }
}

.text-base--reading {
  @media (max-width:767px) {
    line-height: 1.95;
  }
}

.section-heading {
  @media (max-width:767px) {
    margin-bottom: 32px;
  }
}

.section-heading--flush {
  @media (max-width:767px) {
    margin-bottom: 0;
  }
}

.section-heading__eyebrow {
  @media (max-width:767px) {
    gap: 9px;
  }
}

.section-heading__title {
  @media (max-width:767px) {
    margin: 18px 0 17px;
    letter-spacing: 0;
  }

  &:last-child {
    @media (max-width:767px) {
      margin-bottom: 0;
    }
  }
}

.section-heading__title--compact {
  @media (max-width:767px) {
    font-size: 27px;
  }
}

.section-heading__title--services {
  font-size: clamp(21px, calc(15.902913px + var(--type-viewport) * 0.013592233), 42px);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: white;
  transform: translateY(-160%);
  z-index: 10;

  &:focus {
    transform: translateY(0);
  }
}

.site-header {
  height: clamp(76px, 5.3vw, 102px);
  max-width: 1760px;
  margin: auto;
  padding: 0 clamp(24px, 4.17vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
  color: var(--main);
}

.header-contact {
  font-size: clamp(12px, calc(var(--type-viewport) * 0.0085), 16px);
  font-weight: 700;
  color: var(--main);
  display: flex;
  align-items: center;
  gap: 25px;
}

.arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-outer);
  border-radius: 50%;
  font-size: 19px;
}

.header-contact {
  &:hover {
    color: var(--pink);
  }
}

.hero {
  position: relative;
  isolation: isolate;
  margin: 0 clamp(10px, 1.56vw, 30px);
  background: radial-gradient(ellipse at 13% 4%, #dedbf4 0, transparent 51%), radial-gradient(ellipse at 100% 18%, #ffedde 0, transparent 55%), radial-gradient(ellipse at 42% 93%, #d8f7f7 0, transparent 65%), #f8f6fc;
  overflow: hidden;
  min-height: clamp(790px, 47vw, 920px);

  &::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #fff 0%, #ffffff00 22%);
    z-index: -1;
    pointer-events: none;
  }

  & h1 {
    line-height: 1.37;
    font-weight: 900;
    letter-spacing: .025em;
    color: var(--main);
    font-size: clamp(27.75px, calc(19.436893px + var(--type-viewport) * 0.022168285), 62px);
  }
}

.hero__inner {
  max-width: 1640px;
  margin: auto;
  padding: clamp(65px, 4.4vw, 86px) clamp(38px, 4.3vw, 82px) clamp(90px, 7vw, 134px);
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: clamp(25px, 3.7vw, 72px);
  align-items: center;
}

.hero__side {
  position: absolute;
  left: 22px;
  top: 35px;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  color: #fff;
  letter-spacing: .19em;
  font-size: 10px;
}

.hero__copy {
  z-index: 2;
}

.hero__eyebrow {
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.65;
  color: var(--main);
  margin-bottom: clamp(20px, 1.6vw, 32px);
  font-size: clamp(12px, calc(10.300971px + var(--type-viewport) * 0.004530744), 19px);
}

.hero__eyebrow-service {
  display: block;
  padding-left: 40px;
  font-size: clamp(12px, calc(8.359223px + var(--type-viewport) * 0.009708738), 27px);
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__title-accent {
  color: var(--pink);
  position: relative;
  width: max-content;
  z-index: 0;

  &::after {
    content: "";
    position: absolute;
    bottom: .12em;
    left: 0;
    width: 100%;
    height: .13em;
    background: #ffffffa8;
    z-index: -1;
  }
}

.hero__intro {
  margin-top: clamp(23px, 1.7vw, 33px);
  font-size: clamp(18px, calc(var(--type-viewport) * 0.012), 23px);
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.8;
}

.hero__description {
  margin-top: 12px;
  font-size: clamp(14px, calc(var(--type-viewport) * 0.0094), 18px);
  line-height: 1.95;
  letter-spacing: .025em;
}

.hero__actions {
  margin-top: clamp(26px, 2vw, 38px);
  max-width: 500px;
}

.button-primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 100px;
  background: var(--cta-navy);
  color: #fff;
  min-height: clamp(62px, 4.35vw, 84px);
  padding: 16px clamp(22px, 1.6vw, 31px);
  font-weight: 700;
  box-shadow: 0 9px 22px #3e4f961a;
  transition: background .2s, transform .2s, box-shadow .2s;

  font-size: clamp(12.975px, calc(11.998058px + var(--type-viewport) * 0.002605178), 17px);

  &:hover {
    background: var(--cta-navy);
    transform: translateY(-3px);
    box-shadow: 0 13px 24px #3e4f9629;
  }
}

.button-primary__arrow {
  font-family: var(--font-en);
  color: var(--yellow);
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
}

.hero__consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: max-content;
  margin: 19px auto 0;
  font-weight: 700;
  color: var(--main);
  padding: 0 0 5px;
  border-bottom: 1px solid #8b91b3;

  font-size: clamp(12.975px, calc(11.998058px + var(--type-viewport) * 0.002605178), 17px);

  &:hover {
    color: var(--pink);
    border-color: var(--pink);
  }
}

.hero-visual {
  position: relative;
  min-width: 0;
  z-index: 1;
  padding: 38px 0 48px;
  transform: translateY(12px);
}

.visual-orbit {
  position: absolute;
  border: 1px solid #ffffffc9;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.visual-orbit--one {
  width: 125%;
  aspect-ratio: 1;
  left: -10%;
  top: 3%;
  transform: rotate(-20deg) scaleY(.82);
}

.visual-orbit--two {
  width: 145%;
  aspect-ratio: 1;
  left: -20%;
  top: -5%;
  transform: rotate(-20deg) scaleY(.82);
}

.visual-label {
  position: absolute;
  top: -11px;
  left: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: clamp(15px, calc(var(--type-viewport) * 0.011), 21px);
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--main);

  & .sparkle {
    color: var(--pink);
    font-size: 31px;
  }
}

.visual-label__cross {
  color: #a4a2bf;
  font-weight: 400;
}

.ai-window {
  overflow: hidden;
  border: 1px solid var(--line-outer);
  border-radius: 18px;
  background: #fff;
  box-shadow: 18px 25px 60px #4d47851f, 0 3px 8px #6b64860a;
  transform: none;
  transform-origin: center;
}

.ai-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 43px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-divider);
  background: #f9f9fd;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .17em;
  color: #9094ab;
}

.window-dots {
  display: flex;
  gap: 5px;

  & i {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #d0cee2;
  }

  & i:first-child {
    background: #c2b6df;
  }
}

.window-add {
  font-size: 17px;
}

.ai-window__body {
  padding: clamp(23px, 2vw, 38px) clamp(20px, 1.7vw, 33px) 24px;
}

.ai-window__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  font-size: clamp(15px, calc(var(--type-viewport) * 0.0108), 21px);
  line-height: 1.65;
  font-weight: 500;
  color: #6e728d;

  & strong {
    font-weight: 700;
    color: var(--main);
  }
}

.ai-symbol {
  font-size: 42px;
  background: linear-gradient(130deg, #8883d8, #ca6fcf);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.ai-question {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f2f1fa;
  border: 1px solid var(--line-outer);
  border-radius: 12px;
  padding: 17px 15px;
  margin-left: 15px;
  font-size: clamp(11px, calc(var(--type-viewport) * 0.0076), 14.5px);
  font-weight: 700;
  line-height: 1.8;
}

.question-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  background: #fff;
  color: #8d86bc;

  & svg {
    width: 21px;
    stroke: currentColor;
    stroke-width: 1.5;
  }
}

.question-send {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: var(--main);
  margin-left: auto;
  flex-shrink: 0;
}

.ai-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
}

.answer-icon {
  font-size: 26px;
  color: var(--dark-purple);
  line-height: 1.3;
}

.ai-answer__content {
  min-width: 0;
  flex: 1;
}

.answer-lead {
  font-size: clamp(12px, calc(var(--type-viewport) * 0.0079), 15px);
  line-height: 1.9;
  margin: 0 0 15px;
}

.clinic-result {
  border: 1px solid var(--line-outer);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 9px #4d478506;
}

.clinic-result__image {
  overflow: hidden;
  background: linear-gradient(120deg, #e6e8f5, #f2ecef);

  & img {
    width: 100%;
    height: clamp(130px, 10vw, 192px);
    object-fit: cover;
  }
}

.clinic-result__body {
  padding: 15px 18px 17px;
}

.clinic-result__category {
  display: inline-block;
  font-size: 10px;
  color: var(--dark-purple);
  background: #f1effa;
  border-radius: 30px;
  padding: 3px 10px;
}

.clinic-result__name {
  font-size: clamp(17px, calc(var(--type-viewport) * 0.0112), 22px);
  font-weight: 700;
  color: var(--main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;

  &>span {
    font-size: 17px;
    font-weight: 500;
    color: #9992bb;
  }
}

.clinic-result__detail {
  font-size: clamp(9px, calc(var(--type-viewport) * 0.0065), 12px);
  margin-top: 6px;
  color: #777b8d;
}

.clinic-result__lines {
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;

  & i {
    width: 95%;
    height: 4px;
    border-radius: 2px;
    background: #eeeef4;
  }

  & i:last-child {
    width: 65%;
  }
}

.answer-sources {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: #7e7d96;
  white-space: nowrap;

  &>span:not(.source-icon):not(.source-plus) {
    font-size: clamp(8px, calc(var(--type-viewport) * 0.006), 11px);
    border: 1px solid var(--line-outer);
    border-radius: 30px;
    padding: 3px 8px;
  }
}

.source-icon {
  font-size: 17px;
}

.source-plus {
  font-size: 13px;
}

.ai-window__input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding: 12px 16px;
  border: 1px solid var(--line-outer);
  border-radius: 30px;
  font-size: 11px;
  color: #a5a5b6;

  &>span:last-child {
    font-size: 20px;
    line-height: 1;
  }
}

.visual-callout {
  position: absolute;
  right: -30px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffffed;
  padding: 19px 25px;
  box-shadow: 0 8px 35px #7360a31a;
  border: 1px solid #fff;
  border-radius: 12px;
  transform: none;
  font-size: clamp(14px, calc(var(--type-viewport) * 0.0097), 18.5px);
  line-height: 1.65;
  color: var(--main);
}

.visual-callout__icon {
  font-size: 32px;
  color: var(--pink);
}

.visual-callout {
  & strong {
    color: var(--pink);
    font-weight: 700;
  }
}

.hero-visual {
  & figcaption {
    position: absolute;
    bottom: -21px;
    right: 0;
    font-size: 10px;
    color: #777b91;
    letter-spacing: .03em;
  }
}

.hero__backdrop {
  position: absolute;
  left: 4.5%;
  bottom: -.18em;
  font-family: var(--font-en);
  font-size: clamp(110px, calc(var(--type-viewport) * 0.145), 280px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .015em;
  color: #ffffffa8;
  z-index: -1;
  white-space: nowrap;
}

.form-anchor {
  scroll-margin-top: 25px;
}

.hero__inner {
  @media (min-width:1700px) {
    grid-template-columns: 1.05fr 1fr;
    padding-left: 60px;
    padding-right: 60px;
  }

  @media (min-width:768px) and (max-width:1100px) {
    padding-left: 42px;
    padding-right: 35px;
    gap: 25px;
  }
}

.hero-visual {
  @media (min-width:1700px) {
    max-width: 640px;
  }
}

.hero__eyebrow-service {
  @media (min-width:1700px) {
    display: inline;
    padding-left: 0;
  }
}

.hero__intro {
  @media (min-width:768px) and (max-width:1100px) {
    font-size: 17px;
  }
}

.hero__description {
  @media (min-width:768px) and (max-width:1100px) {
    font-size: 13px;
  }
}

.button-primary {
  @media (min-width:768px) and (max-width:1100px) {
    gap: 8px;
    padding: 16px 18px;
    min-height: 60px;
  }
}

.hero__side {
  @media (min-width:768px) and (max-width:1100px) {
    left: 12px;
  }
}

.ai-window__body {
  @media (min-width:768px) and (max-width:1100px) {
    padding: 22px 15px 20px;
  }
}

.ai-question {
  @media (min-width:768px) and (max-width:1100px) {
    gap: 7px;
    padding: 12px 9px;
    margin-left: 0;
    font-size: 10px;
  }
}

.question-icon {
  @media (min-width:768px) and (max-width:1100px) {
    width: 23px;
    height: 23px;
  }
}

.ai-answer {
  @media (min-width:768px) and (max-width:1100px) {
    gap: 7px;
  }
}

.answer-icon {
  @media (min-width:768px) and (max-width:1100px) {
    font-size: 21px;
  }
}

.clinic-result__body {
  @media (min-width:768px) and (max-width:1100px) {
    padding: 12px;
  }
}

.answer-sources {
  @media (min-width:768px) and (max-width:1100px) {
    gap: 3px;
  }

  &>span:not(.source-icon):not(.source-plus) {
    @media (min-width:768px) and (max-width:1100px) {
      font-size: 7px;
      padding: 3px 5px;
    }
  }
}

.visual-callout {
  @media (min-width:768px) and (max-width:1100px) {
    right: -10px;
    padding: 14px 17px;
    font-size: 12px;
    gap: 10px;
  }
}

.visual-label {
  @media (min-width:768px) and (max-width:1100px) {
    font-size: 14px;
  }
}

.hero {
  @media (min-width:768px) and (max-width:1100px) {
    min-height: 740px;
  }
}

.site-header {
  @media (max-width:767px) {
    height: 70px;
    padding: 0 22px;
    gap: 10px;
  }
}

.brand {
  @media (max-width:767px) {
    gap: 9px;
  }
}

.header-contact {
  @media (max-width:767px) {
    font-size: 10px;
    gap: 8px;
  }
}

.arrow {
  @media (max-width:767px) {
    width: 25px;
    height: 25px;
    font-size: 15px;
  }
}

.hero {
  @media (max-width:767px) {
    margin: 0 10px;
    min-height: 0;
  }

  & h1 {
    @media (max-width:767px) {
      line-height: 1.4;
      letter-spacing: .015em;
    }
  }
}

.hero__inner {
  @media (max-width:767px) {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 35px 24px 62px;
    max-width: 570px;
  }
}

.hero__side {
  @media (max-width:767px) {
    left: 8px;
    top: 18px;
    letter-spacing: .14em;
  }
}

.hero__copy {
  @media (max-width:767px) {
    width: 100%;
  }
}

.hero__eyebrow {
  @media (max-width:767px) {
    letter-spacing: 0;
    margin-bottom: 18px;
    line-height: 1.7;
  }
}

.hero__eyebrow-service {
  @media (max-width:767px) {
    padding-left: 25px;
    letter-spacing: .055em;
  }
}

.hero__intro {
  @media (max-width:767px) {
    font-size: 16px;
    margin-top: 20px;
    line-height: 1.75;
    letter-spacing: .01em;
  }
}

.hero__description {
  @media (max-width:767px) {
    font-size: 12px;
    line-height: 1.95;
    letter-spacing: 0;
    margin-top: 10px;
  }
}

.hero__actions {
  @media (max-width:767px) {
    margin-top: 24px;
    max-width: none;
  }
}

.button-primary {
  @media (max-width:767px) {
    min-height: 57px;
    padding: 14px 19px;
    gap: 8px;
    white-space: nowrap;
  }
}

.button-primary__arrow {
  @media (max-width:767px) {
    font-size: 24px;
  }
}

.hero__consult {
  @media (max-width:767px) {
    gap: 20px;
    margin-top: 15px;
  }
}

.hero-visual {
  @media (max-width:767px) {
    width: 100%;
    padding: 38px 0 34px;
    margin-top: 49px;
    transform: none;
    max-width: 450px;
  }
}

.visual-label {
  @media (max-width:767px) {
    left: 2px;
    top: -1px;
    font-size: 13px;
    gap: 8px;
  }

  & .sparkle {
    @media (max-width:767px) {
      font-size: 25px;
    }
  }
}

.ai-window {
  @media (max-width:767px) {
    border-radius: 13px;
    transform: none;
    box-shadow: 10px 15px 40px #4d47851a;
  }
}

.ai-window__bar {
  @media (max-width:767px) {
    height: 30px;
    padding: 0 13px;
    font-size: 8px;
  }
}

.window-dots {
  @media (max-width:767px) {
    gap: 4px;
  }

  & i {
    @media (max-width:767px) {
      width: 4px;
      height: 4px;
    }
  }
}

.window-add {
  @media (max-width:767px) {
    font-size: 14px;
  }
}

.ai-window__body {
  @media (max-width:767px) {
    padding: 19px 15px 17px;
  }
}

.ai-window__heading {
  @media (max-width:767px) {
    font-size: 14px;
    gap: 10px;
    margin-bottom: 17px;
    line-height: 1.6;
  }
}

.ai-symbol {
  @media (max-width:767px) {
    font-size: 31px;
  }
}

.ai-question {
  @media (max-width:767px) {
    gap: 8px;
    font-size: 9px;
    padding: 12px 10px;
    border-radius: 9px;
    margin-left: 6px;
    line-height: 1.8;
  }
}

.question-icon {
  @media (max-width:767px) {
    height: 24px;
    width: 24px;
  }

  & svg {
    @media (max-width:767px) {
      width: 17px;
    }
  }
}

.question-send {
  @media (max-width:767px) {
    width: 20px;
    height: 20px;
  }
}

.ai-answer {
  @media (max-width:767px) {
    gap: 8px;
    margin-top: 18px;
  }
}

.answer-icon {
  @media (max-width:767px) {
    font-size: 22px;
  }
}

.answer-lead {
  @media (max-width:767px) {
    font-size: 10px;
    line-height: 1.8;
    margin-bottom: 11px;
  }
}

.clinic-result {
  @media (max-width:767px) {
    border-radius: 8px;
  }
}

.clinic-result__image {
  & img {
    @media (max-width:767px) {
      height: 125px;
    }
  }
}

.clinic-result__body {
  @media (max-width:767px) {
    padding: 10px 12px 12px;
  }
}

.clinic-result__category {
  @media (max-width:767px) {
    font-size: 8px;
    padding: 2px 8px;
  }
}

.clinic-result__name {
  @media (max-width:767px) {
    font-size: 16px;
    margin-top: 4px;
  }
}

.clinic-result__detail {
  @media (max-width:767px) {
    font-size: 8px;
  }
}

.clinic-result__lines {
  @media (max-width:767px) {
    margin-top: 9px;
    gap: 4px;
  }

  & i {
    @media (max-width:767px) {
      height: 3px;
    }
  }
}

.answer-sources {
  @media (max-width:767px) {
    gap: 4px;
    margin-top: 10px;
  }

  &>span:not(.source-icon):not(.source-plus) {
    @media (max-width:767px) {
      font-size: 7px;
      padding: 2px 5px;
    }
  }
}

.source-icon {
  @media (max-width:767px) {
    font-size: 14px;
  }
}

.ai-window__input {
  @media (max-width:767px) {
    margin-top: 16px;
    padding: 9px 11px;
    font-size: 8px;
  }

  &>span:last-child {
    @media (max-width:767px) {
      font-size: 16px;
    }
  }
}

.visual-callout {
  @media (max-width:767px) {
    right: -9px;
    bottom: 5px;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 9px;
    font-size: 12px;
  }
}

.visual-callout__icon {
  @media (max-width:767px) {
    font-size: 25px;
  }
}

.hero-visual {
  & figcaption {
    @media (max-width:767px) {
      font-size: 8px;
      bottom: -16px;
      right: 2px;
    }
  }
}

.hero__backdrop {
  @media (max-width:767px) {
    font-size: 110px;
    bottom: -.04em;
    left: -3%;
    letter-spacing: 0;
  }
}

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

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

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

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

/* FVの高さを整え、訴求と回答イメージのバランスを調整 */

.ai-window__heading {
  display: none;
}

.ai-window__input {
  display: none;
}

.ai-window__body {
  padding-top: 28px;
  padding-bottom: 28px;
}

.clinic-result__image {
  & img {
    height: clamp(130px, 8.4vw, 160px);
  }
}

.hero__inner {
  padding-top: 60px;
  padding-bottom: 90px;

  @media (max-width:767px) {
    padding-top: 32px;
    padding-bottom: 55px;
  }
}

.hero {
  & h1 {
    line-height: 1.3;

    @media (max-width:767px) {
      line-height: 1.4;
    }
  }
}

.hero-visual {
  @media (max-width:767px) {
    margin-top: 35px;
    padding-top: 34px;
  }
}

.ai-window__body {
  @media (max-width:767px) {
    padding-top: 16px;
    padding-bottom: 18px;
  }
}

.clinic-result__image {
  & img {
    @media (max-width:767px) {
      height: 110px;
    }
  }
}

.clinic-result__body {
  @media (max-width:767px) {
    padding: 9px 12px 11px;
  }
}

.clinic-result__lines {
  @media (max-width:767px) {
    display: none;
  }
}

.ai-answer {
  @media (max-width:767px) {
    margin-top: 15px;
  }
}

/* Copy hierarchy: service label, headline, description and CTA. */

.brand__logo {
  width: clamp(230px, 18vw, 315px);
  height: auto;
}

.hero__eyebrow {
  position: relative;
  display: table;
  width: max-content;
  max-width: 100%;
  padding: 13px 30px 16px;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 8px;
  color: var(--main);
  letter-spacing: .025em;
  line-height: 1.5;
  box-shadow: 0 4px 20px #57578a04;

  &::after {
    content: "";
    position: absolute;
    left: 40px;
    bottom: -12px;
    width: 22px;
    height: 14px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
  }
}

.hero__eyebrow-target {
  display: block;
  font-weight: 500;
  letter-spacing: .045em;
  font-size: clamp(8.25px, calc(6.368932px + var(--type-viewport) * 0.005016181), 16px);
}

.hero__eyebrow-service {
  display: block;
  padding-left: 0;
  margin-top: 2px;
  font-weight: 700;
  letter-spacing: .06em;
}

.hero {
  & h1 {
    line-height: 1.34;
    letter-spacing: .015em;
  }
}

.hero__title-intro {
  font-size: .7em;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.hero__title-accent {
  padding: 0 .16em .04em;
  margin-left: -.16em;
  margin-top: .07em;
  margin-bottom: .03em;

  &::after {
    inset: .12em 0 .04em;
    width: auto;
    height: auto;
    background: #fff;
    border-radius: 3px;
  }
}

.hero__intro {
  margin-top: 24px;
  color: var(--main);
  font-size: clamp(17px, calc(var(--type-viewport) * 0.0115), 22px);
}

.hero__description {
  margin-top: 10px;
  color: #44495d;
}

.hero__actions {
  margin-top: 28px;
}

.hero__eyebrow {
  @media (min-width:768px) and (max-width:1100px) {
    padding: 12px 20px 14px;
    margin-bottom: 29px;
  }
}

.hero__eyebrow-target {
  @media (min-width:768px) and (max-width:1100px) {
    letter-spacing: 0;
  }
}

.hero__intro {
  @media (min-width:768px) and (max-width:1100px) {
    font-size: 16px;
  }
}

.brand__logo {
  @media (max-width:767px) {
    width: clamp(162px, 47vw, 220px);
  }
}

.hero__eyebrow {
  @media (max-width:767px) {
    padding: 10px 18px 12px;
    margin-bottom: 29px;
    border-radius: 6px;
  }

  &::after {
    @media (max-width:767px) {
      left: 28px;
      bottom: -10px;
      width: 18px;
      height: 12px;
    }
  }
}

.hero__eyebrow-target {
  @media (max-width:767px) {
    letter-spacing: .01em;
  }
}

.hero__eyebrow-service {
  @media (max-width:767px) {
    letter-spacing: .06em;
  }
}

.hero {
  & h1 {
    @media (max-width:767px) {
      line-height: 1.4;
    }
  }
}

.hero__title-intro {
  @media (max-width:767px) {
    font-size: .76em;
    margin-bottom: 5px;
  }
}

.hero__title-accent {
  @media (max-width:767px) {
    padding-right: .12em;
    padding-left: .12em;
    margin-left: -.12em;
  }
}

.hero__intro {
  @media (max-width:767px) {
    font-size: 16px;
    margin-top: 20px;
  }
}

.hero__description {
  @media (max-width:767px) {
    margin-top: 10px;
  }
}

.hero__actions {
  @media (max-width:767px) {
    margin-top: 24px;
  }
}

/* Layout A: illustration on the left, concise copy on the right.
   The existing illustration component and its internal styles are retained. */

.hero--layout-a {
  margin: 0 clamp(10px, 1.25vw, 24px);
  min-height: clamp(780px, 49vw, 940px);
  background: linear-gradient(110deg, #f2eff9 0%, #f7f5fc 45%, #fffdfb 75%);
  border-radius: 12px;

  &::after {
    display: none;
  }

  & .hero__side {
    display: none;
  }

  & .hero__backdrop {
    display: none;
  }

  & .hero__inner {
    max-width: 1680px;
    min-height: inherit;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(45px, 7vw, 135px);
    padding: 60px clamp(40px, 3.125vw, 60px) 80px;
    align-items: center;

    @media (min-width:768px) and (max-width:1100px) {
      gap: 35px;
      padding-right: 35px;
      padding-left: 35px;
    }

    @media (max-width:767px) {
      display: flex;
      gap: 0;
      padding: 38px 24px 60px;
      min-height: 0;
    }
  }

  & .hero__copy {
    order: 2;
    min-width: 0;

    @media (max-width:767px) {
      order: 1;
    }
  }

  & .hero-visual {
    order: 1;

    @media (max-width:767px) {
      order: 2;
    }
  }

  & .hero__eyebrow {
    display: block;
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0 0 26px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;

    @media (max-width:767px) {
      margin-bottom: 20px;
    }
  }

  & .hero__eyebrow::after {
    display: none;
  }

  & .hero__eyebrow-target {
    font-weight: 500;
    letter-spacing: .06em;

    font-size: clamp(8.25px, calc(6.368932px + var(--type-viewport) * 0.005016181), 16px);

    @media (max-width:767px) {
      letter-spacing: .015em;
    }
  }

  & .hero__eyebrow-service {
    display: block;
    padding: 0;
    margin-top: 8px;
    color: #7771b6;
    font-weight: 700;
    letter-spacing: .04em;

    font-size: clamp(12px, calc(8.359223px + var(--type-viewport) * 0.009708738), 27px);

    @media (max-width:767px) {
      margin-top: 5px;
    }
  }

  & h1 {
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: -.025em;
    color: var(--main);

    font-size: clamp(27.75px, calc(19.436893px + var(--type-viewport) * 0.022168285), 62px);

    @media (max-width:767px) {
      line-height: 1.65;
    }
  }

  & .hero__title-accent {
    display: inline;
    padding: 0;
    margin: 0;
    color: inherit;
  }

  & .hero__title-accent::after {
    display: none;
  }

  & .hero__title-line:last-child {
    font-size: clamp(27.75px, calc(19.436893px + var(--type-viewport) * 0.022168285), 62px);
  }

  & .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 22px;
    margin-top: 42px;
    width: 100%;
    max-width: 470px;

    @media (max-width:767px) {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 25px;
      max-width: none;
    }
  }

  & :is(.button-primary, .hero__consult) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    min-height: 70px;
    margin: 0;
    padding: 18px 60px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-weight: 700;
    line-height: 1.6;
    white-space: normal;
    box-shadow: none;
    font-size: clamp(12.975px, calc(11.998058px + var(--type-viewport) * 0.002605178), 17px);
  }

  & .hero__consult {
    background: #707587;
    border-color: #707587;
    transition: background .2s, border-color .2s, transform .2s;
  }

  & .hero__actions svg {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    stroke: var(--yellow);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;

    @media (max-width:767px) {
      right: 17px;
      width: 23px;
      height: 23px;
    }
  }

  & .hero__actions a>span {
    text-wrap: balance;
  }

  & .hero__consult:hover {
    background: #616779;
    border-color: #616779;
    color: #fff;
    transform: translateY(-3px);
  }

  & :is(.button-primary, .hero__consult) {
    @media (min-width:768px) and (max-width:1100px) {
      min-height: 60px;
      padding: 15px 48px;
      gap: 14px;
    }

    @media (max-width:767px) {
      min-height: 60px;
      padding: 14px 42px;
      gap: 12px;
    }
  }

  @media (max-width:767px) {
    min-height: 0;
    border-radius: 8px;
  }
}

/* Quiet decorative layer; the headline and illustration remain the focal points. */

.hero--layout-a {
  margin: clamp(10px, 1.25vw, 24px);
}

.hero__decorations {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.hero__decorative-caption {
  position: absolute;
  top: 44px;
  left: clamp(30px, 3.8vw, 72px);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #9a94b5;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .21em;

  &::before {
    content: "";
    width: 32px;
    height: 1px;
    background: #b9b3d0;
  }
}

.hero__decorative-word {
  position: absolute;
  right: 3%;
  bottom: -.2em;
  color: rgb(126 117 173 / 7%);
  font-family: var(--font-en);
  font-size: clamp(86px, calc(var(--type-viewport) * 0.091), 175px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.hero__decorative-star {
  position: absolute;
  top: 19%;
  right: 5.6%;
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #b8b1d8, #ded7eb);
  opacity: .55;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.hero--layout-a {
  & .hero__inner {
    @media (max-width:767px) {
      padding-top: 58px;
    }
  }
}

.hero__decorative-caption {
  @media (max-width:767px) {
    top: 20px;
    left: 22px;
    gap: 9px;
    font-size: 7px;
    letter-spacing: .17em;
    color: #a39dbb;
  }

  &::before {
    @media (max-width:767px) {
      width: 16px;
    }
  }
}

.hero__decorative-word {
  @media (max-width:767px) {
    right: -4%;
    bottom: -.06em;
    font-size: 76px;
    color: rgb(126 117 173 / 6%);
  }
}

.hero__decorative-star {
  @media (max-width:767px) {
    top: 23%;
    right: 7%;
    width: 14px;
    height: 14px;
    opacity: .4;
  }
}

/* Shared four-point accent. Reuse this class in future sections. */

.accent-star {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  background: currentColor;
  --accent-star-shape: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%200C12%207.5%207.5%2012%200%2012c7.5%200%2012%204.5%2012%2012%200-7.5%204.5-12%2012-12-7.5%200-12-4.5-12-12Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask: var(--accent-star-shape) center / contain no-repeat;
  mask: var(--accent-star-shape) center / contain no-repeat;
  vertical-align: middle;
}

.ai-symbol {
  &.accent-star {
    background: linear-gradient(130deg, #8883d8, #ca6fcf);
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
  }
}

.hero__decorative-star {
  &.accent-star {
    font-size: 25px;
    width: 1em;
    height: 1em;
    background: linear-gradient(135deg, #b8b1d8, #ded7eb);
    clip-path: none;

    @media (max-width:767px) {
      font-size: 14px;
    }
  }
}

/* Selected palette A: mist blue and navy. Illustration colors stay unchanged. */

.hero--layout-a {
  --hero-bg-start: #edf3fc;
  --hero-bg-middle: #f4f7fc;
  --hero-bg-end: #fffdf9;
  --hero-copy: var(--main);
  --hero-label: #707fa9;
  --hero-cta: var(--cta-navy);
  --hero-muted: #939fbd;
  --hero-word: #7185ac;
  background: linear-gradient(110deg, var(--hero-bg-start) 0%, var(--hero-bg-middle) 45%, var(--hero-bg-end) 75%);

  & h1 {
    color: var(--hero-copy);
  }

  & .hero__eyebrow-target {
    color: var(--hero-copy);
  }

  & .hero__eyebrow-service {
    color: var(--hero-label);
  }

  & .button-primary {
    background: var(--hero-cta);
  }

  & .hero__consult {
    color: #fff;
    border-color: #707587;
  }

  & .hero__decorative-caption {
    color: var(--hero-muted);
  }

  & .hero__decorative-caption::before {
    background: #939fbdbb;
  }

  & .hero__decorative-word {
    color: #7185ac12;
  }

  & .hero__decorative-star.accent-star {
    background: linear-gradient(135deg, #939fbdbb, #939fbd55);
  }
}

/* Provider credit, matching the wording used on the sister LP. */

.hero__decorative-caption {
  &::before {
    order: 1;
  }
}

.hero__provider-name {
  order: 2;
  font-weight: 500;
  letter-spacing: .12em;
}

/* Adopted copy treatment B: white speech bubble and a quiet lavender marker. */

.hero--layout-a {
  & .hero__eyebrow-service {
    position: relative;
    display: table;
    margin-top: 10px;
    padding: 8px 24px 12px;
    border-radius: 100px;
    background: #fff;
    color: var(--dark-purple);

    @media (min-width:768px) and (max-width:1100px) {
      padding: 7px 18px 10px;
    }

    @media (max-width:767px) {
      margin-top: 8px;
      padding: 6px 19px 9px;
    }
  }

  & .hero__eyebrow-service::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 32px;
    width: 20px;
    height: 16px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
  }

  & .hero__eyebrow {
    margin-bottom: 36px;

    @media (max-width:767px) {
      margin-bottom: 26px;
    }
  }

  & h1 {
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: -.035em;
  }

  & .hero__title-accent {
    background: linear-gradient(transparent 76%, #dfd9f7 76%, #dfd9f7 92%, transparent 92%);
    color: var(--hero-copy);
  }
}

/* Results: anonymous clinic case studies, with manuscript data visualized. */

.results {
  --results-ink: var(--main);
  --results-purple: #6863c7;
  padding: var(--section-space) 0;
  color: var(--results-ink);
  & .results__selector{
    font-size: clamp(11px, calc(10.514563px + var(--type-viewport) * 0.001294498), 13px);
  }
  & .results__selector span{
    font-size: clamp(10px, calc(9.514563px + var(--type-viewport) * 0.001294498), 12px);
  }
  & .result-card__period{
    font-size: clamp(8.625px, calc(8.048544px + var(--type-viewport) * 0.001537217), 11px);
  }
}

.results__inner {
  width: calc(100% - 2 * clamp(24px, 5vw, 96px));
  max-width: 1440px;
  margin: auto;
}

.results__header {
  display: grid;
  grid-template-columns: 1fr 290px;
  align-items: center;
  gap: 50px;
  margin-bottom: 44px;
}

.results__clinic {
  position: relative;
  margin: 0;
  padding: 18px 8px 0;

  &::before {
    content: "";
    position: absolute;
    inset: 15% 0 0;
    z-index: -1;
    background: #f4f5fc;
    border-radius: 50%;
  }

  & img {
    width: 100%;
    height: auto;
  }

  & figcaption {
    margin-top: 8px;
    color: #8189a6;
    font-size: 10px;
    text-align: right;
  }
}

.results__viewport {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c8c4e9 #f5f5fa;
  border: 1px solid var(--line-outer);
  border-radius: 22px;
  background: #f5f5fb;
}

.results--enhanced {
  & .results__viewport {
    scrollbar-width: none;
  }

  & .results__viewport::-webkit-scrollbar {
    display: none;
  }
}

.results__viewport {
  &:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 5px;
  }
}

.results {
  & button:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 5px;
  }
}

.result-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;

  & h3 {
    margin: 20px 0 28px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: .015em;
    font-size: clamp(19px, calc(17.058252px + var(--type-viewport) * 0.005177994), 27px);
  }
}

.result-card__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 3vw, 58px);
  background: #fff;
}

.result-card__category {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 22px;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: clamp(12px, calc(11.514563px + var(--type-viewport) * 0.001294498), 14px);
}

.result-card__number {
  color: var(--results-purple);
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: .08em;
  font-size: clamp(12px, calc(11.271845px + var(--type-viewport) * 0.001941748), 15px);
}

.result-card__region {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 5px;
  background: #f1f1fa;
  color: #5d658a;
  line-height: 1.8;
  font-size: clamp(10px, calc(9.514563px + var(--type-viewport) * 0.001294498), 12px);
}

.result-card__metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 19px;
  color: var(--results-purple);
  line-height: 1;
  white-space: nowrap;
}

.result-card__approx {
  font-weight: 700;
  font-size: clamp(17px, calc(16.029126px + var(--type-viewport) * 0.002588997), 21px);
}

.result-card__value {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: -.055em;
  font-size: clamp(86px, calc(77.747573px + var(--type-viewport) * 0.022006472), 120px);
}

.result-card__unit {
  font-weight: 900;
  font-size: clamp(26px, calc(24.543689px + var(--type-viewport) * 0.003883495), 32px);
}

.result-card__period {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-divider);
  color: #78809b;
  line-height: 1.9;
  font-size: clamp(8.625px, calc(8.048544px + var(--type-viewport) * 0.001537217), 11px);
}

.result-card__graph {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 3.3vw, 64px);
  background: linear-gradient(140deg, #f3f3fc, #f1f5fc);

  &>.accent-star {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #d6d0ed;
    font-size: 30px;
  }

  @media (max-width:1100px) {
    padding: 32px;
  }

  @media (max-width:767px) {
    padding: 26px 23px 22px;
  }
}

.result-card__graph-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(16px, calc(14.786408px + var(--type-viewport) * 0.003236246), 21px);
}

.result-chart {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(24px, 3vw, 58px);
  height: 235px;
  margin: 32px 5px 0;
  padding: 0 clamp(12px, 1.5vw, 30px);
  border-bottom: 1px solid #b9c0d7;
  background: repeating-linear-gradient(to top, transparent 0, transparent 57px, var(--line-divider) 57px, var(--line-divider) 58px);
}

.result-chart__column {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.result-chart__value {
  display: block;
  margin-bottom: 10px;
  color: #78809b;
  font-family: var(--font-en);
  font-weight: 500;
  line-height: 1;
  font-size: clamp(26px, calc(24.543689px + var(--type-viewport) * 0.003883495), 32px);
}

.result-chart__column--after {
  & .result-chart__value {
    color: var(--results-purple);
    font-size: clamp(34px, calc(32.058252px + var(--type-viewport) * 0.005177994), 42px);
  }
}

.result-chart__bar {
  display: block;
  flex-shrink: 0;
  width: 100%;
  max-width: 145px;
  height: var(--bar-height);
  border-radius: 6px 6px 0 0;
  background: #ced3e5;
}

.result-chart__column--after {
  & .result-chart__bar {
    background: linear-gradient(180deg, #9b92df, #6863c7);
  }
}

.result-chart__labels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 58px);
  padding: 13px clamp(17px, 1.76vw, 35px) 0;
  text-align: center;

  font-size: clamp(10px, calc(9.514563px + var(--type-viewport) * 0.001294498), 12px);

  & span:last-child {
    color: var(--results-purple);
    font-weight: 700;
  }
}

.result-chart--months {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;

  & .result-chart__bar {
    max-width: 95px;
  }

  & .result-chart__column:nth-child(2) .result-chart__bar {
    background: #b2abdf;
  }
}

.result-chart__labels--months {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.result-card__source {
  margin-top: 5px;
  color: #78809b;
  line-height: 1.9;
  text-align: left;
  font-size: 10px;
}

.results__navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;

  &[hidden] {
    display: none;
  }
}

.results__selectors {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 12px 28px;

  @media (max-width:1100px) {
    gap: 10px 18px;
  }
}

.results__selector {
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #8990a8;
  font: 700 clamp(11px, calc(10.514563px + var(--type-viewport) * 0.001294498), 13px) var(--font-jp);
  cursor: pointer;

  font-size: clamp(11px, calc(10.514563px + var(--type-viewport) * 0.001294498), 13px);

  & span {
    margin-right: 9px;
    font: 500 clamp(10px, calc(9.514563px + var(--type-viewport) * 0.001294498), 12px) var(--font-en);
    font-size: clamp(10px, calc(9.514563px + var(--type-viewport) * 0.001294498), 12px);
  }

  &[aria-current="true"] {
    border-color: var(--results-purple);
    color: var(--results-purple);
  }
}

.results__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.results__counter {
  margin-right: 12px;
  color: #8f96ad;
  font: 400 14px var(--font-en);
  letter-spacing: .08em;

  font-size: 14px;

  & strong {
    color: var(--results-ink);
    font-weight: 500;
  }
}

.results__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-outer);
  border-radius: 50%;
  background: #fff;
  color: var(--results-ink);
  cursor: pointer;
  transition: background .2s, color .2s;

  & svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }

  &:disabled {
    opacity: .3;
    cursor: default;
  }

  &:hover:not(:disabled) {
    background: var(--results-ink);
    color: #fff;
  }
}

.results__header {
  @media (max-width:1100px) {
    grid-template-columns: 1fr 220px;
    gap: 30px;
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 28px;
  }
}

.result-card__copy {
  @media (max-width:1100px) {
    padding: 32px;
  }

  @media (max-width:767px) {
    padding: 26px 23px 25px;
  }
}

.result-card__region {

  @media (max-width:767px) {
    padding: 5px 9px;
  }
}

.results__clinic {
  @media (max-width:767px) {
    display: none;
  }
}

.results__viewport {
  @media (max-width:767px) {
    border-radius: 14px;
  }
}

.result-card {
  @media (max-width:767px) {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  & h3 {
    @media (max-width:767px) {
      margin: 14px 0 18px;
      line-height: 1.8;
    }
  }
}

.result-card__category {
  @media (max-width:767px) {
    gap: 12px;
    margin-bottom: 16px;
  }
}

.result-card__metric {
  @media (max-width:767px) {
    margin-top: 18px;
    gap: 6px;
  }
}

.result-card__period {
  @media (max-width:767px) {
    padding-top: 16px;
  }
}

.result-card__graph {
  &>.accent-star {
    @media (max-width:767px) {
      top: 23px;
      right: 20px;
      font-size: 22px;
    }
  }
}

.result-card__graph-title {
  @media (max-width:767px) {
    padding-right: 22px;
  }
}

.result-chart {
  @media (max-width:767px) {
    height: 180px;
    margin: 20px 0 0;
    padding: 0 15px;
    gap: 35px;
    background-size: auto 100%;
  }
}

.result-chart__value {
  @media (max-width:767px) {
    margin-bottom: 8px;
  }
}

.result-chart__labels {
  @media (max-width:767px) {
    gap: 35px;
    padding: 11px 15px 0;
  }
}

.result-chart--months {
  @media (max-width:767px) {
    gap: 18px;
  }
}

.result-chart__labels--months {
  @media (max-width:767px) {
    gap: 18px;
  }
}

.result-card__source {
  @media (max-width:767px) {
    margin-top: 5px;
  }
}

.results__navigation {
  @media (max-width:767px) {
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
  }
}

.results__selectors {
  @media (max-width:767px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    flex-basis: 100%;
  }
}

.results__selector {
  @media (max-width:767px) {
    text-align: left;
    padding: 10px 0;
  }
}

.results__controls {
  @media (max-width:767px) {
    margin-left: auto;
  }
}

.results__arrow {
  @media (max-width:767px) {
    width: 42px;
    height: 42px;
  }
}

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

/* Reusable diagnosis CTA. Instance-specific IDs belong only to heading labels. */

.diagnosis-cta {
  margin: 0 clamp(10px, 1.25vw, 24px);
  color: var(--main);

  & h3 {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    font-weight: 700;
    line-height: 1.5;

    font-size: clamp(18px, calc(16.31068px + var(--type-viewport) * 0.004504854), 24.96px);

    @media (max-width:767px) {
      margin-bottom: 0;
      gap: 2px;
    }
  }

  & h3>span {
    margin: 0 1px 0 4px;
    color: var(--dark-purple);
    font: 500 clamp(32px, calc(30.058252px + var(--type-viewport) * 0.005177994), 40px)/1 var(--font-en);

    font-size: clamp(32px, calc(30.058252px + var(--type-viewport) * 0.005177994), 40px);
  }
}

.diagnosis-cta__inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(100px, 6.8vw, 130px) clamp(28px, 4vw, 76px) clamp(76px, 5.2vw, 100px);
  border-radius: 22px;
  background: linear-gradient(120deg, #f4f5fc, #f8f7fc 60%, #fffdf4);

  &::before {
    content: "";
    position: absolute;
    z-index: -2;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(clamp(36px, 4vw, 76px));

    width: 82%;
    aspect-ratio: 1.35;
    top: -63%;
    right: -12%;
    background: linear-gradient(135deg, #c8bfe9 5%, #cbd8f1 50%, #d5e8f6);
    opacity: .85;

    @media (max-width:767px) {
      top: -16%;
      right: -68%;
      width: 160%;
      aspect-ratio: 1.25;
      filter: blur(42px);
      opacity: .85;
    }
  }

  &::after {
    content: "";
    position: absolute;
    z-index: -2;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(clamp(36px, 4vw, 76px));

    width: 74%;
    aspect-ratio: 1.3;
    left: -28%;
    bottom: -78%;
    background: linear-gradient(135deg, #d2def5, #e0daf3 60%, #f5e9bd);
    opacity: .8;

    @media (max-width:767px) {
      bottom: -12%;
      left: -90%;
      width: 150%;
      aspect-ratio: 1.2;
      filter: blur(45px);
      opacity: .65;
    }
  }

  @media (max-width:767px) {
    padding: 100px 24px 66px;
    border-radius: 14px;
  }
}

.diagnosis-cta__content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: auto;
  text-align: center;

  @media (max-width:767px) {
    max-width: 430px;
  }
}

.section-heading--diagnosis {
  max-width: 1100px;
  margin: 0 auto 48px;

  @media (max-width:767px) {
    width: 100%;
    margin: 0 auto 45px;
  }
}

.section-heading__title--diagnosis {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 30px clamp(30px, 3vw, 58px) 34px;
  border-radius: 32px 12px 36px 12px;
  background: #fff;
  filter: drop-shadow(8px 10px 0 #c6c0e5);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: .015em;

  font-size: clamp(26.625px, calc(20.504854px + var(--type-viewport) * 0.016320388), 51.84px);

  &::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -23px;
    width: 36px;
    height: 25px;
    transform: translateX(-50%);
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);

    @media (max-width:767px) {
      bottom: -18px;
      width: 28px;
      height: 20px;
    }
  }

  @media (max-width:767px) {
    width: 100%;
    padding: 23px 10px 25px;
    border-radius: 24px 8px 26px 8px;
    letter-spacing: 0;
    line-height: 1.65;
    filter: drop-shadow(5px 7px 0 #c6c0e5);
  }
}

.diagnosis-cta__title-intro {
  display: block;
  margin-bottom: 13px;
  line-height: 1.6;

  font-size: clamp(18.105px, calc(14.446602px + var(--type-viewport) * 0.009755728), 33.1776px);

  @media (max-width:767px) {
    margin-bottom: 12px;
  }
}

.diagnosis-cta__title-main {
  color: var(--main);

  &>span {
    display: inline-block;
  }

  &>span:first-child {
    color: #625bc1;
  }

  &>span {
    @media (max-width:767px) {
      display: block;
      width: fit-content;
      margin-inline: auto;
    }
  }
}

.diagnosis-cta__points {
  margin: 60px auto 0;
  max-width: 1000px;

  @media (max-width:767px) {
    margin-top: 60px;
  }
}

.diagnosis-cta__points-heading {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 28px;

  display: grid;

  justify-items: start;

  row-gap: 14px;

  @media (max-width:767px) {
    margin-bottom: 27px;
    display: block;
  }

  & h3{
    margin: 0;
  }
  @media (min-width:1101px) {
    display: block;
  }
}

.diagnosis-cta__points-script {
  position: relative;
  z-index: auto;
  left: auto;
  top: auto;
  width: max-content;
  color: #9288bf99;
  font: 400 28px/1 "Allura", cursive;
  transform: rotate(-12deg);
  pointer-events: none;

  font-size: 28px;

  transform-origin: left bottom;

  user-select: none;
  @media (min-width:1101px) {
    position: absolute;
    z-index: -1;
    left: -2.5em;
    top: -.25em;
    transform-origin: center;
  }

  @media (max-width:767px) {
    position: absolute;
    z-index: -1;
    left: -.7em;
    top: -.6em;
    transform-origin: center;
  }
}

.diagnosis-cta__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 24px 0;
  border: 1px solid var(--line-outer);
  border-radius: 12px;
  background: #ffffffd9;
  list-style: none;

  & li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px 24px;
    text-align: left;
  }

  & li+li {
    border-left: 1px solid var(--line-divider);
  }

  & p {
    font-weight: 700;
    line-height: 1.8;

    font-size: clamp(13px, calc(12.514563px + var(--type-viewport) * 0.001294498), 15px);

    @media (max-width:767px) {
      line-height: 1.7;
    }
  }

  @media (min-width:768px) and (max-width:1100px) {
    padding: 18px 0;
  }

  & li {
    @media (min-width:768px) and (max-width:1100px) {
      padding: 8px 16px;
      gap: 10px;
    }

    @media (max-width:767px) {
      grid-template-columns: 26px minmax(0, 1fr);
      gap: 12px;
      padding: 18px 0;
    }
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 18px;
  }

  & li+li {
    @media (max-width:767px) {
      border-left: 0;
      border-top: 1px solid var(--line-divider);
    }
  }
}

.diagnosis-cta__number {
  color: var(--dark-purple);
  font: 500 clamp(20px, calc(19.271845px + var(--type-viewport) * 0.001941748), 23px)/1 var(--font-en);
  letter-spacing: .02em;

  font-size: clamp(20px, calc(19.271845px + var(--type-viewport) * 0.001941748), 23px);
}

.diagnosis-cta__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 450px;
  min-height: 70px;
  margin: 32px auto 0;
  padding: 18px 28px;
  border-radius: 100px;
  background: var(--cta-navy);
  box-shadow: 0 8px 22px #3e4f961a;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  transition: background .2s, box-shadow .2s;

  font-size: clamp(12.975px, calc(11.998058px + var(--type-viewport) * 0.002605178), 17px);

  & svg {
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    stroke: currentColor;
    stroke-width: 1.4;

    @media (max-width:767px) {
      width: 23px;
      height: 23px;
    }
  }

  &:hover {
    background: var(--cta-navy);
    box-shadow: 0 10px 26px #3e4f9629;
  }

  @media (max-width:767px) {
    min-height: 60px;
    margin-top: 25px;
    padding: 16px 19px;
    gap: 12px;
  }
}

.diagnosis-cta__decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.diagnosis-cta__english {
  position: absolute;
  top: -10px;
  right: -.02em;
  color: #ffffff40;
  font: 600 clamp(33.75px, calc(10.38835px + var(--type-viewport) * 0.062297735), 130px)/1 var(--font-en);
  letter-spacing: -.035em;
  white-space: nowrap;

  font-size: clamp(33.75px, calc(10.38835px + var(--type-viewport) * 0.062297735), 130px);

  @media (max-width:767px) {
    top: 16px;
    right: 14px;
    letter-spacing: -.04em;
  }
}

.diagnosis-cta__description {
  @media (max-width:767px) {
    text-align: left;
  }
}

/* Approach: two editorial scenes lead into a distinct question-first conclusion. */

.approach {
  padding: var(--section-space) 0;
  color: var(--main);
}

.approach__inner {
  width: calc(100% - 2 * clamp(24px, 5vw, 96px));
  max-width: 1440px;
  margin: auto;
}

.approach__header {
  margin-bottom: -8px;
  text-align: center;

  @media (max-width:767px) {
    margin-bottom: 12px;
  }
}

.approach__title {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 32px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .025em;

  font-size: clamp(18.375px, calc(16.543689px + var(--type-viewport) * 0.004883495), 25.92px);

  &>span {
    display: inline-block;
  }

  &>span:last-child {
    padding: 0 .08em;
    font-weight: 900;
    line-height: 1.6;
    font-size: clamp(28.125px, calc(25.242718px + var(--type-viewport) * 0.007686084), 40px);
  }

  @media (max-width:767px) {
    display: block;
    margin: 0 0 28px;
    line-height: 1.8;
    letter-spacing: 0;
  }

  &>span {
    @media (max-width:767px) {
      display: block;
    }
  }

  &>span:last-child {
    @media (max-width:767px) {
      width: fit-content;
      margin: 7px auto 0;
      line-height: 1.6;
    }
  }
}

.approach__lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 10px;
  font-weight: 900;
  line-height: 1.8;

  font-size: clamp(20px, calc(19.029126px + var(--type-viewport) * 0.002588997), 24px);

  &::before {
    content: "";
    width: 48px;
    height: 1px;
    background: #aaa4cd;

    @media (max-width:767px) {
      width: 32px;
    }
  }

  &::after {
    content: "";
    width: 48px;
    height: 1px;
    background: #aaa4cd;

    @media (max-width:767px) {
      width: 32px;
    }
  }

  @media (max-width:767px) {
    gap: 14px;
    margin-bottom: 8px;
  }
}

.approach__points {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  align-items: stretch;

  @media (min-width:768px) and (max-width:1200px) {
    gap: 60px;
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 54px;
  }
}

.approach-point {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 0 0 26px;

  & h3 {
    margin: 0 0 18px;
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: .015em;
    text-wrap: balance;

    font-size: clamp(22.875px, calc(21.145631px + var(--type-viewport) * 0.00461165), 30px);

    @media (min-width:768px) and (max-width:1200px) {
      text-wrap: initial;
    }

    @media (max-width:767px) {
      margin: 0 0 12px;
      line-height: 1.6;
      letter-spacing: 0;
      text-wrap: initial;
    }
  }

  @media (min-width:768px) and (max-width:1200px) {
    grid-template-columns: 1fr;
    gap: 20px;
    align-content: start;
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 0;
  }
}

.approach-point__copy {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;

  @media (min-width:768px) and (max-width:1200px) {
    grid-column: 1;
    grid-row: 2;
  }

  @media (max-width:767px) {
    grid-column: 1;
    grid-row: 1;
  }
}

.approach-point__description {
  color: #616b8c;
  text-wrap: pretty;

  & br {
    display: none;

    @media (min-width:1201px) {
      display: initial;
    }
  }
}

.approach-point__visual {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;

  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 8% 0 5%;
    border-radius: 48% 52% 38% 62% / 52% 42% 58% 48%;
    background: linear-gradient(145deg, #ece9f9, #f6f5fc 72%);
  }

  & img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
  }

  @media (min-width:768px) and (max-width:1200px) {
    grid-row: 1;
    max-width: 340px;
    margin: auto;
  }

  @media (max-width:767px) {
    grid-row: 2;
    max-width: 290px;
    margin: 0 auto;
  }
}

.approach-point--external {
  & .approach-point__visual::before {
    background: linear-gradient(145deg, #e9eff9, #f5f8fc 72%);
    border-radius: 58% 42% 52% 48% / 42% 60% 40% 58%;
  }
}

.approach__plus {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #9289c3;
  font-weight: 400;
  line-height: 1;
  transform: translate(-50%, -50%);

  font-size: clamp(29px, calc(27.543689px + var(--type-viewport) * 0.003883495), 35px);

  @media (max-width:767px) {
    top: 50%;
    width: 30px;
    height: 30px;
  }
}

.approach__conclusion {
  margin: 28px 0 0;
  text-align: center;

  &>p:first-child {
    margin: 0 0 12px;
    color: #616b8c;
    font-weight: 700;
    line-height: 1.9;

    font-size: clamp(15px, calc(13.786408px + var(--type-viewport) * 0.003236246), 20px);

    @media (max-width:767px) {
      max-width: none;
      margin-bottom: 12px;
    }
  }

  & strong {
    color: var(--main);
    font-weight: 900;
  }

  @media (max-width:767px) {
    margin: 32px 0 0;
  }

  &>p:first-child>span {
    @media (max-width:767px) {
      display: block;
    }
  }
}

.approach-note {
  max-width: 960px;
  margin: 88px auto 0;

  & h3 {
    margin: 0;
    font-weight: 700;
    line-height: 1.7;

    font-size: clamp(14.625px, calc(13.320388px + var(--type-viewport) * 0.003478964), 20px);
  }

  @media (max-width:767px) {
    margin-top: 64px;
  }
}

.approach-note__focus {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 58px 56px 44px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2)), var(--main);
  color: #fff;

  @media (min-width:768px) and (max-width:1200px) {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 32px 30px;
  }

  @media (max-width:767px) {
    display: block;
    padding: 42px 24px 30px;
    border-radius: 16px;
  }
}

.approach-note__heading {
  position: absolute;
  top: -20px;
  left: 36px;
  display: flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #ddd9f0;
  border-radius: 30px;
  background: #fff;
  color: var(--main);
  box-shadow: 4px 4px 0 #aaa1d46b;

  &>div {
    display: flex;
    align-items: center;
    gap: 13px;

    @media (max-width:767px) {
      gap: 6px;
    }
  }

  @media (max-width:767px) {
    top: -17px;
    left: 14px;
    max-width: calc(100% - 28px);
    padding: 7px 9px;
  }
}

.approach-note__illustration {
  flex-shrink: 0;
  width: 30px;
  height: 36px;
  object-fit: contain;
  margin: -3px 0;

  @media (max-width:767px) {
    width: 22px;
    height: 28px;
    margin: -2px 0;
  }
}

.approach__conclusion-message {
  font-weight: 900;
  line-height: 1.8;
  letter-spacing: .015em;

  font-size: clamp(21.75px, calc(19.339806px + var(--type-viewport) * 0.006427184), 31.68px);

  text-wrap: balance;

  @media (max-width:767px) {
    line-height: 1.9;
    letter-spacing: 0;
  }
}

.approach-note__body {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  color: #f4f3fc;

  & p {
    margin: 0;
    text-wrap: pretty;
  }

  & p+p {
    margin-top: 32px;

    @media (max-width:767px) {
      margin-top: 28px;
    }
  }

  & strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 900;
    line-height: 1.7;
    letter-spacing: .015em;

    font-size: clamp(19px, calc(17.553398px + var(--type-viewport) * 0.003857605), 24.96px);

    @media (max-width:767px) {
      margin-bottom: 12px;
      line-height: 1.75;
      letter-spacing: 0;
    }
  }
}

/* Service introduction and service 01: strategy, from keywords to questions. */

.services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --line-outer: #b8b4cd;
  --line-divider: #d0ccdf;
  padding: var(--section-space) 0;
  background: #f4f6fb;
  color: var(--main);

  &::before {
    content: "SERVICES";
    position: absolute;
    z-index: -1;
    top: calc(var(--section-space) - .35em);
    left: 50%;
    transform: translateX(-50%);
    color: #3e4f830b;
    font: 500 clamp(76px, calc(20.174757px + var(--type-viewport) * 0.148867314), 306px)/1 var(--font-en);
    letter-spacing: .015em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    font-size: clamp(76px, calc(20.174757px + var(--type-viewport) * 0.148867314), 306px);
  }
}

.services__inner {
  width: calc(100% - 2 * clamp(24px, 5vw, 96px));
  max-width: 1440px;
  margin: auto;
}

.section-heading__title--services {
  &>span {
    display: block;
  }

  & em {
    padding: 0 .08em;
    font-style: normal;
  }
}

.strategy {
  --strategy-content-width: 960px;
  --strategy-summary-size: clamp(23px, calc(21.300971px + var(--type-viewport) * 0.004530744), 30px);
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(30px, 3vw, 56px);
  border: 1px solid var(--line-outer);
  border-radius: 16px;
  background: #fff;

  & h3 {
    margin: 0 0 16px;
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: .02em;
    font-size: clamp(21px, calc(18.330097px + var(--type-viewport) * 0.007119741), 32px);
    text-wrap: balance;
  }

  & h3>span {
    display: inline-block;
  }

  & h3>span:last-child {
    color: var(--dark-purple);
  }
}

.strategy__body {
  width: 100%;
  max-width: var(--strategy-content-width);
  margin-inline: auto;
}

.strategy__header {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.strategy__english {
  display: block;
  margin: 0 0 5px;
  color: #aaa8c8;
  font: 500 clamp(11px, calc(10.757282px + var(--type-viewport) * 0.000647249), 12px)/1.4 var(--font-en);
  letter-spacing: .16em;

  font-size: clamp(11px, calc(10.757282px + var(--type-viewport) * 0.000647249), 12px);

  &::before {
    content: "ー";
    margin-right: .6em;
  }
}

.strategy__index {
  padding-right: 12px;
  color: #8278b5;
  font: 500 clamp(46px, calc(41.631068px + var(--type-viewport) * 0.011650485), 64px)/1 var(--font-en);
  letter-spacing: -.04em;
  font-size: clamp(46px, calc(41.631068px + var(--type-viewport) * 0.011650485), 64px);
}

.strategy__tasks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 30px;
  padding: 0;
  list-style: none;

  & li {
    position: relative;
    padding: 10px 8px 10px 28px;
    font-weight: 700;
    line-height: 1.7;
    font-size: clamp(12px, calc(11.514563px + var(--type-viewport) * 0.001294498), 14px);
  }

  & li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 14px;
    width: 7px;
    height: 11px;
    border-right: 2px solid #7770b0;
    border-bottom: 2px solid #7770b0;
    transform: rotate(40deg);
  }
}

.strategy__tasks--overview {
  gap: 0;
  margin-bottom: 0;
  padding: 14px 8px;
  border: 1px solid #b8b4cd;
  border-radius: 10px;
  background: #faf9fd;

  & li {
    padding: 10px 18px 10px 52px;
  }

  & li::before {
    left: 20px;
  }

  & li+li {
    border-left: 1px solid var(--line-divider);
  }
}

/* Service 01 overview; the detailed explanation stays on white. */

.strategy--even {
  --strategy-header-color: #62669f;
}

.strategy__masthead {
  --line-divider: rgba(255, 255, 255, 0.35);
  margin: calc(-1 * clamp(30px, 3vw, 56px)) calc(-1 * clamp(30px, 3vw, 56px)) 0;
  padding: clamp(30px, 3vw, 56px);
  border-radius: 15px 15px 0 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2)), var(--strategy-header-color, var(--main));
  color: #fff;

  & .strategy__index {
    color: #fff;
  }

  & h3>span:last-child {
    color: #fff;
  }

  & .strategy__intro {
    color: #fff;
    text-wrap: balance;
  }

  & .strategy__tasks--overview {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
  }

  & .strategy__tasks--overview li {
    border-color: rgba(255, 255, 255, 0.35);
  }
}

.strategy__tasks--overview {
  & li::before {
    top: 10px;
    width: 22px;
    height: 22px;
    border: 0;
    background: url("../img/strategy-check-dimensional.svg") center / contain no-repeat;
    transform: none;
  }
}

.strategy__tasks--icons {
  & li::before {
    content: none;
  }

  & .strategy__task-icon {
    position: absolute;
    left: 16px;
    top: 8px;
    width: 28px;
    height: 28px;
    object-fit: contain;

    @media (max-width:767px) {
      left: 4px;
      top: 14px;
      width: 20px;
      height: 20px;
    }
  }
}

.strategy__body-heading {
  margin: 0 0 24px;
  color: var(--main);
  font-weight: 900;
  line-height: 1.9;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(19px, calc(17.553398px + var(--type-viewport) * 0.003857605), 24.96px);
}

.strategy__examples {
  display: block;
  margin-top: 64px;
}

.strategy-keywords {
  min-width: 0;
  max-width: 1120px;
  margin-inline: auto;
}

.strategy-questions {
  min-width: 0;
  max-width: 1120px;
  margin-inline: auto;

  margin-top: 88px;
}

.strategy__example-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  max-width: 960px;
  margin: 0 auto 24px;
  font-weight: 700;
  line-height: 1.7;

  font-size: clamp(14px, calc(13.514563px + var(--type-viewport) * 0.001294498), 16px);

  &>img {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
  }
}

.strategy-keywords {
  & .strategy__example-title {
    margin-bottom: 12px;
  }
}

.strategy-keywords__scroll {
  max-width: 960px;
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #c6c0e3 #ebebf5;
  border: 1px solid var(--line-outer);
  border-radius: 6px;
  background: #fff;

  &:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 4px;
  }
}

.strategy-keywords__table {
  width: 100%;
  min-width: 590px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #5b6588;
  line-height: 1.85;
  text-align: left;

  font-size: clamp(11px, calc(10.271845px + var(--type-viewport) * 0.001941748), 14px);

  & th {
    padding: 15px 11px;
    border-bottom: 1px solid var(--line-divider);
    vertical-align: middle;
    overflow-wrap: anywhere;
  }

  & td {
    padding: 15px 11px;
    border-bottom: 1px solid var(--line-divider);
    vertical-align: middle;
    overflow-wrap: anywhere;
  }

  & thead th {
    padding: 11px;
    background: #e5e1f1;
    color: var(--main);
    font-weight: 700;
    line-height: 1.8;
    font-size: 12px;
  }

  & tbody th {
    color: var(--main);
    font-weight: 700;
    font-size: clamp(12px, calc(11.271845px + var(--type-viewport) * 0.001941748), 15px);
  }

  & tr:last-child>* {
    border-bottom: 0;
  }

  & .strategy-keywords__volume {
    font-family: var(--font-en);
    white-space: nowrap;
    font-size: 15px;
  }
}

.strategy-keywords__col-word {
  width: 15%;
}

.strategy-keywords__col-volume {
  width: 13%;
}

.strategy-keywords__col-policy {
  width: 14%;
}

.strategy-keywords__col-competition {
  width: 15%;
}

.strategy-keywords__focus {
  background: #f8f6db;

  &>th:first-child {
    box-shadow: inset 4px 0 0 #9a8d51;
  }

  &>td:last-child {
    color: var(--dark-purple);
    font-weight: 700;
  }
}

.strategy-keywords__hint {
  display: none;

  font-size: clamp(9px, calc(7.300971px + var(--type-viewport) * 0.004530744), 16px);

  @media (max-width:1360px) {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 0 6px;
    color: #8a8eaa;
    line-height: 1.5;
  }

  & span {
    font-size: 16px;
    @media (max-width:1360px) {
      line-height: 1;
    }
  }
}

.strategy__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.strategy-questions__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;

  & li {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  & p {
    position: relative;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 16px 12px;
    border: 1px solid var(--line-outer);
    border-radius: 12px;
    background: #fff;
    font-weight: 700;
    line-height: 1.8;
    font-size: clamp(13px, calc(12.757282px + var(--type-viewport) * 0.000647249), 14px);
  }

  & p::before {
    content: "";
    position: absolute;
    top: calc(50% - 5px);
    left: -6px;
    width: 10px;
    height: 10px;
    border-left: 1px solid var(--line-outer);
    border-bottom: 1px solid var(--line-outer);
    background: #fff;
    transform: rotate(45deg);
  }

  @media (max-width:1360px) {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.strategy-questions__person {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
}

.strategy__conclusion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 960px;
  margin: 64px auto 0;
  padding: 36px 0 0;
  border-top: 1px solid var(--line-divider);
  font-size: var(--strategy-summary-size);
  font-weight: 900;
  line-height: 1.85;
  text-align: center;
  text-wrap: balance;

  & .accent-star {
    flex-shrink: 0;
    color: var(--dark-purple);
    font-size: clamp(20px, calc(19.029126px + var(--type-viewport) * 0.002588997), 24px);
  }
}

.strategy__tasks--overview {
  & li:nth-child(3) {
    @media (max-width:1360px) {
      border-left: 0;
    }
  }

  & li:nth-child(n + 3) {
    @media (max-width:1360px) {
      border-top: 1px solid var(--line-divider);
    }
  }
}

.strategy__tasks {
  @media (max-width:1360px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media (max-width:767px) {
    margin: 24px 0;
    gap: 8px;
  }

  & li {
    @media (max-width:767px) {
      padding: 8px 4px 8px 22px;
      line-height: 1.8;
    }
  }

  & li::before {
    @media (max-width:767px) {
      left: 4px;
      top: 12px;
      width: 5px;
      height: 8px;
    }
  }
}

.services__inner {
  @media (max-width:767px) {
    width: calc(100% - 40px);
  }
}

.strategy {
  @media (max-width:767px) {
    padding: 26px 20px;
    border-radius: 13px;
  }

  & h3 {
    @media (max-width:767px) {
      margin-bottom: 15px;
      letter-spacing: 0;
      line-height: 1.7;
    }
  }

  & h3>span {
    @media (max-width:767px) {
      display: inline;
    }
  }
}

.strategy__header {
  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.strategy__index {
  @media (max-width:767px) {
    padding: 0;
  }
}

.strategy__tasks--overview {
  @media (max-width:767px) {
    gap: 0;
    padding: 8px;
    margin-bottom: 0;
  }

  & li {
    @media (max-width:767px) {
      padding: 12px 7px 12px 30px;
    }
  }

  & li::before {
    @media (max-width:767px) {
      left: 5px;
      top: 15px;
      width: 17px;
      height: 17px;
    }
  }
}

.strategy__masthead {
  @media (max-width:767px) {
    margin: -26px -20px 0;
    padding: 30px 20px;
    border-radius: 12px 12px 0 0;
  }
}

.strategy__body-heading {
  @media (max-width:767px) {
    margin-bottom: 20px;
  }
}

.strategy__examples {
  @media (max-width:767px) {
    margin-top: 44px;
  }
}

.strategy-questions {
  @media (max-width:767px) {
    margin-top: 60px;
  }
}

.strategy__example-title {
  @media (max-width:767px) {
    min-height: 24px;
    gap: 8px;
    margin-bottom: 20px;
  }

  &>img {
    @media (max-width:767px) {
      width: 24px;
      height: 24px;
    }
  }
}

.strategy-keywords {
  & .strategy__example-title {
    @media (max-width:767px) {
      margin-bottom: 8px;
    }
  }

  container-type: inline-size;
}

.strategy-keywords__hint {

  @container (min-width:592px) {
    display: none;
  }
}

.strategy-keywords__table {

  & th {
    @media (max-width:767px) {
      padding: 13px 10px;
    }
  }

  & td {
    @media (max-width:767px) {
      padding: 13px 10px;
    }
  }
}

.strategy-questions__list {
  & li {
    @media (max-width:767px) {
      gap: 8px;
    }
  }

  & p {
    @media (max-width:767px) {
      padding: 12px 10px;
      border-radius: 9px;
      line-height: 1.85;
    }
  }
}

.strategy-questions__person {
  @media (max-width:767px) {
    width: 36px;
    height: 36px;
  }
}

.strategy__conclusion {
  @media (max-width:767px) {
    gap: 12px;
    margin-top: 48px;
    padding-top: 28px;
    line-height: 1.85;
  }

  & .accent-star {
    @media (max-width:767px) {
      margin-top: 4px;
    }
  }
}

/* Service 02: on-site content. The two demonstrations are illustrative, not live pages. */

.internal-service {
  margin-top: 32px;
}

.internal-service__connection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f0edf9;
  color: var(--dark-purple);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;

  & .accent-star {
    font-size: 13px;
  }
}

.internal-service__visuals {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  margin-top: 64px;
}

.strategy__masthead {
  & .internal-service__connection {
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    color: #fff;
  }

  & .internal-service__connection .accent-star {
    color: var(--yellow);
  }
}

.page-improvement {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.blog-expansion {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.internal-service__visual-heading {
  width: 100%;

  & small {
    display: block;
    margin-top: 4px;
    color: #8189a5;
    font-size: 11px;
    font-weight: 500;
  }
}

.page-improvement__comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: stretch;
}

.page-improvement__stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-improvement__label {
  margin-bottom: 13px;
  color: #969db5;
  font: 500 16px var(--font-en);
  text-align: center;
  letter-spacing: .025em;
}

.page-improvement__label--after {
  color: var(--dark-purple);
}

.page-improvement__arrow {
  display: grid;
  align-items: center;
  justify-items: center;
  color: #8275b0;

  & svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

.clinic-page {
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--line-outer);
  border-radius: 9px;
  background: #fff;
  color: #7d87a3;
  text-align: left;
}

.clinic-page--after {
  border-color: #887bb7;
  color: var(--main);
  box-shadow: 0 5px 0 #e0dced;
}

.clinic-page__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-divider);
  color: #7a85a5;
  font: 500 9px var(--font-en);
  letter-spacing: .08em;

  & i {
    width: 13px;
    height: 7px;
    border-top: 1px solid #a5acc2;
    border-bottom: 1px solid #a5acc2;
  }
}

.clinic-page__body {
  padding: 15px 12px;
}

.clinic-page__title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
}

.clinic-page__image {
  display: grid;
  place-items: center;
  margin: 14px 0;
  height: 90px;
  border-radius: 4px;
  background: #f0f1f6;

  & svg {
    width: 75%;
    height: 70%;
  }
}

.clinic-page__lines {
  display: grid;
  gap: 6px;

  & i {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: #e3e6f0;
  }

  & i:nth-child(2) {
    width: 85%;
  }

  & i:nth-child(3) {
    width: 65%;
  }
}

.clinic-page__simple {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  background: #f3f4f8;
  font-size: 10px;
  font-weight: 700;
}

.clinic-page__old-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding: 9px 10px;
  border: 1px solid var(--line-outer);
  border-radius: 100px;
  font-size: 8px;
}

.clinic-page__hero {
  display: grid;
  grid-template-columns: 1fr 46%;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;

  & svg {
    width: 100%;
    height: auto;
  }
}

.clinic-page__tag {
  color: #9b96bf;
  font-size: 8px;
}

.clinic-page--after {
  & .clinic-page__title {
    color: var(--main);
    font-size: 18px;
    white-space: nowrap;
  }
}

.clinic-page__new-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3px;
  padding: 9px 8px;
  border-radius: 5px;
  background: #5c5496;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.5;

  &>span {
    font-size: 14px;
  }
}

.clinic-page__nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  margin: 14px 0;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-divider);
  font-size: 6px;
}

.clinic-page__section-title {
  margin: 12px 0 9px;
  padding-left: 5px;
  border-left: 2px solid #b0a6df;
  color: #77709e;
  font-size: 9px;
  font-weight: 700;
}

.clinic-page__check-lines {
  display: grid;
  gap: 7px;
  padding-left: 12px;

  & i {
    position: relative;
    display: block;
    width: 88%;
    height: 4px;
    border-radius: 2px;
    background: #dedaef;
  }

  & i::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -10px;
    width: 4px;
    height: 6px;
    border-bottom: 1px solid #a99ed5;
    border-right: 1px solid #a99ed5;
    transform: rotate(40deg);
  }

  & i:nth-child(2) {
    width: 72%;
  }
}

.clinic-page__audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;

  &>span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 9px 4px;
    border: 1px solid var(--line-outer);
    border-radius: 5px;
  }

  &>span::before {
    content: "";
    width: 9px;
    height: 9px;
    border: 1px solid #bdb6d8;
    border-radius: 50%;
  }

  &>span::after {
    content: "";
    width: 16px;
    height: 8px;
    border: 1px solid #bdb6d8;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
  }

  & i {
    width: 17px;
    height: 3px;
    border-radius: 2px;
    background: #e1ddeb;
    order: 1;
  }
}

.clinic-page__bottom {
  display: flex;
  gap: 5px;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--line-divider);
  font-size: 7px;
}

.blog-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
  margin: 0;
  padding: 0;
  list-style: none;

  & li {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line-outer);
    border-radius: 8px;
    background: #fff;
  }
}

.blog-preview__image {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: 90px;
  background: linear-gradient(145deg, #ded8f0, #f1eef8);
}

.blog-preview {
  & li:nth-child(2n) .blog-preview__image {
    background: #e4ecf7;
  }

  & li:nth-child(3n) .blog-preview__image {
    background: #efedf7;
  }
}

.blog-preview__image {
  & svg {
    width: 55px;
    height: 43px;
    stroke: #73689f;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #ffffff80;
  }

  & svg rect {
    fill: #fdfcff;
  }

  & svg {
    filter: drop-shadow(0 3px 0 #b9b0d233);
  }
}

.blog-preview__body {
  padding: 10px 9px 13px;
}

.blog-preview__tag {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 100px;
  background: #f1eff9;
  color: #655d8e;
  font-size: 10px;
  line-height: 1.7;
}

.blog-preview {
  & h5 {
    margin: 7px 0 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
}

.internal-service__visuals {
  @media (max-width:1200px) {
    grid-template-columns: 1fr;
  }
}

.page-improvement__comparison {
  @media (max-width:1200px) {
    max-width: 650px;
    margin: auto;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  }
}

.clinic-page__body {
  @media (max-width:1200px) {
    padding: 18px;
  }
}

.blog-preview {
  @media (max-width:1200px) {
    gap: 18px;
  }
}

.blog-preview__body {
  @media (max-width:1200px) {
    padding: 14px;
  }
}

.blog-preview {
  & h5 {
    @media (max-width:1200px) {
      font-size: 13px;
    }
  }
}

.internal-service {
  @media (max-width:767px) {
    margin-top: 22px;
  }
}

.internal-service__connection {
  @media (max-width:767px) {
    padding: 4px 8px;
    margin-bottom: 12px;
    font-size: 10px;
  }
}

.internal-service__visuals {
  @media (max-width:767px) {
    gap: 44px;
    margin-top: 44px;
  }
}

.internal-service__visual-heading {
  & small {
    @media (max-width:767px) {
      margin-top: 3px;
      font-size: 10px;
    }
  }
}

.page-improvement__comparison {
  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 320px;
  }
}

.page-improvement__arrow {
  & svg {
    @media (max-width:767px) {
      transform: rotate(90deg);
    }
  }
}

.page-improvement__label {
  @media (max-width:767px) {
    margin-bottom: 11px;
    font-size: 15px;
  }
}

.clinic-page__bar {
  @media (max-width:767px) {
    padding: 12px 14px;
    font-size: 10px;
  }
}

.clinic-page__body {
  @media (max-width:767px) {
    padding: 17px;
  }
}

.clinic-page__title {
  @media (max-width:767px) {
    font-size: 22px;
  }
}

.clinic-page__image {
  @media (max-width:767px) {
    height: 100px;
  }
}

.clinic-page__simple {
  @media (max-width:767px) {
    margin-top: 17px;
    font-size: 11px;
  }
}

.clinic-page__old-button {
  @media (max-width:767px) {
    margin-top: 18px;
    font-size: 9px;
  }
}

.clinic-page__hero {
  @media (max-width:767px) {
    grid-template-columns: 1fr 42%;
    margin-bottom: 10px;
  }
}

.clinic-page--after {
  & .clinic-page__title {
    @media (max-width:767px) {
      font-size: 23px;
    }
  }
}

.clinic-page__tag {
  @media (max-width:767px) {
    font-size: 9px;
  }
}

.clinic-page__new-button {
  @media (max-width:767px) {
    padding: 11px;
    font-size: 9px;
  }
}

.clinic-page__nav {
  @media (max-width:767px) {
    font-size: 8px;
  }
}

.clinic-page__section-title {
  @media (max-width:767px) {
    margin: 15px 0 11px;
    font-size: 11px;
  }
}

.clinic-page__check-lines {
  @media (max-width:767px) {
    gap: 9px;
  }
}

.clinic-page__audience {
  &>span {
    @media (max-width:767px) {
      padding: 10px 4px;
    }
  }
}

.clinic-page__bottom {
  @media (max-width:767px) {
    gap: 10px;
    font-size: 9px;
  }
}

.blog-preview {
  @media (max-width:767px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }
}

.blog-preview__image {
  @media (max-width:767px) {
    height: 65px;
  }

  & svg {
    @media (max-width:767px) {
      width: 46px;
      height: 36px;
    }
  }
}

.blog-preview__body {
  @media (max-width:767px) {
    padding: 9px 8px 11px;
  }
}

.blog-preview__tag {
  @media (max-width:767px) {
    font-size: 7px;
    padding: 2px 4px;
  }
}

.blog-preview {
  & h5 {
    @media (max-width:767px) {
      font-size: 11px;
      line-height: 1.75;
    }
  }
}

/* Service 02: coordinated people illustrations communicate the two actions. */

.internal-service__visuals--illustrated {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

.internal-service__scene {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;

  &>img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: clamp(220px, 18vw, 290px);
    margin: auto auto 0;
    object-fit: contain;

    @media (max-width:767px) {
      height: auto;
      max-width: 280px;
    }
  }
}

.internal-service__scene-description {
  width: 100%;
  max-width: 460px;
  margin: 0 auto 24px;
  text-align: left;

  @media (max-width:767px) {
    margin-bottom: 20px;
  }
}

/* Service 02 conclusion: combine the two actions and state patient benefits. */

.internal-service__summary {
  margin: 64px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--line-divider);
  text-align: center;

  @media (max-width:767px) {
    margin-top: 48px;
    padding-top: 28px;
  }
}

.internal-service__summary-formula {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.8;

  font-size: clamp(16px, calc(14.058252px + var(--type-viewport) * 0.005177994), 24px);

  &>span:nth-child(2) {
    color: var(--dark-purple);
    font-size: clamp(19.2px, calc(16.869903px + var(--type-viewport) * 0.006213592), 28.8px);
  }

  @media (max-width:767px) {
    gap: 6px;
  }
}

.internal-service__summary-message {
  margin: 0;
  font-size: var(--strategy-summary-size);
  font-weight: 900;
  line-height: 1.85;
  text-wrap: balance;
}

.internal-service__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;

  & li {
    padding: 0 12px;
    font-weight: 700;
    line-height: 1.9;
    font-size: clamp(15px, calc(14.271845px + var(--type-viewport) * 0.001941748), 18px);
  }

  & li+li {
    border-left: 1px solid var(--line-divider);
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
    text-align: left;
  }

  & li {
    @media (max-width:767px) {
      padding: 12px 0;
    }
  }

  & li+li {
    @media (max-width:767px) {
      border-left: 0;
      border-top: 1px solid var(--line-divider);
    }
  }
}

/* Outreach 03: same editorial hierarchy and illustration series as 01/02. */

.external-service__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  margin: 64px auto 0;

  & p {
    margin: 0 0 24px;
  }

  & p:last-child {
    margin-bottom: 0;
  }
}

.external-service__media {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-divider);
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.external-service__content {
  &>img {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin-inline: auto;
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    margin-top: 44px;
    gap: 24px;
  }

  & p {
    @media (max-width:767px) {
      margin-bottom: 20px;
    }
  }

  &>img {
    @media (max-width:767px) {
      max-width: 300px;
    }
  }
}

/* Service 03: outreach to relevant media. No placement or referral is guaranteed. */

.external-service {
  margin-top: 32px;

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

  & .strategy__tasks--overview li:nth-child(3) {
    @media (min-width:768px) and (max-width:1360px) {
      border-left: 1px solid var(--line-divider);
      border-top: 0;
    }
  }

  & .strategy__tasks li{
    font-size: clamp(12px, calc(11.514563px + var(--type-viewport) * 0.001294498), 14px);
  }
}

.outreach-visual {
  margin: 28px auto 0;
  padding: 0;

  &>figcaption {
    color: #566184;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
  }
}

.outreach-map {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 32px 60px;
  align-items: center;
  min-height: 400px;
  max-width: var(--strategy-content-width);
  margin: 0 auto;
}

.outreach-map__links {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.outreach-map__links--mobile {
  display: none;
}

.outreach-clinic {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100%;
  max-width: 300px;
  justify-self: center;
  padding: 17px 16px 19px;
  border: 1.5px solid #8d82ba;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 0 #ddd8ed;
  text-align: center;

  & img {
    width: 100%;
    height: auto;
    margin: 12px auto;
    border-radius: 8px;
  }

  &>p {
    color: var(--dark-purple);
    font-weight: 900;
    letter-spacing: .06em;
    font-size: clamp(18px, calc(17.271845px + var(--type-viewport) * 0.001941748), 21px);
  }
}

.outreach-clinic__eyebrow {
  color: #a198c2;
  font: 500 clamp(8px, calc(7.514563px + var(--type-viewport) * 0.001294498), 10px) var(--font-en);
  letter-spacing: .15em;
  font-size: clamp(8px, calc(7.514563px + var(--type-viewport) * 0.001294498), 10px);
}

.outreach-clinic__star {
  position: absolute;
  top: -13px;
  right: 20px;
  color: #c350cd;
  font-size: clamp(23px, calc(21.786408px + var(--type-viewport) * 0.003236246), 28px);
}

.outreach-node {
  width: 100%;
  max-width: 240px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line-outer);
  border-radius: 10px;
  background: #fff;
}

.outreach-node--medical {
  grid-column: 1;
  grid-row: 1;
}

.outreach-node--beauty {
  grid-column: 3;
  grid-row: 1;
}

.outreach-node--media {
  grid-column: 1;
  grid-row: 2;
}

.outreach-node--sites {
  grid-column: 3;
  grid-row: 2;
}

.outreach-node__bar {
  display: flex;
  gap: 4px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-divider);
  background: #fafafe;

  & i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbc5e3;
  }
}

.outreach-node__content {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 13px 12px;
  padding: 17px 18px;

  &>svg {
    width: 30px;
    height: 30px;
    stroke: #746895;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  &>p {
    color: #5b668e;
    font-weight: 700;
    line-height: 1.6;
    font-size: clamp(10px, calc(8.543689px + var(--type-viewport) * 0.003883495), 16px);
  }
}

.outreach-node__lines {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;

  & i {
    height: 4px;
    border-radius: 2px;
    background: #eeecf6;
  }

  & i:last-child {
    width: 70%;
  }
}

/* Service closing: the clinic can entrust the work to a specialist team. */

.service-support {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 32px;
  max-width: 1440px;
  margin: 120px auto 0;
  padding: 48px 0 40px 48px;
  color: var(--main);
  text-align: left;

  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 24px 40px 0 0;
    background: #e9e8f4;
    pointer-events: none;

    @media (max-width:900px) {
      inset: 16px 0 0;
    }
  }

  & h3 {
    margin: 0 0 24px;
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: .02em;
  }

  & h3>span {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: clamp(15px, calc(14.271845px + var(--type-viewport) * 0.001941748), 18px);
  }

  & h3>strong {
    display: block;
    color: var(--main);
    font-weight: 900;

    font-size: clamp(24px, calc(20.116505px + var(--type-viewport) * 0.010355987), 40px);
  }

  & h3>strong>span {
    display: block;
  }

  @media (max-width:900px) {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 640px;
    margin-top: 80px;
    padding: 40px 28px 24px;
  }
}

.service-support__copy {
  min-width: 0;
}

.service-support__intro {
  margin: 0;
  text-wrap: balance;
}

.service-support__visual {
  width: 100%;
  aspect-ratio: 2.2;
  overflow: hidden;
  margin: -32px 0 0;

  & img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
  }

  @media (max-width:900px) {
    width: calc(100% + 24px);
    max-width: none;
    margin: 0 -12px;
  }
}

.outreach-map {
  @media (max-width:1100px) {
    gap: 26px 34px;
  }
}

.outreach-node__content {
  @media (max-width:1100px) {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 9px;
    padding: 14px;
    text-align: center;
  }
}

.outreach-node__lines {
  @media (max-width:1100px) {
    width: 100%;
  }
}

.external-service {
  @media (max-width:767px) {
    margin-top: 22px;
  }

  & .strategy__tasks {
    @media (max-width:767px) {
      grid-template-columns: 1fr;
    }
  }

  & .strategy__tasks--overview li {
    @media (max-width:767px) {
      border: 0;
    }
  }

  & .strategy__tasks--overview li+li {
    @media (max-width:767px) {
      border-top: 1px solid var(--line-divider);
    }
  }

  & .outreach-visual {
    @media (max-width:767px) {
      margin-top: 24px;
    }
  }

  & .strategy__tasks li {
    @media (max-width:767px) {
      padding-top: 11px;
      padding-bottom: 11px;
    }
  }
}

.outreach-visual {
  &>figcaption {
    @media (max-width:767px) {
      font-size: 10px;
    }
  }
}

.outreach-map {
  @media (max-width:767px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 23px 15px;
    min-height: 0;
    margin-top: 0;
  }
}

.outreach-map__links--desktop {
  @media (max-width:767px) {
    display: none;
  }
}

.outreach-map__links--mobile {
  @media (max-width:767px) {
    display: block;
  }
}

.outreach-clinic {
  @media (max-width:767px) {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 235px;
    width: 85%;
    margin: 10px 0;
    padding: 14px 13px;
    border-radius: 12px;
  }

  & img {
    @media (max-width:767px) {
      margin: 10px auto;
      border-radius: 6px;
    }
  }
}

.outreach-clinic__star {
  @media (max-width:767px) {
    top: -9px;
    right: 12px;
  }
}

.outreach-node--medical {
  @media (max-width:767px) {
    grid-column: 1;
    grid-row: 1;
  }
}

.outreach-node--beauty {
  @media (max-width:767px) {
    grid-column: 2;
    grid-row: 1;
  }
}

.outreach-node--media {
  @media (max-width:767px) {
    grid-column: 1;
    grid-row: 3;
  }
}

.outreach-node--sites {
  @media (max-width:767px) {
    grid-column: 2;
    grid-row: 3;
  }
}

.outreach-node {
  @media (max-width:767px) {
    border-radius: 7px;
    height: 100%;
  }
}

.outreach-node__bar {
  @media (max-width:767px) {
    padding: 7px 9px;
    gap: 3px;
  }

  & i {
    @media (max-width:767px) {
      width: 3px;
      height: 3px;
    }
  }
}

.outreach-node__content {
  @media (max-width:767px) {
    padding: 12px 8px;
    gap: 8px;
  }

  &>svg {
    @media (max-width:767px) {
      width: 25px;
      height: 25px;
    }
  }

  &>p {
    @media (max-width:767px) {
      line-height: 1.7;
    }
  }
}

.outreach-node__lines {
  @media (max-width:767px) {
    gap: 4px;
  }

  & i {
    @media (max-width:767px) {
      height: 3px;
    }
  }
}

.service-support {
  @media (max-width:767px) {
    gap: 24px;
    margin-top: 64px;
    padding: 32px 20px 20px;
  }

  & h3 {
    @media (max-width:767px) {
      margin: 0 0 20px;
      letter-spacing: 0;
    }
  }

  & h3>span {
    @media (max-width:767px) {
      margin-bottom: 10px;
      line-height: 1.8;
    }
  }

  & h3>strong {
    @media (max-width:767px) {
      line-height: 1.65;
    }
  }
}

/* Clinic-specific expertise: introduction followed by a full-width support diagram. */

.strengths {
  padding: var(--section-space) 0;
  color: var(--main);

  & .section-heading {
    text-align: center;
  }

  & .section-heading__eyebrow {
    justify-content: center;
  }
}

.strengths__inner {
  width: calc(100% - 2 * clamp(24px, 5vw, 96px));
  max-width: 1320px;
  margin: auto;
}

.strengths__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;

  @media (max-width:767px) {
    gap: 40px;
  }
}

.strengths__copy {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

.section-heading__title--strengths {
  &>span {
    display: inline-block;
  }

  &>span:first-child {
    color: var(--dark-purple);
  }

  &>span {
    @media (max-width:767px) {
      display: block;
    }
  }
}

.strengths__lead {
  padding: 16px 40px;
  line-height: 1.9;
  text-wrap: balance;

  font-size: clamp(17px, calc(15.300971px + var(--type-viewport) * 0.004530744), 24px);

  @media (max-width:767px) {
    padding: 16px 20px;
  }
}

.strengths__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 36px auto 0;
  color: var(--main);
  text-align: left;

  & p {
    margin: 0;
    text-wrap: pretty;
  }

  & strong {
    color: inherit;
    font-weight: 900;
  }

  @media (max-width:899px) {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 700px;
    margin-inline: auto;
  }

  @media (max-width:767px) {
    margin-top: 28px;
  }
}

.knowledge-map {
  min-width: 0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;

  @media (max-width:899px) {
    max-width: 680px;
  }
}

.knowledge-map__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.3fr) 28px minmax(0, .9fr);
  align-items: center;
  gap: 24px;

  @media (max-width:1100px) and (min-width:900px) {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.15fr) 22px minmax(0, .95fr);
  }

  @media (max-width:899px) {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.knowledge-map__label {
  margin: 0 0 24px;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;

  font-size: clamp(19px, calc(18.514563px + var(--type-viewport) * 0.001294498), 21px);

  @media (max-width:767px) {
    margin-bottom: 20px;
  }
}

.knowledge-map__nodes {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;

  & li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-divider);
  }

  & li:first-child {
    padding-top: 0;
  }

  & li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  & img {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    object-fit: contain;

    @media (max-width:1100px) and (min-width:900px) {
      width: 40px;
      height: 40px;
    }

    @media (max-width:767px) {
      width: 48px;
      height: 48px;
    }
  }

  & p {
    margin: 0;
    font-weight: 700;
    line-height: 1.8;

    font-size: clamp(15px, calc(14.757282px + var(--type-viewport) * 0.000647249), 16px);

    @media (max-width:767px) {
      line-height: 1.8;
    }
  }

  @media (max-width:899px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  & li {
    @media (max-width:899px) {
      flex-direction: column;
      padding: 0 12px;
      border-bottom: 0;
      border-right: 1px solid var(--line-divider);
      text-align: center;
    }
  }

  & li:last-child {
    @media (max-width:899px) {
      border-right: 0;
    }
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 300px;
    margin-inline: auto;
  }

  & li {
    @media (max-width:767px) {
      flex-direction: row;
      gap: 16px;
      padding: 16px 0;
      border-right: 0;
      border-bottom: 1px solid var(--line-divider);
      text-align: left;
    }
  }

  & li:first-child {
    @media (max-width:767px) {
      padding-top: 0;
    }
  }

  & li:last-child {
    @media (max-width:767px) {
      padding-bottom: 0;
      border-bottom: 0;
    }
  }
}

.knowledge-map__connector {
  display: block;
  width: 28px;
  height: 24px;
  stroke: var(--dark-purple);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  @media (max-width:899px) {
    margin: 0 auto;
    transform: rotate(90deg);
  }
}

.knowledge-map__design {
  padding: 28px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eeebf8, #f1f4fb);
  text-align: center;

  & h3 {
    margin: 0 0 18px;
    font-weight: 900;
    line-height: 1.6;

    font-size: clamp(21px, calc(20.514563px + var(--type-viewport) * 0.001294498), 23px);
  }

  &>img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto 16px;

    @media (max-width:899px) {
      max-width: 220px;
    }

    @media (max-width:767px) {
      max-width: 190px;
    }
  }

  & p {
    margin: 0;
    font-weight: 500;
    line-height: 1.9;
    text-wrap: pretty;

    font-size: clamp(15px, calc(14.757282px + var(--type-viewport) * 0.000647249), 16px);
  }

  & p>span {
    display: block;
  }

  & strong {
    font-weight: 900;
  }

  @media (max-width:1100px) and (min-width:900px) {
    padding: 24px 16px;
  }

  @media (max-width:899px) {
    width: 100%;
    max-width: 440px;
    justify-self: center;
  }

  @media (max-width:767px) {
    padding: 24px 18px;
  }
}

.knowledge-map__proposal {
  text-align: center;

  &>img {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    margin: 0 auto 16px;

    @media (max-width:899px) {
      max-width: 150px;
      margin-bottom: 12px;
    }
  }

  & p {
    margin: 0;
    font-weight: 700;
    line-height: 1.9;
    font-size: 15px;
  }

  & strong {
    display: block;
    margin-top: 8px;
    font-weight: 900;

    font-size: 21px;
  }
}

.strengths__conclusion {
  max-width: 1120px;
  margin: 56px auto 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line-divider);
  color: var(--main);
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
  text-wrap: balance;

  font-size: clamp(19px, calc(17.300971px + var(--type-viewport) * 0.004530744), 26px);

  & strong {
    color: inherit;
    font-weight: 900;
  }

  @media (max-width:767px) {
    margin-top: 40px;
    padding-top: 28px;
    text-align: left;
  }
}

/* Closing chapters: message, pricing, onboarding, FAQ and final conversion. */

.message {
  color: var(--main);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--section-space) 0;
}

.pricing {
  color: var(--main);

  --plan-standard-gradient: linear-gradient(110deg, #3d939a, #527eac);
  --plan-pro-gradient: linear-gradient(110deg, #527eac, #7373b0);
  --plan-extra-gradient: linear-gradient(110deg, #7373b0, #9274ad);
  --line-outer: #b8b4cd;
  --line-divider: #c4c1d5;
  padding: var(--section-space) 0;
  background: #f4f6fb;
}

.onboarding {
  color: var(--main);

  --line-outer: #b8b4cd;
  --line-divider: #c4c1d5;
  padding: var(--section-space) 0;
}

.faq {
  color: var(--main);

  & summary:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 4px;
  }

  & summary{
    font-size: clamp(16px, calc(15.029126px + var(--type-viewport) * 0.002588997), 20px);
  }
}

.contact {
  color: var(--main);
}

.message__inner {
  width: calc(100% - 2 * clamp(24px, 5vw, 96px));
  max-width: 1320px;
  margin: auto;
}

.pricing__inner {
  width: calc(100% - 2 * clamp(24px, 5vw, 96px));
  max-width: 1320px;
  margin: auto;

  max-width: 1280px;
}

.onboarding__inner {
  width: calc(100% - 2 * clamp(24px, 5vw, 96px));
  max-width: 1320px;
  margin: auto;

  max-width: 1280px;
}

.message__english {
  position: absolute;
  z-index: -1;
  top: calc(var(--section-space) + 24px);
  left: -.12em;
  color: #3e4f8312;
  font: 500 clamp(72px, calc(60.349515px + var(--type-viewport) * 0.031067961), 120px)/1 var(--font-en);
  letter-spacing: .06em;
  white-space: nowrap;
  transform: rotate(90deg) translateY(-100%);
  transform-origin: left top;
  pointer-events: none;
  user-select: none;
  font-size: clamp(72px, calc(60.349515px + var(--type-viewport) * 0.031067961), 120px);
}

.message__heading {
  margin-bottom: 32px;
}

.section-heading__title--message {
  &>span {
    display: block;
    @media (max-width:767px){
      display: inline;
    }
  }
}

.message__layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}

.message__portrait {
  position: sticky;
  isolation: isolate;
  top: 32px;
  margin: 0;
  padding: 0 14px 14px 0;

  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 18px 0 0 18px;
    border-radius: 14px;
    background: #e8e7f5;
  }

  & img {
    width: 100%;
    height: auto;
    border-radius: 14px;
  }
}

.message__body {
  &>p {
    margin-bottom: 18px;
    text-wrap: pretty;
  }

  &>p:last-child {
    margin-bottom: 0;
  }
}

.message__signature {
  padding-top: 21px;
  text-align: right;

  &>span {
    display: block;
    font-size: clamp(10px, calc(9.514563px + var(--type-viewport) * 0.001294498), 12px);
  }

  &>span:last-child {
    margin-top: 8px;
  }

  & strong {
    margin-left: 17px;
    font-weight: 700;
    letter-spacing: .12em;
    font-size: clamp(23px, calc(22.271845px + var(--type-viewport) * 0.001941748), 26px);
  }
}

.pricing__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 0;
}

.price-plan {
  --price-header: var(--plan-standard-gradient);
  position: relative;
  min-width: 0;
  padding: 0 28px 24px;
  border: 1px solid var(--line-outer);
  border-radius: 14px;
  background: #fff;
  & h3>span:first-child{
    font-size: 12px;
  }
  & h3>span:last-child{
    font-size: clamp(21px, calc(20.757282px + var(--type-viewport) * 0.000647249), 22px);
  }
}

.price-plan--recommended {
  --price-header: var(--plan-pro-gradient);

  & h3 {
    padding-right: 100px;
  }
}

.price-plan--extra {
  --price-header: var(--plan-extra-gradient);
}

.price-plan__header {
  margin: 0 -28px;
  padding: 24px 28px 22px;
  border-radius: 13px 13px 0 0;
  background: var(--price-header);
  color: #fff;
}

.price-plan__recommendation {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 20px;
  width: clamp(80px, 6.4vw, 96px);
  margin: 0;
  transform: rotate(-12deg);
  transform-origin: center;

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.price-plan {
  & h3 {
    margin: 0;
  }

  & h3>span:first-child {
    display: block;
    color: #fff;
    font: 500 12px/1.5 var(--font-en);
    letter-spacing: .16em;
  }

  & h3>span:last-child {
    display: block;
    margin-top: 7px;
    font-weight: 900;
    line-height: 1.6;
  }
}

.price-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 0;
  white-space: nowrap;

  &>span:first-child {
    font-size: 13px;
  }

  &>strong {
    font: 500 clamp(68px, calc(65.087379px + var(--type-viewport) * 0.00776699), 80px)/1 var(--font-en);
    letter-spacing: -.045em;
    font-size: clamp(68px, calc(65.087379px + var(--type-viewport) * 0.00776699), 80px);
  }

  &>span:last-child {
    font-weight: 700;
    font-size: clamp(21px, calc(20.757282px + var(--type-viewport) * 0.000647249), 22px);
  }

  & small {
    display: inline-block;
    margin-left: 4px;
    color: #fff;
    font-weight: 500;
    font-size: 11px;
  }
}

.price-plan__volume {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line-divider);
  font-weight: 700;

  font-size: 14px;

  &>span {
    white-space: nowrap;
    font-weight: 700;
    font-size: clamp(13px, calc(12.514563px + var(--type-viewport) * 0.001294498), 15px);
  }

  & strong {
    margin: 0 5px;
    font: 500 clamp(28px, calc(27.029126px + var(--type-viewport) * 0.002588997), 32px)/1 var(--font-en);
    font-size: clamp(28px, calc(27.029126px + var(--type-viewport) * 0.002588997), 32px);
  }
}

.price-plan__description {
  margin: 16px 0 12px;
  font-weight: 700;
}

.price-plan__inherits {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 12px;
  color: var(--main);

  &::before {
    content: "+";
    flex-shrink: 0;
    color: var(--dark-purple);
    font: 500 22px/1 var(--font-en);
    font-size: 22px;
  }

  & strong {
    font-weight: 900;
  }
}

.price-plan__features {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;

  & li {
    position: relative;
    padding-left: 15px;
    color: var(--main);
  }

  & li::before {
    content: "";
    position: absolute;
    top: .9em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
  }

  & strong {
    color: inherit;
    font-weight: 900;
  }
}

.pricing__comparison {
  margin-top: 64px;

  &>h3 {
    margin: 0 0 24px;
    font-weight: 900;
    line-height: 1.7;
    font-size: clamp(22px, calc(20.543689px + var(--type-viewport) * 0.003883495), 28px);
  }
}

.pricing__scroll-hint {
  display: none;
  font-size: clamp(11px, calc(9.786408px + var(--type-viewport) * 0.003236246), 16px);
  & span{
    font-size: 16px;
  }
}

.pricing__table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-outer);
  border-radius: 8px;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #bfb6df #eceaf5;

  &:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 4px;
  }
}

.pricing__table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--main);
  line-height: 1.8;
  text-align: center;

  font-size: clamp(15px, calc(14.757282px + var(--type-viewport) * 0.000647249), 16px);

  & th {
    padding: 20px;
    border-bottom: 1px solid var(--line-divider);
  }

  & td {
    padding: 20px;
    border-bottom: 1px solid var(--line-divider);
  }

  & tr>*+* {
    border-left: 1px solid var(--line-divider);
  }

  & thead th {
    background: var(--main);
    color: #fff;
    font-weight: 700;
    font-size: clamp(14px, calc(13.514563px + var(--type-viewport) * 0.001294498), 16px);
  }

  & thead th:nth-child(2) {
    background: var(--plan-standard-gradient);
  }

  & thead th:nth-child(3) {
    background: var(--plan-pro-gradient);
  }

  & thead th:nth-child(4) {
    background: var(--plan-extra-gradient);
  }

  & tbody th {
    font-weight: 700;
    text-align: left;
  }

  & tr:last-child>* {
    border-bottom: 0;
  }

  & td>strong {
    margin: 0 3px;
    color: var(--main);
    font: 500 clamp(23px, calc(22.271845px + var(--type-viewport) * 0.001941748), 26px)/1 var(--font-en);
    font-size: clamp(23px, calc(22.271845px + var(--type-viewport) * 0.001941748), 26px);
  }
}

.pricing__feature-column {
  width: 40%;
}

.pricing__yes {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid var(--main);
  border-radius: 50%;
  font-size: 0;
  vertical-align: middle;
}

.pricing__no {
  display: inline-block;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--main);
  font-size: 0;
  vertical-align: middle;
}

.pricing__contract {
  margin-top: 24px;
  color: var(--main);
  text-align: right;
}

/* Free diagnosis entry and vertical onboarding timeline */

.diagnosis-entry {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 430px);
  align-items: center;
  gap: 28px;
  margin-top: 64px;
  padding: 48px 40px;
  border: 0;
  border-radius: 24px 6px 24px 6px;
  background: linear-gradient(115deg, #ece8f8 0%, #f1f2fc 58%, #fffce6 100%);

  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12px;
    border: 1px solid #fff;
    border-radius: 18px 3px 18px 3px;
    pointer-events: none;

    @media (max-width:767px) {
      inset: 8px;
    }
  }

  & h3 {
    margin: 0 0 12px;
    font-weight: 900;
    line-height: 1.6;

    font-size: clamp(23px, calc(20.330097px + var(--type-viewport) * 0.007119741), 34px);

    @media (max-width:1100px){
      grid-column: 2;
      grid-row: 2;
      margin: 0;
    }
  }

  & .diagnosis-cta__button {
    max-width: 430px;
    margin: 0;

    font-size: clamp(14px, calc(13.271845px + var(--type-viewport) * 0.001941748), 17px);
  }

  @media (max-width:1100px) {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 24px 32px;
    row-gap: 12px;
  }

  @media (max-width:767px) {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 24px 20px;
    margin-top: 48px;
    padding: 32px 24px;
    border-radius: 20px 4px 20px 4px;
    row-gap: 12px;
  }
}

.diagnosis-entry__icon {
  position: relative;
  width: 88px;
  height: 88px;

  & img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(-8deg);
  }

  @media (max-width:1100px) {
    grid-row: 1 / 3;
    align-self: center;
    width: 80px;
    height: 80px;
    grid-column: 1;
  }

  @media (max-width:767px) {
    grid-row: 1 / 3;
    width: 56px;
    height: 56px;
    grid-column: 1;
  }
}

.diagnosis-entry__label {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 16px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--yellow);
  color: var(--main);
  font-weight: 900;
  line-height: 1.8;
  text-decoration: none;
  transform: rotate(-3deg);

  font-size: clamp(13px, calc(12.514563px + var(--type-viewport) * 0.001294498), 15px);

  @media (max-width:1100px){
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin-bottom: 0;
  }

  @media (max-width:767px) {
    padding: 3px 9px;
  }
}

.diagnosis-entry__copy {
  &>p {
    max-width: 34em;
    color: var(--main);

    @media (max-width:1100px){
      grid-column: 2;
      margin: 12px 0 0;
    }

    @media (max-width:767px) {
      grid-column: 1 / -1;
      margin: 12px 0 0;
    }
  }
  @media (max-width:1100px){
    display: contents;
  }
}

.diagnosis-entry__actions {
  min-width: 0;

  @media (max-width:1100px) {
    grid-column: 2;
    width: 100%;
    max-width: 430px;
    margin-top: 12px;
  }

  @media (max-width:767px) {
    grid-column: 1 / -1;
    margin-top: 12px;
  }
}

.onboarding__flow-lead {
  margin: 0 0 40px;
  color: var(--main);
  font-weight: 700;
  text-align: center;

  text-wrap: balance;

  @media (max-width:767px) {
    margin: 0 0 32px;
  }
}

.onboarding__steps {
  display: block;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;

  &>li {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 200px;
    align-items: start;
    gap: 32px;
    min-width: 0;
    min-height: 200px;
    padding: 0 0 40px;
    border: 0;
    border-radius: 0;
    background: none;
  }

  &>li:last-child {
    padding-bottom: 0;
  }

  &>li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 96px;
    bottom: 0;
    left: 47px;
    width: 2px;
    background: #b8b4cd;

    @media (max-width:767px) {
      top: 56px;
      left: 27px;
    }
  }

  & h3 {
    margin: 0 0 12px;
    font-weight: 900;
    line-height: 1.6;
    text-wrap: pretty;

    font-size: clamp(19px, calc(17.300971px + var(--type-viewport) * 0.004530744), 26px);

    @media (max-width:767px) {
      margin-bottom: 14px;
    }
  }

  & p {
    color: var(--main);
    text-wrap: pretty;
  }

  &>li {
    @media (max-width:767px) {
      grid-template-columns: 56px minmax(0, 1fr);
      gap: 0 20px;
      min-height: 0;
      padding: 0 0 32px;
    }
  }
}

.onboarding__number {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  font: 500 clamp(8px, calc(7.271845px + var(--type-viewport) * 0.001941748), 11px)/1.2 var(--font-en);
  letter-spacing: .1em;

  font-size: clamp(8px, calc(7.271845px + var(--type-viewport) * 0.001941748), 11px);

  & strong {
    font-weight: 500;
    letter-spacing: -.03em;

    font-size: clamp(26px, calc(22.601942px + var(--type-viewport) * 0.009061489), 40px);
  }

  @media (max-width:767px) {
    width: 56px;
    height: 56px;
    gap: 1px;
  }
}

.onboarding__illustration {
  display: block;
  width: 200px;
  height: 150px;
  object-fit: contain;

  @media (max-width:767px) {
    grid-column: 2;
    justify-self: end;
    width: 160px;
    height: 120px;
    margin-top: 16px;
  }
}

.onboarding__step-copy {
  min-width: 0;
  padding-top: 12px;

  @media (max-width:767px) {
    grid-column: 2;
    padding-top: 4px;
  }
}

.faq {
  --line-divider: #b8b4cd;
  padding: var(--section-space) 0;
  background: #f8f9fd;

  & details {
    border-bottom: 1px solid var(--line-divider);
  }

  & details:first-child {
    border-top: 1px solid var(--line-divider);
  }

  & summary {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 18px;
    padding: 26px 0;
    font-weight: 700;
    line-height: 1.8;
    cursor: pointer;
    list-style: none;
  }

  & summary::-webkit-details-marker {
    display: none;
  }
}

.faq__inner {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
  width: calc(100% - 2 * clamp(24px, 5vw, 96px));
  max-width: 1280px;
  margin: auto;

  @media (max-width:1100px) {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.faq__heading {
  position: sticky;
  top: 32px;
  align-self: start;
  margin-bottom: 0;

  @media (max-width:1100px) {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px;
    column-gap: 24px;
    align-items: center;
  }

  & .section-heading__eyebrow {
    @media (max-width:1100px) {
      grid-column: 1;
    }
  }

  & .section-heading__title {
    @media (min-width:768px){
      white-space: nowrap;
    }
    @media (max-width:1100px) {
      grid-column: 1;
    }
  }

  @media (max-width:767px) {
    grid-template-columns: minmax(0, 1fr) 100px;
    column-gap: 12px;
  }
}

.faq__illustration {
  display: block;
  width: 230px;
  height: auto;
  margin: 32px auto 0;
  object-fit: contain;

  @media (max-width:1100px) {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 100px;
    height: auto;
    margin: 0;
  }

  @media (max-width:767px) {
    width: 100px;
    height: auto;
  }
}

.faq__list {
  min-width: 0;
}

.faq__q {
  align-self: start;
  color: var(--main);
  font: 500 clamp(25px, calc(24.514563px + var(--type-viewport) * 0.001294498), 27px)/1.4 var(--font-en);

  font-size: clamp(25px, calc(24.514563px + var(--type-viewport) * 0.001294498), 27px);
}

.faq__toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-divider);
  border-radius: 50%;
  background: #fff;
  transition: background .2s, border-color .2s;

  &::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 10px;
    width: 14px;
    height: 2px;
    background: var(--main);
    transition: transform .2s, background .2s;
  }

  &::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 10px;
    width: 14px;
    height: 2px;
    background: var(--main);
    transition: transform .2s, background .2s;

    transform: rotate(90deg);
  }
}

.faq {
  & summary:hover .faq__toggle {
    background: var(--main);
    border-color: var(--main);
  }

  & summary:hover .faq__toggle::before {
    background: #fff;
  }

  & summary:hover .faq__toggle::after {
    background: #fff;
  }

  & details[open] .faq__toggle::after {
    transform: rotate(0);
  }

  & summary {
    @media (max-width:767px) {
      grid-template-columns: 24px minmax(0, 1fr) 32px;
      gap: 12px;
      padding: 24px 0;
    }
  }
}

.faq__panel {
  overflow: hidden;
}

.faq__answer {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin: 0 0 28px;
  padding: 24px;
  border-radius: 12px;
  background: #fff;

  &>span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 32px;
    color: var(--main);
    font: 500 clamp(22px, calc(21.514563px + var(--type-viewport) * 0.001294498), 24px)/1 var(--font-en);

    font-size: clamp(22px, calc(21.514563px + var(--type-viewport) * 0.001294498), 24px);

    @media (max-width:767px) {
      width: 24px;
      height: 32px;
    }
  }

  & p {
    margin: 0;
    padding-top: 2px;
    color: var(--main);
  }

  @media (max-width:767px) {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px 16px;
  }
}

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(32px, 4vw, 64px) clamp(16px, 2vw, 32px) 0;
  padding: var(--section-space) clamp(24px, 4vw, 76px);
  border-radius: 22px;
  background: linear-gradient(120deg, #f4f5fc, #f8f7fc 60%, #fffdf4);
  color: var(--main);
  text-align: center;

  & .section-heading {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

  & .section-heading__lead {
    width: 100%;
    max-width: 760px;
    margin: 32px auto 0;
    border: 0;
    border-radius: 0;
    font-weight: 700;

    text-wrap: balance;

    @media (max-width:767px) {
      margin-top: 28px;
      padding: 12px 16px;
    }
  }

  @media (max-width:767px) {
    padding: 80px 24px 64px;
    border-radius: 14px;
  }

  & .diagnosis-cta__button{
    font-size: clamp(14px, calc(13.271845px + var(--type-viewport) * 0.001941748), 17px);
  }
}

.final-cta__inner {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.final-cta__title-line {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.final-cta__script {
  position: relative;
  top: auto;
  left: auto;
  color: #fff;
  font: 400 clamp(26px, calc(25.514563px + var(--type-viewport) * 0.001294498), 28px)/1 "Allura", cursive;
  white-space: nowrap;
  transform: rotate(-9deg);
  pointer-events: none;
  user-select: none;
  font-size: clamp(26px, calc(25.514563px + var(--type-viewport) * 0.001294498), 28px);
  width: max-content;
  max-width: 100%;
  justify-self: start;
  transform-origin: left bottom;
  @media (min-width:1101px) {
    position: absolute;
    top: -.25em;
    left: -2.5em;
    transform-origin: center;
  }

  @media (max-width:767px) {
    position: absolute;
    left: -.7em;
    top: -.6em;
    transform-origin: center;
  }
}

.section-heading__title--final-cta {
  line-height: 1.65;

  font-size: clamp(26px, calc(18.23301px + var(--type-viewport) * 0.020711974), 58px);

  &>span {
    display: block;
  }

  &>.final-cta__title-line{
    display: grid;
    justify-items: start;
    row-gap: 14px;

    @media (max-width:767px) {
      display: block;
    }

    @media (min-width:1101px) {
      display: block;
    }
  }
}

.final-cta__emphasis {
  color: var(--dark-purple);
}

.section-heading__title--final-cta {
  &>span>span {
    display: inline-block;
  }
}

.final-cta__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  max-width: 980px;
  margin: 64px auto 0;

  &>a {
    width: 100%;
    max-width: none;
    min-height: 70px;
    margin: 0;
    font-size: clamp(14px, calc(13.271845px + var(--type-viewport) * 0.001941748), 17px);
  }
}

.final-cta__consult {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 470px;
  min-height: 70px;
  margin: 22px auto 0;
  padding: 18px 60px;
  border: 1px solid #707587;
  border-radius: 100px;
  background: #707587;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  transition: background .2s, border-color .2s;

  font-size: clamp(14px, calc(13.271845px + var(--type-viewport) * 0.001941748), 17px);

  & svg {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 27px;
    height: 27px;
    stroke: var(--yellow);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  &:hover {
    background: #616779;
    border-color: #616779;
  }
}

.final-cta__actions {
  &>a {
    @media (min-width:768px) and (max-width:1100px) {
      padding: 18px 44px;
    }

    @media (max-width:767px) {
      min-height: 76px;
    }
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 470px;
    margin-top: 48px;
  }
}

.final-cta__decoration {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  user-select: none;

  &::before {
    content: "";
    position: absolute;
    top: -52%;
    right: -12%;
    width: 82%;
    aspect-ratio: 1.35;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8bfe9 5%, #cbd8f1 50%, #d5e8f6);
    filter: blur(clamp(36px, 4vw, 76px));
    opacity: .85;

    @media (max-width:767px) {
      top: -20%;
      right: -65%;
      width: 160%;
      filter: blur(42px);
    }
  }

  &::after {
    content: "";
    position: absolute;
    left: -22%;
    bottom: -70%;
    width: 80%;
    aspect-ratio: 1.3;
    border-radius: 50%;
    background: linear-gradient(135deg, #d2def5, #e0daf3 60%, #f5e9bd);
    filter: blur(clamp(36px, 4vw, 76px));
    opacity: .8;

    @media (max-width:767px) {
      bottom: -30%;
      left: -95%;
      width: 170%;
      filter: blur(45px);
    }
  }

  &>span {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -.1em;
    transform: translateX(-50%);
    color: #3e4f8314;
    font: 500 clamp(30px, calc(0.873786px + var(--type-viewport) * 0.077669903), 150px)/1 var(--font-en);
    letter-spacing: .02em;
    white-space: nowrap;

    font-size: clamp(30px, calc(0.873786px + var(--type-viewport) * 0.077669903), 150px);
  }
}

.contact {
  margin-top: 0;
  padding: var(--section-space) 24px;
  background: #fff;

  &:focus {
    outline: none;
  }
}

.contact__inner {
  max-width: 960px;
  margin: auto;
  text-align: center;
}

.contact__embed {
  min-height: 260px;
  padding: 48px;
  border: 1px solid #b8b4cd;
  border-radius: 14px;
  background: #fff;

  @media (max-width:767px) {
    min-height: 210px;
    padding: 32px 20px;
    border-radius: 10px;
  }
}

#seo-hubspot-form {
  min-width: 0;
  text-align: left;
}

.lp-footer {
  padding: 64px clamp(24px, 5vw, 96px) 28px;
  background: var(--main);
  color: #fff;

  @media (max-width:767px) {
    padding: 40px 24px 24px;
  }
}

.lp-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: auto;

  @media (max-width:767px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

.lp-footer__identity {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: baseline;
  justify-items: start;
  gap: 14px 10px;

  @media (max-width:767px) {
    column-gap: 8px;
  }
}

.lp-footer__hours {
  margin: 0;
  color: #ffffffb3;
  font-weight: 400;
  line-height: 1.7;
  white-space: nowrap;

  font-size: clamp(10.5px, calc(10.378641px + var(--type-viewport) * 0.000323625), 11px);
}

.lp-footer__brand {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 28px;

  & img {
    width: 160px;
    height: auto;
    filter: brightness(0) invert(1);

    @media (max-width:767px) {
      width: 144px;
    }
  }

  @media (max-width:767px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.lp-footer__phone {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #ffffffd9;
  font: 400 clamp(12px, calc(11.514563px + var(--type-viewport) * 0.001294498), 14px)/1.5 var(--font-en);
  letter-spacing: .03em;
  transition: opacity .2s;

  font-size: clamp(12px, calc(11.514563px + var(--type-viewport) * 0.001294498), 14px);

  &>span {
    letter-spacing: .1em;

    font-size: clamp(9px, calc(8.757282px + var(--type-viewport) * 0.000647249), 10px);
  }

  &:hover {
    opacity: .8;
    text-decoration: none;
  }
}

.lp-footer__top {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;

  font-size: clamp(12px, calc(11.757282px + var(--type-viewport) * 0.000647249), 13px);

  &:hover {
    text-decoration: none;
  }

  &>span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    transition: background .2s, color .2s, border-color .2s;
    font-size: 24px;
  }

  &:hover>span {
    border-color: #fff;
    background: #fff;
    color: var(--main);
  }

  @media (max-width:767px) {
    align-self: flex-end;
  }
}

.lp-footer__copyright {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #ffffff40;
  color: #ffffffb3;
  font: 400 11px/1.5 var(--font-en);
  letter-spacing: .07em;

  font-size: 11px;

  @media (max-width:767px) {
    margin-top: 24px;
  }
}

.price-plan {
  @media (max-width:1100px) {
    padding: 0 20px 24px;
  }

  @media (max-width:767px) {
    padding: 0 24px 24px;
    border-radius: 12px;
  }
}

.price-plan__header {
  @media (max-width:1100px) {
    margin: 0 -20px;
    padding: 24px 20px 22px;
  }

  @media (max-width:767px) {
    margin: 0 -24px;
    padding: 24px 24px 22px;
    border-radius: 11px 11px 0 0;
  }
}

.price-plan__recommendation {
  @media (max-width:1100px) {
    top: 14px;
    right: 12px;
    width: 72px;
  }

  @media (max-width:767px) {
    top: 16px;
    right: 18px;
    width: 84px;
  }
}

.price-plan--recommended {
  & h3 {
    @media (max-width:1100px) {
      padding-right: 76px;
    }

    @media (max-width:767px) {
      padding-right: 90px;
    }
  }
}

.price-plan__volume {
  @media (max-width:1100px) {
    gap: 8px;
  }

  & strong {
    @media (max-width:1100px) {
      margin-inline: 3px;
    }
  }

  @media (max-width:767px) {
    margin-top: 18px;
  }
}

.price-plan__price {
  @media (max-width:1100px) {
    gap: 4px;
  }

  & small {
    @media (max-width:1100px) {
      margin-left: 2px;
    }

    @media (max-width:767px) {
      margin-left: 4px;
    }
  }
}

.message__english {
  @media (max-width:767px) {
    top: calc(var(--section-space) + 8px);
  }
}

.message__heading {
  @media (max-width:767px) {
    margin-bottom: 28px;
  }
}

.section-heading__title--message {
  &>span {
    @media (max-width:767px) {
      display: inline;
    }
  }
}

.message__layout {
  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.message__portrait {
  @media (max-width:767px) {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 340px;
    margin: auto;
    padding: 0 10px 10px 0;
  }

  &::before {
    @media (max-width:767px) {
      inset: 13px 0 0 13px;
    }
  }
}

.message__body {
  &>p {
    @media (max-width:767px) {
      margin-bottom: 17px;
    }
  }
}

.message__signature {
  @media (max-width:767px) {
    padding-top: 13px;
  }

  & strong {
    @media (max-width:767px) {
      margin-left: 13px;
    }
  }
}

.pricing__plans {
  @media (max-width:767px) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.price-plan__description {
  @media (max-width:767px) {
    margin: 16px 0 12px;
  }
}

.price-plan__features {
  @media (max-width:767px) {
    gap: 8px;
  }
}

.pricing__comparison {
  @media (max-width:767px) {
    margin-top: 48px;
  }

  &>h3 {
    @media (max-width:767px) {
      margin-bottom: 20px;
    }
  }
}

.pricing__scroll-hint {
  @media (max-width:767px) {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--main);
  }
}

.pricing__table {
  @media (max-width:767px) {
    min-width: 640px;
  }

  & th {
    @media (max-width:767px) {
      padding: 16px 13px;
    }
  }

  & td {
    @media (max-width:767px) {
      padding: 16px 13px;
    }
  }
}

.pricing__feature-column {
  @media (max-width:767px) {
    width: 36%;
  }
}

.pricing__contract {
  @media (max-width:767px) {
    margin-top: 20px;
    text-align: left;
  }
}

.faq__toggle {
  @media (max-width:767px) {
    width: 32px;
    height: 32px;
  }

  &::before {
    @media (max-width:767px) {
      top: 14px;
      left: 8px;
    }
  }

  &::after {
    @media (max-width:767px) {
      top: 14px;
      left: 8px;
    }
  }
}

.final-cta__consult {
  @media (max-width:767px) {
    min-height: 60px;
    padding: 14px 42px;
  }

  & svg {
    @media (max-width:767px) {
      right: 17px;
      width: 23px;
      height: 23px;
    }
  }
}

/* FV: copy on the left, AI conversation on the right. */

.hero--layout-a {
  & .hero__copy {
    order: 1;
  }

  & .hero-visual {
    order: 2;
  }

  & .hero__inner {
    @media (min-width:768px) {
      grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    }
  }
}

/* One entrance per page load. Opacity/translate reserve the final layout;
   individual translate preserves existing positional transforms. */

.hero--layout-a {
  @media (prefers-reduced-motion: no-preference) {
    --hero-beat: 225ms;
    --hero-headline-duration: 900ms;
  }

  & :is(.hero__eyebrow, .hero__actions,
    .hero-visual, .ai-question, .answer-icon,
    .clinic-result, .answer-sources, .visual-callout) {
    @media (prefers-reduced-motion: no-preference) {
      animation: hero-sequence-enter 650ms cubic-bezier(.22, 1, .36, 1) backwards;
      animation-delay: calc(var(--hero-beat) * var(--hero-step));
    }
  }
}

/* A moving clip reveals the actual gradient behind the copy, with no color seam. */

.hero--layout-a {
  & .hero__title-line {
    @media (prefers-reduced-motion: no-preference) {
      width: fit-content;
      animation: hero-headline-wipe var(--hero-headline-duration) cubic-bezier(.25, .46, .45, .94) backwards;
      animation-delay: calc(var(--hero-beat) * var(--hero-step));
    }
  }
}

@keyframes hero-headline-wipe {
    from {
      clip-path: inset(0 100% 0 0);
    }

    to {
      clip-path: inset(0 0 0 0);
    }
  }

.hero--layout-a {
  & .hero__eyebrow {
    @media (prefers-reduced-motion: no-preference) {
      --hero-step: 0;
    }
  }

  & .hero__title-line:first-child {
    @media (prefers-reduced-motion: no-preference) {
      --hero-step: 1;
    }
  }

  & .hero__title-line:last-child {
    @media (prefers-reduced-motion: no-preference) {
      --hero-step: 2;
    }
  }

  & .hero__actions {
    @media (prefers-reduced-motion: no-preference) {
      animation-delay: calc(var(--hero-beat) * 2 + var(--hero-headline-duration));
    }
  }

  & .hero-visual {
    @media (prefers-reduced-motion: no-preference) {
      --hero-step: 4;
    }
  }

  & .ai-question {
    @media (prefers-reduced-motion: no-preference) {
      --hero-step: 8;
    }
  }

  & .answer-icon {
    @media (prefers-reduced-motion: no-preference) {
      --hero-step: 11;
    }
  }

  & .clinic-result {
    @media (prefers-reduced-motion: no-preference) {
      animation-delay: calc(var(--hero-answer-end) + 150ms);
    }
  }

  & .answer-sources {
    @media (prefers-reduced-motion: no-preference) {
      animation-delay: calc(var(--hero-answer-end) + 450ms);
    }
  }

  & .visual-callout {
    @media (prefers-reduced-motion: no-preference) {
      animation-delay: calc(var(--hero-answer-end) + 800ms);
    }
  }
}

/* A keyboard user can use the CTA immediately, even during its entrance. */

.hero--layout-a {
  & .hero__actions:focus-within {
    @media (prefers-reduced-motion: no-preference) {
      animation: none;
    }
  }
}

@keyframes hero-sequence-enter {
    from {
      opacity: 0;
      translate: 0 8px;
    }

    to {
      opacity: 1;
      translate: 0 0;
    }
  }

.hero--layout-a {
  @media (max-width:767px) and (prefers-reduced-motion: no-preference) {
    --hero-beat: 170ms;
  }
}

/* Keep one continuous phrase for assistive technology; type only the visual copy. */

.answer-lead__accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero--layout-a {
  @media (prefers-reduced-motion: no-preference) {
    --hero-answer-start: calc(var(--hero-beat) * 11);
    --hero-answer-end: calc(var(--hero-answer-start) + 21 * 55ms);
  }

  & .answer-lead__char {
    @media (prefers-reduced-motion: no-preference) {
      animation: hero-type-character 1ms steps(1, end) backwards;
      animation-delay: calc(var(--hero-answer-start) + var(--char-index) * 55ms);
    }
  }
}

@keyframes hero-type-character {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

/* Balance the AI frame: callout on the left, sources aligned to the right. */

.hero--layout-a {
  & .visual-callout {
    left: -30px;
    right: auto;
  }

  & .answer-sources {
    justify-content: flex-end;
  }

  & .hero__decorative-word {
    left: 3%;
    right: auto;
  }

  & .hero-visual {
    @media (min-width:768px) and (max-width:1100px) {
      padding-bottom: 85px;
    }
  }

  & .visual-callout {
    @media (min-width:768px) and (max-width:1100px) {
      left: -10px;
      bottom: 0;
    }
  }

  & .hero-visual {
    @media (max-width:767px) {
      padding-bottom: 85px;
    }
  }

  & .visual-callout {
    @media (max-width:767px) {
      left: -9px;
      bottom: 0;
      max-width: calc(100% + 9px);
    }
  }

  & .hero__decorative-word {
    @media (max-width:767px) {
      left: -4%;
    }
  }
}

/* Reserve the final metric width while its visible digits count up. */

.result-card__value {
  &[data-count-target] {
    display: inline-grid;
    font-variant-numeric: tabular-nums;
  }

  &[data-count-target]::after {
    content: attr(data-count-target);
    visibility: hidden;
    grid-area: 1 / 1;
  }
}

.result-count__number {
  grid-area: 1 / 1;
}

.results {
  & .result-chart--motion .result-chart__bar {
    @media (prefers-reduced-motion: no-preference) {
      transform: scaleY(0);
      transform-origin: bottom;
      transition: transform 1100ms cubic-bezier(.22, 1, .36, 1);
    }
  }

  & .result-chart--motion.is-revealed .result-chart__bar {
    @media (prefers-reduced-motion: no-preference) {
      transform: scaleY(1);
    }
  }

  & .result-chart--motion .result-chart__column:nth-child(2) .result-chart__bar {
    @media (prefers-reduced-motion: no-preference) {
      transition-delay: 100ms;
    }
  }

  & .result-chart--motion .result-chart__column:nth-child(3) .result-chart__bar {
    @media (prefers-reduced-motion: no-preference) {
      transition-delay: 200ms;
    }
  }
}

/* Understated segmented case selector above the slides. */

.results {
  & .results__selectors {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 28px;
    padding: 5px;
    border: 1px solid var(--line-outer);
    border-radius: 12px;
    background: #f5f6fa;
  }

  & .results__selectors[hidden] {
    display: none;
  }
}

.results__selection-marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border: 1px solid var(--line-emphasis);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px #5550800a;
  pointer-events: none;
}

.results {
  & .has-current .results__selection-marker {
    transition: transform 450ms cubic-bezier(.22, 1, .36, 1), width 450ms ease, height 450ms ease;
  }

  & .results__selector {
    position: relative;
    min-height: 48px;
    padding: 12px 30px 12px 20px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #79829d;
    white-space: nowrap;
    transition: color 250ms ease, background-color 250ms ease;
  }

  & .results__selector::after {
    content: '';
    position: absolute;
    top: calc(50% - 3px);
    right: 13px;
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    rotate: 45deg;
    opacity: .45;
    transition: translate 250ms ease, opacity 250ms ease;
  }

  & .results__selector[aria-current='true'] {
    color: var(--results-purple);
  }

  & .results__selector[aria-current='true']::after {
    opacity: 1;
  }

  & .results__selector:hover {
    @media (hover:hover) {
      color: var(--results-purple);
      background: #eaeaf54d;
    }
  }

  & .results__selector:hover::after {
    @media (hover:hover) {
      translate: 2px 0;
      opacity: 1;
    }
  }

  & .results__navigation {
    justify-content: flex-end;
  }

  & .results__selectors {
    @media (max-width:767px) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      width: 100%;
      max-width: 440px;
      margin-bottom: 22px;
    }
  }

  & .results__selector {
    @media (max-width:767px) {
      padding: 11px 23px 11px 10px;
      text-align: center;
    }
  }

  & .results__selector span {
    @media (max-width:767px) {
      margin-right: 6px;
    }
  }

  & .results__selector::after {
    @media (max-width:767px) {
      right: 10px;
    }
  }
}

/* Keep each comparison period on one line across all case slides. */

.results {
  & .result-card__period {
    align-self: stretch;
    white-space: nowrap;
  }
}

/* Results illustration: keep both people and the AI recommendation legible. */

.results__header {
  grid-template-columns: minmax(0, 1fr) clamp(300px, 19.8vw, 380px);

  @media (min-width:768px) and (max-width:1100px) {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  @media (max-width:767px) {
    grid-template-columns: 1fr;
  }
}

.results__clinic {
  padding: 0;

  &::before {
    display: none;
  }

  @media (max-width:767px) {
    display: block;
    width: min(240px, 78%);
    margin: 18px auto 0;
  }
}

/* Keep the warm accent on the region labels. */

.results {
  & .result-card__region {
    background: #f8f6db;
  }

  & .results__selector:hover {
    @media (hover:hover) {
      background: #dfddea;
      color: #51499c;
      box-shadow: none;
    }
  }
}

/* Two-column result scenes: the metric stays in the copy, the image explains the action. */

.result-card__graph--illustration {
  & .result-card__art {
    display: block;
    align-self: center;
    width: 100%;
    max-width: 370px;
    height: auto;
    margin: 16px auto 12px;

    @media (max-width:767px) {
      max-width: 250px;
      margin: 18px auto 10px;
    }
  }
}

.results {
  & .result-card__art.result-chart--motion {
    @media (prefers-reduced-motion:no-preference) {
      opacity: 0;
      translate: 0 12px;
      transition: opacity 750ms ease, translate 750ms cubic-bezier(.22, 1, .36, 1);
    }
  }

  & .result-card__art.result-chart--motion.is-revealed {
    @media (prefers-reduced-motion:no-preference) {
      opacity: 1;
      translate: 0 0;
    }
  }
}

/* Results: keep stronger copy and use the English label as a background accent. */

.results--refined {
  position: relative;
  isolation: isolate;

  & .results__header {
    position: relative;
    isolation: isolate;
  }

  & .result-card h3 {
    margin-top: 16px;
    font-weight: 900;
    line-height: 1.7;

    font-size: clamp(19px, calc(17.058252px + var(--type-viewport) * 0.005177994), 27px);

    @media (max-width:767px) {
      margin-top: 14px;
    }
  }

  & .result-card__graph-title {
    font-weight: 900;
    line-height: 1.8;

    font-size: clamp(16px, calc(14.786408px + var(--type-viewport) * 0.003236246), 21px);

    @media (max-width:767px) {
      padding-right: 0;
    }
  }
}

.results__backdrop {
  position: absolute;
  z-index: -1;
  left: -.025em;
  top: -.27em;
  margin: 0;
  color: #3e4f8310;
  font: 500 clamp(71.25px, calc(37.572816px + var(--type-viewport) * 0.089805825), 210px)/1 var(--font-en);
  letter-spacing: .015em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;

  font-size: clamp(71.25px, calc(37.572816px + var(--type-viewport) * 0.089805825), 210px);

  @media (max-width:767px) {
    top: -.35em;
  }
}

/* AI SEARCH CHECK buttons follow the FV's centered label and yellow forward arrow. */

.diagnosis-cta__button {
  position: relative;
  justify-content: center;
  max-width: 470px;
  min-height: 70px;
  padding: 18px 60px;
  border: 1px solid transparent;
  text-align: center;
  box-shadow: none;

  & svg {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    stroke: var(--yellow);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;

    @media (max-width:767px) {
      right: 17px;
    }
  }

  &:hover {
    background: var(--cta-navy);
    box-shadow: none;
  }

  @media (max-width:767px) {
    min-height: 60px;
    padding: 14px 42px;
  }
}

/* Retain the clinic-centred four-media network; update surfaces and illustration texture only. */

.external-service__content {
  grid-template-columns: 1fr;
}

.outreach-visual--illustrated {
  & .outreach-clinic {
    background: linear-gradient(145deg, #fff, #efedf8);
    border-color: #b5add1;
    box-shadow: 0 6px 0 #d2cce4;
  }

  & .outreach-clinic img {
    background: transparent;
  }

  & .outreach-node {
    background: linear-gradient(145deg, #fff, #f0edf9);
    border-color: #bcb4d5;
    box-shadow: 3px 5px 0 #d9d4e8;
  }

  & .outreach-node__bar {
    background: #e5e0f3;
  }

  & .outreach-node__content {
    grid-template-columns: 42px minmax(0, 1fr);

    @media (max-width:1100px) {
      grid-template-columns: 1fr;
    }
  }

  & .outreach-node__content>img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;

    @media (max-width:767px) {
      width: 32px;
      height: 32px;
    }
  }
}

/* FV: one-line audience and service bubble, matching the diagnosis heading. */

.hero--bubble {
  & .hero__title-accent {
    background: none;
    color: var(--dark-purple);
  }

  & .hero__eyebrow {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    padding: 14px 22px 17px;
    border-radius: 24px 8px 26px 8px;
    background: #fff;
    filter: drop-shadow(5px 7px 0 #c6c0e5);
    white-space: nowrap;

    @media (max-width:767px) {
      gap: 5px;
      padding: 12px 10px 15px;
      border-radius: 20px 7px 22px 7px;
      filter: drop-shadow(4px 5px 0 #c6c0e5);
    }
  }

  & .hero__eyebrow::after {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 22px;
    height: 16px;
    background: #fff;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);

    @media (max-width:767px) {
      bottom: -11px;
      width: 18px;
      height: 13px;
    }
  }

  & .hero__eyebrow-target {
    display: inline;
    letter-spacing: 0;

    font-size: clamp(8.25px, calc(6.368932px + var(--type-viewport) * 0.005016181), 16px);
  }

  & .hero__eyebrow-service {
    display: inline;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    filter: none;
    letter-spacing: 0;

    font-size: clamp(12px, calc(8.359223px + var(--type-viewport) * 0.009708738), 27px);
  }

  & .hero__eyebrow-service::after {
    display: none;
  }
}

/* FV: a broad lavender arc and a white foreground curve connect the original columns. */

.hero--curves {
  background: radial-gradient(ellipse 65% 85% at 0% 10%, #f6ecf3, transparent 70%), linear-gradient(120deg, #f4f5fc, #f8f7fc 60%, #fffdf4);
}

/* Match the diagnosis CTA's large blurred color surfaces, behind the distinct FV circle. */

.hero--curves {
  &::before {
    content: "";
    display: block;
    position: absolute;
    inset: auto;
    z-index: -3;
    border-radius: 50%;
    filter: blur(clamp(36px, 4vw, 76px));
    pointer-events: none;

    top: -55%;
    right: -12%;
    width: 82%;
    aspect-ratio: 1.35;
    background: linear-gradient(135deg, #c8bfe9 5%, #e4e9f7 50%, #f0f6fb);
    opacity: .85;

    @media (max-width:767px) {
      top: -16%;
      right: -68%;
      width: 160%;
      filter: blur(42px);
    }
  }

  &::after {
    content: "";
    display: block;
    position: absolute;
    inset: auto;
    z-index: -3;
    border-radius: 50%;
    filter: blur(clamp(36px, 4vw, 76px));
    pointer-events: none;

    bottom: -78%;
    left: -28%;
    width: 74%;
    aspect-ratio: 1.3;
    background: linear-gradient(135deg, #d2def5, #e0daf3 60%, #f1e4ee);
    opacity: .8;

    @media (max-width:767px) {
      bottom: -12%;
      left: -90%;
      width: 150%;
      filter: blur(45px);
      opacity: .65;
    }
  }
}

.hero__curves {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  max-width: none;
  height: 100%;
  pointer-events: none;
}

.hero--curves {
  & .visual-orbit {
    display: none;
  }
}

.hero__curves {
  @media (max-width:767px) {
    width: 155%;
    left: -25%;
  }
}

/* FV copy: keep the manuscript lead and pause entrance animation. */

.hero--renewed {
  & .hero__inner {
    padding-top: 110px;
    padding-bottom: 100px;

    @media (min-width:768px) and (max-width:1100px) {
      padding-top: 100px;
      padding-bottom: 80px;
    }

    @media (max-width:767px) {
      padding-top: 58px;
      padding-bottom: 48px;
    }
  }

  & .hero__actions {
    margin-top: 28px;
  }

  & :is(.hero__eyebrow, .hero__actions, .hero-visual, .hero__title-line) {
    animation: none;
  }

  & .hero__actions {
    @media (max-width:767px) {
      margin-top: 24px;
    }
  }
}

.hero__lead {
  max-width: 500px;
  margin-top: 26px;
  color: var(--main);

  & .text-base--reading {
    text-wrap: balance;

    font-size: clamp(13.5px, calc(12.407767px + var(--type-viewport) * 0.002912621), 18px);
  }

  @media (min-width:768px) and (max-width:1100px) {
    margin-top: 22px;
  }

  @media (max-width:767px) {
    margin-top: 22px;
  }

  & .br-desktop{

    @media (max-width:1100px){
      display: none;
    }
  }
}

.hero__lead-heading {
  text-wrap: balance;
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.8;

  font-size: clamp(14px, calc(12.543689px + var(--type-viewport) * 0.003883495), 20px);

  @media (max-width:767px) {
    margin-bottom: 10px;
  }
}

/* FV: two mobile screens. Rear -5deg / front +3deg, with the reference's overlap. */

.hero--two-phones {
  & .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 32px;
    padding: 65px clamp(28px, 4vw, 76px) 55px clamp(60px, 6.8vw, 130px);

    @media (min-width:768px) and (max-width:1100px) {
      gap: 24px;
      padding: 60px 30px 55px 55px;
      grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    }

    @media (max-width:767px) {
      gap: 0;
      padding: 38px 28px 48px;
    }

    @media (max-width:374px){
      padding-inline: 16px;
    }
  }

  & .hero__copy {
    position: relative;
    z-index: 2;
    align-self: start;
    padding-top: 25px;

    @media (max-width:767px) {
      padding-top: 0;
    }
  }

  & .hero__title-line:last-child {
    font-size: inherit;
  }

  & .hero__title-accent {
    font-size: inherit;
  }

  & .hero__actions {
    margin-top: 44px;

    @media (max-width:767px) {
      margin-top: 36px;
    }
  }

  & .hero__lead .text-base--reading {
    text-wrap: pretty;

    font-size: clamp(13.5px, calc(12.407767px + var(--type-viewport) * 0.002912621), 18px);

    @media (max-width:767px) {
      text-wrap: wrap;
    }

    @media (max-width:1100px){
      text-wrap: balance;
    }
  }

  & .hero-visual--phones {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 540px;
    margin: 0;
    padding: 0;
    justify-self: end;

    @media (max-width:767px) {
      max-width: 360px;
      margin: 40px auto 0;
    }
  }

  & h1 {
    font-size: clamp(27.75px, calc(19.436893px + var(--type-viewport) * 0.022168285), 62px);
  }

  & .hero__side{
    font-size: 10px;
  }
}

.hero-phones {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 560/740;
  container-type: inline-size;
}

.hero-ripples {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -35%;
  width: 170%;
  max-width: none;
  height: auto;
  transform: rotate(-9deg);
  pointer-events: none;

  & ellipse {
    stroke-width: 1.25px;
    vector-effect: non-scaling-stroke;

    @media (max-width:767px) {
      stroke-width: .8px;
    }
  }

  @media (min-width:768px) and (max-width:1100px) {
    left: -15%;
    width: 150%;
  }
}

.hero-phone {
  position: absolute;
  width: 55.36%;
  height: 89.05%;
  padding: 1.43%;
  border-radius: 5.36cqw;
  background: #fff;
  box-shadow: 0 16px 38px #3e4f8326, 0 4px 10px #3e4f8314;
  transform-origin: 0 0;
}

.hero-phone--search {
  left: 0;
  top: 2%;
  transform: rotate(-5deg);
}

.hero-phone--ai {
  left: 41.07%;
  top: 8.76%;
  transform: rotate(3deg);
  z-index: 1;
}

.hero-phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 3.93cqw;
  background: #f7f6fb;
  color: var(--main);
  font-size: 2.14cqw;
}

.hero-phone__status {
  display: flex;
  justify-content: space-between;
  padding: 2.4cqw 3.2cqw 2cqw;
  font: 600 1.9cqw var(--font-en);
  background: #fff;
}

.hero-phone__brand {
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding: 1.8cqw 2.8cqw 2.2cqw;
  border-bottom: 1px solid #ded9ed;
  color: var(--dark-purple);
  background: #fff;
  font: 600 3cqw var(--font-en);
  letter-spacing: .04em;

  & .accent-star {
    width: 3cqw;
    height: 3cqw;
    color: #4595ce;
  }
}

.hero-phone__menu {
  margin-left: auto;
  color: #aaa8c8;
}

.hero-phone__query {
  margin: 3cqw 2.4cqw 2cqw;
  padding: 1.6cqw 2cqw;
  background: #fff;
  border: 1px solid #d9d5e8;
  border-radius: 4cqw;
  font-weight: 700;

  &>span {
    padding-right: 1cqw;
  }
}

.hero-phone__tabs {
  display: flex;
  gap: 2.4cqw;
  padding: 0 3cqw;
  color: #8a8da4;
  border-bottom: 1px solid #e3dfed;
  font-size: 1.9cqw;

  & b {
    padding-bottom: 1.3cqw;
    border-bottom: 2px solid var(--dark-purple);
    color: var(--dark-purple);
  }
}

.hero-phone__overview {
  padding: 3cqw;
  border-bottom: 1px solid #ded9ed;
  background: linear-gradient(145deg, #e5f2fc, #f1f7fc 65%, #fff);
  font-size: 2.05cqw;
  line-height: 1.85;
}

.hero-phone__overview-title {
  display: flex;
  align-items: center;
  gap: 1cqw;
  margin-bottom: 2cqw;
  font-size: 2.5cqw;
  font-weight: 700;

  & .accent-star {
    width: 2.5cqw;
    height: 2.5cqw;
    color: #4595ce;
    flex-shrink: 0;
  }
}

.hero-phone__overview-source {
  margin-top: 2cqw;
  padding: 1.5cqw 1.8cqw;
  border: 1px solid #ddd8eb;
  border-radius: 1.8cqw;
  background: #fff;

  & small {
    display: block;
    color: #85829d;
    font-size: 1.6cqw;
  }

  &>span {
    display: block;
    margin-top: .6cqw;
    color: var(--dark-purple);
    font-size: 1.9cqw;
    font-weight: 700;
  }
}

.hero-phone__result {
  padding: 3.8cqw 3cqw;
  border-bottom: 1px solid #e3dfed;
  background: #fff;

  & small {
    display: flex;
    align-items: center;
    gap: .8cqw;
    font-size: 1.65cqw;
    color: #81869e;
  }

  & small::before {
    content: "";
    flex-shrink: 0;
    width: 1.8cqw;
    height: 1.8cqw;
    border-radius: .5cqw;
    background: #78b5d9;
  }

  &+.hero-phone__result small::before {
    background: #d89eb9;
  }

  &+.hero-phone__result+.hero-phone__result small::before {
    background: #75b8a2;
  }

  & p {
    margin: 1.2cqw 0;
    color: #4f76ae;
    font-size: 2.5cqw;
    font-weight: 700;
  }

  &>span {
    font-size: 1.8cqw;
  }

  & i {
    display: block;
    height: .8cqw;
    margin-top: 1.6cqw;
    background: #eeecf4;
    border-radius: 1cqw;
  }

  & i:last-child {
    width: 76%;
  }
}

.hero-phone__question {
  margin: 3cqw 2.2cqw 3.8cqw 5cqw;
  padding: 2.2cqw;
  background: #f6e2ec;
  border-radius: 2.4cqw 2.4cqw .5cqw 2.4cqw;
  font-size: 2.1cqw;
  line-height: 1.8;
}

.hero-phone__answer {
  display: flex;
  align-items: flex-start;
  gap: 1.3cqw;
  margin: 0 2.5cqw 2.8cqw;
  font-size: 2.35cqw;
  line-height: 1.8;
  font-weight: 700;

  & .accent-star {
    flex-shrink: 0;
    margin-top: .7cqw;
    width: 2.8cqw;
    height: 2.8cqw;
    color: #4595ce;
  }
}

.hero-phone__clinic {
  margin: 0 2.4cqw;
  border: 1px solid #d7d0e8;
  border-radius: 2cqw;
  overflow: hidden;
  background: #fff;

  &>img {
    width: 100%;
    height: 20cqw;
    padding: 1cqw 5cqw;
    object-fit: contain;
    background: linear-gradient(135deg, #eaf4fa, #f1f0fa);
  }

  &>div {
    padding: 2cqw 2.5cqw 2.4cqw;
  }

  & small {
    display: inline-block;
    padding: .35cqw 1cqw;
    border-radius: .7cqw;
    background: #e2f2eb;
    font-size: 1.6cqw;
    color: #2c7e6b;
  }

  & p {
    margin: .5cqw 0 1cqw;
    font-size: 3.2cqw;
    font-weight: 900;
  }

  & div>span {
    font-size: 1.85cqw;
    line-height: 1.8;
  }
}

.hero-phone__reference {
  margin: 2.5cqw;
  color: #8b88a3;
  font-size: 1.6cqw;

  & span {
    display: block;
    margin-top: 1cqw;
    color: #2c7e6b;
  }
}

.hero-phone__input {
  position: absolute;
  bottom: 4.5cqw;
  left: 2.4cqw;
  right: 2.4cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1cqw 1cqw 1cqw 2cqw;
  border: 1px solid #d7d0e8;
  border-radius: 5cqw;
  background: #fff;
  color: #9693aa;
  font-size: 1.8cqw;

  & span {
    display: grid;
    place-items: center;
    width: 3.7cqw;
    height: 3.7cqw;
    border-radius: 50%;
    background: var(--main);
    color: #fff;
    font-size: 2.8cqw;
  }
}

.hero-phone__home {
  position: absolute;
  bottom: 1.5cqw;
  left: 35%;
  width: 30%;
  height: .65cqw;
  border-radius: 2cqw;
  background: #c7c3d8;
}

/* Keep each screen's angle while sliding it up once, in quick succession. */

.hero-phone {
  @media (prefers-reduced-motion:no-preference) {
    animation: hero-phone-enter .48s cubic-bezier(.16, 1, .3, 1) both;
  }
}

.hero-phone--search {
  @media (prefers-reduced-motion:no-preference) {
    animation-delay: .12s;
  }
}

.hero-phone--ai {
  @media (prefers-reduced-motion:no-preference) {
    animation-delay: .32s;
  }
}

@keyframes hero-phone-enter {
  from {
    opacity: 0;
    translate: 0 42px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Quiet vertical credit at the outer right edge of the FV. */

.hero--two-phones {
  & .hero__side {
    display: block;
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 18px;
    bottom: auto;
    left: auto;
    width: max-content;
    writing-mode: horizontal-tb;
    transform: translate(50%, -50%) rotate(90deg);
    color: #8d88ab;
    font: 400 10px / 1 var(--font-en);
    letter-spacing: .12em;
    white-space: nowrap;
    pointer-events: none;

    @media (max-width:767px) {
      display: none;
    }
  }
}

/* Shared CTA response and chapter entrances. No perpetual or repeated motion. */

:is(.hero--layout-a, .diagnosis-cta, .diagnosis-entry, .final-cta) {
  & .cta-motion {
    transition: background .22s, border-color .22s, translate .22s ease, box-shadow .22s;
  }

  & .cta-motion:is(:hover, :focus-visible) {
    transform: none;
  }
}

.section-reveal {
  @media (prefers-reduced-motion:no-preference) {
    opacity: 0;
    translate: 0 18px;
    transition: opacity .65s ease, translate .65s cubic-bezier(.22, 1, .36, 1);
  }

  &:is(.is-visible, :focus-within) {
    @media (prefers-reduced-motion:no-preference) {
      opacity: 1;
      translate: 0 0;
    }
  }
}

.cta-motion {
  &>svg {
    @media (prefers-reduced-motion:no-preference) {
      transition: translate .22s ease;
    }
  }

  &:focus-visible>svg {
    @media (prefers-reduced-motion:no-preference) {
      translate: 4px 0;
    }
  }

  &:hover>svg {
    @media (hover:hover) and (prefers-reduced-motion:no-preference) {
      translate: 4px 0;
    }
  }
}

:is(.hero--layout-a, .diagnosis-cta, .diagnosis-entry, .final-cta) {
  & .cta-motion:focus-visible {
    @media (prefers-reduced-motion:no-preference) {
      translate: 0 -3px;
    }
  }

  & .cta-motion:hover {
    @media (hover:hover) and (prefers-reduced-motion:no-preference) {
      translate: 0 -3px;
    }
  }
}
