/* Memfish sales page hero: a full-screen two-slide scene (electric blue on near-black) inside .stage.
   Look after KAEL-9 (Reels TV design library). Every rule is scoped under .stage so it cannot touch the rest of the page.
   No inline script or style anywhere (the site CSP forbids both). */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(/static/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url(/static/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(/static/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 600; font-style: normal; font-display: swap; src: url(/static/fonts/unbounded-latin-600-normal.woff2) format("woff2"); }
.stage {
  --ink: #02060f;
  --panel: rgba(8, 18, 44, .62);
  --line: rgba(140, 180, 255, .22);
  --dim: #c9d8fb;            
  --white: #f4f7ff;
  --elec: #2b6bff;           
  --elec-hi: #7fa8ff;
  --action: #0067b8;
  --display: "Unbounded", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --dur: 9s;
}
.stage * { box-sizing: border-box; }
.stage .sprite { position: absolute; }
.stage .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.stage a, .stage button { color: inherit; }
.stage :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.stage { --hdr: 69px; position: relative; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); overflow: hidden; isolation: isolate; --mx: 0; --my: 0;
  background: var(--ink); color: var(--white); font: 400 16px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.stage .glow { position: absolute; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(46% 62% at 74% 46%, #1b55f0 0%, #0b2fb0 38%, rgba(2, 6, 15, 0) 72%),
    radial-gradient(34% 40% at 100% 4%, rgba(70, 130, 255, .55), rgba(2, 6, 15, 0) 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(20, 60, 200, .28), rgba(2, 6, 15, 0) 70%);
  transform: translate(calc(var(--mx) * -1.6%), calc(var(--my) * -1.6%));
  transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.stage[data-i="2"] .glow { transform: translate(calc(-7% + var(--mx) * -1.6%), calc(5% + var(--my) * -1.6%)) scale(1.06); }
.stage .grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.stage .cut { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; z-index: 7; transition: opacity .38s ease; }
.stage.black .cut { opacity: 1; }
.stage .hud { position: absolute; z-index: 5; inset: 0 0 auto 0; display: flex; align-items: center; gap: 20px; padding: 14px 40px; justify-content: flex-end; }
.stage .count { font: 500 12px/1 var(--mono); color: var(--dim); display: flex; align-items: center; gap: 10px; letter-spacing: .08em; }
.stage .count b { color: var(--white); font-weight: 500; }
.stage .count .rule { display: block; width: 120px; height: 1px; background: var(--line); position: relative; }
.stage .count u { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); text-decoration: none; }
.stage .count u.run { animation: prog var(--dur) linear forwards; }
.stage.paused .count u.run { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }
.stage .next-top { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: none; border: 0; color: var(--white); cursor: pointer; padding: 12px 4px; min-height: 44px; }
.stage .next-top:hover { color: var(--elec-hi); }
.stage .slide { min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); display: grid; position: relative;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
  column-gap: 32px; row-gap: 28px; padding: 80px 40px 104px; }
.stage .slide[hidden] { display: none; }
.stage .copy { grid-column: 1; grid-row: 1; align-self: start; position: relative; z-index: 3; max-width: 640px; }
.stage .card { grid-column: 1; grid-row: 2; align-self: end; position: relative; z-index: 3; }
.stage .tags { grid-column: 2; grid-row: 2; align-self: end; justify-self: end; position: relative; z-index: 3; }
.stage .spec { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; position: relative; z-index: 3; }
.stage .art { grid-column: 2; grid-row: 1 / 3; position: relative; z-index: 1; display: grid; place-items: center; min-height: 0; }
.stage .title { margin: 0; color: var(--white); font: 600 clamp(28px, 4.9vw, 74px)/1.04 var(--display); text-transform: uppercase; letter-spacing: -.012em; }
.stage .ln { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.06em; }
.stage .ln i { display: block; font-style: normal; }
.stage .on .ln i { animation: rise .8s cubic-bezier(.2, .8, .2, 1) backwards; }
.stage .on .ln:nth-child(2) i { animation-delay: .07s; }
.stage .on .ln:nth-child(3) i { animation-delay: .14s; }
.stage .on .ln:nth-child(4) i { animation-delay: .21s; }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } }
@keyframes slideleft { from { opacity: 0; transform: translateX(-10px); } }
@keyframes fade { from { opacity: 0; } }
.stage .ln:first-child i { color: var(--elec-hi); }
.stage .lede { margin: 22px 0 0; max-width: 46ch; color: #d3def7; font-size: clamp(15px, 1.25vw, 17px); }
.stage .on .lede { animation: fadeup .7s .35s backwards; }
.stage .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stage .on .cta { animation: fade .7s .5s backwards; }
.stage .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 Inter, sans-serif; text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.stage .btn.primary { background: var(--action); color: #fff; border-color: rgba(160, 200, 255, .5); }
.stage .btn.primary:hover { background: #0a78d4; }
.stage .btn.primary:hover .i { transform: translateX(3px); }
.stage .btn .i { transition: transform .2s; }
.stage .btn.ghost { border-color: var(--line); color: var(--white); background: rgba(255, 255, 255, .04); }
.stage .btn.ghost:hover { border-color: var(--elec-hi); }
.stage .spec { margin: 6px 0 0; width: min(360px, 100%); padding: 2px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(2, 6, 15, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.stage .spec div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.stage .spec div:last-child { border-bottom: 0; }
.stage .spec dt { color: var(--dim); }
.stage .spec dd { margin: 0; color: var(--white); text-align: right; }
.stage .on .spec div { animation: slidein .6s backwards; }
.stage .on .spec div:nth-child(1) { animation-delay: .45s; }
.stage .on .spec div:nth-child(2) { animation-delay: .55s; }
.stage .on .spec div:nth-child(3) { animation-delay: .65s; }
.stage .on .spec div:nth-child(4) { animation-delay: .75s; }
.stage .card { display: flex; gap: 14px; align-items: flex-start; max-width: 420px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stage .on .card { animation: fadeup .7s .7s backwards; }
.stage .chip-ic { width: 38px; height: 38px; padding: 7px; border-radius: 50%; border: 1px solid var(--elec-hi); color: var(--elec-hi); flex: none; }
.stage .card small { display: block; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.stage .card p { margin: 8px 0 10px; font-size: 14px; line-height: 1.45; color: #e3ebff; }
.stage .card a { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--white); text-underline-offset: 4px; }
.stage .card a:hover { color: var(--elec-hi); }
.stage .tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; list-style: none; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.stage .tags li { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); background: rgba(2, 6, 15, .62); }
.stage .tags li.hot { background: var(--white); color: #02060f; border-color: var(--white); }
.stage .bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; pointer-events: none;
  transform: translate(calc(var(--mx) * -10px), calc(var(--my) * -8px)) scale(1.04); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.stage .on .bg { animation: drift 16s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes drift { from { scale: 1.1; opacity: 0; } 12% { opacity: 1; } to { scale: 1; opacity: 1; } }
.stage .slide::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;   
  background: linear-gradient(90deg, var(--ink) 0%, rgba(2, 6, 15, .88) 26%, rgba(2, 6, 15, 0) 62%), linear-gradient(0deg, rgba(2, 6, 15, .75) 0%, rgba(2, 6, 15, 0) 26%); }
.stage .art { align-items: end; justify-items: start; padding-bottom: 64px; }
.stage .quote { margin: 0; display: grid; gap: 6px; padding: 13px 16px; max-width: 300px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 12px/1.4 var(--mono); }
.stage .quote span { color: var(--dim); }
.stage .quote b { font-weight: 500; color: var(--white); }
.stage .on .quote { animation: fadeup .7s 1s backwards; }
.stage .quote.canon { max-width: 340px; gap: 8px; }
.stage .quote.canon p { margin: 0; display: flex; gap: 10px; align-items: baseline; color: #e3ebff; }
.stage .quote.canon em { flex: none; font: 500 10px/1 var(--mono); letter-spacing: .12em; padding: 5px 7px; border-radius: 4px; background: var(--elec); color: #fff; }
.stage .quote.canon p.wait { color: var(--dim); }
.stage .quote.canon p.wait em { background: none; border: 1px solid var(--dim); color: var(--dim); }
.stage .ctrl { position: absolute; z-index: 6; inset: auto 0 0 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 40px 24px; }
.stage .btns { display: flex; gap: 8px; }
.stage .btns button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(2, 6, 15, .5); cursor: pointer; transition: border-color .2s, background .2s; }
.stage .btns button:hover { border-color: var(--elec-hi); background: rgba(43, 107, 255, .2); }
.stage .status { margin: 0; font: 400 12px/1.4 var(--mono); color: var(--dim); text-align: right; letter-spacing: .02em; }
.stage .status strong { color: var(--white); font-weight: 500; }
@media (max-width: 900px) {
  .stage .hud { padding: 16px 20px; gap: 12px; }
  .stage .count .rule { width: 56px; }
  .stage .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding: 84px 20px 132px; row-gap: 26px; }
  .stage .copy, .stage .spec, .stage .art, .stage .card, .stage .tags { grid-column: 1; grid-row: auto; justify-self: stretch; max-width: none; }
  .stage .spec { order: 2; width: 100%; }
  .stage .bg { order: 3; position: relative; inset: auto; height: 240px; border-radius: 14px; object-position: 78% 50%; transform: none; }
  .stage .art { order: 4; padding: 0; }
  .stage .card { order: 5; }
  .stage .tags { order: 6; justify-content: flex-start; }
  .stage .slide::before { display: none; }
  .stage .glow { background: radial-gradient(90% 18% at 50% 52%, rgba(27, 85, 240, .55), rgba(2, 6, 15, 0) 75%), radial-gradient(60% 12% at 100% 0, rgba(70, 130, 255, .4), rgba(2, 6, 15, 0) 70%); }
  .stage[data-i="2"] .glow { transform: none; }
  .stage .quote, .stage .quote.canon { max-width: none; width: 100%; }
  .stage .title { font-size: clamp(26px, 8.6vw, 44px); }
  .stage .ctrl { padding: 14px 20px 18px; flex-wrap: wrap; background: linear-gradient(0deg, var(--ink) 55%, rgba(2, 6, 15, 0)); }
  .stage .status { text-align: left; flex: 1 1 100%; order: 2; font-size: 11px; }
  .stage .next-top { display: none; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .stage .slide { padding-top: 84px; }
  .stage .title { font-size: clamp(26px, min(4.9vw, 8.4vh), 74px); }
  .stage .lede { margin-top: 16px; }
  .stage .cta { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage .glow, .stage .cut, .stage .bg { transition: none; transform: none; }
  .stage .count u.run { animation: none; }
  .stage .on .ln i, .stage .on .lede, .stage .on .cta, .stage .on .spec div, .stage .on .card, .stage .on .quote, .stage .on .bg { animation: none; }
}
