/* Console Tweaks: the black and white space world from the links page,
   with Xbox green and PlayStation blue as the only colour.
   --accent is set per page: green on Xbox pages, blue on PlayStation pages and the homepage
   (aimed at PlayStation players). Only the hero's "Xbox"/"PlayStation" label follows the morph video. */
:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, .64);
  --faint: rgba(255, 255, 255, .42);
  --line: rgba(255, 255, 255, .16);
  --glass: rgba(10, 10, 10, .55);
  --xbox: #19ff5a;
  --ps: #2b7bff;
  --accent: var(--xbox);
  --display: Unbounded, "Arial Black", Inter, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: min(1180px, calc(100vw - 32px));
  --nav-h: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { display: flex; justify-content: center; margin-top: 48px; }

/* =========================================================
   Cinematic scene (fixed behind everything)
   ========================================================= */
.scene {
  --px: 0px; --py: 0px; --cx: 50%; --cy: 40%;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}
.scene > * { position: absolute; inset: 0; }
.scene__space {
  inset: -7%;
  background: url("../assets/space.webp") center 42% / cover no-repeat;
  filter: brightness(.55) contrast(1.08);
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 1.4s var(--ease-out);
  animation: spaceIn 2.2s var(--ease-out) both;
}
@media (orientation: portrait) {
  .scene__space { background-image: url("../assets/space-tall.webp"); background-position: center 70%; }
}
@keyframes spaceIn { from { opacity: 0; transform: scale(1.25); filter: blur(18px) brightness(0); } }
#stars { width: 100%; height: 100%; }
.scene__fog { inset: auto; left: 0; width: 200%; display: flex; animation: fogMove 110s linear infinite; }
.scene__fog span { flex: 0 0 50%; background: url("../assets/fog.webp") center / 100% 100% no-repeat; }
.scene__fog span:nth-child(2) { transform: scaleX(-1); }
.scene__fog--far { top: 14%; height: 46%; opacity: .16; filter: blur(2px); animation-duration: 170s; animation-direction: reverse; }
.scene__fog--near { bottom: -12%; height: 58%; opacity: .36; }
@keyframes fogMove { to { transform: translateX(-50%); } }
.scene__light {
  background:
    radial-gradient(520px circle at var(--cx) var(--cy), rgba(255, 255, 255, .06), transparent 62%),
    radial-gradient(900px 600px at 50% 110%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
  transition: background .6s;
}
.scene__vignette {
  background:
    radial-gradient(ellipse 80% 75% at 50% 40%, transparent 35%, rgba(0, 0, 0, .6) 80%, rgba(0, 0, 0, .92) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent 20%, transparent 80%, rgba(0, 0, 0, .55));
}
.scene__grain {
  inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .06;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(-4%, -5%); }
}

/* Page transition: a smoke-coloured wipe that covers the screen between pages */
.wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.wipe span {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--wipe, var(--accent)) 55%, #000) 0%, #000 70%);
  opacity: 1;
  transform: scale(1.2);
  animation: wipeOut 1s var(--ease-out) .15s forwards;
}
.wipe.is-leaving span { animation: wipeIn .5s cubic-bezier(.7, 0, .84, 0) forwards; }
/* Shown while warping out to Stripe checkout */
.wipe[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font: 700 clamp(15px, 2vw, 19px)/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}
.wipe.is-leaving[data-label]::after { animation: labelIn .45s var(--ease-out) .2s forwards; }
@keyframes labelIn { from { opacity: 0; transform: translate(-50%, -20%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes wipeOut { to { opacity: 0; transform: scale(2.2); } }
@keyframes wipeIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1.2); } }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: 600 15px/1 var(--body);
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transform: translate(var(--tx), var(--ty));
  transition: transform .35s var(--ease-out), box-shadow .3s, border-color .3s, background .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-spring); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translate(var(--tx), var(--ty)) scale(.96); transition-duration: .1s; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 16px; }
.btn--ghost { background: rgba(10, 10, 10, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .55); box-shadow: 0 0 28px rgba(255, 255, 255, .14); }
.btn--primary {
  color: #000;
  border: 0;
  background: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 60%, #fff), 0 10px 40px -8px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .5);
  overflow: hidden;
}
.btn--primary::before { /* travelling sheen */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: btnShine 4.5s ease-in-out 2s infinite;
}
.btn--primary:hover { box-shadow: 0 0 0 1px #fff, 0 14px 60px -6px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .6); }
@keyframes btnShine { 0%, 60% { transform: translateX(-120%); } 90%, 100% { transform: translateX(120%); } }
.btn--discord { background: #5865f2; border-color: #7b85ff; color: #fff; }
.btn--discord svg { fill: currentColor; stroke: none; }
.btn--discord:hover { box-shadow: 0 10px 40px -6px #5865f2; }
.btn--discord:hover svg { transform: rotate(-8deg) scale(1.1); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  transition: background .4s, backdrop-filter .4s, height .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
  animation: fadeDown .9s var(--ease-out) .6s both;
}
.nav.is-scrolled {
  height: 62px;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-color: var(--line);
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.nav__brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .45)); transition: transform .6s var(--ease-spring); }
.nav__brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav__brand b { font-weight: 900; margin-left: .3em; color: var(--accent); transition: color .6s; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px;
  border: 0; border-radius: 999px; background: none;
  font: 500 15px/1 var(--body); color: var(--muted);
  cursor: pointer;
  transition: color .25s, background .25s;
}
.nav__link:hover, .nav__dropbtn[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__account svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav__account[aria-current="page"] { color: #fff; }
.chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .4s var(--ease-spring); }
.nav__dropbtn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__drop { position: relative; }
.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 300px;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .7);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px) scale(.97);
  transform-origin: top center;
  transition: opacity .25s, transform .4s var(--ease-spring), visibility 0s .25s;
}
.nav__drop.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.menu__console {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  transition: background .25s;
}
.menu__console svg { width: 26px; height: 26px; fill: var(--c); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 60%, transparent)); flex: none; }
.menu__console span { display: flex; flex-direction: column; line-height: 1.25; }
.menu__console b { font-weight: 600; }
.menu__console small { color: var(--faint); font-size: 13px; }
.menu__console:hover, .menu__console[aria-current="page"] { background: color-mix(in srgb, var(--c) 12%, transparent); }
.nav__discord { height: 40px; padding: 0 16px; }
.nav__discord svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.nav__discord:hover { border-color: #5865f2; box-shadow: 0 0 24px rgba(88, 101, 242, .45); }
.nav__discord:hover svg { transform: none; fill: #8891ff; }
.nav__burger { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  padding: calc(var(--nav-h) + 12px) 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > * { animation: menuIn .5s var(--ease-out) both; }
.mobile-menu > *:nth-child(2) { animation-delay: .04s; } .mobile-menu > *:nth-child(3) { animation-delay: .08s; }
.mobile-menu > *:nth-child(4) { animation-delay: .12s; } .mobile-menu > *:nth-child(5) { animation-delay: .16s; }
.mobile-menu > *:nth-child(6) { animation-delay: .2s; } .mobile-menu > *:nth-child(7) { animation-delay: .24s; }
.mobile-menu > *:nth-child(8) { animation-delay: .28s; } .mobile-menu > *:nth-child(9) { animation-delay: .32s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }
.mobile-menu__label { color: var(--faint); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 4px 0 2px; }
.mobile-menu .menu__console { padding: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.mobile-menu__link { padding: 16px 4px; font: 700 22px/1 var(--display); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; height: 56px; }

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nav { gap: 12px; }
  .nav__links, .nav__discord { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; margin-left: auto; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 999px;
    background: rgba(10, 10, 10, .5); cursor: pointer;
  }
  .nav__burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease-spring); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* =========================================================
   Home hero: the morphing controller
   ========================================================= */
main { position: relative; z-index: 2; }
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: calc(var(--nav-h) + 20px) 16px clamp(64px, 10vh, 112px);
  overflow: hidden;
}
.hero__stage { position: absolute; inset: 0; z-index: -1; animation: stageIn 2.4s var(--ease-out) .2s both; }
@keyframes stageIn { from { opacity: 0; transform: scale(1.12); filter: blur(14px) brightness(.2); } }
.hero__poster, .hero__video {
  position: absolute;
  left: 0;
  top: -9%;
  width: 100%;
  height: 109%;
  object-fit: cover;
  object-position: center 40%;
  transform: translate3d(0, var(--hy, 0px), 0) scale(1.02);
}
.hero__video { opacity: 0; transition: opacity .25s linear; }
.hero__video.is-on { opacity: 1; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, transparent 18%, transparent 46%, rgba(0, 0, 0, .7) 74%, #000 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, transparent 40%, rgba(0, 0, 0, .55) 100%);
}
.hero__content {
  position: relative;
  width: var(--wrap);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 22%, transparent);
  animation: rise 1s var(--ease-out) 1.1s both;
}
.hero__eyebrow-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
/* "Xbox" and "PlayStation" cross-fade in step with the video (--mix: 0 Xbox, 1 PlayStation) */
.morph-word { --mix: 1; position: relative; display: inline-grid; color: var(--accent); }
.morph-word { justify-items: center; }
.morph-word > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; }
.morph-word svg { width: 18px; height: 18px; fill: currentColor; filter: drop-shadow(0 0 6px currentColor); }
.morph-word__x { color: var(--xbox); opacity: calc(1 - var(--mix)); filter: blur(calc(var(--mix) * 6px)); }
.morph-word__p { color: var(--ps); opacity: var(--mix); filter: blur(calc((1 - var(--mix)) * 6px)); }

.title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 6.6vw, 104px);
  line-height: .95;
  letter-spacing: .02em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: .22em;
}
.title__word {
  display: inline-block;
  background: linear-gradient(100deg, #8a8a8a 0%, #fff 30%, #fff 45%, #bdbdbd 55%, #fff 70%, #8a8a8a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(255, 255, 255, .28)) drop-shadow(0 6px 22px rgba(0, 0, 0, .95));
  animation: wordIn 1.3s var(--ease-out) 1.25s both, sheen 6s linear 2.6s infinite;
}
.title__word:nth-child(2) { animation-delay: 1.42s, 2.8s; }
@keyframes wordIn { from { opacity: 0; transform: translateY(50px) scale(.92); filter: blur(16px); letter-spacing: .3em; } }
@keyframes sheen { to { background-position: -250% 0; } }
.hero__lead { max-width: 640px; font-size: clamp(17px, 2.2vw, 21px); color: rgba(255, 255, 255, .82); text-shadow: 0 2px 16px #000; animation: rise 1s var(--ease-out) 1.7s both; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; animation: rise 1s var(--ease-out) 1.9s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  animation: rise 1s var(--ease-out) 2.4s both;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-aspect-ratio: 4/5) {
  /* Tall screens: show the whole controller in a landscape band at the top instead of cropping it */
  .hero__poster, .hero__video {
    top: 7%;
    height: 58%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 72%, transparent 100%);
  }
}
@media (max-width: 640px) {
  .hero { align-items: flex-end; padding-bottom: 56px; }
  .title { font-size: clamp(38px, 14vw, 72px); }
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .scroll-cue { display: none; }
}

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; width: var(--wrap); margin: 0 auto; padding: clamp(80px, 12vh, 140px) 0 0; }
.section__head { text-align: center; margin-bottom: clamp(36px, 6vh, 60px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  transition: color .6s;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.h2 { font: 800 clamp(30px, 5.2vw, 58px)/1.05 var(--display); letter-spacing: .01em; text-wrap: balance; }
.section__sub { color: var(--muted); font-size: 17px; max-width: 520px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(8px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ----- Console cards ----- */
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.ccards--three { grid-template-columns: repeat(3, 1fr); }
.ccard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #050505;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
}
.ccard.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease-out), border-color .4s, box-shadow .4s, opacity .9s var(--ease-out), filter .9s; }
.ccard__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.ccard__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; transform: scale(1.18); filter: brightness(.8) saturate(1.1); transition: transform 1.2s var(--ease-out), filter .6s; }
.ccard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .65) 58%, #000 92%); }
.ccard::before { /* brand glow from below */
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: -30%;
  height: 60%;
  z-index: 1;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: .25;
  filter: blur(30px);
  transition: opacity .5s, transform .6s var(--ease-out);
}
.ccard::after { /* spotlight that follows the cursor */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, .12), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.ccard__shine { position: absolute; inset: 0; z-index: 3; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .14) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
.ccard__body { position: relative; z-index: 4; margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding: 22px; transform: translateZ(40px); }
.ccard__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.ccard__brand svg { width: 18px; height: 18px; fill: currentColor; filter: drop-shadow(0 0 6px currentColor); }
.ccard__name { font: 800 clamp(21px, 1.6vw, 24px)/1.1 var(--display); margin-top: 6px; }
.ccard__model { color: var(--muted); font-size: 15px; }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ccard__price { font: 800 30px/1 var(--display); }
.ccard__price small { font-size: .55em; vertical-align: top; margin-right: 2px; color: var(--muted); }
.ccard__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--c); }
.ccard__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-spring); }
.ccard:hover, .ccard:focus-visible { border-color: color-mix(in srgb, var(--c) 70%, #fff); box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--c) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); outline: none; }
.ccard:hover .ccard__media img, .ccard:focus-visible .ccard__media img { transform: scale(1.28); filter: brightness(1) saturate(1.3); }
.ccard:hover::before, .ccard:focus-visible::before { opacity: .7; transform: scale(1.2); }
.ccard:hover::after { opacity: 1; }
.ccard:hover .ccard__shine { transform: translateX(130%); transition: transform 1s var(--ease-out); }
.ccard:hover .ccard__cta svg { transform: translateX(5px); }
@media (max-width: 1020px) { .ccards, .ccards--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .ccards, .ccards--three { grid-template-columns: 1fr; gap: 14px; }
  .ccard { min-height: 300px; }
  .ccard__media img { object-position: 78% 50%; }
}

/* ----- Features ----- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  position: relative;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)), var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease-out), opacity .9s var(--ease-out), filter .9s;
}
.feature::before { content: ""; position: absolute; left: -20%; right: -20%; top: -60%; height: 100%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); opacity: 0; transition: opacity .5s; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-6px); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  position: relative;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 25%, transparent);
}
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--accent)); }
.feature:hover .feature__icon svg { animation: iconPop .6s var(--ease-spring); }
@keyframes iconPop { 40% { transform: scale(1.25) rotate(-6deg); } }
.feature h3 { position: relative; font: 700 20px/1.2 var(--display); margin-bottom: 8px; }
.feature p { position: relative; color: var(--muted); font-size: 15px; }
@media (max-width: 1020px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ----- What you get ----- */
.gets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.get { padding: 18px 18px 26px; border-radius: 24px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.get h3 { font: 700 20px/1.2 var(--display); margin: 20px 6px 6px; }
.get p { color: var(--muted); font-size: 15px; margin: 0 6px; }
.get__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 22%, #000), #050505 70%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.play {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent);
  animation: ping 2.4s ease-out infinite;
}
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 26px transparent; } }
.get__bar, .player__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.get__bar i, .player__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: progress 6s linear infinite; box-shadow: 0 0 10px var(--accent); }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.get__visual--pics span {
  position: absolute;
  width: 46%; aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  background:
    linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)) 12% 22% / 50% 6px no-repeat,
    linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)) 12% 40% / 70% 5px no-repeat,
    linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)) 12% 54% / 60% 5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 12% 74% / 34% 10px no-repeat,
    #0b0b0b;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .6);
  transition: transform .6s var(--ease-spring);
}
.get__visual--pics span:nth-child(1) { transform: translate(-38%, 6%) rotate(-10deg); }
.get__visual--pics span:nth-child(2) { transform: translate(38%, 6%) rotate(10deg); }
.get__visual--pics span:nth-child(3) { transform: translateY(-4%); }
.get:hover .get__visual--pics span:nth-child(1) { transform: translate(-58%, 4%) rotate(-16deg); }
.get:hover .get__visual--pics span:nth-child(2) { transform: translate(58%, 4%) rotate(16deg); }
.get:hover .get__visual--pics span:nth-child(3) { transform: translateY(-10%) scale(1.06); }
.get__visual--bolt svg { width: 70px; height: 70px; fill: var(--accent); filter: drop-shadow(0 0 18px var(--accent)); animation: bolt 2.6s ease-in-out infinite; }
@keyframes bolt { 0%, 100% { transform: scale(1); opacity: .9; } 8% { transform: scale(1.15); opacity: 1; } 16% { transform: scale(.96); } 24% { transform: scale(1.08); } }
@media (max-width: 860px) { .gets { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ----- Steps ----- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.steps::before { /* line that draws across as the steps reveal */
  content: "";
  position: absolute;
  top: 38px; left: 16%; right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(var(--line-k, 0));
  transition: transform 1.6s var(--ease-out);
  opacity: .7;
}
.steps.in-view::before { --line-k: 1; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num {
  display: inline-grid; place-items: center;
  width: 76px; height: 76px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: #000;
  font: 800 22px/1 var(--display);
  color: var(--accent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 25%, transparent), inset 0 0 20px color-mix(in srgb, var(--accent) 18%, transparent);
}
.step h3 { font: 700 21px/1.2 var(--display); margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 300px; margin: 0 auto; font-size: 15px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; background: linear-gradient(transparent, var(--accent), transparent); transform: scaleY(var(--line-k, 0)); }
}

/* ----- Clips ----- */
.clips { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 16px; }
.clip { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #070707; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip__label { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .65); font-size: 13px; font-weight: 600; }
.clip__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); box-shadow: 0 0 10px var(--c, var(--accent)); }
.clip--soon { display: grid; place-items: center; }
.clip--soon::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%); background-size: 250% 100%; animation: shimmer 2.4s linear infinite; }
.clip--soon span { position: relative; color: var(--faint); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.clips__note { grid-column: 1 / -1; text-align: center; color: var(--muted); margin-top: 6px; }
@keyframes shimmer { to { background-position: -250% 0; } }
@media (max-width: 860px) { .clips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .clips { grid-template-columns: 1fr; } .clip--soon:nth-child(n+2) { display: none; } }

/* ----- FAQ ----- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: 18px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: rgba(14, 14, 14, .7); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px;
  font-weight: 600; font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: transform .45s var(--ease-spring), border-color .3s, background .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; border-radius: 2px; }
.faq__plus::after { transform: rotate(90deg); transition: transform .45s var(--ease-spring); }
.faq__item[open] .faq__plus { transform: rotate(180deg); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, transparent); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 24px 22px; color: var(--muted); }

/* ----- Discord band ----- */
.band {
  position: relative;
  width: var(--wrap);
  margin: clamp(80px, 12vh, 140px) auto 0;
  padding: clamp(48px, 8vw, 80px) 24px;
  border-radius: 32px;
  border: 1px solid rgba(88, 101, 242, .45);
  background: linear-gradient(180deg, rgba(88, 101, 242, .16), rgba(0, 0, 0, .6));
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.band__glow { position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(88, 101, 242, .45), transparent); filter: blur(20px); animation: glow 6s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.15); opacity: .7; } }
.band__icon { width: 64px; height: 64px; fill: #fff; filter: drop-shadow(0 0 22px #5865f2); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-4deg); } }
.band p { color: rgba(255, 255, 255, .78); max-width: 480px; font-size: 17px; }
.band .btn { margin-top: 10px; }

/* ----- Footer ----- */
.foot { position: relative; z-index: 2; width: var(--wrap); margin: 100px auto 0; padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 15px; }
.foot__links a:hover { color: #fff; }
.foot__legal { margin-top: 22px; color: var(--faint); font-size: 13px; }

/* ----- Toast ----- */
.toast {
  position: fixed;
  left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 80;
  width: max-content;
  max-width: min(460px, calc(100vw - 32px));
  padding: 14px 20px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: rgba(8, 8, 8, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .7), 0 0 30px color-mix(in srgb, var(--accent) 25%, transparent);
  font-weight: 500;
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform .5s var(--ease-spring), opacity .3s;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
body:has(.buybar.show) .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }

/* =========================================================
   Console page
   ========================================================= */
.phero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 24px) max(16px, calc((100vw - 1180px) / 2)) 60px;
  overflow: hidden;
}
.phero__media { position: absolute; inset: 0; z-index: -1; animation: stageIn 2.2s var(--ease-out) .15s both; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: translate3d(var(--mx2, 0px), calc(var(--hy, 0px) + var(--my2, 0px)), 0) scale(1.06); transition: transform 1.2s var(--ease-out); }
.phero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .7) 34%, transparent 62%),
    linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, transparent 18%, transparent 70%, #000 100%);
}
.phero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.phero__content { position: relative; z-index: 1; max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .25s, gap .3s var(--ease-out); animation: rise .8s var(--ease-out) .7s both; }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.back:hover { color: #fff; gap: 12px; }
.phero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); animation: rise .9s var(--ease-out) .9s both; }
.phero__eyebrow svg { width: 26px; height: 26px; fill: currentColor; filter: drop-shadow(0 0 10px currentColor); }
.phero__title { display: flex; flex-direction: column; font-family: var(--display); line-height: .95; }
.phero__name { font-weight: 900; font-size: clamp(46px, 7.4vw, 104px); letter-spacing: .01em; text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent); animation: wordIn 1.2s var(--ease-out) 1s both; }
.phero__kind {
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 60px);
  background: linear-gradient(100deg, var(--accent) 0%, #fff 40%, var(--accent) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordIn 1.2s var(--ease-out) 1.15s both, sheen 5s linear 2.4s infinite;
}
.phero__lead { color: rgba(255, 255, 255, .8); font-size: 18px; max-width: 470px; animation: rise 1s var(--ease-out) 1.35s both; }
.buy { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 8px; animation: rise 1s var(--ease-out) 1.5s both; }
.buy__price { display: flex; align-items: baseline; font: 900 56px/1 var(--display); }
.buy__price small { font-size: .45em; align-self: flex-start; margin: 6px 3px 0 0; color: var(--muted); }
.buy__price span { margin-left: 10px; font: 500 14px/1 var(--body); color: var(--faint); }
.btn--buy { height: 62px; padding: 0 30px; font-size: 17px; }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; animation: rise 1s var(--ease-out) 1.65s both; }
.chips li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, .5); font-size: 14px; color: rgba(255, 255, 255, .85); }
.chips svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .phero { align-items: flex-end; padding-bottom: 40px; }
  .phero__media img { object-position: 78% 30%; }
  .phero__shade { background: linear-gradient(to bottom, rgba(0, 0, 0, .4) 0%, transparent 25%, rgba(0, 0, 0, .75) 55%, #000 90%); }
  .buy { width: 100%; justify-content: space-between; gap: 14px; }
  .btn--buy { flex: 1; min-width: 200px; }
}

.inside { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--accent) 45%, transparent); display: grid; place-items: center; }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: blur(6px) brightness(.55) saturate(1.2); transform: scale(1.1); }
.player .play { width: 84px; height: 84px; }
.player .play::after { left: 34px; top: 27px; border-left-width: 22px; border-top-width: 15px; border-bottom-width: 15px; }
.player__lock { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(0, 0, 0, .65); font-size: 13px; font-weight: 600; }
.player__lock svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2.2; }
.inside__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.inside__list li { display: flex; gap: 16px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.inside__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.inside__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.inside__list h3 { font: 700 18px/1.25 var(--display); margin-bottom: 4px; }
.inside__list p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .inside { grid-template-columns: 1fr; gap: 20px; } }

/* Sticky buy bar once the main Buy button scrolls away */
.buybar {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  width: min(560px, calc(100vw - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  background: rgba(6, 6, 6, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 40px color-mix(in srgb, var(--accent) 22%, transparent);
  transform: translate(-50%, 160%);
  transition: transform .6s var(--ease-spring);
}
.buybar.show { transform: translate(-50%, 0); }
.buybar__name { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.buybar__name svg { width: 26px; height: 26px; fill: var(--accent); flex: none; }
.buybar__name span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.buybar__name b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__name small { color: var(--faint); font-size: 13px; }

/* =========================================================
   Download page (where buyers land after paying)
   ========================================================= */
.dl { position: relative; width: min(980px, calc(100vw - 32px)); margin: 0 auto; padding-top: calc(var(--nav-h) + 32px); }
.dl__fx { position: fixed; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.dl__state--loading, .dl__state--error {
  min-height: calc(100svh - var(--nav-h) - 160px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  text-align: center;
  animation: rise .8s var(--ease-out) .3s both;
}
.dl__sub { color: var(--muted); font-size: 17px; max-width: 460px; text-wrap: pretty; }

/* Spinning ring around a lock while the payment is confirmed */
.loader { position: relative; width: 104px; height: 104px; display: grid; place-items: center; margin-bottom: 10px; }
.loader::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 20%, transparent), transparent);
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent) 22%, transparent);
}
.loader__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--accent));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 1.1s linear infinite;
}
.loader__lock { position: relative; width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px var(--accent)); }
.loader__shackle { animation: shackle 1.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shackle { 50% { transform: translateY(-1.8px); } }

/* Unlocked header: the console's artwork with a check that draws itself */
.unlock {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(340px, 44vw, 440px);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  background: #050505;
  box-shadow: 0 50px 120px -40px color-mix(in srgb, var(--accent) 55%, transparent);
  animation: rise .9s var(--ease-out) both;
}
.unlock__media { position: absolute; inset: 0; z-index: -1; }
.unlock__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: stageIn 2s var(--ease-out) .1s both; }
.unlock__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .66) 38%, transparent 72%),
    linear-gradient(to top, rgba(0, 0, 0, .8), transparent 55%);
}
.unlock__badge { width: 68px; height: 68px; margin-bottom: 6px; border-radius: 50%; background: rgba(0, 0, 0, .55); box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 45%, transparent); animation: badgeIn .8s var(--ease-spring) .2s both; }
.unlock__badge svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px var(--accent)); }
.unlock__badge circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .7s var(--ease-out) .3s forwards; }
.unlock__badge path { stroke-dasharray: 34; stroke-dashoffset: 34; animation: draw .45s var(--ease-out) .85s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes badgeIn { from { opacity: 0; transform: scale(.4); } }
.unlock .eyebrow { animation: rise .8s var(--ease-out) .45s both; }
.unlock__title { font: 900 clamp(46px, 8vw, 96px)/.95 var(--display); text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent); animation: wordIn 1.1s var(--ease-out) .5s both; }
.unlock__sub { max-width: 470px; color: rgba(255, 255, 255, .8); font-size: 18px; text-wrap: pretty; animation: rise .9s var(--ease-out) .7s both; }
.unlock__sub b { color: #fff; font-weight: 600; }
.licence { display: flex; align-items: center; gap: 10px; max-width: 520px; margin-top: 4px; font-size: 14px; color: var(--muted); animation: rise .9s var(--ease-out) .8s both; }
.licence svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.licence b { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.test-chip {
  position: absolute; top: 18px; right: 18px;
  height: 30px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .6);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.keep {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px;
  padding: 14px 14px 14px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: rise .9s var(--ease-out) .85s both;
}
.keep > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.keep p { flex: 1; color: var(--muted); font-size: 15px; }
.keep b { color: #fff; font-weight: 600; }

.dl__block { margin-top: clamp(44px, 7vh, 64px); animation: rise .9s var(--ease-out) 1s both; }
.dl__h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 800 clamp(22px, 3vw, 30px)/1.1 var(--display); }
.dl__h::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.dl__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.dl__row .dl__h { margin: 0; }
.dl__hint { color: var(--muted); font-size: 15px; }

.dl__videos { display: grid; gap: 18px; }
.vcard { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: #050505; box-shadow: 0 40px 100px -40px color-mix(in srgb, var(--accent) 50%, transparent); }
.vcard__frame { position: relative; background: #000; }
.vcard video { width: 100%; aspect-ratio: 16 / 9; max-height: 80svh; object-fit: contain; background: #000; }
.vcard__full {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .6);
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, border-color .3s;
}
.vcard__full svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vcard__frame:hover .vcard__full, .vcard__full:focus-visible, .is-full .vcard__full, .is-native-full .vcard__full { opacity: 1; }
.vcard__full:hover { border-color: var(--accent); }
@media (hover: none) { .vcard__full { opacity: 1; } }
/* Full screen is the whole frame (video + watermark), never the bare video */
.vcard__frame.is-full, .vcard__frame.is-native-full { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; }
.vcard__frame.is-full video, .vcard__frame.is-native-full video { width: 100%; height: 100%; max-height: none; aspect-ratio: auto !important; }
.vcard__frame.is-full .vcard__full { top: calc(12px + env(safe-area-inset-top)); }
.calm .dl__block { animation: none; } /* a finished transform animation would trap the fixed full screen frame */
.has-full .dl { z-index: 96; } /* lift the page above the nav while a video fills the screen */
.vcard__cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; border-top: 1px solid var(--line); }
.vcard__cap > span, .file__name { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.vcard__cap b, .file__name b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard__cap small, .file__name small { color: var(--faint); font-size: 13px; }

.dl__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.shot {
  position: relative;
  display: block;
  padding: 0;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #070707;
  cursor: zoom-in;
  animation: rise .8s var(--ease-out) calc(1.05s + var(--d, 0ms)) both;
  transition: border-color .3s, transform .45s var(--ease-out), box-shadow .45s;
}
.shot img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); transition: transform .9s var(--ease-out), filter .4s; }
.shot__n {
  position: absolute; left: 10px; top: 10px;
  min-width: 30px; height: 30px; padding: 0 9px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: rgba(0, 0, 0, .72);
  font: 800 13px/1 var(--display);
  color: var(--accent);
}
.shot__zoom { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .7); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-spring); }
.shot__zoom svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.shot:hover, .shot:focus-visible { border-color: color-mix(in srgb, var(--accent) 70%, #fff); transform: translateY(-4px); box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--accent) 55%, transparent); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.06); filter: none; }
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }

.dl__files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.file { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.file__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.file__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.file__name { flex: 1; }
.file .btn { height: 42px; padding: 0 16px; font-size: 14px; }

.dl__empty { padding: clamp(32px, 6vw, 56px) 24px; border-radius: 24px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--glass); text-align: center; }
.dl__empty .dl__h { justify-content: center; }
.dl__empty p { max-width: 460px; margin: 0 auto; color: var(--muted); }

.dl__help { margin-top: 48px; text-align: center; color: var(--muted); animation: rise .9s var(--ease-out) 1.1s both; }
.dl__help a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dl__icon svg { width: 64px; height: 64px; fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 1.5; stroke-linecap: round; }
.dl .btn:hover svg { transform: translateY(2px); }
.dl__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* ----- Accounts: make an account after checkout, sign in to come back ----- */
.dl__state--auth { min-height: calc(100svh - var(--nav-h) - 160px); display: grid; place-items: center; padding: 8px 0 24px; }
.auth {
  position: relative;
  width: min(460px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: linear-gradient(180deg, rgba(20, 20, 20, .8), rgba(5, 5, 5, .86));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px -40px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, .07);
  animation: rise .8s var(--ease-out) .15s both;
}
.auth::before { /* a soft glow behind the card in the console's colour */
  content: ""; position: absolute; inset: -30% -20% auto; height: 70%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent);
  filter: blur(30px); pointer-events: none;
}
.auth__product {
  display: flex; align-items: center; gap: 12px;
  width: fit-content; max-width: 100%;
  margin-bottom: 22px; padding: 6px 16px 6px 6px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
}
.auth__product img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; object-position: 70% 50%; background: #111; }
.auth__product span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.auth__product b { font-weight: 600; font-size: 15px; }
.auth__product small { color: var(--muted); font-size: 13px; }
.auth__title { margin-top: 10px; font: 800 clamp(26px, 4.6vw, 34px)/1.1 var(--display); text-wrap: balance; }
.auth__text { margin-top: 10px; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.auth__text b { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.auth__form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.field__wrap { position: relative; }
.field__input {
  width: 100%; height: 54px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .55);
  color: #fff; font: 500 16px var(--body); /* 16px stops iPhones zooming in */
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field__input::placeholder { color: var(--faint); }
.field__input:focus { outline: none; border-color: var(--accent); background: rgba(0, 0, 0, .75); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field__input[readonly] { color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .04); border-style: dashed; }
.field__input[readonly]:focus { border-color: var(--line); box-shadow: none; }
.field__wrap .field__input { padding-right: 56px; }
.field__eye {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer;
  transition: color .2s, background .2s;
}
.field__eye:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.field__eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field__eye .eye-off, .field__eye[aria-pressed="true"] .eye-on { display: none; }
.field__eye[aria-pressed="true"] .eye-off { display: block; }
.field__hint { color: var(--faint); font-size: 13px; }
.auth__msg { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 99, 99, .45); background: rgba(255, 60, 60, .1); color: #ffc2c2; font-size: 14px; line-height: 1.45; }
.auth__msg--ok { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: #fff; }
.auth__submit { width: 100%; margin-top: 4px; }
.auth__submit:disabled { cursor: progress; opacity: .8; }
.auth__submit[aria-busy="true"] span::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite;
}
.auth__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.auth__links:not(:has(:not([hidden]))) { display: none; }
.auth__link { padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.auth__link:hover { color: #fff; }
.auth__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; line-height: 1.5; }
.auth__note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* My guides */
.acct__head { display: grid; justify-items: start; gap: 12px; margin-bottom: 28px; animation: rise .8s var(--ease-out) .1s both; }
.acct__title { font: 900 clamp(38px, 6.4vw, 72px)/1 var(--display); }
.acct__who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--muted); }
.acct__who b { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.acct__empty { margin-bottom: 18px; color: var(--muted); }
.mine { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mine__card {
  display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 20px;
  padding: 14px;
  border-radius: 24px; border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: rise .8s var(--ease-out) var(--d, 0ms) both;
  transition: border-color .3s, box-shadow .3s;
}
.mine__card.is-owned { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 30px 80px -44px var(--c); }
.mine__card.is-owned:hover { border-color: var(--c); }
.mine__img { width: 128px; height: 128px; border-radius: 16px; object-fit: cover; object-position: 70% 50%; background: #0d0d0d; }
.mine__card:not(.is-owned) .mine__img { filter: grayscale(1) brightness(.55); }
.mine__body { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.mine__model { color: var(--c); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mine__name { font: 800 24px/1.1 var(--display); }
.mine__state { color: var(--muted); font-size: 14px; }
.mine__test { color: rgba(255, 255, 255, .8); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.mine__body .btn { margin-top: 10px; height: 42px; padding: 0 18px; }
.mine__body .btn--primary { --accent: var(--c); }
.mine__body .btn--primary svg { fill: currentColor; stroke: none; }
.mine__body .btn--ghost:hover { border-color: var(--c); }
@media (max-width: 760px) {
  .mine { grid-template-columns: 1fr; }
  .mine__card { grid-template-columns: 96px 1fr; gap: 16px; }
  .mine__img { width: 96px; height: 96px; }
}

/* Picture lightbox: step through the guide one picture at a time */
.lightbox { position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s; }
.lightbox.open { opacity: 1; }
.lightbox__stage { width: 100%; height: 100%; margin: 0; display: grid; place-items: center; padding: calc(72px + env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 601px) { .lightbox__stage { padding-left: 78px; padding-right: 78px; } }
.lightbox__frame { position: relative; display: block; max-width: min(1400px, 100%); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 100px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); opacity: 0; transform: scale(.96); transition: opacity .35s, transform .5s var(--ease-out); }
.lightbox__frame:has(img.is-in) { opacity: 1; transform: none; }
.lightbox__frame img { max-width: 100%; max-height: calc(100svh - 168px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, .75);
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .35s var(--ease-spring);
}
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, rgba(10, 10, 10, .8)); transform: scale(1.06); }
.lightbox__close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__bar {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, .85);
}
.lightbox__count { font: 700 14px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Watch-only guide: the buyer's email over every picture and the video, no saving */
.guard, .shot, .lightbox { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.shot img, .lightbox__frame img { pointer-events: none; }
/* Tile size keeps the 560 x 300 shape of TILE in download.js; smaller on phones so the email repeats */
.wm { --tw: 560px; --th: 300px; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--wm) 0 0 / var(--tw) var(--th) repeat; opacity: .32; }
.shot .wm { --tw: 373px; --th: 200px; opacity: .38; }
@media (max-width: 600px) { .wm { --tw: 336px; --th: 180px; } .shot .wm { --tw: 224px; --th: 120px; } }
/* On the video the tiles slowly slide (one tile per loop, so it never jumps) */
.vcard__frame { overflow: hidden; }
.wm--video { inset: calc(var(--th) * -1) auto auto calc(var(--tw) * -1); width: calc(100% + var(--tw)); height: calc(100% + var(--th)); opacity: .26; animation: wmDrift 28s linear infinite; will-change: transform; }
@keyframes wmDrift { to { transform: translate(var(--tw), var(--th)); } }
.wm-float {
  position: absolute; left: 0; top: 0; z-index: 2;
  transform: translate(var(--wx, 16px), var(--wy, 16px));
  pointer-events: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .38);
  font: 800 clamp(13px, 1.9vw, 22px)/1 var(--body);
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
  white-space: nowrap;
  transition: transform 1.6s cubic-bezier(.65, 0, .35, 1);
}
.wm-float:empty { display: none; }
/* The page blurs the guide while another window is active (some snipping and recording tools) */
.is-shielded :is(.guard, .shot) > :is(video, img) { filter: blur(26px) brightness(.35); transition: none; }
@media print {
  body:has(.dl) > * { display: none !important; }
  body:has(.dl)::before { content: "Printing is turned off for this guide."; display: block; padding: 40px; color: #000; font: 16px/1.4 sans-serif; }
}

@media (max-width: 600px) {
  .unlock { min-height: 420px; }
  .unlock__media img { object-position: 74% 30%; }
  .unlock__media::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .94) 78%); }
  .keep { flex-wrap: wrap; padding: 16px; }
  .keep p { flex: 1 1 calc(100% - 40px); }
  .keep .btn { width: 100%; }
  .dl__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shot__zoom { display: none; }
  .vcard__cap { flex-wrap: wrap; padding: 14px; }
  .vcard__cap .btn { width: 100%; }
  .file { flex-wrap: wrap; }
  .file__name { flex: 1 1 calc(100% - 60px); }
  .file .btn { flex: 1; }
  .lightbox__nav { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* Phones: features as compact rows (icon left, text right) */
@media (max-width: 520px) {
  .feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; }
  .feature__icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  .feature h3 { font-size: 18px; margin-bottom: 4px; }
}
