/*
 * V3.7 Design Phase 1 Final
 * Hero typography and synced hero behavior are intentionally untouched.
 */
.public-site {
  --v37-h2: clamp(2.7rem, 4vw, 4.4rem);
  --v37-h3: clamp(1.5rem, 2.1vw, 2rem);
  --v37-card-title: clamp(1.31rem, 1.7vw, 1.63rem);
  --v37-body: clamp(1rem, 1.15vw, 1.125rem);
  --v37-caption: clamp(.8125rem, .9vw, .9375rem);
  --v37-body-dark: #a8b5b0;
  --v37-body-light: #55615c;
}

.public-site .brand {
  gap: 9px;
}

.public-site .v37-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 48px;
  place-items: center;
}

.public-site .v37-brand-mark img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  background: transparent;
  filter: none;
}

.public-site main > section:not(.v3-hero) .v3-kicker,
.public-site main > section:not(.v3-hero) .v3-section-index,
.public-site main > section:not(.v3-hero) .v3-bento span,
.public-site main > section:not(.v3-hero) .v3-service-list > a > span,
.public-site main > section:not(.v3-hero) .v3-case-card > span,
.public-site main > section:not(.v3-hero) .v3-story-body article > span {
  font-size: clamp(.75rem, .82vw, .875rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .1em;
}

.public-site main > .v3-section,
.public-site main > .v3-final {
  padding-top: clamp(96px, 9vw, 136px);
  padding-bottom: clamp(96px, 9vw, 136px);
}

.public-site main > section:not(.v3-hero) .v3-section-heading h2,
.public-site main > .v3-scratch .v3-scratch-head h2,
.public-site main > .v3-story h2,
.public-site main > .v3-tracking-proof h2,
.public-site main > .v3-final h2 {
  max-width: 18ch;
  font-size: var(--v37-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.public-site main > section:not(.v3-hero) .v3-section-heading > p:last-child {
  max-width: 62ch;
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  font-weight: 400;
  line-height: 1.68;
}

.public-site main > section:not(.v3-hero) h3 {
  font-weight: 600;
}

.public-site main > section:not(.v3-hero) p,
.public-site main > section:not(.v3-hero) dd,
.public-site main > section:not(.v3-hero) .accordion-panel {
  font-weight: 400;
}

.v3-scratch-grid {
  row-gap: 32px;
}

.v3-scratch-lines {
  min-height: 330px;
}

.v3-scratch-lines article {
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 32px 0;
  border-color: rgba(11, 16, 15, .13);
  opacity: .5;
}

.v3-scratch-lines article.is-active {
  opacity: 1;
}

.v3-scratch-lines p {
  max-width: 32ch;
  font-size: var(--v37-body);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -.018em;
}

.v3-scratch-lines article:first-child p {
  max-width: 24ch;
  font-size: var(--v37-h3);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.028em;
}

.v3-scratch-close {
  max-width: 44ch;
  color: #65706b;
  font-size: var(--v37-caption);
  font-weight: 400;
  line-height: 1.68;
}

.v3-section-heading {
  margin-bottom: clamp(44px, 5vw, 68px);
}

.v3-bento {
  gap: 14px;
}

.v3-bento article {
  min-height: 250px;
  padding: clamp(30px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.v3-bento h3 {
  margin: auto 0 12px;
  font-size: var(--v37-card-title);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.028em;
}

.v3-bento p {
  max-width: 38ch;
  color: var(--v37-body-dark);
  font-size: var(--v37-body);
  font-weight: 400;
  line-height: 1.72;
}

.v3-bento-helper {
  display: grid;
  grid-template-columns: minmax(150px, 24%) 1fr;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
}

.v3-bento-helper img {
  width: 100%;
  max-width: 168px;
  height: 150px;
  align-self: center;
  object-fit: contain;
}

.v3-bento-helper > div {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.v3-symptom-tabs button {
  font-size: clamp(.95rem, 1.08vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.45;
}

.v3-symptom-result-head strong {
  font-size: var(--v37-h3);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.v3-symptom-result dt {
  font-weight: 600;
}

.v3-symptom-result dd {
  max-width: 46ch;
  color: var(--v37-body-light);
  font-size: var(--v37-body);
  line-height: 1.72;
}

.v3-dduri-point {
  right: -14px;
  bottom: -28px;
  width: clamp(170px, 20vw, 260px);
  height: clamp(180px, 23vw, 290px);
  object-fit: contain;
}

.v3-service-list a {
  padding-top: 30px;
  padding-bottom: 30px;
}

.v3-service-list h3 {
  margin-bottom: 9px;
  font-size: var(--v37-card-title);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.028em;
}

.v3-service-list p {
  max-width: 62ch;
  color: var(--v37-body-light);
  font-size: var(--v37-body);
  line-height: 1.72;
}

.v3-case-card h3,
.v3-proof-empty h3 {
  font-size: var(--v37-h3);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.v3-case-card p,
.v3-proof-empty p {
  max-width: 52ch;
  color: var(--v37-body-dark);
  font-size: var(--v37-body);
  font-weight: 400;
  line-height: 1.75;
}

.v3-story-body article {
  grid-template-columns: 42px 1fr;
  padding: 38px 0;
  border-color: rgba(11, 16, 15, .14);
}

.v3-story-body h3 {
  max-width: 26ch;
  margin-bottom: 14px;
  font-size: var(--v37-h3);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.028em;
}

.v3-story-body p {
  max-width: 58ch;
  color: var(--v37-body-light);
  font-size: var(--v37-body);
  font-weight: 400;
  line-height: 1.74;
}

.v3-story-body blockquote {
  max-width: 24ch;
  margin-top: 54px;
  padding: 28px 0 0;
  border-top-width: 3px;
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.v37-surgery-figure {
  margin: 46px 0;
}

.v37-surgery-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  background: #bfd8ce;
  box-shadow: 0 24px 56px rgba(24, 58, 49, .16);
}

.v37-surgery-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 248, 232, .11), transparent 37%),
    linear-gradient(to top, rgba(19, 62, 51, .10), transparent 32%);
  pointer-events: none;
}

.v37-surgery-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  opacity: 0;
  will-change: opacity;
}

.v37-surgery-slide-person {
  z-index: 2;
  opacity: 1;
  animation: v37-surgery-person 4s ease-in-out infinite;
}

.v37-surgery-slide-room {
  animation: v37-surgery-room 4s ease-in-out infinite;
}

.v37-surgery-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.v37-surgery-slide-person img {
  object-position: 48% center;
}

.v37-surgery-slide-room img {
  object-position: center;
}

@keyframes v37-surgery-person {
  0%,
  43% {
    opacity: 1;
  }
  55%,
  93% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes v37-surgery-room {
  0%,
  43% {
    opacity: 0;
  }
  55%,
  93% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.v3-story-body .v37-surgery-figure > figcaption {
  max-width: 62ch;
  margin-top: 13px;
  color: #6c7772;
  font-size: var(--v37-caption);
  font-weight: 450;
  line-height: 1.62;
}

.v3-tracking-ui div {
  font-size: clamp(.95rem, 1.05vw, 1.0625rem);
  font-weight: 500;
}

.v3-tracking-ui p {
  max-width: 62ch;
  font-size: var(--v37-body);
  font-weight: 400;
  line-height: 1.7;
}

.public-site .v3-faq .accordion-button {
  min-height: 76px;
  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em;
}

.public-site .v3-faq .accordion-panel {
  max-width: 64ch;
  color: var(--v37-body-dark);
  font-size: var(--v37-body);
  font-weight: 400;
  line-height: 1.78;
}

.v3-final > .v3-grid > div > p:not(.v3-kicker) {
  max-width: 48ch;
  font-size: var(--v37-body);
  font-weight: 400;
  line-height: 1.72;
}

.v3-final-face > img:first-child {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72%;
  height: 100%;
  object-position: center bottom;
}

.v3-final-dduri {
  right: 0;
  bottom: 0;
  width: 28%;
  height: 44%;
  object-position: center bottom;
}

.footer-v3-helper {
  width: 120px;
  height: 130px;
}

@media (max-width: 860px) {
  .public-site main > .v3-section,
  .public-site main > .v3-final {
    padding-top: clamp(78px, 11vw, 104px);
    padding-bottom: clamp(78px, 11vw, 104px);
  }

  .v3-story-body blockquote {
    max-width: 28ch;
  }
}

@media (max-width: 560px) {
  .public-site {
    --v37-h2: clamp(2rem, 8.5vw, 2.8rem);
    --v37-h3: clamp(1.25rem, 5.7vw, 1.56rem);
    --v37-card-title: clamp(1.19rem, 5.2vw, 1.44rem);
    --v37-body: clamp(.96875rem, 4.25vw, 1.0625rem);
    --v37-caption: clamp(.8125rem, 3.6vw, .9rem);
  }

  .public-site .brand {
    gap: 8px;
  }

  .public-site .v37-brand-mark,
  .public-site .v37-brand-mark img {
    width: 44px;
    height: 44px;
  }

  .public-site .v37-brand-mark {
    flex-basis: 44px;
  }

  .public-site .brand strong {
    font-size: 18px;
  }

  .public-site main > section:not(.v3-hero) .v3-section-heading h2,
  .public-site main > .v3-scratch .v3-scratch-head h2,
  .public-site main > .v3-story h2,
  .public-site main > .v3-tracking-proof h2,
  .public-site main > .v3-final h2 {
    max-width: 13ch;
    line-height: 1.13;
    letter-spacing: -.032em;
  }

  .public-site main > section:not(.v3-hero) .v3-section-heading > p:last-child {
    max-width: 36ch;
    font-size: var(--v37-body);
    line-height: 1.74;
  }

  .v3-scratch-grid {
    padding: 78px 0;
  }

  .v3-scratch-lines {
    margin-top: 34px;
  }

  .v3-scratch-lines article {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .v3-scratch-lines p,
  .v3-scratch-lines article:first-child p {
    line-height: 1.55;
  }

  .v3-bento article,
  .v3-bento .v3-bento-wide,
  .v3-bento-helper {
    min-height: 224px;
    padding: 30px 24px;
  }

  .v3-bento-helper {
    grid-template-columns: 108px 1fr;
    gap: 16px;
  }

  .v3-bento-helper img {
    width: 108px;
    height: 115px;
  }

  .v3-dduri-point {
    right: -8px;
    bottom: -18px;
    width: 145px;
    height: 160px;
  }

  .v3-service-list h3 {
    line-height: 1.4;
  }

  .v3-service-list p {
    font-size: var(--v37-body);
    line-height: 1.75;
  }

  .v3-story-body article {
    grid-template-columns: 30px 1fr;
    padding: 32px 0;
  }

  .v37-surgery-frame {
    border-radius: 16px;
  }

  .v37-surgery-slide-person img {
    object-position: 46% center;
  }

  .public-site .v3-faq .accordion-button {
    min-height: 70px;
    font-size: var(--v37-card-title);
  }

  .v3-final-face {
    height: 460px;
  }

  .v3-final-face > img:first-child {
    width: 70%;
  }

  .v3-final-dduri {
    width: 30%;
    height: 42%;
  }

  .footer-v3-helper {
    width: 105px;
    height: 115px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v37-surgery-slide {
    animation: none !important;
    transition: none !important;
  }

  .v37-surgery-slide-person {
    display: block !important;
    opacity: 1 !important;
  }

  .v37-surgery-slide-room {
    display: none !important;
    opacity: 0 !important;
  }
}
