/* flashvdo.com: the inner pages (pricing, download, the missing page). The kit is site.css.
   As on the landing page, every loop's base style is its finished frame, so reduced motion leaves the end state. */

/* the plain bar: brand, three links, the way in */
@media (max-width: 720px) { .bar-signin, .nav .nav-home { display: none; } .nav a { padding: 8px 9px; } }
@media (max-width: 480px) { .topbar.plain .topbar-actions { display: none; } }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(28px, 4vw, 52px) clamp(12px, 2vw, 24px); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 480px at 70% -20%, #34297E 0%, rgba(27, 20, 82, .5) 40%, rgba(10, 7, 34, 0) 72%); }
.page-hero .wrap { position: relative; display: grid; gap: 14px; justify-items: start; }
.page-hero .h1 { font-size: clamp(var(--s-31), 5.2vw, var(--s-61)); }
.page-hero .lede { max-width: 66ch; }
.page-hero .slug, .page-hero .h1, .page-hero .lede { animation: fv-slideskew var(--f30) var(--ease-flash) both; }
.page-hero .h1 { animation-delay: var(--f8); } .page-hero .lede { animation: fv-rise var(--f30) var(--ease-flash) var(--f18) both; }
.crumbs { display: flex; gap: 8px; font: 500 var(--s-12)/1.4 var(--f-mono); font-stretch: 87.5%; color: var(--fg-3); }
.crumbs a { color: var(--fg-2); text-decoration: none; } .crumbs a:hover { color: var(--flash); }
.band { padding-block: clamp(28px, 4vw, 48px); }
.band.last-band { padding-bottom: clamp(72px, 10vw, 128px); }
.band > .wrap > .h2s { margin-bottom: 18px; }
.h2s { font: 600 var(--s-25)/1.25 var(--f-text); }

/* ------------------------------------------------ pricing */
/* the term, as a timeline: three clips as long as their months, and a playhead that snaps to the one you pick */
.terms { display: grid; gap: 12px; justify-items: start; width: 100%; }
.term-tl { position: relative; display: flex; gap: 3px; width: min(100%, 620px); height: 12px; }
.term-tl i { flex: var(--m) 1 0; min-width: 22px; border-radius: 3px; background: var(--panel-3); transition: background var(--f12); }
.term-tl i.on { background: var(--flash); }
.term-tl b { position: absolute; top: -6px; bottom: -6px; left: var(--x, 0px); width: 2px; background: var(--fg); transform: skewX(-10deg); box-shadow: 0 0 10px rgba(255, 243, 184, .85); transition: left var(--f30) var(--ease-snap); }
.plans { align-items: stretch; }
.plan .price { min-height: 2.6em; }
.plan-sum { font-size: var(--s-14); color: var(--fg-2); min-height: 3em; }
.plan-sum b { color: var(--fg); font-weight: 600; white-space: nowrap; }
.plan-save { color: var(--ok); white-space: nowrap; }
.plan .btn { margin-top: auto; }
.plan { grid-template-rows: auto auto auto auto 1fr auto; }
.plan > .btn { align-self: end; }
.all-prices td { white-space: nowrap; }
/* room: how much Flash can do, drawn as blocks. One block is Everyday's. */
.room { display: grid; gap: 5px; padding: 12px; border-radius: var(--r-m); background: var(--night-2); border: 1px solid var(--line); }
.room-row { display: flex; align-items: center; gap: 5px; }
.room-row .ico { width: 18px; height: 18px; color: var(--fg-3); margin-right: 3px; }
.room-row i { flex: 1; height: 16px; border-radius: 3px; background: var(--panel-3); transform: skewX(-10deg); }
.room-row i.on { background: var(--flash); }
.js .reveal:not(.is-in) .room-row i.on { opacity: 0; }
.reveal.is-in .room-row i.on { animation: fv-snapin var(--f18) var(--ease-snap) both; animation-delay: calc(var(--f18) + var(--n, 0) * var(--f4)); }
.room-row i:nth-of-type(2) { --n: 1; } .room-row i:nth-of-type(3) { --n: 2; } .room-row + .room-row i { --n: 3; } .room-row + .room-row i:nth-of-type(2) { --n: 4; } .room-row + .room-row i:nth-of-type(3) { --n: 5; }
.room-cap { font: 500 11px/1.3 var(--f-mono); font-stretch: 87.5%; color: var(--fg-3); }
.all-prices caption { caption-side: top; text-align: left; padding: 14px 16px; color: var(--fg-2); font-size: var(--s-14); }
.all-prices td.num b { font-weight: 500; color: var(--flash); }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kind { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: var(--r-m); border: 1px solid var(--line-2); background: var(--night-2); font-size: var(--s-14); }
.kind .ico { width: 20px; height: 20px; }
.reveal.is-in .kind { animation: fv-snapin var(--f18) var(--ease-snap) both; animation-delay: calc(var(--n, 0) * var(--f4) + var(--f12)); }
.kind:nth-child(2) { --n: 1; } .kind:nth-child(3) { --n: 2; } .kind:nth-child(4) { --n: 3; } .kind:nth-child(5) { --n: 4; }
.pack { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
/* the referral week: seven days, twice */
.weeks { display: grid; gap: 10px; }
.week { display: grid; grid-template-columns: 5.5em repeat(7, minmax(0, 1fr)); gap: 4px; align-items: center; font: 500 11px/1.2 var(--f-mono); font-stretch: 87.5%; color: var(--fg-2); }
.week i { height: 22px; border-radius: 3px; background: var(--flash); transform: skewX(-10deg); }
.week.them i { background: var(--a-colorist); }
.js .reveal:not(.is-in) .week i { opacity: 0; }
.reveal.is-in .week i { animation: fv-snapin var(--f18) var(--ease-snap) both; animation-delay: calc(var(--f18) + var(--d, 0) * var(--f4)); }
.week i:nth-of-type(2) { --d: 1; } .week i:nth-of-type(3) { --d: 2; } .week i:nth-of-type(4) { --d: 3; } .week i:nth-of-type(5) { --d: 4; } .week i:nth-of-type(6) { --d: 5; } .week i:nth-of-type(7) { --d: 6; }
.week.them i { --o: 7; animation-delay: calc(var(--f18) + (var(--d, 0) + 7) * var(--f4)) !important; }

/* ------------------------------------------------ download */
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }
.dl-main { display: grid; gap: 18px; }
.term.big { padding: 18px 16px 18px 20px; font-size: clamp(12.5px, 1.2vw, 15px); box-shadow: 0 0 0 1px rgba(255, 210, 63, .25), 0 20px 80px -30px rgba(255, 210, 63, .35); border-color: var(--line-flash); }
@media (max-width: 560px) { .term.big { align-items: flex-start; } .term.big code { white-space: normal; overflow-wrap: anywhere; } }
.why { display: flex; gap: 10px; align-items: flex-start; font-size: var(--s-14); color: var(--fg-2); }
.why .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--fg-3); }
.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: var(--r-l); border: 1px solid var(--line); transition: border-color var(--f12), background var(--f12); }
.steps li::before { content: counter(s); display: grid; place-items: center; height: 24px; border-radius: 6px; background: var(--fg-2); color: var(--storm); font: 500 var(--s-12) var(--f-mono); transform: skewX(-10deg); }
.steps li.is-next { border-color: var(--flash); background: var(--panel); }
.steps li.is-next::before { background: var(--flash); }
.steps b { display: block; font-weight: 600; }
.steps span { font-size: var(--s-14); color: var(--fg-2); }
/* the terminal, playing the install */
.shell { border-radius: var(--r-l); overflow: hidden; background: #06041A; border: 1px solid var(--line-2); box-shadow: var(--shadow); font: 400 12.5px/1.7 var(--f-mono); font-stretch: 87.5%; }
.shell-bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: var(--night-2); border-bottom: 1px solid var(--line); color: var(--fg-3); font-size: 11px; }
.shell-bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; } .shell-bar i:nth-child(2) { background: #FEBC2E; } .shell-bar i:nth-child(3) { background: #28C840; margin-right: 8px; }
.shell-out { position: relative; min-height: 15.5em; margin: 0; padding: 14px 16px 16px; color: var(--fg-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.shell-out .l { display: block; }
.shell-out .l.is-off { visibility: hidden; }
.shell-out .cmd { color: var(--fg); } .shell-out .cmd::before { content: "$ "; color: var(--flash); }
.shell-out .ok { color: var(--ok); } .shell-out .hot { color: var(--flash); }
.shell-bar-fill { display: inline-block; width: 14em; max-width: 46%; height: .8em; margin-right: 8px; vertical-align: -.05em; border-radius: 2px; background: var(--panel-3); overflow: hidden; }
.shell-bar-fill::before { content: ""; display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: var(--flash); }
.plats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(12px, 2vw, 20px); }
.plat { display: grid; gap: 8px; align-content: start; }
.plat h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 var(--s-20)/1.3 var(--f-text); }
.plat.soon { background: var(--night-2); }
.plat.soon h3 { color: var(--fg-2); }
.update { display: flex; gap: 18px; align-items: center; }
.reqs { display: grid; gap: 10px; }

/* ------------------------------------------------ the missing page */
.lost { min-height: calc(100vh - var(--bar-h)); min-height: calc(100dvh - var(--bar-h)); display: grid; place-items: center; text-align: center; padding: var(--sp-7) var(--gutter); position: relative; overflow: hidden; }
.lost::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 460px at 50% 110%, #34297E, rgba(10, 7, 34, 0) 70%); pointer-events: none; }
.lost-in { position: relative; display: grid; justify-items: center; gap: 20px; }
.lost-tc { font-size: clamp(var(--s-20), 4vw, var(--s-31)); color: var(--fg-2); }
.lost-tc b { color: var(--flash); font-weight: 500; }
.lost .h1 { position: relative; }
.lost-strip { display: flex; gap: 4px; width: min(100%, 520px); height: 46px; }
.lost-strip i { flex: 3; border-radius: 4px; background: var(--t-video) repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 16px); }
.lost-strip i.gone { flex: 2; background: repeating-linear-gradient(-55deg, rgba(255, 79, 61, .9) 0 5px, rgba(255, 79, 61, .3) 5px 10px); animation: lost-gap 4s var(--ease-glide) infinite; }
@keyframes lost-gap { 0%, 30% { flex-grow: 2; opacity: 1; } 46%, 100% { flex-grow: 0; opacity: 0; } }
