/* GoBack film: a narrated, scrubbable film drawn from real app screenshots (js/film.js).
   Sized with container units so the same scenes work wide (16:9) and tall (9:16 on
   phones held upright), inline and full screen. The film keeps the app icon's look in
   every site theme, like a video would. */
.film-sec { padding-top: clamp(30px, 6vw, 70px); }
.film-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.film-head .lede { margin-top: 10px; }
.gf { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #050a14; color: #fff;
  container-type: size; isolation: isolate; user-select: none; -webkit-user-select: none; cursor: pointer;
  box-shadow: 0 50px 120px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.08); font-family: var(--font); }
.gf.tall { aspect-ratio: 9 / 16; width: min(100%, 460px); margin-inline: auto; }
.gf-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(80% 70% at 70% 20%, #12305e, #050a14 70%); }
.gf-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.gf-layer { position: absolute; inset: 0; z-index: 1; }
.gf-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.gf-scene.on { visibility: visible; }
.gf-scene > * { position: absolute; }

/* type */
.gf-big { left: 6cqw; right: 6cqw; text-align: center; font: 750 6.4cqw/1.05 var(--display); letter-spacing: -.03em; }
.gf.tall .gf-big { font-size: 10cqw; }
.gf-kick { font: 650 1.5cqw/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: #7cb6ff; }
.gf.tall .gf-kick { font-size: 3.2cqw; }
.gf-title { font: 750 4.6cqw/1.02 var(--display); letter-spacing: -.03em; }
.gf.tall .gf-title { font-size: 8.4cqw; }
.gf-copy { width: 40cqw; }
.gf.tall .gf-copy { width: auto; left: 7cqw !important; right: 7cqw; text-align: center; }
.gf-chip { display: inline-flex; align-items: center; gap: 1cqw; padding: 1.1cqh 1.6cqw; border-radius: 99px; background: rgba(13, 24, 42, .85);
  border: 1px solid rgba(255,255,255,.16); font: 650 1.6cqw/1 var(--font); white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gf-chip i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #34d74a; box-shadow: 0 0 1cqw #34d74a; }
.gf.tall .gf-chip { font-size: 3.4cqw; padding: 1.2cqh 3.2cqw; gap: 2cqw; }
.gf.tall .gf-chip i { width: 2.6cqw; height: 2.6cqw; }
.gf-mono { font-family: var(--mono); }

/* device frames */
.gf .phone { --w: 34cqh; }
.gf.tall .phone { --w: 46cqw; }
.gf .watch { --w: 40cqh; }
.gf.tall .watch { --w: 62cqw; }
.gf svg { overflow: visible; }

/* scene: map story, compass, track, satellite */
.gf-full { inset: 0; width: 100%; height: 100%; }
.gf-sat { inset: -6%; width: 112%; height: 112%; object-fit: cover; transform-origin: 60% 55%; }
.gf-blob { position: absolute; width: 70%; height: 46%; border-radius: 50%; filter: blur(2.4cqw); mix-blend-mode: screen; opacity: .8;
  background: radial-gradient(circle, rgba(255,60,40,.9), rgba(255,200,0,.75) 26%, rgba(40,200,90,.6) 52%, transparent 72%); }
.gf-shade { inset: 0; background: linear-gradient(90deg, rgba(5,10,20,.85), rgba(5,10,20,.2) 55%, transparent); }
.gf.tall .gf-shade { background: linear-gradient(180deg, rgba(5,10,20,.85), rgba(5,10,20,.15) 45%, transparent 70%); }

/* scene: Lock Screen & Dynamic Island */
.gf-isl { top: 5cqh; left: 50%; transform: translateX(-50%); background: #000; border-radius: 99px; overflow: hidden; display: flex; align-items: center;
  justify-content: space-between; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.gf-isl .c { display: flex; align-items: center; gap: 1cqw; padding: 0 2cqw; font: 700 1.8cqw/1 var(--mono); white-space: nowrap; }
.gf-isl .x { position: absolute; inset: 2.4cqh 3cqw; display: grid; grid-template-columns: auto 1fr auto; gap: .6cqh 1.6cqw; align-items: center; }
.gf-isl .x .ar { width: 6.4cqh; height: 6.4cqh; border-radius: 50%; background: rgba(47,134,255,.22); display: grid; place-items: center; grid-row: span 2; }
.gf-isl .x .t1 { font: 650 2cqw/1.1 var(--font); }
.gf-isl .x .t2 { font: 600 1.6cqw/1.2 var(--font); color: #ff9f0a; }
.gf-isl .x .d { font: 700 3.6cqw/1 var(--mono); grid-row: span 2; text-align: right; }
.gf-isl .x .d small { display: block; font: 500 1.3cqw/1.4 var(--mono); color: #9aa7bd; }
.gf-isl .x .pr { grid-column: 1 / -1; height: .6cqh; border-radius: 1cqh; background: rgba(255,255,255,.14); overflow: hidden; margin-top: .8cqh; }
.gf-isl .x .pr i { display: block; height: 100%; background: #2f86ff; }
.gf.tall .gf-isl .c { font-size: 3.6cqw; padding: 0 4cqw; }
.gf.tall .gf-isl .x { inset: 2cqh 5cqw; }
.gf.tall .gf-isl .x .t1 { font-size: 4.2cqw; } .gf.tall .gf-isl .x .t2 { font-size: 3.4cqw; } .gf.tall .gf-isl .x .d { font-size: 7cqw; } .gf.tall .gf-isl .x .d small { font-size: 2.8cqw; }
.gf-lock { left: 50%; transform: translateX(-50%); width: 44cqw; border-radius: 3cqw; padding: 2cqh 2cqw; background: rgba(30,38,54,.7); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: auto 1fr auto; gap: .5cqh 1.6cqw; align-items: center; }
.gf-lock img { width: 6cqh; height: 6cqh; border-radius: 1.4cqh; grid-row: span 2; }
.gf-lock b { font-size: 1.9cqw; } .gf-lock small { font: 500 1.4cqw/1.3 var(--mono); color: #b9c4d6; } .gf-lock .d { font: 700 3cqw/1 var(--mono); grid-row: span 2; }
.gf-lock .pr { grid-column: 1 / -1; height: .6cqh; border-radius: 1cqh; background: rgba(255,255,255,.14); overflow: hidden; margin-top: .8cqh; }
.gf-lock .pr i { display: block; height: 100%; background: linear-gradient(90deg, #2f86ff, #30d1d6); }
.gf.tall .gf-lock { width: 86cqw; border-radius: 6cqw; padding: 2cqh 4cqw; gap: .5cqh 3cqw; }
.gf.tall .gf-lock b { font-size: 4cqw; } .gf.tall .gf-lock small { font-size: 3cqw; } .gf.tall .gf-lock .d { font-size: 6.4cqw; }
.gf-clock { left: 0; right: 0; text-align: center; font: 300 9cqw/1 var(--display); letter-spacing: -.02em; color: rgba(255,255,255,.92); }
.gf.tall .gf-clock { font-size: 20cqw; }

/* scene: themes */
.gf-fan .phone { position: absolute; left: 50%; top: 50%; }

/* scene: end */
.gf-end { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2.4cqh; }
.gf-end img { width: 16cqh; height: 16cqh; border-radius: 3.6cqh; box-shadow: 0 3cqh 8cqh -2cqh rgba(47,134,255,.8); }
.gf.tall .gf-end img { width: 26cqw; height: 26cqw; border-radius: 6cqw; }
.gf-end h3 { margin: 0; font: 750 6cqw/1 var(--display); letter-spacing: -.03em; }
.gf.tall .gf-end h3 { font-size: 13cqw; }
.gf-end p { margin: 0; font-size: 2.2cqw; color: #a7b6cf; }
.gf.tall .gf-end p { font-size: 4.6cqw; }
.gf-end .row { display: flex; gap: 1.4cqw; flex-wrap: wrap; justify-content: center; margin-top: 1cqh; }
.gf-end .row a, .gf-end .row button { display: inline-flex; align-items: center; gap: .8cqw; height: 6.4cqh; padding: 0 2.4cqw; border-radius: 99px; border: 0; cursor: pointer;
  font: 650 1.7cqw/1 var(--font); text-decoration: none; color: #fff; background: rgba(255,255,255,.12); }
.gf-end .row .pri { background: #2f86ff; }
.gf.tall .gf-end .row a, .gf.tall .gf-end .row button { height: 5.4cqh; padding: 0 5cqw; font-size: 3.6cqw; gap: 2cqw; }
.gf-end .row svg { width: 1.8cqw; height: 1.8cqw; } .gf.tall .gf-end .row svg { width: 4cqw; height: 4cqw; }

/* subtitles and controls */
.gf-subs { position: absolute; left: 8%; right: 8%; bottom: 11cqh; z-index: 10; text-align: center; pointer-events: none; }
.gf-subs span { display: inline; padding: .25em .55em; border-radius: .4em; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; font: 500 1.75cqw/1.75 var(--font); transition: opacity .3s; }
.gf.tall .gf-subs { bottom: 10cqh; left: 6%; right: 6%; } .gf.tall .gf-subs span { font-size: 4cqw; }
.gf-tap { position: absolute; z-index: 13; top: 2.6cqh; right: 2cqw; display: inline-flex; align-items: center; gap: .8cqw; padding: 1.1cqh 1.6cqw; border-radius: 99px; border: 0;
  background: #fff; color: #050a14; font: 650 1.5cqw/1 var(--font); cursor: pointer; box-shadow: 0 1cqh 3cqh rgba(0,0,0,.4); transition: opacity .3s; }
.gf-tap svg { width: 1.6cqw; height: 1.6cqw; }
.gf.tall .gf-tap { font-size: 3.4cqw; padding: 1.2cqh 3.4cqw; gap: 2cqw; } .gf.tall .gf-tap svg { width: 3.6cqw; height: 3.6cqw; }
.gf.sound .gf-tap { opacity: 0; pointer-events: none; }
.gf-ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 12; display: flex; align-items: center; gap: 1cqw; padding: 1.4cqh 1.6cqw 1.8cqh;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); transition: opacity .35s; }
.gf.idle .gf-ctrl { opacity: 0; }
.gf-ctrl button { width: 3cqw; height: 3cqw; min-width: 32px; min-height: 32px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; background: rgba(255,255,255,.14); cursor: pointer; }
.gf-ctrl button:hover { background: rgba(255,255,255,.26); }
.gf-ctrl svg { width: 45%; height: 45%; }
.gf-time { font: 600 max(11px, 1cqw)/1 var(--mono); color: rgba(255,255,255,.75); min-width: 6ch; text-align: center; }
.gf-bar { flex: 1; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.gf-bar i { position: relative; display: block; width: 100%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.24); }
.gf-bar b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: #2f86ff; box-shadow: 0 0 8px #2f86ff; }
.gf-bar b::after { content: ""; position: absolute; right: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.gf-big-play { position: absolute; z-index: 11; left: 50%; top: 50%; width: 12cqh; height: 12cqh; min-width: 56px; min-height: 56px; margin: -6cqh 0 0 -6cqh;
  border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(47,134,255,.92); color: #fff; cursor: pointer; transition: opacity .3s, transform .3s;
  box-shadow: 0 2cqh 6cqh rgba(47,134,255,.5); }
.gf-big-play svg { width: 40%; height: 40%; margin-left: 8%; }
.gf.playing .gf-big-play, .gf.started .gf-big-play { opacity: 0; transform: scale(.8); pointer-events: none; }

/* full screen: the film centered on black at the screen's shape */
.gf-fs { position: fixed; inset: 0; z-index: 3000; background: #000; display: grid; place-items: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.gf-fs .gf { border-radius: 0; box-shadow: none; width: min(100vw, calc(100vh * 16 / 9)); max-width: none; margin: 0; }
.gf-fs .gf { width: min(100vw, calc(100dvh * 16 / 9)); }
.gf-fs .gf.tall { width: min(100vw, calc(100dvh * 9 / 16)); }
.gf-fs-x { position: fixed; z-index: 3001; top: max(14px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); width: 42px; height: 42px;
  border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); color: #fff; background: rgba(0,0,0,.5); cursor: pointer; transition: opacity .3s; }
.gf-fs-x svg { width: 18px; height: 18px; }
.gf-fs:has(.gf.idle) .gf-fs-x { opacity: 0; }
html.gf-fs-on { overflow: hidden; }
