/* OrderFlow product page (PURP+ 03). PURP+ pages wear the dark theme (owner rule); Admin opens in the shared
   full-screen viewer like every other page. The hero's own top colour runs up under the fixed
   navigation (and Safari's overscroll), so no dark strip sits between them. */
html:has(> body.flow-page) { background: var(--stage-raised); }
.flow-page { background: linear-gradient(var(--stage-raised), var(--stage-raised)) top / 100% 480px no-repeat, var(--stage); }
/* White type on the dark stage only: the light product bar keeps its own dark title. */
.flow-page main { color: #fff; }
.flow-page .product-nav__inner { width: var(--content); max-width: none; }

.flow-eyebrow { color: #d0a8ef; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.flow-heading { max-width: 950px; margin: 0 auto 52px; text-align: center; }
.flow-heading h2 { margin-top: 18px; font-size: clamp(38px, 4.8vw, 64px); line-height: 1; font-weight: 620; letter-spacing: -.056em; text-wrap: balance; }
.flow-heading p { max-width: 720px; margin: 20px auto 0; color: #d0bddf; font-size: 19px; line-height: 1.45; }

/* One window: the title, the Teams channel manager and the three lines fit the first screen. */
.flow-hero { --hero-stage-height: clamp(250px, calc(100svh - 470px), 640px); position: relative; isolation: isolate; padding: 12px var(--gutter) 70px; text-align: center; color-scheme: dark; background: radial-gradient(ellipse 62% 58% at 50% 64%, #5b2a9c88, transparent 76%), linear-gradient(180deg, var(--stage-raised), var(--stage)); }
.flow-hero h1 { font-size: clamp(48px, 5.8vw, 80px); line-height: .98; font-weight: 650; letter-spacing: -.065em; text-wrap: balance; }
.flow-hero__tagline { margin-top: 4px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.flow-hero__lede { max-width: 780px; margin: 18px auto 0; color: var(--pdb-purp-lavender, #d9cbff); font-size: 19px; line-height: 1.4; letter-spacing: -.02em; text-wrap: balance; }
.flow-hero__stage { width: min(100%, calc(var(--hero-stage-height) * 16 / 10)); margin: 24px auto 0; }
.flow-screen { position: relative; overflow: hidden; border: 1px solid #ffffff26; border-radius: 16px; background: #f7f3fb; box-shadow: 0 30px 90px #030007aa, 0 0 110px #7c3aed55; }
.flow-film { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
/* Positioned so the recording frame's shadow (a positioned box) paints under it, not over it. */
.flow-hero__meaning { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: var(--content); margin: 20px auto 0; padding: 14px 24px; list-style: none; border-top: 1px solid #d9cbff40; border-bottom: 1px solid #d9cbff40; }
.flow-hero__meaning strong { display: block; font-size: 20px; font-weight: 620; letter-spacing: -.025em; }
.flow-hero__meaning span { display: block; margin-top: 5px; color: var(--pdb-purp-lavender, #d9cbff); font-size: 13px; line-height: 1.4; }


/* What every order weighs, in eight panels. */
.flow-weighs { padding: 110px var(--gutter) 100px; color-scheme: dark; background: radial-gradient(ellipse 65% 22% at 50% 0%, #54207853, transparent 80%), var(--stage); }
.flow-weighs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(var(--content), 1180px); margin: 0 auto; padding: 0; list-style: none; }
.flow-weighs__grid li { padding: 26px 22px 24px; border: 1px solid #d9baf026; border-radius: 18px; background: linear-gradient(160deg, #ffffff0a, #ffffff03); }
.flow-weighs__grid li::before { content: attr(data-code); display: block; margin-bottom: 16px; color: #c9a2ff; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; }
.flow-weighs__grid strong { display: block; font-size: 20px; font-weight: 620; line-height: 1.2; letter-spacing: -.03em; }
.flow-weighs__grid span { display: block; margin-top: 9px; color: #cdb9dc; font-size: 15.5px; line-height: 1.45; }
.flow-why { padding: 70px var(--gutter) 80px; color-scheme: dark; background: radial-gradient(ellipse 55% 40% at 50% 60%, #24103f, transparent 80%), var(--stage); }
.flow-why .flow-heading { margin-bottom: 0; }

.flow-finale { color-scheme: dark; color: #fff; padding-bottom: 100px; background: radial-gradient(ellipse 50% 45% at 50% 58%, #42186d, transparent 85%), var(--stage); }
.flow-finale h2 { font-size: clamp(38px, 4.8vw, 64px); letter-spacing: -.055em; }
.flow-finale > p { position: relative; margin-top: 20px; color: #ded0eb; font-size: 19px; }
.flow-finale .pos-link { color: #ead6fa; }
.flow-finale .pos-link:hover { color: #fff; }
.flow-finale .live-cta__actions { margin-top: 38px; }

@media (max-width: 1000px) {
  .flow-weighs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .flow-page .product-nav__brand { display: none; }
  .flow-page .product-nav__title { font-size: 14px; }
  .flow-hero { padding-top: 28px; padding-bottom: 80px; }
  .flow-hero h1 { font-size: clamp(44px, 12vw, 68px); }
  .flow-hero__lede { margin-top: 16px; font-size: 17px; }
  .flow-screen { border-radius: 10px; }
  .flow-hero__meaning { gap: 10px; margin-top: 16px; padding: 15px 0; }
  .flow-hero__meaning strong { font-size: 15px; line-height: 1.2; }
  .flow-hero__meaning span { font-size: 12px; }
  .flow-heading { margin-bottom: 36px; }
  .flow-heading h2 { font-size: clamp(34px, 9vw, 52px); }
  .flow-heading p { font-size: 17px; }
  .flow-weighs { padding-top: 80px; padding-bottom: 80px; }
  .flow-weighs__grid { grid-template-columns: 1fr; }
  .flow-finale { padding-bottom: 90px; }
  .flow-finale > p { font-size: 18px; }
}
