/* v12 — subpage unity: short copy, transparent character art, editorial rows */

.p12-subpage {
  background: #fff;
}

.p12-subhero {
  position: relative;
  min-height: 46rem;
  padding: 10.5rem 0 6.5rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, rgba(210, 235, 238, 0.68), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
}

.p12-subhero::before {
  content: "";
  position: absolute;
  width: 42rem;
  height: 16rem;
  right: -9rem;
  bottom: -10rem;
  border: 1px solid rgba(12, 34, 51, 0.09);
  border-radius: 50%;
  transform: rotate(-10deg);
  pointer-events: none;
}

.p12-subhero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 0.78fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
}

.p12-subhero-copy {
  min-width: 0;
}

.p12-subhero-copy h1 {
  max-width: 11ch;
  margin-top: 1.35rem;
  font-size: clamp(3.25rem, 5.6vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.16;
  text-wrap: balance;
}

.p12-subhero-copy h1 em {
  color: var(--p5-signal);
  font-style: normal;
}

.p12-subhero-copy > p {
  max-width: 39rem;
  margin-top: 1.55rem;
  color: #465d68;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 2;
  text-wrap: pretty;
}

.p12-subhero-art {
  --p5-parallax-y: 0px;
  position: relative;
  min-height: 33rem;
  margin: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
  transform: translate3d(0, var(--p5-parallax-y), 0);
}

.p12-subhero-art::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(31rem, 92%);
  aspect-ratio: 1;
  border-radius: 44% 56% 61% 39% / 57% 42% 58% 43%;
  background: #dceff1;
  transform: rotate(-7deg);
}

.p12-subhero-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(27rem, 80%);
  aspect-ratio: 1;
  border: 1px solid rgba(12, 34, 51, 0.15);
  border-radius: 50%;
  transform: translate(2rem, -1rem);
}

.p12-subhero-art > span {
  position: absolute;
  z-index: -1;
  width: 12rem;
  height: 2rem;
  right: 0.5rem;
  bottom: 6.25rem;
  border-radius: 99px;
  background: #f4b4aa;
  transform: rotate(-13deg);
}

.p12-subhero-art img {
  width: min(30rem, 94%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1.5rem 2.2rem rgba(31, 65, 80, 0.12));
}

.p12-subhero-business .p12-subhero-art img {
  width: min(33rem, 100%);
}

.p12-section {
  padding: clamp(6rem, 9vw, 9rem) 0 clamp(7rem, 10vw, 10rem);
}

.p12-section-tint {
  background: #f5f8f8;
}

.p12-section-head {
  max-width: 46rem;
}

.p12-section-head h2,
.p12-message-intro h2 {
  margin-top: 1rem;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.25;
  text-wrap: balance;
}

.p12-section-head > p:last-child,
.p12-message-intro > p {
  max-width: 38rem;
  margin-top: 1.15rem;
  color: var(--p5-muted);
  font-size: 0.95rem;
  line-height: 1.95;
  text-wrap: pretty;
}

.p12-topic-list {
  margin-top: 3.5rem;
  border-top: 1px solid var(--p5-line);
}

.p12-topic-list li {
  position: relative;
  padding: 2.2rem 1.1rem 2.2rem 0;
  display: grid;
  grid-template-columns: 4.25rem minmax(13rem, 0.65fr) minmax(18rem, 1fr);
  align-items: baseline;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--p5-line);
  transition: padding 240ms ease, background 240ms ease;
}

.p12-topic-list li:hover {
  padding-left: 1.1rem;
  background: rgba(220, 239, 241, 0.27);
}

.p12-topic-list li > span,
.p12-checklist li > span {
  color: var(--p5-signal);
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p12-topic-list h3,
.p12-checklist h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.p12-topic-list p,
.p12-checklist p {
  color: var(--p5-muted);
  font-size: 0.88rem;
  line-height: 1.9;
  text-wrap: pretty;
}

.p12-boundary {
  width: fit-content;
  margin-top: 1.5rem;
  color: #6b7a82;
  font-size: 0.72rem;
  line-height: 1.7;
}

.p12-message-layout,
.p12-process-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.72fr) minmax(27rem, 1fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: start;
}

.p12-message-intro {
  position: relative;
}

.p12-message-intro figure {
  --p5-parallax-y: 0px;
  position: relative;
  width: min(18rem, 80%);
  margin: 2.4rem 0 -4rem auto;
  transform: translate3d(0, var(--p5-parallax-y), 0) rotate(-2deg);
}

.p12-message-intro figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 17% 4% 2%;
  border-radius: 50%;
  background: #dceff1;
}

.p12-message-intro figure img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.3rem 1.8rem rgba(31, 65, 80, 0.1));
}

.p12-checklist {
  border-top: 1px solid var(--p5-line);
}

.p12-checklist li {
  min-height: 7.5rem;
  padding: 1.8rem 0;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.4rem;
  align-items: start;
  border-bottom: 1px solid var(--p5-line);
}

.p12-checklist p {
  margin-top: 0.35rem;
}

.p12-metrics {
  padding: 1.7rem 0;
  background: #fff;
}

.p12-metrics ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--p5-line);
  border-bottom: 1px solid var(--p5-line);
}

.p12-metrics li {
  padding: 2rem clamp(1rem, 3vw, 2.8rem);
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.p12-metrics li + li {
  border-left: 1px solid var(--p5-line);
}

.p12-metrics b {
  font-family: "Manrope", "Hiragino Sans", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 1;
}

.p12-metrics span {
  color: var(--p5-muted);
  font-size: 0.73rem;
  line-height: 1.5;
}

.p12-process-layout .p12-section-head {
  position: sticky;
  top: 8rem;
}

.p12-action {
  position: relative;
  overflow: hidden;
  background: var(--p5-night);
  color: #fff;
}

.p12-action::before {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  right: -13rem;
  top: -20rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.p12-action-frame {
  position: relative;
  min-height: 36rem;
  padding: clamp(6rem, 9vw, 8rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.48fr);
  align-items: center;
  gap: 3rem;
}

.p12-action .p5-kicker {
  color: rgba(255, 255, 255, 0.54);
}

.p12-action .p5-kicker i {
  background: #ff8379;
}

.p12-action h2 {
  margin-top: 1.2rem;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.p12-action p {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.95;
}

.p12-action-button {
  width: fit-content;
  min-height: 3.8rem;
  margin-top: 2rem;
  padding: 0.85rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 0.3rem;
  background: #fff;
  color: var(--p5-night) !important;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
}

.p12-action-button:hover {
  color: var(--p5-signal) !important;
  transform: translateY(-2px);
}

.p12-action small {
  margin-top: 1rem;
  display: block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}

.p12-action figure {
  --p5-parallax-y: 0px;
  position: relative;
  align-self: end;
  margin: 0 0 -8rem;
  transform: translate3d(0, var(--p5-parallax-y), 0);
}

.p12-action figure::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 76%;
  aspect-ratio: 1;
  left: 12%;
  bottom: 8%;
  border-radius: 50%;
  background: rgba(101, 180, 188, 0.22);
}

.p12-action figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.8rem 2rem rgba(0, 0, 0, 0.22));
}

@media (max-width: 980px) {
  .p12-subhero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
    gap: 2rem;
  }

  .p12-subhero-art {
    min-height: 27rem;
  }

  .p12-topic-list li {
    grid-template-columns: 3.5rem minmax(10rem, 0.55fr) 1fr;
    gap: 1.5rem;
  }

  .p12-message-layout,
  .p12-process-layout {
    gap: 4rem;
  }

  .p12-metrics li {
    display: grid;
    gap: 0.55rem;
  }
}

@media (max-width: 720px) {
  .p12-subhero {
    min-height: auto;
    padding: 8.5rem 0 3.5rem;
  }

  .p12-subhero-grid {
    grid-template-columns: 1fr;
  }

  .p12-subhero-copy h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .p12-subhero-copy > p {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .p12-subhero-art {
    min-height: 22rem;
    width: min(24rem, 100%);
    margin: 0 auto;
  }

  .p12-subhero-art > span {
    width: 8rem;
    bottom: 3rem;
  }

  .p12-section {
    padding: 5rem 0 6rem;
  }

  .p12-section-head h2,
  .p12-message-intro h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .p12-topic-list {
    margin-top: 2.5rem;
  }

  .p12-topic-list li {
    padding: 1.65rem 0;
    grid-template-columns: 2.5rem 1fr;
    gap: 0.7rem 1rem;
  }

  .p12-topic-list li:hover {
    padding-left: 0;
    background: transparent;
  }

  .p12-topic-list p {
    grid-column: 2;
  }

  .p12-message-layout,
  .p12-process-layout {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .p12-message-intro figure {
    display: none;
  }

  .p12-process-layout .p12-section-head {
    position: static;
  }

  .p12-checklist li {
    min-height: auto;
    padding: 1.45rem 0;
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }

  .p12-metrics {
    padding: 0;
  }

  .p12-metrics ul {
    grid-template-columns: 1fr;
  }

  .p12-metrics li {
    padding: 1.5rem 0;
    display: flex;
  }

  .p12-metrics li + li {
    border-top: 1px solid var(--p5-line);
    border-left: 0;
  }

  .p12-action-frame {
    min-height: auto;
    padding: 5.5rem 0 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .p12-action h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .p12-action figure {
    width: min(19rem, 78vw);
    margin: 1.5rem 0 -4.5rem auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p12-subhero-art,
  .p12-message-intro figure,
  .p12-action figure {
    transform: none !important;
  }
}
