/* =========================================================================
   dual.fit/new/launch — ONLY what this page adds on top of v3 and
   /new/convert's page layer (.nhero, .step, .step__panel).

   Built from the "Your DUAL Launch Kit" page Brian approved (2026-11-28):
   Montserrat ExtraBold capitals with one word in italics, and each tool told
   through a real render from the in-app creator tour
   (mobile/public/creator-tour/: what members see, with where the coach sets
   it as an inset). No step chips: the tools are not a sequence.
   ========================================================================= */

/* ---- headlines: ExtraBold capitals, one word in italics ----------------- */
.lhero .hero__title,
.step__copy .sec__h,
.foot__h {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lhero .hero__title em,
.step__copy .sec__h em {
  font-style: italic;
}
.step__copy .sec__h {
  line-height: 1.04;
}

/* ---- the handset holds a still as well as a clip ------------------------
   /new/convert's layer paints a status strip and flexes the video under it;
   a still gets the same. page.js adds .is-loaded (v3 hides media until it). */
.dev .dev__screen img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-position: top;
}

/* A screen whose top is a photo runs it under the island, as iOS does,
   instead of /new/convert's painted status strip. */
.dev--bleed .dev__screen::before {
  display: none;
}
/* A clip that fits whole rather than cropping its bottom. White behind it,
   so the slim side margins read as the app's own white. */
.dev--fit .dev__screen {
  background: #fff;
}
.dev--fit .dev__screen video {
  object-fit: contain;
}

/* ---- hero: three handsets fanned in dark space, each one named ---------- */
.lhero {
  padding-bottom: 24px;
}
.lfan {
  --fan-w: clamp(150px, 26vw, 270px);
  position: relative;
  width: 100%;
  max-width: 980px;
  height: calc(var(--fan-w) * 2.04 + 72px);
  margin-top: 56px;
}
/* A faint light behind the middle phone, so the set floats rather than
   sits on a flat black. */
.lfan::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8%;
  width: calc(var(--fan-w) * 3);
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(
    closest-side,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}
/* No filter: drop-shadow on the handsets. On the live page WebKit painted a
   white box over the logo with it (2026-11-28); the bezel reads on black
   without one. */
.lfan__dev {
  --dev-w: var(--fan-w);
  position: absolute;
  top: 0;
  left: 50%;
}
.lfan__dev--l {
  transform: translateX(-138%) rotate(-7deg) translateY(30px);
}
.lfan__dev--c {
  transform: translateX(-50%);
  z-index: 2;
}
.lfan__dev--r {
  transform: translateX(38%) rotate(7deg) translateY(30px);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lfan__dev {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .lfan:hover .lfan__dev--l {
    transform: translateX(-148%) rotate(-10deg) translateY(38px);
  }
  .lfan:hover .lfan__dev--r {
    transform: translateX(48%) rotate(10deg) translateY(38px);
  }
}
/* The name under each phone, so nobody has to work out what it shows. */
.lfan__tag {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(11px, 1.3vw, 14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.lnote {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ---- each tool: what members see, with your side floating over it -------- */
.step__panel {
  background: none;
  padding: 40px 0 56px;
}
.lpair {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
.lpair .dev {
  --dev-w: 320px;
}
.step__panel > .dev {
  --dev-w: 320px;
}
/* The label sits under the card, on the black, so it never covers the
   member's screen (it hid the struck-through price on the sales page). */
.lcoach {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
  position: absolute;
  left: calc(50% + 48px);
  bottom: -5%;
  z-index: 3;
  width: 270px;
  margin: 0;
}
.lcoach img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* The two labels: plain, small and solid, so they read over any screen. */
.ltag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: #151517;
  border: 1px solid var(--glass-15);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.ltag--member {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

/* ---- three short lines under each tool ---------------------------------- */
.lpoints {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.lpoints li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.lpoints li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  transform: translateY(-2px);
}

/* ---- the sticky bar: the action stays in reach on a phone ----------------
   Hidden at rest; page.js shows it once the hero's buttons scroll away and
   hides it again when the closing button is on screen. Phone only. */
.lbar {
  display: none;
}

/* ---- phone --------------------------------------------------------------- */
@media (max-width: 900px) {
  /* One tool per screen: a smaller handset, the card over its corner. */
  .step__panel {
    padding: 44px 0 40px;
  }
  .lpair .dev,
  .step__panel > .dev {
    --dev-w: min(236px, 60vw);
  }
  .lcoach {
    left: auto;
    right: 0;
    bottom: -6%;
    width: min(220px, 56vw);
  }
  .step__grid {
    gap: 20px;
  }
  .lbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 12px max(16px, env(safe-area-inset-right, 0px))
      calc(12px + env(safe-area-inset-bottom, 0px))
      max(16px, env(safe-area-inset-left, 0px));
    background: rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-10);
    transform: translateY(110%);
    visibility: hidden;
    transition:
      transform 0.25s ease,
      visibility 0s linear 0.25s;
  }
  .lbar.is-on {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
  }
  .lbar .btn {
    width: 100%;
  }
  .lfan {
    --fan-w: min(150px, 38vw);
    margin-top: 40px;
  }
  .lfan__dev--l {
    transform: translateX(-122%) rotate(-7deg) translateY(26px);
  }
  .lfan__dev--r {
    transform: translateX(22%) rotate(7deg) translateY(26px);
  }
  .step__copy .prose,
  .lpoints {
    font-size: 16px;
  }
}
