.cpf-film-page { isolation: isolate; }
.cpf-film {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: #0b2326; pointer-events: none; user-select: none;
  -webkit-touch-callout: none;
}
.cpf-film[hidden], .cpf-film-banner[hidden], .cpf-film-controls[hidden], .cpf-film-sound [hidden] { display: none !important; }
.cpf-film video {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
}
.cpf-film::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #071e20a8, #071e2040 58%, #071e2010);
}
.cpf-film-banner { min-width: 0; max-width: 35rem; color: #fcfffd; font-family: var(--cpf-type, system-ui); }
.cpf-film-byline { display: flex; align-items: center; gap: .75rem; color: #f1f7f5; font-size: .88rem; font-weight: 650; }
.cpf-film-byline small { display: block; color: #b7d9cf; font-size: .77rem; font-weight: 500; }
.cpf-film-byline img, .cpf-plan-mentor img { flex: none; border-radius: 50%; background: #b6cfc3; object-fit: cover; }
.cpf-film-byline img { border: 2px solid #9bc7b2; width: 52px; height: 52px; }
.cpf-film-banner :is(h1,h2) { margin: clamp(.9rem, 2.2vh, 1.7rem) 0 .6rem; font: 680 clamp(2.4rem,4.2vw,4.4rem)/1.06 var(--cpf-type,system-ui); letter-spacing: -.045em; color: #fff; text-wrap: balance; }
html[lang=hi] .cpf-film-banner :is(h1,h2) { line-height: 1.23; letter-spacing: -.025em; }
.cpf-film-banner .cpf-film-caption { max-width: 48ch; min-height: 4.25em; margin: 0; color: #e2eee8; font-size: clamp(1rem,1.4vw,1.2rem); line-height: 1.48; }
.cpf-film-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }
.cpf-film-controls { display: contents; }
.cpf-film-actions :is(button,a) { display: inline-flex; align-items: center; justify-content: center; gap: .48rem; min-height: 52px; padding: .5rem .95rem; box-sizing: border-box; border: 1px solid #73958b; border-radius: .72rem; background: #153b36; color: #fff; font: 650 .95rem/1.25 var(--cpf-type,system-ui); text-decoration: none; cursor: pointer; touch-action: manipulation; }
.cpf-film-actions .cpf-banner-cta { background: #bdf0d5; border-color: #bdf0d5; color: #103229; }
.cpf-film-actions .cpf-film-sound { min-height: 54px; min-width: min(100%, 10.5rem); padding: .6rem 1rem; font-size: 1.0625rem; font-weight: 700; }
.cpf-film-sound svg { width: 24px; height: 24px; flex: none; }
.cpf-film-actions .cpf-film-sound[data-muted] { background: #ffda91; border-color: #ffda91; color: #19332d; }
.cpf-film-actions .cpf-film-sound[data-muted]:hover { background: #ffe5ad; }
.cpf-film-actions button:hover { background: #285448; }
.cpf-film-actions a:hover { background: #dbffe8; }
.cpf-film-actions :focus-visible { outline: 3px solid #f7cb7b; outline-offset: 3px; }
.cpf-film-sound:not([data-muted]) .cpf-speaker-off, .cpf-film-sound[data-muted] .cpf-speaker-on { display: none; }
.cpf-film-glyph { display: grid; place-items: center; width: 1rem; height: 1rem; pointer-events: none; }
.cpf-film-glyph::before {
  content: ""; width: 0; height: 0; margin-left: 2px;
  border-block: 7px solid transparent; border-left: 11px solid currentColor;
}
.cpf-film-toggle[data-playing] .cpf-film-glyph::before {
  box-sizing: border-box; width: 12px; height: 15px; margin: 0;
  border: 0; border-inline: 3px solid currentColor;
}
.cpf-entry-nav { display: flex; align-items: center; gap: clamp(.4rem, 1.1vw, 1rem); margin-left: auto; }
.cpf-entry-nav a { font-weight: 600; text-underline-offset: .2em; }
.cpf-entry-language { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.cpf-auth-switch { color: var(--desk-muted); font-size: .9rem; margin: .25rem 0 0; }
.cpf-auth-switch a, .cpf-password-label a { color: var(--desk-accent); font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.cpf-auth-switch [hidden], .cpf-auth-switch[hidden], .alpha-auth-shell [data-method-label][hidden] { display: none !important; }
.cpf-auth-plan {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem;
  margin: 0 0 .8rem; padding: .65rem .8rem; border: 1px solid var(--cpf-border); border-radius: .65rem;
  background: var(--cpf-raised); color: var(--cpf-ink); font-size: .93rem;
}
.cpf-auth-plan > strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.cpf-checkout-email { margin-top: .65rem; border-top: 1px solid var(--cpf-border); }
.cpf-checkout-email summary {
  display: list-item; align-content: center; min-height: 44px; padding: .65rem .25rem;
  box-sizing: border-box; cursor: pointer; font-weight: 650; color: var(--cpf-blue);
}
.cpf-checkout-email summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
html[data-theme] .cpf-checkout-email > summary {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; list-style: none;
}
.cpf-checkout-email > summary::-webkit-details-marker { display: none; }
html[data-theme] .cpf-checkout-email > summary::after {
  content: ""; flex: none; width: .5rem; height: .5rem; margin-inline-end: .45rem;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; border-radius: 0;
  background: transparent; transform: rotate(45deg);
}
html[data-theme] .cpf-checkout-email[open] > summary::after { transform: rotate(225deg); }
.cpf-password-label { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.cpf-password-label a { font-size: .8rem; }
html[data-theme] body.alpha-auth-shell:has(.alpha-auth-layout) > main.alpha-auth-page {
  display: grid; align-items: center; padding: clamp(.75rem, 2.6vh, 1.6rem) clamp(1rem, 4vw, 3rem);
}
html[data-theme] body.alpha-auth-shell .alpha-auth-page .alpha-auth-layout { width: min(68rem, 100%); }
html[data-theme] body.alpha-auth-shell .alpha-auth-layout .alpha-auth-card {
  padding: clamp(1.1rem, 2.4vw, 1.85rem); width: 100%;
}
html[data-theme] body.alpha-auth-shell .alpha-auth-layout .alpha-auth-story { gap: 1rem; }
.alpha-auth-shell .alpha-auth-content { margin-top: 1rem; }
.alpha-auth-shell .alpha-auth-status:empty { display: none; }
.alpha-auth-shell #googleStatus[data-state="progress"] { color: var(--tx-muted, currentColor); }
.alpha-auth-shell #googleStatus[data-state="error"] { color: var(--tx-danger, #b53a49); }
.alpha-auth-shell .alpha-auth-google { min-height: 46px; padding-block: .62rem; }
.alpha-auth-shell .cpf-method-divider { margin-block: .85rem; }
.alpha-auth-shell .alpha-auth-form { margin-top: 0; gap: .65rem; }
html[data-theme] .alpha-auth-shell .alpha-auth-legal { margin-top: 1rem; padding-top: .65rem; }
.alpha-auth-shell .cpf-entry-nav #loginTheme { margin-left: 0; }
@media (max-width: 760px) {
  html[data-theme] body.alpha-auth-shell:has(.alpha-auth-layout) > main.alpha-auth-page { align-content: start; }
  html[data-theme] body.alpha-auth-shell .alpha-auth-page .alpha-auth-layout { max-width: 34rem; gap: .7rem; }
  .alpha-auth-shell .alpha-auth-story-copy { display: none; }
  .alpha-auth-shell .cpf-launch-bar-inner { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .cpf-entry-nav { gap: .45rem; }
  .cpf-entry-nav .cpf-entry-overview { font-size: .77rem; }
}

/* Keep the account form on a steady reading surface and leave the rest of
   the viewport open for the film. The verification screens keep their layout. */
html[data-theme] body.alpha-auth-shell.cpf-film-page { min-width: 0; }
html[data-theme] body.alpha-auth-shell.cpf-film-page > .cpf-launch-bar,
.cpf-welcome.cpf-film-page .cpf-welcome-bar {
  position: sticky; top: 0; z-index: 4;
  background: #0b262c !important;
}
html[data-theme] body.alpha-auth-shell.cpf-film-page > .alpha-auth-page {
  grid-template-columns: minmax(0, 1fr); background: transparent; cursor: pointer;
}
html[data-theme] body.alpha-auth-shell.cpf-film-page .alpha-auth-page .alpha-auth-layout {
  display: grid; grid-template-columns: minmax(0, 33rem) minmax(19rem, 26rem); justify-content: space-between;
  width: min(85rem, 100%); max-width: none; margin-inline: auto; height: auto; overflow: visible;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.alpha-auth-shell .cpf-film::after {
  background: linear-gradient(90deg, #082428 2%, #082428fa 29%, #082428bd 39%, #0824280a 56%, #08242833 69%, #082428 84%);
}
.alpha-auth-shell .cpf-film video { transform: translateX(-15%); }
html[data-theme] body.alpha-auth-shell.cpf-film-page .alpha-auth-layout .alpha-auth-story { display: none; }
html[data-theme] body.alpha-auth-shell.cpf-film-page .alpha-auth-layout .alpha-auth-card {
  order: 0; cursor: auto; box-shadow: 0 12px 48px #031a2433;
}
html[data-theme] body.alpha-auth-shell .alpha-auth-page .alpha-auth-layout:has(.cpf-film-banner[hidden]) {
  grid-template-columns: minmax(0, 26rem); justify-content: center;
}

.cpf-welcome.cpf-film-page main { max-width: none; padding: 0; }
.cpf-welcome .cpf-film::after {
  background: linear-gradient(90deg, #061c20fc 0%, #061c20fa 42%, #061c20a3 55%, #061c201a 79%, #061c2024);
}
.cpf-welcome.cpf-film-page .cpf-welcome-hero {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 35rem);
  align-content: center; gap: 0; width: min(100%, 78rem); margin-inline: auto;
  min-height: calc(100svh - 4rem); padding: clamp(2.5rem, 8vh, 6rem) clamp(1rem, 4vw, 3.75rem);
  color: #fff; cursor: pointer;
}
.cpf-welcome-details, .cpf-welcome.cpf-film-page .cpf-welcome-footer {
  background: var(--desk-paper);
}
.cpf-welcome-details > *, .cpf-welcome.cpf-film-page .cpf-welcome-footer {
  box-sizing: border-box; max-width: none; margin: 0;
  padding-inline: max(clamp(1rem, 4vw, 3.75rem), calc((100% - 78rem)/2 + 3.75rem));
}
.cpf-welcome-details [id] { scroll-margin-top: 5rem; }
@media (max-width: 760px) {
  .cpf-film video { object-position: 70% 50%; }
  .alpha-auth-shell .cpf-film video { transform: none; }
  .alpha-auth-shell .cpf-film::after { background: linear-gradient(90deg,#092427fa 0%,#092427dd 42%,#09242796 72%,#09242755),linear-gradient(0deg,#092429c9,transparent); }
  html[data-theme] body.alpha-auth-shell.cpf-film-page:has(.alpha-auth-layout) > .alpha-auth-page {
    align-content: center; padding: .85rem max(.8rem, env(safe-area-inset-right))
      max(1.15rem, env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-left));
  }
  html[data-theme] body.alpha-auth-shell.cpf-film-page .alpha-auth-page .alpha-auth-layout { grid-template-columns:minmax(0,32rem); justify-content: center; gap: 1rem; }
  html[data-theme] body.alpha-auth-shell.cpf-film-page .alpha-auth-layout .alpha-auth-card { order:0; }
  .alpha-auth-shell .cpf-film-banner { padding: .25rem .45rem 0; }
  .cpf-film-byline { font-size:.78rem; gap:.55rem; }
  .cpf-film-byline img { width:40px; height:40px; }
  .cpf-film-byline small { font-size:.71rem; }
  .cpf-film-banner :is(h1,h2), html[lang=hi] .cpf-film-banner :is(h1,h2) { font-size: clamp(1.65rem,6.8vw,2.6rem); margin:.65rem 0 .3rem; }
  .cpf-film-banner .cpf-film-caption { font-size:.94rem; min-height:4.1em; }
  .cpf-film-actions { margin-top:.6rem; gap:.38rem; }
  .cpf-film-actions :is(button,a) { min-height:48px; font-size:.87rem; padding-inline:.72rem; }
  .cpf-welcome .cpf-film::after {
    background: linear-gradient(0deg, #061c20fc 0%, #061c20ef 27%, #061c20ac 52%, #061c2026 76%);
  }
  .cpf-welcome.cpf-film-page .cpf-welcome-hero {
    align-content: end; padding-block: 2rem max(2.25rem, env(safe-area-inset-bottom)); min-height: calc(100svh - 3.5rem);
  }
}
@media (max-width: 460px) {
  .cpf-film-actions:has(.cpf-film-controls:not([hidden])) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpf-film-actions .cpf-film-sound { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .cpf-welcome-bar nav > div, .cpf-film-page .cpf-entry-nav { gap: clamp(.25rem, 1.7vw, .5rem); }
  .cpf-welcome-bar nav > div a { white-space: nowrap; }
  .cpf-film-page .cpf-launch-bar-inner { justify-content: space-between; }
  .cpf-welcome-bar .cpf-entry-brand, .cpf-film-page .cpf-launch-bar-inner .cpf-entry-brand { width: clamp(4.6rem, 22vw, 6rem); }
  .cpf-film-page .cpf-launch-bar-inner .cpf-entry-nav { margin-left: 0; }
}
@media (max-width: 359px) {
  .cpf-welcome-bar nav { gap: .3rem; padding-inline: .55rem; }
  .cpf-welcome-bar nav > div { gap: .18rem; }
  .cpf-film-page .cpf-launch-bar-inner { gap: .2rem; padding-inline: .45rem; }
  .cpf-film-page .cpf-launch-bar-inner .cpf-entry-brand { width: 4.25rem; }
}
@media (min-width:761px) and (max-height:480px) {
  html[data-theme] body.alpha-auth-shell.cpf-film-page .alpha-auth-layout { align-items:start; }
  .alpha-auth-shell .cpf-film-banner { padding-top:.5rem; }
  .alpha-auth-shell .cpf-film-byline img { width:38px; height:38px; }
  .alpha-auth-shell .cpf-film-banner :is(h1,h2) { font-size:clamp(1.7rem,3vw,2.7rem); margin-block:.5rem; }
  .alpha-auth-shell .cpf-film-caption { min-height:2.8em; font-size:.96rem; }
  .alpha-auth-shell .cpf-film-actions { margin-top:.65rem; }
}
