/* DADION Lancers LP v5 — final hierarchy, semantic wrapping, autonomous process proof */

:root {
  --v5-red: #ed3124;
  --v5-red-dark: #b80e0e;
  --v5-red-deep: #870707;
  --v5-gold: #f7c45a;
  --v5-cyan: #3ad2e2;
  --v5-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  line-break: strict;
  overflow-wrap: normal;
}

html,
body {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

/* Hero — the price is part of the accepted product art, never an HTML overlay. */

.hero-product-price {
  display: none !important;
}

.hero-product-v4 > img {
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: radial-gradient(ellipse 94% 91% at 50% 50%, #000 73%, transparent 100%);
  mask-image: radial-gradient(ellipse 94% 91% at 50% 50%, #000 73%, transparent 100%);
}

/* VSL — one comprehension headline followed by a true full-width video surface. */

.vsl-layout--v5 {
  display: block;
}

.vsl-heading-v5 {
  max-width: 1040px;
  margin-inline: auto;
}

.vsl-heading-v5 h2 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  font-size: clamp(44px, 4.7vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.03;
  gap: 0 0.12em;
}

.vsl-heading-v5 h2 span {
  white-space: nowrap;
}

.vsl-heading-v5 h2 .title-support,
.vsl-heading-v5 h2 .title-tail {
  font-size: 0.65em;
}

.vsl-heading-v5 h2 .title-peak {
  color: var(--v5-red);
  font-size: 1em;
}

.vsl-heading-v5 p {
  max-width: 44em;
  margin: 16px auto 0;
  text-align: center;
  text-wrap: balance;
}

.vsl-layout--v5 .vsl-poster {
  width: 100%;
  max-width: 1240px;
  margin: 34px auto 0;
  aspect-ratio: 16 / 9;
}

.vsl-layout--v5 .vsl-poster__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Immediate purchase band — grow the band around the campaign image. */

.quick-buy--v5 {
  width: min(calc(100% - 36px), 1380px);
  max-width: 1380px;
  min-height: 260px;
  margin-top: 38px;
  padding: 18px 22px 18px 18px;
  grid-template-columns: minmax(430px, 1.18fr) minmax(230px, 0.58fr) minmax(250px, auto);
  gap: 28px;
}

.quick-buy--v5 .quick-buy__visual {
  width: 100%;
  height: auto;
  min-height: 224px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.quick-buy--v5 .quick-buy__visual img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.quick-buy--v5 .quick-buy__copy {
  align-self: center;
}

.quick-buy--v5 .quick-buy__copy strong b {
  color: var(--v5-red);
}

/* Deliberately loud conversion interruptions. Hero and header CTAs stay cyan. */

.purchase-cta--interrupt {
  border: 2px solid #ff665b !important;
  background: linear-gradient(135deg, #ff4438 0%, var(--v5-red) 46%, var(--v5-red-dark) 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 0 var(--v5-red-deep), 0 24px 38px rgba(184, 14, 14, 0.28) !important;
  text-shadow: 0 1px 0 rgba(92, 0, 0, 0.3);
}

.purchase-cta--interrupt:hover,
.purchase-cta--interrupt:focus-visible {
  box-shadow: 0 8px 0 var(--v5-red-deep), 0 18px 28px rgba(184, 14, 14, 0.34) !important;
  transform: translateY(4px);
}

.purchase-cta--interrupt img {
  filter: brightness(0) invert(1) !important;
}

/* Bundle copy — phrase-level lines only. */

.bundle-title__line {
  display: block;
  white-space: nowrap;
}

.bundle-title__line:last-child {
  display: flex;
  align-items: baseline;
  gap: 0;
}

.bundle-copy-v4 > p,
.bundle-copy-v4 > p strong,
.bundle-copy-v4 > p span {
  text-wrap: pretty;
}

.bundle-copy-v4 > p strong,
.bundle-copy-v4 > p span {
  display: block;
}

.bundle-copy-v4 > p span {
  margin-top: 3px;
}

/* Autonomous race — icons are real source assets; motion explains delay. */

.flow-race--v5 {
  min-height: 640px;
  isolation: isolate;
}

.flow-race__arrows {
  position: absolute;
  z-index: 0;
  inset: 68px 10% 34px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  pointer-events: none;
}

.flow-race__arrows img {
  width: min(42%, 220px);
  opacity: 0.035;
  filter: brightness(0) invert(1);
  transform: rotate(90deg);
}

.flow-race--v5 .flow-lane {
  z-index: 1;
  min-height: 640px;
}

.flow-race--v5 .flow-stages {
  z-index: 2;
  top: 78px;
  bottom: 32px;
}

.flow-race--v5 .flow-runner {
  z-index: 5;
  top: 82px;
  right: 7%;
  width: 48%;
  max-height: 150px;
  transform-origin: center;
  will-change: transform, filter;
}

.flow-race--v5 .flow-runner--single {
  right: 4%;
  width: 52%;
}

.flow-obstacles {
  position: absolute;
  z-index: 4;
  inset: 92px 8% 58px 42%;
  pointer-events: none;
}

.flow-obstacles > span {
  position: absolute;
  right: 0;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid rgba(255, 97, 84, 0.62);
  border-radius: 12px;
  background: rgba(89, 5, 8, 0.74);
  box-shadow: 0 0 0 0 rgba(237, 49, 36, 0);
  opacity: 0.7;
  transform: translateX(20%);
}

.flow-obstacles > span::after {
  position: absolute;
  top: 50%;
  right: calc(100% - 1px);
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 97, 84, 0.78));
  content: "";
}

.flow-obstacles > span:nth-child(1) { top: 3%; }
.flow-obstacles > span:nth-child(2) { top: 21%; }
.flow-obstacles > span:nth-child(3) { top: 39%; }
.flow-obstacles > span:nth-child(4) { top: 57%; }
.flow-obstacles > span:nth-child(5) { top: 75%; }
.flow-obstacles > span:nth-child(6) { top: 91%; }

.flow-obstacles img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(73%) sepia(70%) saturate(2496%) hue-rotate(317deg) brightness(110%);
}

.flow-obstacles > span.is-hit {
  opacity: 1;
  animation: v5-obstacle-impact 720ms var(--v5-ease) both;
}

.flow-damage {
  position: absolute;
  z-index: 8;
  top: var(--damage-y, 24%);
  right: 5%;
  padding: 7px 10px;
  border: 2px solid #ff8a80;
  border-radius: 8px;
  background: var(--v5-red-deep);
  color: #fff;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -0.04em;
  opacity: 0;
  text-shadow: 0 2px 0 #4b0000;
  transform: translate3d(0, 18px, 0) scale(0.65) rotate(-6deg);
  pointer-events: none;
}

.flow-damage.is-active {
  animation: v5-damage-pop 940ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.flow-delay-total,
.flow-finish {
  position: absolute;
  z-index: 7;
  right: 14px;
  bottom: 13px;
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  gap: 7px;
}

.flow-delay-total small {
  color: #ffb5ae;
  font-size: 7px;
  font-weight: 900;
}

.flow-delay-total strong {
  color: #ff6c60;
  font-size: 15px;
}

.flow-finish {
  background: rgba(5, 90, 99, 0.88);
  color: #a8f7ff;
  font-size: 12px;
  font-weight: 1000;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  transition: opacity 240ms ease, transform 420ms var(--v5-ease);
}

.flow-finish.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.flow-lane--fragmented.is-impact {
  animation: v5-lane-warning 620ms ease-out both;
}

@keyframes v5-obstacle-impact {
  0% { box-shadow: 0 0 0 0 rgba(237, 49, 36, 0.7); transform: translateX(20%) scale(1); }
  34% { box-shadow: 0 0 0 14px rgba(237, 49, 36, 0.22); transform: translateX(20%) scale(1.16); }
  100% { box-shadow: 0 0 0 25px rgba(237, 49, 36, 0); transform: translateX(20%) scale(1); }
}

@keyframes v5-damage-pop {
  0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.65) rotate(-6deg); }
  20% { opacity: 1; transform: translate3d(-8px, -9px, 0) scale(1.14) rotate(3deg); }
  58% { opacity: 1; transform: translate3d(0, -17px, 0) scale(1) rotate(-1deg); }
  100% { opacity: 0; transform: translate3d(4px, -42px, 0) scale(0.88) rotate(2deg); }
}

@keyframes v5-lane-warning {
  0%, 100% { box-shadow: inset 0 0 0 rgba(237, 49, 36, 0); }
  28% { box-shadow: inset 0 0 58px rgba(237, 49, 36, 0.28); }
}

/* Research — Japanese, static, and fully visible. */

.research-motion-v5 {
  display: grid;
  width: min(100%, 1180px);
  min-height: 430px;
  margin: 34px auto 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 0.82fr) 42px minmax(0, 1.12fr);
  gap: 10px;
}

.research-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 390px;
  padding: 24px 16px 12px;
  border: 1px solid rgba(247, 196, 90, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}

.research-step__copy {
  align-self: stretch;
  width: auto;
  min-width: 0;
  min-height: 112px;
  text-align: center;
}

.research-step__copy strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.15vw, 32px);
  font-weight: 1000;
  letter-spacing: -0.035em;
  line-height: 1.15;
  white-space: nowrap;
}

.research-step__copy strong b {
  color: var(--v5-gold);
  font-size: 1.34em;
  font-variant-numeric: tabular-nums;
}

.research-step__copy p {
  max-width: 22em;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.72;
  text-wrap: balance;
}

.research-step > img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.32));
}

.research-step--pages > img {
  width: 92%;
  height: 214px;
}

.research-step--lens > img {
  width: 76%;
  height: 205px;
}

.research-step--final {
  border-color: rgba(247, 196, 90, 0.42);
  background: radial-gradient(circle at 50% 64%, rgba(247, 196, 90, 0.14), transparent 50%), rgba(255, 255, 255, 0.04);
}

.research-step--final .research-step__copy {
  min-height: 74px;
}

.research-step--final > img {
  width: 94%;
  height: 294px;
}

.research-motion-v5 > .research-arrow {
  align-self: center;
  justify-self: center;
}

/* Sample copy — only meaningful phrase boundaries may wrap. */

.sample-copy h3 {
  font-size: clamp(40px, 4.25vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.sample-copy h3 > span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.sample-copy h3 em {
  color: var(--ink);
  font-style: normal;
  text-decoration-color: var(--v5-red);
  text-decoration-line: underline;
  text-decoration-thickness: 0.13em;
  text-underline-offset: 0.13em;
}

.sample-copy > p:not(.sample-label) {
  text-wrap: pretty;
}

.sample-cta-bridge .purchase-cta--interrupt {
  min-width: 270px;
}

/* Thank-you page — controlled Japanese phrase wrapping. */

.tp-card h1 {
  font-size: clamp(42px, 4.45vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.tp-title__line {
  display: block;
}

.tp-title__line + .tp-title__line {
  margin-top: 0.08em;
}

.tp-title__line > span {
  white-space: nowrap;
}

.tp-lead {
  max-width: 42em;
  text-wrap: pretty;
}

@media (max-width: 1120px) {
  .quick-buy--v5 {
    grid-template-columns: minmax(360px, 1fr) minmax(220px, 0.58fr) minmax(220px, auto);
    gap: 18px;
  }

  .quick-buy--v5 .quick-buy__visual {
    min-height: 190px;
  }

  .research-step {
    padding-inline: 10px;
  }
}

@media (max-width: 900px) {
  .quick-buy--v5 {
    grid-template-columns: minmax(340px, 1.08fr) minmax(240px, 0.92fr);
  }

  .quick-buy--v5 .quick-buy__visual {
    grid-row: 1 / span 2;
  }

  .quick-buy--v5 > .button {
    width: 100%;
  }

  .research-motion-v5 {
    min-height: 360px;
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 0.82fr) 26px minmax(0, 1.08fr);
    gap: 5px;
  }

  .research-step {
    min-height: 338px;
    padding-top: 18px;
  }

  .research-step__copy {
    min-height: 108px;
  }

  .research-step__copy strong {
    font-size: clamp(20px, 2.8vw, 27px);
  }

  .research-step > img {
    height: 190px;
  }

  .research-step--final > img {
    height: 225px;
  }
}

@media (max-width: 760px) {
  .research-motion-v5 {
    display: grid;
    width: min(100%, 520px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .research-step {
    min-height: 0;
    padding: 18px 14px 12px;
  }

  .research-step__copy,
  .research-step--final .research-step__copy {
    min-height: 0;
  }

  .research-step__copy p {
    margin-top: 8px;
  }

  .research-step > img,
  .research-step--pages > img,
  .research-step--lens > img {
    width: min(84%, 320px);
    height: 190px;
    margin-top: 10px;
  }

  .research-step--final > img {
    width: min(94%, 360px);
    height: 260px;
    margin-top: 4px;
  }

  .research-motion-v5 > .research-arrow {
    width: 22px;
    height: 22px;
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .hero-product-v4 {
    width: 100%;
    margin-inline: 0;
  }

  .hero-product-v4 > img {
    width: 100%;
  }

  .vsl-heading-v5 h2 {
    font-size: clamp(35px, 10.2vw, 42px);
    line-height: 1.08;
  }

  .vsl-heading-v5 h2 .title-support,
  .vsl-heading-v5 h2 .title-tail {
    font-size: 0.62em;
  }

  .vsl-heading-v5 p {
    max-width: 29em;
    margin-top: 12px;
    font-size: 11px;
  }

  .vsl-layout--v5 .vsl-poster {
    width: calc(100% + 4px);
    margin: 22px -2px 0;
  }

  .quick-buy--v5 {
    width: calc(100% - 28px);
    min-height: 0;
    margin-top: 26px;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quick-buy--v5 .quick-buy__visual {
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .quick-buy--v5 .quick-buy__copy {
    text-align: center;
  }

  .quick-buy--v5 .quick-buy__copy strong {
    justify-content: center;
  }

  .purchase-cta--interrupt {
    box-shadow: 0 8px 0 var(--v5-red-deep), 0 17px 28px rgba(184, 14, 14, 0.28) !important;
  }

  .bundle-copy-v4 h2 {
    font-size: clamp(42px, 13.2vw, 52px);
  }

  .bundle-title__line:last-child {
    gap: 0;
  }

  .flow-race--v5,
  .flow-race--v5 .flow-lane {
    min-height: 548px;
  }

  .flow-race--v5 .flow-runner {
    top: 69px;
    right: -1%;
    width: 60%;
    max-height: 112px;
  }

  .flow-race--v5 .flow-runner--single {
    right: -5%;
    width: 65%;
  }

  .flow-obstacles {
    inset: 76px 4% 50px 33%;
  }

  .flow-obstacles > span {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .flow-obstacles > span::after {
    width: 30px;
  }

  .flow-obstacles img {
    width: 18px;
    height: 18px;
  }

  .flow-damage {
    right: 3px;
    padding: 5px 7px;
    font-size: 14px;
  }

  .flow-delay-total,
  .flow-finish {
    right: 5px;
    bottom: 8px;
    min-height: 34px;
    padding: 6px;
  }

  .flow-delay-total {
    display: grid;
    gap: 0;
  }

  .flow-delay-total strong {
    font-size: 11px;
  }

  .flow-finish {
    font-size: 9px;
  }

  .research-step__copy strong {
    font-size: clamp(22px, 6.6vw, 27px);
  }

  .research-step__copy strong b {
    font-size: 1.2em;
  }

  .research-step__copy p {
    font-size: 10px;
  }

  .sample-copy h3 {
    font-size: clamp(35px, 10.5vw, 42px);
    line-height: 1.13;
  }

  .sample-copy h3 > span {
    width: auto;
    max-width: none;
  }

  .sample-copy h3 em {
    text-decoration-thickness: 0.11em;
    text-underline-offset: 0.12em;
  }

  .sample-cta-bridge .purchase-cta--interrupt {
    min-width: 0;
  }

  .tp-card h1 {
    font-size: clamp(32px, 9.8vw, 39px);
    line-height: 1.14;
  }

  .tp-title__line > span {
    display: block;
  }

  .tp-title__line > span + span {
    margin-top: 0.04em;
  }

  .mobile-sticky b {
    background: linear-gradient(135deg, #ff4438, var(--v5-red-dark));
    color: #fff;
    box-shadow: 0 6px 14px rgba(184, 14, 14, 0.34);
  }

  .final-product-v4 img {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero-inclusions li {
    padding-inline: 5px;
    font-size: 7px;
  }

  .bundle-copy-v4 h2 {
    font-size: 41px;
  }

  .sample-copy h3 {
    font-size: 34px;
  }

  .tp-card h1 {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-obstacles > span,
  .flow-damage,
  .flow-lane--fragmented,
  .purchase-cta--interrupt {
    animation: none !important;
    transition: none !important;
  }
}
