/* noXcuses workout: V0.5 EDGE
   Content-driven noXcuses chassis, full authentic captures and restrained motion.
   Product media is never stretched, zoomed or hidden behind fake hardware. */

:root {
  --v5-red: #ff334b;
  --v5-coral: #ff6c56;
  --v5-orange: #ff7846;
  --v5-ready: #4bdf86;
  --v5-ink: #030305;
  --v5-panel: #0b0c11;
  --v5-line: rgba(255,255,255,.105);
  --v5-display-ratio: 1320 / 2544;
}

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

body {
  background:
    radial-gradient(circle at 82% 5%,rgba(255,51,75,.085),transparent 32rem),
    radial-gradient(circle at 8% 34%,rgba(255,120,70,.025),transparent 28rem),
    #050507;
}

/* --------------------------------------------------------------------------
   Exact content-driven chassis
   -------------------------------------------------------------------------- */

.phone-shell.pro-device {
  display: block;
  aspect-ratio: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9cqw !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  isolation: isolate;
  container-type: inline-size;
  filter:
    drop-shadow(0 42px 48px rgba(0,0,0,.56))
    drop-shadow(0 0 34px rgba(255,65,54,.08));
}

.phone-shell.pro-device::before,
.phone-shell.pro-device::after {
  content: none !important;
}

.pro-device__rail {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  width: 100%;
  padding: 1.15cqw;
  overflow: hidden;
  border: .24cqw solid rgba(255,255,255,.28);
  border-radius: 9.3cqw;
  background:
    linear-gradient(112deg,rgba(255,255,255,.5),transparent 5%,transparent 78%,rgba(255,97,65,.32) 96%,rgba(255,255,255,.16)),
    linear-gradient(145deg,#96938f 0%,#3f4044 8%,#111216 25%,#050507 70%,#342826 91%,#7c7773 100%);
  box-shadow:
    0 0 0 .42cqw rgba(0,0,0,.94),
    inset .55cqw .45cqw .8cqw rgba(255,255,255,.2),
    inset -.55cqw -.7cqw .9cqw rgba(0,0,0,.78),
    0 0 15cqw rgba(255,59,62,.075);
}

.pro-device__rail::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: .4cqw;
  border: .18cqw solid rgba(255,255,255,.12);
  border-radius: 8.75cqw;
  pointer-events: none;
}

.pro-device__rail::after {
  content: "";
  position: absolute;
  z-index: 5;
  width: 32%;
  height: 180%;
  left: -48%;
  top: -42%;
  transform: rotate(17deg);
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);
  opacity: .28;
  animation: v5ChassisSweep 8.8s ease-in-out infinite;
  pointer-events: none;
}

.pro-device__bezel {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  padding: .72cqw;
  overflow: hidden;
  border: .28cqw solid #000;
  border-radius: 8.15cqw;
  background: #010102;
  box-shadow:
    inset 0 0 0 .25cqw rgba(255,255,255,.045),
    0 0 0 .18cqw rgba(0,0,0,.95);
}

.pro-device__display {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  aspect-ratio: var(--v5-display-ratio);
  overflow: hidden;
  border-radius: 7.15cqw;
  background: #020204;
  box-shadow: inset 0 0 0 .2cqw rgba(255,255,255,.055);
  isolation: isolate;
}

.pro-device__media,
.phone-screen.pro-device__media,
.phone-screen-stack.pro-device__media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: inherit !important;
  aspect-ratio: auto !important;
  background: #020204 !important;
  box-shadow: none !important;
}

.pro-device__media > img,
.pro-device__media .product-screen,
.pro-device__media .product-screen > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: 0;
  object-fit: contain !important;
  object-position: center !important;
  background: #020204;
  image-rendering: auto;
}

.pro-device__media .product-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity .34s ease,transform .34s ease,visibility .34s step-end;
}

.pro-device__media .product-screen[hidden] {
  display: none !important;
}

.pro-device__media .product-screen.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .34s ease,transform .34s ease,visibility 0s;
}

.pro-device__glass {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg,rgba(255,255,255,.055),transparent 13%,transparent 75%,rgba(255,104,72,.022));
  opacity: .32;
  pointer-events: none;
}

.phone-shell > .phone-island,
.pro-device__island,
.pro-device__home,
.pro-device__button {
  display: none !important;
}

.phone-screen-stack:not(.pro-device__media) {
  aspect-ratio: var(--v5-display-ratio) !important;
}

/* Only the placement wrapper floats; media and display geometry stay fixed. */
.reveal.is-visible .phone-shell.pro-device {
  animation: v5DeviceFloat 8.4s ease-in-out var(--v4-float-delay,0s) infinite;
}

/* --------------------------------------------------------------------------
   Copy rhythm and intentional wrapping
   -------------------------------------------------------------------------- */

:where(
  .v3-title,
  .page-title,
  .v3-detail-copy h2,
  .v3-product-copy-panel h3,
  .v3-feature-card h3,
  .v3-founder-card h2,
  .v3-faq-grid h2
) {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

:where(
  .v3-hero-lead,
  .section-lead,
  .page-lead,
  .v3-product-copy-panel p,
  .v3-detail-copy > p,
  .v3-section-head > p
) {
  max-inline-size: 58ch;
  text-wrap: pretty;
}

.v3-hero-copy h1 {
  max-inline-size: 100%;
  font-size: clamp(4.4rem,5.1vw,5rem);
  line-height: .91;
}
.v3-product-copy .v3-title { max-inline-size: 12ch; }
.v3-section-head .v3-title { max-inline-size: 15ch; }
.v3-detail-copy h2 { max-inline-size: 18ch; }
.v3-product-copy-panel h3 { max-inline-size: 22ch; }
.v3-product-device { isolation: isolate; }

@media (min-width:821px) {
  .v3-section-head .v3-title { max-inline-size: 18ch; }
}

@media (min-width:1101px) {
  .v3-inner-hero .page-title {
    font-size: clamp(3.7rem,4.8vw,4.9rem) !important;
  }
}

/* --------------------------------------------------------------------------
   Sport manifesto
   -------------------------------------------------------------------------- */

.v5-manifest-band {
  position: relative;
  min-height: min(720px,74vw);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #13080b;
  background:
    linear-gradient(112deg,rgba(255,255,255,.12),transparent 44%),
    linear-gradient(115deg,#ff344e 0%,#ff7547 72%,#ff8c5b 100%);
}

.v5-manifest-band::before {
  content: "";
  position: absolute;
  width: min(68vw,880px);
  aspect-ratio: 1;
  right: -8vw;
  top: 50%;
  transform: translateY(-50%) rotate(18deg);
  border: 1px solid rgba(25,5,9,.13);
  border-radius: 50%;
  background:
    linear-gradient(135deg,transparent 48%,rgba(23,5,9,.1) 48.3% 52%,transparent 52.3%),
    radial-gradient(circle,rgba(255,255,255,.15),transparent 62%);
}

.v5-halftone {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: radial-gradient(rgba(45,8,13,.74) .75px,transparent .9px);
  background-size: 6px 6px;
  mask-image: linear-gradient(90deg,#000,rgba(0,0,0,.42) 58%,transparent);
  animation: v5HalftoneDrift 17s linear infinite;
}

.v5-manifest-band .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(78px,9vw,150px);
}

.v5-manifest-band .eyebrow {
  color: rgba(36,6,10,.76);
}

.v5-manifest-band h2 {
  margin: 22px 0 28px;
  display: grid;
  width: min(100%,1050px);
  color: #fff7f4;
  font-size: clamp(4rem,9.7vw,9.6rem);
  line-height: .79;
  letter-spacing: -.078em;
  text-transform: uppercase;
}

.v5-manifest-band h2 span,
.v5-manifest-band h2 b {
  display: block;
  font-weight: 950;
}

.v5-manifest-band h2 b {
  color: #2a080d;
}

.v5-manifest-band .container > p:last-child {
  max-width: 52ch;
  margin: 0;
  color: rgba(35,6,10,.78);
  font-size: clamp(1rem,1.45vw,1.25rem);
  font-weight: 720;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Flat product surfaces: deliberate variation, not more fake phones
   -------------------------------------------------------------------------- */

.v5-flat-app,
.v5-coach-snippet,
.v5-coach-dialogue,
.v5-reward-console,
.v5-photo-capture {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.105);
  background: #06070a;
  box-shadow: 0 28px 70px rgba(0,0,0,.4),inset 0 1px rgba(255,255,255,.05);
}

.v5-flat-app {
  width: min(100%,360px);
  aspect-ratio: .77;
  align-self: center;
  margin: 0 auto 26px;
  border-radius: 25px;
}

.v5-flat-app img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 40% !important;
}

.v5-flat-app > span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,rgba(255,255,255,.055),transparent 22%,transparent 70%,rgba(255,94,61,.05));
  pointer-events: none;
}

.v5-photo-ai-stage {
  position: relative;
  width: min(100%,560px);
  min-height: 460px;
  margin: 0 auto 26px;
}

.v5-photo-capture {
  position: absolute;
  inset: 0 25% 0 0;
  border-radius: 27px;
}

.v5-photo-capture > img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 56% !important;
  filter: saturate(.96) contrast(1.02);
}

.v5-scan-target {
  position: absolute;
  z-index: 3;
  left: 6%;
  right: 6%;
  top: 37%;
  height: 32%;
  border: 1px solid rgba(255,101,73,.48);
  border-radius: 18px;
  box-shadow: inset 0 0 38px rgba(255,50,65,.07),0 0 34px rgba(255,75,55,.08);
}

.v5-scan-target::before,
.v5-scan-target::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: solid rgba(255,126,77,.68);
  pointer-events: none;
}

.v5-scan-target::before { border-width: 2px 0 0 2px; }
.v5-scan-target::after { border-width: 0 2px 2px 0; }

.v5-scan-target i {
  position: absolute;
  z-index: 4;
  left: 7px;
  right: 7px;
  top: 9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,transparent,var(--v5-red) 13%,#ffb06d 50%,var(--v5-red) 87%,transparent);
  box-shadow: 0 0 9px #ff4c48,0 0 20px rgba(255,106,61,.55);
  animation: v5Scan 2.35s cubic-bezier(.45,0,.55,1) infinite alternate;
}

.v5-scan-readout {
  position: absolute;
  z-index: 7;
  right: 0;
  top: 13%;
  width: min(265px,51%);
  padding: 17px 18px;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(255,104,75,.29);
  border-radius: 19px;
  background: rgba(12,13,18,.93);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 55px rgba(0,0,0,.5),0 0 36px rgba(255,62,63,.09),inset 0 1px rgba(255,255,255,.07);
}

.v5-scan-readout::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg,transparent 35%,rgba(255,117,66,.08),transparent 65%);
  transform: translateX(-110%);
  animation: v5BadgeSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

.v5-scan-readout small {
  color: #ff775f;
  font-size: .57rem;
  font-weight: 950;
  letter-spacing: .18em;
}

.v5-scan-readout strong {
  position: relative;
  min-height: 32px;
  display: block;
  font-size: .75rem;
  line-height: 1.25;
}

.v5-scan-readout strong span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  animation: v5ScanCopy 5.8s ease-in-out infinite;
}

.v5-scan-readout strong span:last-child {
  color: var(--v5-ready);
  opacity: 0;
  animation-name: v5ScanReady;
}

.v5-scan-readout em {
  color: #92939c;
  font-size: .47rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .105em;
  line-height: 1.4;
}

.v5-coach-snippet {
  width: min(100%,420px);
  height: 360px;
  margin: 0 auto 26px;
  border-radius: 25px;
}

.v5-coach-snippet img,
.v5-coach-dialogue img,
.v5-reward-console img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
}

.v5-coach-snippet img { object-position: center 68% !important; }

.v5-coach-dialogue {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(42%,365px);
  height: 520px;
  transform: translate(-50%,-50%);
  border-radius: 29px;
}

.v5-coach-dialogue img { object-position: center 66% !important; }

.v5-coach-dialogue > span,
.v5-reward-console > span {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(255,105,75,.26);
  border-radius: 14px;
  color: #ff7c68;
  background: rgba(7,8,12,.9);
  backdrop-filter: blur(14px);
  font-size: .56rem;
  font-weight: 950;
  letter-spacing: .17em;
  text-align: center;
}

.v5-reward-console {
  width: min(100%,470px);
  height: 430px;
  justify-self: center;
  border-radius: 27px;
}

.v5-reward-console img { object-position: center 63% !important; }

.v5-detail-photo .v5-photo-ai-stage {
  width: min(100%,510px);
  min-height: 610px;
}

.v5-detail-coach {
  min-height: 620px;
}

.v5-detail-coach .v5-coach-dialogue {
  width: min(100%,410px);
  height: 570px;
}

/* --------------------------------------------------------------------------
   Hero and section refinements
   -------------------------------------------------------------------------- */

.v3-hero {
  background:
    radial-gradient(circle at 77% 43%,rgba(255,54,61,.16),transparent 31%),
    radial-gradient(circle at 18% 85%,rgba(255,112,66,.035),transparent 25%),
    #050507;
}

.v3-hero-stage::after,
.v3-coach-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 7%;
  width: 76%;
  height: 9%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse,rgba(255,73,55,.18),rgba(0,0,0,.38) 47%,transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.v3-hero-phone { width: min(50%,310px); }
.v3-product-phone { width: min(100%,390px); }
.phone-shell-card { width: min(100%,330px); }

.v3-product {
  background:
    linear-gradient(180deg,rgba(10,11,16,.98),#050507),
    #050507;
}

.v3-product-device::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 125%;
  aspect-ratio: 1.45;
  left: 50%;
  top: 49%;
  transform: translate(-50%,-50%);
  border: 1px solid rgba(255,83,61,.1);
  border-radius: 50%;
  animation: v5OrbitalPulse 7.5s ease-in-out infinite;
}

.v3-feature-card {
  background:
    radial-gradient(circle at 92% 0,rgba(255,66,58,.105),transparent 35%),
    linear-gradient(150deg,#14151d,#090a0f 72%);
}

.v3-feature-card:hover {
  transform: translateY(-5px);
}

.v3-coach-stage { min-height: 720px; }

.v3-achievement-proof {
  grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr);
}

/* --------------------------------------------------------------------------
   Language control: behavior is added after the layout is finalized.
   -------------------------------------------------------------------------- */

.locale-toggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #dedee3;
  background: rgba(255,255,255,.035);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .13em;
  cursor: pointer;
  transition: border-color .25s ease,color .25s ease,background .25s ease;
}

.locale-toggle:hover,
.locale-toggle:focus-visible {
  color: #fff;
  border-color: rgba(255,109,78,.52);
  background: rgba(255,83,60,.1);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes v5DeviceFloat {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes v5ChassisSweep {
  0%,38% { left: -48%; opacity: 0; }
  48% { opacity: .28; }
  65%,100% { left: 118%; opacity: 0; }
}

@keyframes v5HalftoneDrift {
  to { background-position: 18px 12px; }
}

@keyframes v5Scan {
  from { top: 9px; }
  to { top: calc(100% - 11px); }
}

@keyframes v5BadgeSweep {
  0%,55% { transform: translateX(-110%); }
  78%,100% { transform: translateX(110%); }
}

@keyframes v5ScanCopy {
  0%,48% { opacity: 1; transform: translateY(0); }
  57%,100% { opacity: 0; transform: translateY(-5px); }
}

@keyframes v5ScanReady {
  0%,48% { opacity: 0; transform: translateY(5px); }
  57%,92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes v5OrbitalPulse {
  50% { transform: translate(-50%,-50%) scale(.965); border-color: rgba(255,83,61,.2); }
}

/* --------------------------------------------------------------------------
   Responsive: product visual first on mobile
   -------------------------------------------------------------------------- */

@media (max-width:1100px) {
  .v3-hero-phone { width: min(43%,300px); }
  .v5-photo-ai-stage { min-height: 430px; }
  .v5-coach-dialogue { width: min(43%,350px); }
}

@media (min-width:1101px) {
  .v3-hero-layout {
    grid-template-columns: minmax(0,1.08fr) minmax(560px,.92fr);
    gap: 36px;
  }
}

@media (max-width:820px) {
  .v3-hero {
    min-height: auto;
    padding: 68px 0 36px;
  }

  .v3-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .v3-hero-stage {
    order: 1;
    width: 100%;
    min-height: clamp(540px,calc(100svh - 68px),720px);
    margin: 0;
  }

  .v3-hero-copy {
    order: 2;
    width: 100%;
    padding: 42px 0 16px;
    text-align: center;
  }

  .v3-hero-copy h1 {
    max-width: 14ch;
    margin-inline: auto;
    font-size: clamp(3.2rem,12vw,5rem);
  }

  .v3-hero-lead { margin-inline: auto; }

  .v3-hero-phone {
    width: min(47vw,285px);
  }

  .v3-presenter {
    width: min(46vw,275px);
  }

  .v3-presenter-man { left: -1vw; }
  .v3-presenter-woman { right: -1vw; }
  .v3-float-card-a { top: 58px; right: -3px; }
  .v3-float-card-b { left: -2px; bottom: 26px; }

  .v5-manifest-band { min-height: 620px; }
  .v5-manifest-band h2 { font-size: clamp(4rem,15vw,7rem); }

  .v3-product-grid { gap: 48px; }
  .v3-product-copy .v3-title { max-inline-size: 12.5ch; margin-inline: auto; }
  .v3-product-phone { width: min(78vw,365px); }

  .v5-photo-ai-stage { width: min(100%,560px); min-height: 520px; }
  .v5-photo-capture { inset: 0 18% 0 0; }
  .v5-scan-readout { top: 10%; width: min(255px,53%); }

  .v3-coach-stage { min-height: 620px; }
  .v5-coach-dialogue { width: min(47vw,300px); height: 470px; }
  .v3-achievement-proof { grid-template-columns: 1fr; }
  .v5-reward-console { width: min(100%,480px); }

  .v3-detail-row,
  .v3-detail-row.is-reverse {
    grid-template-columns: 1fr;
  }

  .v3-detail-row.is-reverse .v3-detail-copy,
  .v3-detail-row.is-reverse .v3-detail-visual { order: initial; }

  .v3-detail-row .v3-detail-visual { order: 1; }
  .v3-detail-row .v3-detail-copy { order: 2; }
  .v5-detail-photo .v5-photo-ai-stage { min-height: 570px; }
}

@media (max-width:560px) {
  .header-inner { gap: 10px; }
  .brand { min-width: 0; }

  .v3-hero-stage {
    min-height: clamp(520px,calc(100svh - 68px),650px);
    margin-inline: -14px;
    width: calc(100% + 28px);
  }

  .v3-hero-phone { width: min(64vw,255px); }
  .v3-presenter { width: min(46vw,205px); }
  .v3-presenter-man { left: -2vw; }
  .v3-presenter-woman { right: -2vw; }
  .v3-float-card { max-width: 148px; padding: 11px 12px; }
  .v3-float-card-a { top: 34px; right: 2px; }
  .v3-float-card-b { left: 2px; bottom: 8px; }
  .v3-float-card span { display: none; }

  .v3-proof-row {
    width: min(100%,330px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    overflow: visible;
  }

  .v3-proof-row span {
    width: 100%;
    justify-content: center;
  }

  .v3-hero-copy { padding-top: 36px; }
  .v3-hero-copy h1 { font-size: clamp(3rem,13vw,4.15rem); }

  .v3-title,
  .page-title { font-size: clamp(2.4rem,11vw,3.35rem) !important; }

  .v3-product-copy .v3-title { max-inline-size: 12.5ch; }
  .v3-product-phone { width: min(86vw,350px); }

  .v5-manifest-band { min-height: 560px; }
  .v5-manifest-band .container { padding-block: 74px; }
  .v5-manifest-band h2 { font-size: clamp(3.7rem,17vw,5.2rem); line-height: .82; }
  .v5-manifest-band h2 b {
    white-space: nowrap;
    font-size: clamp(2.2rem,10.6vw,2.7rem);
    letter-spacing: -.075em;
  }
  .v5-manifest-band::before { width: 115vw; right: -52vw; }

  .v3-product-tabs {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 6px;
  }

  .v3-product-tabs button {
    min-width: 0;
    min-height: 44px;
    padding-inline: 4px;
    font-size: clamp(.66rem,2.7vw,.78rem);
    white-space: nowrap;
  }

  .v5-flat-app { height: 380px; aspect-ratio: auto; }
  .v5-photo-ai-stage { min-height: 475px; }
  .v5-photo-capture { inset: 0 10% 0 0; }
  .v5-scan-readout { top: 25px; right: 0; width: min(238px,68%); padding: 13px 14px; }
  .v5-scan-readout small { font-size: .48rem; }
  .v5-scan-readout strong { min-height: 30px; font-size: .65rem; }
  .v5-scan-readout em { font-size: .4rem; }

  .v5-coach-snippet { height: 350px; }
  .v3-coach-stage { min-height: 510px; margin-inline: -14px; }
  .v5-coach-dialogue { width: min(53vw,240px); height: 390px; }
  .v3-coach-side { width: min(47vw,220px); height: 440px; }
  .v3-coach-side-man { left: -5vw; }
  .v3-coach-side-woman { right: -5vw; }

  .v5-reward-console { height: 380px; }
  .v3-detail-copy h2 { max-inline-size: 16ch; font-size: clamp(2.25rem,10.5vw,3.15rem); }
  .v3-product-copy-panel h3,
  .v3-feature-card h3 { max-inline-size: 20ch; font-size: clamp(1.55rem,7.4vw,2rem); }

  :where(
    .v3-hero-lead,
    .section-lead,
    .page-lead,
    .v3-product-copy-panel p,
    .v3-detail-copy > p
  ) { max-inline-size: 36ch; }

  .v5-detail-photo .v5-photo-ai-stage { min-height: 510px; }
}

@media (max-width:820px) {
  .legal-layout {
    grid-template-columns: minmax(0,1fr) !important;
    min-width: 0;
  }

  .legal-document {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .legal-table { max-width: 100%; }
}

@media (max-width:360px) {
  .brand-badge { display: none; }
  .v5-manifest-band h2 b {
    white-space: normal;
    font-size: clamp(2rem,10vw,2.35rem);
  }
}

@media (prefers-reduced-motion:reduce) {
  .reveal.is-visible .phone-shell.pro-device,
  .pro-device__rail::after,
  .v5-halftone,
  .v5-scan-target i,
  .v5-scan-readout::after,
  .v5-scan-readout strong span,
  .v3-product-device::after {
    animation: none !important;
  }

  .v5-scan-readout strong span:first-child { opacity: 0; }
  .v5-scan-readout strong span:last-child { opacity: 1; transform: none; }
}

/* Final menu hardening: keep every action reachable on short mobile screens. */
.mobile-nav-panel {
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-links a[aria-current="page"] { color: var(--brand-orange); }

/* Overlay typography must not inherit the dark text used by light legal pages. */
.modal-card,
.cookie-settings-card { color: #f7f7f8; }

.modal-card h2,
.cookie-settings-card h2,
.cookie-settings-card .close-btn,
.cookie-option strong { color: #f7f7f8; }

.cookie-option p { color: var(--muted); }

.v5-cycle-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%,340px);
  margin-top: 10px;
}

.v5-cycle-controls .v4-cycle-meter {
  flex: 1 1 auto;
  width: auto;
  margin-top: 0;
}

.v5-product-cycle-toggle {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: #f7f7f8;
  background: rgba(12,12,17,.88);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  cursor: pointer;
  transition: border-color .22s ease,background .22s ease,transform .22s ease;
}

.v5-product-cycle-toggle:hover,
.v5-product-cycle-toggle:focus-visible {
  border-color: rgba(255,113,65,.5);
  background: rgba(255,74,61,.12);
  transform: translateY(-1px);
}

.v5-product-cycle-toggle span { font-size: .72rem; line-height: 1; }

@media (prefers-reduced-motion:reduce) {
  .v5-cycle-controls { display: none !important; }
}
