.grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--color-line) 1px, transparent 1px);
  background-size: calc((100% - var(--gutter) * 2) / 4) 100%;
  background-position: var(--gutter) 0;
}

@media (min-width: 1080px) {
  .grid-bg {
    background-size: calc((min(100%, var(--container) + var(--gutter) * 2) - var(--gutter) * 2) / 12) 100%;
    background-position: max(var(--gutter), calc((100% - var(--container)) / 2)) 0;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 900px);
  overflow: hidden;
}

.hero__plate,
.page-hero__plate {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: var(--plate-sp);
  max-width: none;
  aspect-ratio: 1 / 1;
  height: auto;
  transform: translate(50%, -50%);
  pointer-events: none;
}

:root {
  --plate-sp: clamp(200px, 46vw, 480px);
}

@media (min-width: 1080px) {
  .hero__plate {
    top: 50%;
    right: auto;
    left: calc(max(var(--gutter), (100% - var(--container)) / 2) + min(100% - var(--gutter) * 2, var(--container)) * 0.79);
    width: 64vw;
    max-width: 980px;
    transform: translateY(-54%);
    opacity: 0.9;
  }
}

.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 56px 48px;
}

@media (max-width: 1079.98px) {
  .hero__body {
    padding-top: 112px;
  }
}

.hero__label {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: var(--ls-mono);
  color: var(--color-orange);
  line-height: 1.6;
  max-width: none;
}

.hero__display {
  font-family: var(--font-en);
  font-stretch: 125%;
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 0.9;
  letter-spacing: var(--ls-en);
  max-width: none;
}

.hero__letters {
  display: inline-flex;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero__letters span {
  display: inline-block;
  animation: letter-up 0.6s var(--ease-out) both;
  animation-delay: calc(var(--i) * 80ms);
}

.hero__rule {
  display: block;
  width: min(100%, 520px);
  height: 2px;
  margin: 24px 0 32px;
  background: var(--color-orange);
  transform-origin: left center;
  animation: rule-grow 0.4s var(--ease-out) 0.8s both;
}

@keyframes letter-up {
  from {
    transform: translateY(105%);
  }
  to {
    transform: none;
  }
}

@keyframes rule-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero__lead {
  margin-bottom: 36px;
  color: var(--color-white);
  max-width: 34em;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
}

.hero__facts li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.hero__facts li + li {
  border-left: 1px solid var(--color-line);
}

.hero__facts .en-num {
  font-family: var(--font-en);
  font-stretch: 125%;
  letter-spacing: 0;
}

@media (min-width: 768px) {
  .hero__facts li {
    min-height: 96px;
    font-size: 16px;
  }
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 32px 96px;
  border-bottom: 1px solid var(--color-line);
}

@media (min-width: 1080px) {
  .page-hero {
    padding-block: 40px 128px;
  }
}

@media (min-width: 1080px) {
  .page-hero__plate {
    top: 50%;
    right: -8%;
    width: 52vw;
    max-width: 720px;
    transform: translateY(-50%);
  }
}

.page-hero__inner {
  padding-top: 56px;
}

.page-hero__label {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: var(--ls-mono);
  color: var(--color-orange);
}

.page-hero h1 {
  margin-bottom: 24px;
}

.page-hero__lead {
  max-width: 30em;
}

.page-hero__rule {
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 40px;
  background: var(--color-orange);
}

.page-hero .cta {
  margin-top: 40px;
}

.problem-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-grid li:nth-child(odd) {
    border-right: 1px solid var(--color-line);
    padding-right: 32px;
  }

  .problem-grid li:nth-child(even) {
    padding-left: 32px;
  }
}

.problem-grid li {
  position: relative;
  padding: 28px 0 28px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
}

.problem-grid li::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--color-orange);
}

.problem-close {
  margin-top: 56px;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.8;
  max-width: 32em;
}

@media (min-width: 768px) {
  .problem-close {
    font-size: 22px;
  }
}

.promise {
  --promise-num-size: clamp(64px, 12vw, 120px);
  display: grid;
  grid-template-columns: calc(var(--promise-num-size) * 1.56) minmax(0, 1fr);
  gap: 8px 24px;
  padding-block: 40px;
  border-top: 1px solid var(--color-line);
}

.promise:last-child {
  border-bottom: 1px solid var(--color-line);
}

.promise__num {
  grid-row: 1 / span 2;
  font-family: var(--font-en);
  font-stretch: 125%;
  font-weight: 700;
  font-size: var(--promise-num-size);
  line-height: 0.85;
  letter-spacing: var(--ls-en);
  color: transparent;
  -webkit-text-stroke: 1px var(--color-white);
}

@supports not (-webkit-text-stroke: 1px white) {
  .promise__num {
    color: var(--color-white);
  }
}

.promise h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  align-self: end;
}

.promise p {
  color: var(--color-gray);
}

@media (max-width: 767.98px) {
  .promise {
    grid-template-columns: 1fr;
  }

  .promise__num {
    grid-row: auto;
    margin-bottom: 16px;
  }
}

.price-teaser h2 {
  max-width: none;
}

.price-teaser__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 16px;
}

.price-teaser__title .price-teaser__line {
  flex-basis: 100%;
}

.price-teaser__rest {
  font-size: var(--fs-h2);
}

.price-teaser__line {
  font-size: var(--fs-h2);
}

.price-teaser__big {
  margin: 8px 0;
  font-family: var(--font-en);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(56px, 13vw, 160px);
  line-height: 1;
  letter-spacing: var(--ls-en);
  color: var(--color-white);
  white-space: nowrap;
}

.price-teaser__tax {
  font-size: 0.6em;
  color: var(--color-gray);
}

.price-teaser__body {
  margin-top: 32px;
  color: var(--color-gray);
}

.price-teaser__rule {
  display: block;
  height: 1px;
  margin: 48px 0 32px;
  background: var(--color-orange);
}

.trial-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 1080px) {
  .trial-grid {
    grid-template-columns: 6fr 5fr;
    gap: 64px;
    align-items: start;
  }
}

.trial-promise {
  margin-bottom: 16px;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.6;
}

.trial-supp {
  margin-bottom: 32px;
  color: var(--color-gray);
  font-size: 15px;
}

.final-cta {
  --plate-final: clamp(280px, 50vw, 560px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: calc(var(--plate-final) * 0.4875 + var(--section-y) * 0.5);
  text-align: center;
}

.final-cta__plate {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0;
  width: var(--plate-final);
  aspect-ratio: 1 / 1;
  height: auto;
  transform: translate(-50%, 50%);
  opacity: 0.9;
  pointer-events: none;
}

.final-cta h2 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(30px, 6vw, 64px);
  line-height: 1.4;
}

.final-cta h2 + .cta {
  margin-top: 40px;
}

.final-cta p {
  margin: 24px auto 40px;
  color: var(--color-gray);
}

.section--light .sec-head h2 {
  color: var(--color-ink);
}

.plans-cta {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-gray);
}

.plans-cta__lead {
  font-weight: 700;
  font-size: 18px;
}

.section-cta {
  text-align: center;
}

.section-cta h2 {
  max-width: 22em;
  margin: 0 auto 40px;
}

.belongings {
  margin-top: 64px;
}

.belongings h3 {
  margin-bottom: 16px;
}

.visit-list {
  counter-reset: visit;
}

.visit-list li {
  counter-increment: visit;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
}

.visit-list li:first-child {
  border-top: 1px solid var(--color-line);
}

.visit-list li::before {
  content: counter(visit, decimal-leading-zero);
  font-family: var(--font-en);
  font-stretch: 125%;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0;
}

.shop-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1080px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}
