/* Eclipse Studio Launcher — download page. Brand: gold #dea236 on black. */
/* Fonts are self-hosted (SIL OFL 1.1, licences in assets/fonts) so no visitor data goes to a third party. */
@font-face { font-family: "Anton"; src: url("/assets/fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --gold: #dea236;
  --gold-hi: #f2c062;
  --ember: #b8621b;
  --bg: #050505;
  --surface: #0f0e0d;
  --surface-2: #171513;
  --line: rgba(255, 240, 220, 0.09);
  --text: #fff4e6;
  --muted: #a39a8f;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* clip, not hidden: hidden would break the sticky scenes */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9em; }
::selection { background: var(--gold); color: #000; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px 28px;
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.topbar.scrolled { background: linear-gradient(to bottom, rgba(5,5,5,.92), rgba(5,5,5,0)); padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.brand img { width: 30px; height: auto; }
.brand-name { font: 26px/1 var(--display); letter-spacing: .02em; color: var(--gold); white-space: nowrap; }
.brand-tag { font: 700 10px/1 var(--body); letter-spacing: .14em; color: var(--text); margin-top: 3px; }

.pill {
  display: flex; gap: 4px; padding: 6px;
  background: rgba(40, 36, 32, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
}
.pill a {
  font: 15px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  color: #d8cfc4; padding: 12px 20px; border-radius: 999px;
  transition: background .25s, color .25s;
}
.pill a:hover { background: rgba(255,255,255,.08); color: #fff; }
.topbar > .btn { justify-self: end; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 18px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border-radius: 6px; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { padding: 14px 22px; font-size: 16px; }
.btn-lg { padding: 20px 32px; }
.btn-solid { background: var(--gold); color: #120d05; box-shadow: 0 10px 40px -10px rgba(222,162,54,.7); }
.btn-solid:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(222,162,54,.85); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn:focus-visible, .pill a:focus-visible, summary:focus-visible, .copy:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- Type ---------- */
.eyebrow {
  font: 22px/1 var(--display); letter-spacing: .03em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.mega {
  font: clamp(64px, 10.5vw, 190px)/.86 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
  margin: 0; color: var(--text);
}
.mega-md { font-size: clamp(56px, 9vw, 140px); }
.mega-xl { font-size: clamp(110px, 18vw, 280px); line-height: .8; color: var(--gold); text-shadow: 0 0 80px rgba(222,162,54,.35); }
.mega .line { display: block; white-space: nowrap; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #d9cfc3; max-width: 620px; margin: 26px 0 0; }
.lead strong { color: var(--gold-hi); }

/* ---------- Stage light: one fixed backdrop, faded in and out by the scenes (main.js sets --gold-a / --ember-a) ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bd-gold { opacity: var(--gold-a, .9); }
.bd-ember { opacity: var(--ember-a, 0); }
.curtain {
  position: absolute; inset: -5% -5% 0; pointer-events: none;
  transition: opacity .15s linear;
  background:
    radial-gradient(ellipse 55% 60% at 50% 45%, var(--bg) 0%, rgba(5,5,5,.85) 45%, transparent 80%),
    radial-gradient(ellipse 70% 35% at 50% 105%, rgba(242,170,70,.75), transparent 70%),
    repeating-linear-gradient(90deg,
      rgba(222,162,54,0) 0px, rgba(222,162,54,.32) 46px, rgba(255,205,120,.5) 60px,
      rgba(184,98,27,.28) 80px, rgba(222,162,54,0) 120px, rgba(40,20,8,.0) 150px),
    linear-gradient(to bottom, #050505 0%, #2a1406 55%, #6b3a0f 100%);
  filter: blur(14px) saturate(1.1);
  animation: sway 14s ease-in-out infinite alternate;
}
.curtain::after { /* fade into the page at the top and bottom */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 22%, transparent 78%, rgba(5,5,5,.6) 100%);
}
.curtain-ember {
  background:
    radial-gradient(ellipse 45% 55% at 30% 50%, var(--bg) 0%, rgba(5,5,5,.8) 50%, transparent 85%),
    radial-gradient(ellipse 60% 45% at 75% 100%, rgba(222,110,40,.7), transparent 70%),
    repeating-linear-gradient(90deg,
      rgba(184,80,20,0) 0px, rgba(200,90,30,.3) 50px, rgba(240,140,60,.45) 66px, rgba(184,80,20,0) 130px),
    linear-gradient(to bottom, #050505, #2b0f05 60%, #5a210a);
}
@keyframes sway {
  from { transform: translateX(-1.5%) scaleY(1); }
  to   { transform: translateX(1.5%) scaleY(1.04); }
}

/* ---------- Scenes: a tall section whose frame sticks to the screen while main.js plays it with --p (0..1) ---------- */
.scene { position: relative; }
.frame {
  min-height: 100svh; display: grid; place-items: center; align-content: center;
  padding: 120px 0 100px; text-align: center; position: relative;
}
.layer { width: 100%; }
.anchor { position: absolute; top: 55%; }
.motion .scene { height: var(--len, 240svh); }
.motion .frame { position: sticky; top: 0; height: 100svh; min-height: 0; padding: 0; overflow: clip; grid-template: 100% / 100%; align-content: stretch; }
.motion .frame > .layer, .motion .frame > .nox-stage, .motion .frame > .nox-lead { grid-area: 1 / 1; }
.motion .scene-hero { --len: 250svh; }
.motion .scene-nox { --len: 280svh; }
.motion .scene-steps { --len: 340svh; }
.motion .scene-dl { --len: 170svh; }
.intertitle { padding-inline: 16px; }
.intertitle .lead { margin-inline: auto; }

/* scene 1 */
.hero-inner { display: flex; flex-direction: column; align-items: center; padding-inline: 16px; }
.hero-inner .lead { margin-inline: auto; }
.scene-hero .mega { position: relative; }
.motion .hero-inner {
  opacity: var(--h-o, 1);
  transform: translateY(calc(var(--h-y, 0) * 1px)) scale(var(--h-s, 1));
  filter: blur(calc(var(--h-b, 0) * 1px));
  visibility: var(--h-v, visible);
}
.motion .it-features {
  opacity: var(--i-o, 0);
  transform: scale(var(--i-s, .86));
  filter: blur(calc(var(--i-b, 12) * 1px));
}
.motion .scroll-hint { opacity: var(--hint, 1); }
.scene:not(.scene-hero) .scroll-hint { display: none; }
.hero-nox {
  /* stands to the left of the headline, which stays centred */
  position: absolute; right: 100%; bottom: .02em;
  height: 2.5em; width: auto; margin-right: .12em;
  filter: drop-shadow(0 .05em .06em rgba(0,0,0,.65)) drop-shadow(0 0 .4em rgba(222,162,54,.35));
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.meta { margin: 18px 0 0; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.scroll-hint {
  position: absolute; z-index: 1; left: 50%; bottom: 28px; transform: translateX(-50%);
  font: 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #bfb3a6;
}
.scroll-hint::after {
  content: ""; display: block; width: 1px; height: 34px; margin: 12px auto 0;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 30px;
  transition: transform .4s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%;
  background: radial-gradient(ellipse at 50% 100%, rgba(222,162,54,.28), transparent 65%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(222,162,54,.35); }
.card:hover::before { opacity: 1; }
.card h3 { font: 30px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 22px 0 12px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; position: relative; }
.icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(222,162,54,.12); border: 1px solid rgba(222,162,54,.25);
}
.icon svg, .note svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* scene 2: NOX zooms in from huge, then he rises in front of it */
.nox-title { align-self: center; }
.nox-title .mega-xl { font-size: clamp(150px, 30vw, 460px); line-height: .78; }
.nox-stage {
  width: min(380px, 70vw); height: auto; margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)) drop-shadow(0 0 70px rgba(222,140,54,.25));
}
.nox-lead { margin-inline: auto; padding-inline: 16px; }
.motion .nox-title {
  opacity: var(--n-o, 0); transform: scale(var(--n-s, 2.4)); filter: blur(calc(var(--n-b, 20) * 1px));
  align-self: start; margin-top: 10vh;
}
.motion .nox-title .mega-xl { font-size: min(30vw, 44vh); }
.motion .nox-stage {
  align-self: end; margin-bottom: 25vh; width: min(380px, 36vh, 70vw);
  opacity: var(--m-o, 0); transform: translateY(calc(var(--m-y, 60) * 1vh)) scale(var(--m-s, .85));
}
.motion .nox-lead { align-self: end; margin-bottom: 5vh; max-width: 680px; opacity: var(--l-o, 0); transform: translateY(calc((1 - var(--l-o, 0)) * 20px)); }

/* ---------- Our story (historia.html): Nox walks the path of past events. main.js places everything in px (--x, --ground...) ---------- */
.hist-stage, .hist-dialog, .hist-skip, .hist-year, .hist-list { display: none; }
.hist-head .mega { font-size: clamp(40px, 6.4vw, 96px); }
.hist-head .eyebrow { margin-bottom: 8px; font-size: 18px; }
.hist-phase {
  display: inline-block; margin-top: 14px; padding: 8px 14px;
  font: 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, var(--c1, #555), var(--c2, #222));
  border: 2px solid rgba(255,255,255,.9); border-radius: 4px; box-shadow: 0 8px 26px -8px var(--c2, #000);
}
.hist-phase:empty { display: none; }
.hist-phase.swap { animation: hist-swap .5s var(--ease); }
@keyframes hist-swap { from { transform: scale(1.3); opacity: 0; } to { transform: none; opacity: 1; } }

.motion .scene-history .frame { display: block; }
.motion .hist-head { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(70px, 10vh, 100px); padding-inline: 16px; pointer-events: none; }
.motion .hist-head .mega { font-size: clamp(36px, min(5.4vw, 9vh), 84px); }
.motion .hist-phase { margin-top: 10px; }
.motion .hist-year {
  display: block; position: absolute; z-index: 0; left: 50%; top: 52%;
  transform: translate(calc(-50% + var(--sky, 0px)), -50%);
  font: min(34vw, 46vh)/1 var(--display); color: rgba(255,244,230,.045); pointer-events: none;
}
.hist-year.swap { animation: hist-year 1s var(--ease); }
@keyframes hist-year { from { opacity: 0; letter-spacing: .12em; } to { opacity: 1; letter-spacing: 0; } }
.motion .hist-stage { display: block; position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hist-world { position: absolute; left: 0; top: 0; width: 0; height: 100%; will-change: transform; }
/* the path, and the golden trail Nox leaves on it */
.hist-world::before, .hist-world::after { content: ""; position: absolute; top: calc(var(--ground) - 1px); height: 2px; }
.hist-world::before { left: -2000px; width: 30000px; background: repeating-linear-gradient(90deg, rgba(255,240,220,.2) 0 10px, transparent 10px 20px); }
.hist-world::after {
  left: -2000px; width: calc(var(--trail, 0px) + 2000px); height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 1800px); box-shadow: 0 0 14px 1px rgba(242,192,98,.65);
}
.hist-stop {
  position: absolute; left: var(--x); top: calc(var(--ground) - var(--nox-h) - 22px - var(--logo-h));
  width: var(--logo-w); height: var(--logo-h); margin-left: calc(var(--logo-w) / -2);
  padding: 0; border: 0; background: none; cursor: pointer;
  transform: translateY(var(--bob, 0px)) scale(var(--s, .86)); transform-origin: 50% 100%;
  opacity: calc(.3 + .7 * var(--lit, .2));
  filter: saturate(calc(.25 + .75 * var(--lit, .2))) brightness(calc(.65 + .35 * var(--lit, .2)));
}
.hist-stop img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.6)); }
.hist-glow {
  position: absolute; inset: -18% -10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,220,160,.45), rgba(222,162,54,.16) 55%, transparent);
  opacity: calc(var(--lit, .2) * .3); transition: opacity .5s;
}
.hist-stop.on .hist-glow { opacity: 1; animation: hist-glow 2.6s ease-in-out infinite; }
@keyframes hist-glow { 50% { transform: scale(1.08); opacity: .75; } }
.hist-mystery { position: relative; display: grid; place-items: center; height: 100%; font: calc(var(--logo-h) * .75)/1 var(--display); color: var(--gold); text-shadow: 0 0 40px rgba(222,162,54,.6); }
.hist-dot {
  position: absolute; left: var(--x); top: var(--ground); width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(222,162,54,.15); transition: transform .3s var(--ease), box-shadow .3s;
}
.hist-dot.on { transform: scale(1.7); box-shadow: 0 0 18px 4px rgba(242,192,98,.75); }
.hist-when {
  position: absolute; left: var(--x); top: calc(var(--ground) + 16px); transform: translateX(-50%);
  font: 14px/1 var(--display); letter-spacing: .08em; color: #d9cfc3; white-space: nowrap;
}
.hist-gate {
  position: absolute; z-index: 1; left: var(--x); top: var(--ground); transform: translate(-50%, -50%);
  padding: 7px 12px; font: 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; white-space: nowrap;
  background: linear-gradient(90deg, var(--c1), var(--c2)); border: 2px solid rgba(255,255,255,.9); border-radius: 4px;
}
.hist-gate::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 38vh; background: linear-gradient(transparent, rgba(255,240,220,.22)); }
.hist-nox {
  position: absolute; z-index: 2; left: 0; top: calc(var(--ground) - var(--nox-h) * .992);
  width: var(--nox-w); height: var(--nox-h); will-change: transform;
  filter: drop-shadow(0 0 10px rgba(222,162,54,.5));
}
.hist-nox-sprite { position: absolute; inset: 0; background-repeat: no-repeat; transform-origin: 50% 100%; }
.hist-nox.left .hist-nox-sprite { transform: scaleX(-1); }

/* Nox's dialogue box, under him: the camera keeps him in the middle of the screen */
.motion .hist-dialog {
  display: flex; align-items: center; gap: 16px;
  position: absolute; z-index: 3; left: 50%; top: calc(var(--ground) + 52px); transform: translateX(-50%);
  width: min(760px, calc(100% - 32px)); padding: 14px 22px 14px 14px; text-align: left;
  background: rgba(15,13,11,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(222,162,54,.32); border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
  transition: opacity .35s var(--ease);
}
.hist-dialog::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; margin-left: -9px;
  border: 9px solid transparent; border-bottom-color: rgba(222,162,54,.45);
}
.hist-dialog.walking { opacity: .45; }
.hist-dialog.pop { animation: hist-pop .45s var(--ease); }
@keyframes hist-pop { from { transform: translateX(-50%) translateY(10px) scale(.97); } to { transform: translateX(-50%); } }
.hist-who { flex: none; display: grid; justify-items: center; gap: 2px; }
.hist-who img { width: 52px; height: auto; filter: drop-shadow(0 0 8px rgba(222,162,54,.4)); }
.hist-who span { font: 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hist-text { flex: 1; min-width: 0; }
.hist-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font: 24px/1.05 var(--display); text-transform: uppercase; }
.hist-count { flex: none; font: 600 13px/1 var(--body); color: var(--muted); }
.hist-dialog .hist-meta { margin: 4px 0 6px; font-size: 13px; color: var(--muted); }
.hist-dialog .hist-quote { margin: 0; min-height: 3.1em; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; color: var(--text); }
.motion .hist-skip {
  display: block; position: absolute; z-index: 3; right: 24px; bottom: 18px;
  font: 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #bfb3a6;
}
.hist-skip:hover { color: var(--gold-hi); }

/* reduced motion: a plain list of the events */
.hist-static .hist-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px;
  width: min(1180px, 100% - 48px); margin: 40px auto 0; padding: 0; list-style: none; text-align: left;
}
.hist-list li { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.hist-list img { width: 100%; height: 130px; object-fit: contain; }
.hist-list h3 { font: 26px/1 var(--display); text-transform: uppercase; margin: 16px 0 6px; }
.hist-list .hist-meta { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.hist-list .hist-quote { margin: 0; color: #d9cfc3; }

/* the companion at the bottom steps aside while Nox walks the story */
.nox { transition: opacity .4s var(--ease); }
.nox.away { opacity: 0; pointer-events: none; }
.nox.away * { pointer-events: none; }

.hist-end { text-align: center; }
.hist-end .lead { margin-inline: auto; }

/* ---------- Steps (scene 3) ---------- */
.steps-wrap { text-align: left; }
.steps-head { margin-bottom: clamp(36px, 5vw, 60px); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { border-top: 1px solid var(--line); padding-top: 28px; }
.step-bar { display: none; }
.motion .steps { display: grid; grid-template-columns: 1fr; }
.motion .step {
  grid-area: 1 / 1; border-top: 0; padding-top: 0; display: grid; grid-template-columns: auto 1fr; column-gap: clamp(24px, 4vw, 60px); align-items: center;
  opacity: var(--o, 0); transform: translateY(calc(var(--y, 0) * 1px)); filter: blur(calc(var(--b, 0) * 1px));
}
.motion .step .num { grid-row: 1 / 3; margin: 0; font-size: clamp(120px, 20vw, 300px); color: rgba(222,162,54,.12); }
.motion .step h3 { font-size: clamp(36px, 5vw, 64px); align-self: end; }
.motion .step p { font-size: clamp(17px, 1.6vw, 20px); max-width: 460px; align-self: start; }
.motion .step-bar { display: flex; gap: 8px; margin-top: clamp(30px, 5vh, 56px); max-width: 360px; }
.step-bar i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; position: relative; }
.step-bar i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--f, 0)); }
.num {
  display: block; font: clamp(90px, 10vw, 150px)/.8 var(--display);
  color: transparent; -webkit-text-stroke: 1.5px rgba(222,162,54,.75);
  margin-bottom: 26px;
  transition: color .5s var(--ease);
}
.step:hover .num { color: rgba(222,162,54,.18); }
.step h3 { font: 32px/1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.step p { margin: 0; color: var(--muted); max-width: 340px; }

/* ---------- Download (scene 4 + card) ---------- */
.mega-dl { font-size: clamp(70px, 13vw, 220px); }
.motion .scene-dl .intertitle { opacity: var(--d-o, 0); transform: scale(var(--d-s, 1.9)); filter: blur(calc(var(--d-b, 18) * 1px)); }
.download { padding-top: 0; }
.dl-card {
  max-width: 880px; margin: 0 auto;
  background: rgba(15, 13, 11, .78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(222,162,54,.22); border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.dl-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.dl-top img { width: 72px; height: 72px; border-radius: 16px; }
.dl-top h3 { font: 34px/1 var(--display); text-transform: uppercase; margin: 0 0 6px; }
.dl-top p { margin: 0; font-size: 15px; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 30px 0 0; }
.specs div { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.specs dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.hash {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  background: rgba(0,0,0,.4); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 10px 16px;
}
.hash-label { font-size: 12px; letter-spacing: .1em; color: var(--gold); font-weight: 700; flex: none; }
.hash code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cfc4b7; font-size: 13px; }
.copy {
  flex: none; font: 600 13px/1 var(--body); color: var(--text); cursor: pointer;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px;
  transition: background .2s;
}
.copy:hover { background: rgba(255,255,255,.14); }
.copy.done { background: var(--gold); color: #120d05; }
.note { display: flex; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: rgba(222,162,54,.07); border: 1px solid rgba(222,162,54,.18); }
.note svg { flex: none; margin-top: 2px; width: 22px; height: 22px; }
.note p { margin: 0; font-size: 15px; color: #d9cfc3; }
.note strong { color: var(--text); }
.terms { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.terms a, .footer-links a { color: #d9cfc3; text-underline-offset: 3px; }
.terms a:hover, .footer-links a:hover { color: var(--gold-hi); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  font: clamp(22px, 2.6vw, 30px)/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em;
  padding: 28px 56px 28px 0;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 34px/1 var(--body); color: var(--gold); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -8px 0 28px; color: var(--muted); max-width: 680px; }
.faq code { color: #e8d9c6; background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 5px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 150px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer img { width: 122px; height: auto; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.disclaimer { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.disclaimer p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.6; color: #8a8178; }
.disclaimer strong { color: #b9afa4; font-weight: 600; letter-spacing: .01em; }
.disclaimer span[lang] { display: block; }

/* ---------- Nox, the walking companion ---------- */
.nox {
  position: fixed; left: 0; bottom: 0; z-index: 40;
  width: var(--nw, 100px); height: var(--nh, 110px);
  pointer-events: none; will-change: transform;
}
.nox-sprite {
  position: absolute; inset: 0; cursor: pointer; pointer-events: auto;
  background-repeat: no-repeat;
  transform-origin: 50% 100%;
}
.nox.left .nox-sprite { transform: scaleX(-1); }
.nox-bubble {
  position: absolute; left: 50%; bottom: calc(100% - 6px);
  transform: translate(-50%, 8px) scale(.9); transform-origin: 50% 100%;
  padding: 9px 14px; border-radius: 14px; white-space: nowrap;
  background: var(--text); color: #120d05; font: 600 14px/1.2 var(--body);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nox-bubble::after {
  content: ""; position: absolute; left: 50%; top: 100%; margin-left: -7px;
  border: 7px solid transparent; border-top-color: var(--text);
}
.nox-bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.nox-close {
  position: absolute; right: -4px; top: 6px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(20,18,16,.9); color: var(--muted);
  font: 16px/1 var(--body); cursor: pointer; pointer-events: auto;
  opacity: 0; transition: opacity .2s;
}
.nox:hover .nox-close { opacity: 1; }
.nox-close:hover { color: var(--text); }

/* ---------- Reveal on scroll: content rises out of a blur ---------- */
.js .reveal { opacity: 0; transform: translateY(46px) scale(.97); filter: blur(10px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .mega.reveal { transform: translateY(36px) scale(.96); }
.js .mega.reveal.in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .brand-tag { display: none; }
  .pill a { padding: 12px 14px; }
}
@media (max-width: 1100px) {
  .hero-nox { position: static; display: block; height: 1.6em; margin: 0 auto .08em; }
}
@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .pill { display: none; }
}
@media (max-width: 960px) {
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .pill { display: none; }
  .brand-tag { display: none; }
  .brand-name { font-size: 22px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .grid, .steps { grid-template-columns: 1fr; }
  .motion .step { grid-template-columns: 1fr; }
  .motion .step .num { grid-row: auto; font-size: 34vw; margin-bottom: 10px; }
  .mega { font-size: clamp(46px, 14.5vw, 90px); }
  .mega-md { font-size: clamp(46px, 13vw, 80px); }
  .mega .line { white-space: normal; }
  .scene-hero .mega { font-size: 12vw; }
  .scene-hero .mega .line { white-space: nowrap; }
  .hero-nox { height: 2.7em; }
  .scroll-hint { display: none; }
  .eyebrow { font-size: 18px; }
  .btn-lg { width: 100%; }
  .cta-row { width: 100%; }
  .dl-top { grid-template-columns: auto 1fr; }
  .dl-top .btn { grid-column: 1 / -1; }
  .specs { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .disclaimer { text-align: center; }
  .nox-title .mega-xl { font-size: 42vw; }
  .nox { --nw: 76px; --nh: 84px; }
  .nox-bubble { font-size: 13px; }
}
/* short screens (1366x768 laptops): the hint would sit on top of "Gratis · Windows 10 y 11 · 27 MB" */
@media (max-height: 860px) {
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal page ---------- */
.legal { padding: 150px 0 60px; }
.legal .lead { margin-top: 14px; font-size: 15px; color: var(--muted); }
.legal section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal h2 { font: clamp(34px, 4.5vw, 52px)/1 var(--display); text-transform: uppercase; margin: 0 0 18px; color: var(--text); }
.legal h3 { font: 600 17px/1.3 var(--body); margin: 26px 0 8px; color: var(--gold-hi); }
.legal p, .legal li { color: #d2c8bc; font-size: 16px; }
.legal ul { padding-left: 20px; margin: 0; }
.legal li { margin: 6px 0; }
.legal a:not(.btn) { color: var(--gold-hi); text-underline-offset: 3px; }
.callout { margin-top: 34px; padding: 18px 20px; border-radius: 14px; background: rgba(222,162,54,.07); border: 1px solid rgba(222,162,54,.22); font-size: 14px; line-height: 1.6; }
.callout span { display: block; color: var(--muted); }
.back { margin-top: 56px; }
.copy-line { margin: 0; font-size: 14px; }
.motion .intertitle, .motion .nox-title, .motion .nox-stage, .motion .nox-lead { pointer-events: none; }
.anchor-top { top: 0; }
