/* PURP+ Teams product page. 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.teams-page) { background: var(--stage-raised); }
.teams-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. */
.teams-page main { color: #fff; }
.teams-page .product-nav__inner { width: var(--content); max-width: none; }

.teams-eyebrow { color: #d0a8ef; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.teams-heading { max-width: 950px; margin: 0 auto 52px; text-align: center; }
.teams-heading h2 { margin-top: 18px; font-size: clamp(38px, 4.8vw, 64px); line-height: 1; font-weight: 620; letter-spacing: -.056em; text-wrap: balance; }
.teams-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. */
.teams-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)); }
.teams-hero h1 { font-size: clamp(48px, 5.8vw, 80px); line-height: .98; font-weight: 650; letter-spacing: -.065em; text-wrap: balance; }
.teams-hero__tagline { margin-top: 4px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.teams-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; }
.teams-hero__stage { width: min(100%, calc(var(--hero-stage-height) * 3312 / 2070)); margin: 24px auto 0; }
.teams-screen { position: relative; overflow: hidden; border: 1px solid #ffffff26; border-radius: 16px; background: #f7f3fb; box-shadow: 0 30px 90px #030007aa, 0 0 110px #7c3aed55; }
.teams-film { display: block; width: 100%; height: auto; aspect-ratio: 3312 / 2070; object-fit: contain; }
/* Positioned so the recording frame's shadow (a positioned box) paints under it, not over it. */
.teams-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; }
.teams-hero__meaning strong { display: block; font-size: 20px; font-weight: 620; letter-spacing: -.025em; }
.teams-hero__meaning span { display: block; margin-top: 5px; color: var(--pdb-purp-lavender, #d9cbff); font-size: 13px; line-height: 1.4; }

/* Included beside PURP+: the real cards Admin shows for the same order. */
.teams-compare { padding: 110px var(--gutter) 100px; color-scheme: dark; background: radial-gradient(ellipse 65% 22% at 50% 0%, #54207853, transparent 80%), var(--stage); }
.teams-compare__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 22px; width: min(var(--content), 1140px); margin: 0 auto; }
.teams-tier { padding: 32px; border: 1px solid #d9baf02e; border-radius: 24px; background: #ffffff07; }
.teams-tier--plus { border-color: #c9a2ff; background: linear-gradient(160deg, #3d1766, #1d0b31 70%); box-shadow: 0 30px 80px #0006, 0 0 80px #9554ca33; }
.teams-tier__label { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #ffffff14; color: #e7dbf3; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.teams-tier--plus .teams-tier__label { background: #c9a2ff; color: #1d0b31; }
.teams-tier img { display: block; width: 100%; height: auto; margin-top: 22px; border-radius: 14px; box-shadow: 0 18px 50px #0007; }
.teams-tier ul { margin: 24px 0 0; padding: 0; list-style: none; }
.teams-tier li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid #dcc1f022; color: #d8c7e6; font-size: 16px; line-height: 1.4; }
.teams-tier li::before { content: "✓"; position: absolute; left: 0; color: #9be7c4; font-weight: 700; }
.teams-tier--plus li { color: #fff; }
.teams-tier--plus li::before { content: "✦"; color: #d6b8ff; }

.teams-style { padding: 100px var(--gutter); color-scheme: dark; background: var(--stage); }
.teams-style__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: min(var(--content), 1180px); margin: 0 auto; padding: 0; list-style: none; }
.teams-style__grid li { padding: 28px 24px; border: 1px solid #d9baf026; border-radius: 22px; background: #ffffff0a; }
.teams-style__grid strong { display: block; font-size: 20px; font-weight: 620; line-height: 1.2; letter-spacing: -.03em; }
.teams-style__grid span { display: block; margin-top: 10px; color: #cdb9dc; font-size: 16px; line-height: 1.45; }

.teams-setup { padding: 60px var(--gutter) 70px; color-scheme: dark; background: radial-gradient(ellipse 55% 40% at 50% 60%, #24103f, transparent 80%), var(--stage); }
.teams-setup .teams-heading { margin-bottom: 0; }

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

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