/* Collector's Pocket Book: hero sections with depth and motion (driven by assets/hero.js).
   Shared stage on every .hero: drifting aurora, a 3D grid floor, dust that links up like the
   network, and a cursor spotlight. Each page adds its own 3D centerpiece in .hx-visual.
   Everything that starts hidden for an animation is inside (prefers-reduced-motion: no-preference),
   so a calm-motion visitor gets the finished, still picture. */

:root {
  --hx-a: rgba(20, 184, 166, 0.34);
  --hx-b: rgba(99, 102, 241, 0.30);
  --hx-c: rgba(234, 179, 8, 0.14);
  --hx-line: rgba(45, 212, 191, 0.26);
  --hx-dust: 94, 234, 212;
  --hx-glass: rgba(15, 23, 42, 0.78);
  --hx-glass-2: rgba(30, 41, 59, 0.72);
  --hx-edge: rgba(148, 163, 184, 0.24);
  --hx-lift: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}
:root[data-theme="light"] {
  --hx-a: rgba(20, 184, 166, 0.24);
  --hx-b: rgba(99, 102, 241, 0.18);
  --hx-c: rgba(234, 179, 8, 0.16);
  --hx-line: rgba(13, 148, 136, 0.22);
  --hx-dust: 13, 148, 136;
  --hx-glass: rgba(255, 255, 255, 0.86);
  --hx-glass-2: rgba(241, 245, 249, 0.9);
  --hx-edge: rgba(15, 23, 42, 0.12);
  --hx-lift: 0 40px 70px -34px rgba(15, 23, 42, 0.38);
}

/* ---------- The stage every hero shares ---------- */
.hero { isolation: isolate; }
.hero > .wrap { position: relative; z-index: 2; }
.hx-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hx-fx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, var(--bg)); }
.hx-aurora i {
  position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
  background: radial-gradient(closest-side, var(--hx-a), transparent 72%); will-change: transform;
}
.hx-aurora i:nth-child(1) { left: -22vmax; top: -30vmax; }
.hx-aurora i:nth-child(2) { right: -24vmax; top: -14vmax; background: radial-gradient(closest-side, var(--hx-b), transparent 72%); }
.hx-aurora i:nth-child(3) { left: 28%; bottom: -44vmax; background: radial-gradient(closest-side, var(--hx-c), transparent 72%); }
.hx-floor {
  position: absolute; left: -60%; right: -60%; bottom: 0; height: 58%; overflow: hidden;
  transform-origin: 50% 100%; transform: perspective(460px) rotateX(66deg);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 40%, transparent 92%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 40%, transparent 92%);
}
.hx-floor::before {
  content: ""; position: absolute; left: 0; right: 0; top: -60px; bottom: 0;
  background-image: linear-gradient(var(--hx-line) 1px, transparent 1px), linear-gradient(90deg, var(--hx-line) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hx-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-spot {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), color-mix(in srgb, var(--brand-500) 13%, transparent), transparent 62%);
}
.hero.hx-hover .hx-spot { opacity: 1; }

/* Copy side */
.hero h1 { text-wrap: balance; }
.hero h1 .grad { filter: drop-shadow(0 8px 34px color-mix(in srgb, var(--brand-500) 38%, transparent)); padding-right: .06em; }
:root[data-theme="light"] .hero h1 .grad { filter: none; }
.hero .lead { text-wrap: pretty; }
.hero .btn { transition: translate .3s cubic-bezier(.2, .8, .2, 1), transform .15s ease, background .15s ease, border-color .15s ease; }
.hero .btn-primary { position: relative; overflow: hidden; box-shadow: 0 14px 44px -14px color-mix(in srgb, var(--brand-500) 80%, transparent); }
.hero .btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-130%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
}
.hero .btn-ghost { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.hx-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap;
  background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--border-strong);
}
.hx-chip svg { width: 14px; height: 14px; color: var(--brand-500); flex: none; }
.center .hx-chips { justify-content: center; }

/* Two columns: words left, the 3D piece right (stacks on phones). */
.hx-grid { display: grid; gap: 28px; align-items: center; position: relative; }
@media (min-width: 980px) { .hx-grid { grid-template-columns: 1.02fr .98fr; gap: 48px; } }
.hx-grid > * { min-width: 0; }

/* ---------- 3D stage ---------- */
.hx-visual { position: relative; min-width: 0; }
.hx-stage { position: relative; height: 480px; perspective: 1100px; perspective-origin: 50% 40%; }
.hx-rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hx-l { position: absolute; transform-style: preserve-3d; }
.hx-glass {
  background: var(--hx-glass); border: 1px solid var(--hx-edge); border-radius: 16px;
  box-shadow: var(--hx-lift), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.hx-tagcard { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; white-space: nowrap; }
.hx-tagcard .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--brand-500) 16%, transparent); color: var(--brand-500); }
.hx-tagcard .ic.amber { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.hx-tagcard .ic.indigo { background: color-mix(in srgb, var(--indigo) 18%, transparent); color: #818cf8; }
.hx-tagcard .ic svg { width: 17px; height: 17px; }
.hx-tagcard b { display: block; font-size: 13px; color: var(--text-strong); line-height: 1.2; }
.hx-tagcard span { display: block; font-size: 11.5px; color: var(--text-faint); line-height: 1.3; }

/* ---------- Home: the vault, tilted, with pieces floating off it ---------- */
.hx-home .hx-stage { height: 520px; }
.hx-home .hx-device { left: 57%; top: 50%; width: min(420px, 86%); transform: translate(-50%, -50%) translateZ(0); }
.hx-home .hx-device .device { max-width: none; box-shadow: var(--hx-lift), 0 0 0 1px color-mix(in srgb, var(--brand-500) 22%, transparent), 0 0 90px -20px color-mix(in srgb, var(--brand-500) 40%, transparent); }
.hx-home .piece { position: relative; overflow: hidden; }
.hx-beam { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.hx-beam::before { content: ""; position: absolute; top: 0; bottom: 0; width: 34%; left: -40%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand-500) 32%, transparent), transparent); }
.hx-beam::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-500) 55%, transparent); }
.hx-home .hx-slab { left: -3%; top: 1%; transform: translateZ(130px) rotateZ(-9deg); }
.hx-home .hx-f1 { right: 0; top: 12%; transform: translateZ(90px); }
.hx-home .hx-f2 { left: -3%; bottom: 7%; transform: translateZ(110px); }
.hx-home .hx-f3 { right: 3%; bottom: 3%; transform: translateZ(70px); }
.hx-slabcard {
  width: 116px; height: 172px; border-radius: 13px; padding: 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .07));
  border: 1px solid rgba(255, 255, 255, .38); box-shadow: var(--hx-lift);
}
:root[data-theme="light"] .hx-slabcard { background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(226, 232, 240, .9)); border-color: rgba(15, 23, 42, .14); }
.hx-slab-label { height: 30px; border-radius: 6px; background: #f8fafc; color: #0f172a; display: flex; align-items: center; justify-content: space-between; padding: 0 7px; font-size: 8.5px; font-weight: 800; letter-spacing: .04em; line-height: 1.1; }
.hx-slab-label strong { font-size: 15px; font-weight: 900; color: #b91c1c; }
.hx-slab-art { position: relative; overflow: hidden; margin-top: 6px; height: calc(100% - 36px); border-radius: 8px; background: radial-gradient(circle at 70% 28%, #fde68a 0 16%, transparent 17%), linear-gradient(150deg, #dc2626, #f97316 45%, #eab308); }
.hx-slab-art::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 64%; border-radius: 48% 48% 0 0; background: linear-gradient(180deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .92)); }
.hx-slab-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, .55) 38%, rgba(94, 234, 212, .45) 46%, rgba(129, 140, 248, .4) 54%, transparent 68%); background-size: 260% 100%; background-position: 100% 0; mix-blend-mode: screen; }
.hx-slab-num { position: absolute; left: 8px; bottom: 6px; z-index: 1; font-size: 11px; font-weight: 900; color: #fff; letter-spacing: .02em; }

/* ---------- Pricing: a fan of plan cards ---------- */
.hx-price .hx-stage { height: 470px; }
.hx-pc { left: 50%; top: 50%; width: 214px; margin: -142px 0 0 -107px; }
.hx-pc-a { transform: translate3d(-196px, 46px, -150px) rotateY(26deg) rotateZ(-10deg); }
.hx-pc-b { transform: translate3d(196px, 46px, -150px) rotateY(-26deg) rotateZ(10deg); }
.hx-pc-c { transform: translate3d(0, -128px, -260px); }
.hx-pc-d { transform: translate3d(0, 26px, 70px); }
.hx-pcard { position: relative; overflow: hidden; padding: 20px 20px 18px; border-radius: 22px; }
.hx-pcard small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); }
.hx-pcard .p { display: block; margin-top: 8px; font-size: 38px; font-weight: 900; letter-spacing: -.03em; color: var(--text-strong); line-height: 1; }
.hx-pcard .p em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-faint); letter-spacing: 0; margin-left: 3px; }
.hx-pcard ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.hx-pcard li { display: flex; gap: 7px; align-items: flex-start; line-height: 1.35; }
.hx-pcard li svg { width: 13px; height: 13px; flex: none; color: var(--brand-500); margin-top: 2px; }
.hx-pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .13) 45%, transparent 60%); background-size: 260% 100%; background-position: 100% 0; pointer-events: none; }
.hx-pcard.pro { border-color: color-mix(in srgb, var(--amber) 70%, transparent); box-shadow: var(--hx-lift), 0 0 0 1px color-mix(in srgb, var(--amber) 55%, transparent), 0 0 80px -16px color-mix(in srgb, var(--amber) 50%, transparent); }
.hx-pcard.pro small { color: var(--amber); }
.hx-pcard.biz small { color: #a5b4fc; }
:root[data-theme="light"] .hx-pcard.biz small { color: var(--indigo); }
.hx-pcard .hx-best { position: absolute; top: 16px; right: 16px; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #1c1400; background: var(--amber); padding: 4px 8px; border-radius: 999px; }
.hx-ring { left: 50%; top: 50%; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--brand-500) 35%, transparent); transform: translateY(150px) rotateX(78deg); }
.hx-ring::before { content: ""; position: absolute; inset: 38px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--indigo) 40%, transparent); }
.hx-ring i { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 18px 4px color-mix(in srgb, var(--brand-500) 70%, transparent); }
.hx-ring::after { content: ""; position: absolute; inset: 120px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-500) 40%, transparent), transparent); }

/* ---------- How it works: a live scan, step by step ---------- */
.hx-how .hx-stage { height: 470px; }
.hx-scan { left: 4%; top: 50%; width: min(330px, 62%); transform: translateY(-50%) translateZ(0) rotateY(10deg); }
.hx-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .5) 0 9%, transparent 10%), linear-gradient(160deg, #4f46e5, #0d9488 60%, #0f172a); box-shadow: var(--hx-lift); border: 1px solid var(--hx-edge); }
.hx-photo::before { content: "No. 300"; position: absolute; left: 14px; top: 12px; font-size: 22px; font-weight: 900; font-style: italic; color: #fff; letter-spacing: -.02em; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.hx-photo::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -6%; height: 62%; border-radius: 50% 50% 8px 8px; background: linear-gradient(180deg, rgba(2, 6, 23, .55), rgba(2, 6, 23, .92)); }
.hx-corners { position: absolute; inset: 14px; z-index: 2; pointer-events: none; }
.hx-corners i { position: absolute; width: 26px; height: 26px; border: 3px solid var(--brand-500); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--brand-500) 80%, transparent)); }
.hx-corners i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.hx-corners i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.hx-corners i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.hx-corners i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.hx-laser { position: absolute; left: 8px; right: 8px; top: 14%; height: 2px; z-index: 3; background: var(--brand-500); box-shadow: 0 0 16px 3px color-mix(in srgb, var(--brand-500) 80%, transparent); opacity: 0; }
.hx-readout { position: absolute; left: 50%; bottom: -26px; z-index: 4; transform: translateX(-50%) translateZ(60px); width: 88%; padding: 12px 14px; text-align: left; }
.hx-readout small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-500); }
.hx-readout b { display: block; margin-top: 3px; font-size: 14px; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-steps { right: 2%; top: 50%; width: min(250px, 42%); transform: translateY(-50%) translateZ(80px); list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hx-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--hx-glass); border: 1px solid var(--hx-edge); font-size: 13px; font-weight: 600; color: var(--text-muted); transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .4s ease, color .4s ease, box-shadow .4s ease; }
.hx-steps li b { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--text-faint); border: 1px solid var(--border-strong); transition: all .4s ease; }
.hx-steps li.on { color: var(--text-strong); border-color: color-mix(in srgb, var(--brand-500) 60%, transparent); transform: translateX(-12px) translateZ(30px); box-shadow: var(--hx-lift), 0 0 40px -12px color-mix(in srgb, var(--brand-500) 70%, transparent); }
.hx-steps li.on b { background: var(--brand-500); border-color: var(--brand-500); color: #021b18; }
.hx-steps li.done b { color: var(--brand-500); border-color: color-mix(in srgb, var(--brand-500) 50%, transparent); }

/* ---------- The Nexus: a globe of members (canvas) ---------- */
.hx-net .hx-stage { height: 500px; perspective: none; }
.hx-net .hx-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 82%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-500) 22%, transparent), color-mix(in srgb, var(--indigo) 10%, transparent) 60%, transparent 72%); }
.hx-globe { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hx-globe:active { cursor: grabbing; }
.hx-node { position: absolute; left: var(--x); top: var(--y); z-index: 2; pointer-events: none; }

/* ---------- FAQ: questions floating in depth ---------- */
.hx-faq .hx-stage { height: 440px; }
.hx-qmark { left: 50%; top: 50%; width: 0; height: 0; transform: translateZ(-160px); }
.hx-qmark span { position: absolute; left: 0; top: 0; transform: translate(-50%, -54%) translateZ(calc(var(--i) * 3px)); font-size: 320px; font-weight: 900; line-height: 1; color: color-mix(in srgb, var(--brand-500) calc(8% + var(--i) * 2%), var(--bg)); }
.hx-qmark span:last-child { color: transparent; background: linear-gradient(140deg, var(--brand-500), var(--indigo)); -webkit-background-clip: text; background-clip: text; opacity: .55; }
.hx-bubble { max-width: 250px; padding: 12px 15px; font-size: 14px; line-height: 1.4; }
.hx-bubble.q { color: var(--text-strong); font-weight: 700; border-radius: 18px 18px 18px 6px; }
.hx-bubble.a { color: var(--text-muted); border-radius: 18px 18px 6px 18px; background: color-mix(in srgb, var(--brand-500) 16%, var(--hx-glass)); border-color: color-mix(in srgb, var(--brand-500) 40%, transparent); }
.hx-bubble.a strong { color: var(--text-strong); }
.hx-faq .b1 { left: 2%; top: 6%; transform: translateZ(60px); }
.hx-faq .b2 { right: 2%; top: 22%; transform: translateZ(120px); }
.hx-faq .b3 { left: 6%; top: 46%; transform: translateZ(90px); }
.hx-faq .b4 { right: 4%; top: 60%; transform: translateZ(40px); }
.hx-faq .b5 { left: 12%; bottom: 2%; transform: translateZ(140px); }

/* ---------- About: the vault dial ---------- */
.hx-about .hx-stage { height: 440px; }
.hx-gyro { left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.hx-gyro > i { position: absolute; left: 0; top: 0; border-radius: 50%; transform-style: preserve-3d; }
.hx-gyro > i::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 18px 4px currentColor; }
.hx-gyro .r1 { width: 340px; height: 340px; margin: -170px; border: 2px solid color-mix(in srgb, var(--brand-500) 60%, transparent); color: var(--brand-500); transform: rotateX(72deg); }
.hx-gyro .r2 { width: 280px; height: 280px; margin: -140px; border: 2px solid color-mix(in srgb, var(--indigo) 60%, transparent); color: #818cf8; transform: rotateY(68deg); }
.hx-gyro .r3 { width: 220px; height: 220px; margin: -110px; border: 2px dashed color-mix(in srgb, var(--amber) 60%, transparent); color: var(--amber); transform: rotateX(30deg) rotateY(-40deg); }
.hx-gyro .r4 { width: 400px; height: 400px; margin: -200px; border: 1px solid var(--hx-edge); transform: rotateX(90deg); }
.hx-core { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px; border-radius: 32px; display: grid; place-items: center; background: var(--hx-glass); border: 1px solid var(--hx-edge); box-shadow: var(--hx-lift), 0 0 90px -10px color-mix(in srgb, var(--brand-500) 60%, transparent); transform: translateZ(40px); }
.hx-core img { width: 70px; height: 70px; border-radius: 18px; }
.hx-about .hx-tag1 { left: 0; top: 14%; transform: translateZ(110px); }
.hx-about .hx-tag2 { right: 0; bottom: 12%; transform: translateZ(90px); }

/* ---------- Legal pages: a quiet glow at the top ---------- */
.hx-legal { isolation: isolate; overflow: hidden; }
.hx-legal::before, .hx-legal::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 60vmax; height: 60vmax; border-radius: 50%; top: -40vmax; }
.hx-legal::before { left: -20vmax; background: radial-gradient(closest-side, var(--hx-a), transparent 72%); }
.hx-legal::after { right: -24vmax; top: -34vmax; background: radial-gradient(closest-side, var(--hx-b), transparent 72%); }

/* ---------- Phones and tablets ---------- */
@media (max-width: 979px) {
  .hx-grid { text-align: left; }
  .hx-stage { height: 420px; }
  .hx-home .hx-stage { height: 470px; }
}
@media (max-width: 560px) {
  .hx-stage, .hx-price .hx-stage, .hx-how .hx-stage, .hx-faq .hx-stage, .hx-about .hx-stage { height: 360px; }
  .hx-home .hx-stage { height: 520px; }
  .hx-net .hx-stage { height: 340px; }
  .hx-home .hx-device { width: 92%; left: 50%; top: 47%; }
  .hx-home .hx-slab { display: none; }
  .hx-home .hx-f1 { right: -1%; top: 0; transform: translateZ(90px) scale(.86); transform-origin: 100% 0; }
  .hx-home .hx-f2 { left: -1%; bottom: 0; transform: translateZ(110px) scale(.86); transform-origin: 0 100%; }
  .hx-home .hx-f3 { display: none; }
  .hx-pc { margin-top: -132px; }
  .hx-pc-a { transform: translate3d(-92px, 30px, -110px) rotateY(20deg) rotateZ(-9deg) scale(.78); }
  .hx-pc-b { transform: translate3d(92px, 30px, -110px) rotateY(-20deg) rotateZ(9deg) scale(.78); }
  .hx-pc-c { transform: translate3d(0, -70px, -230px) scale(.8); }
  .hx-pc-d { transform: translate3d(0, 20px, 70px) scale(.86); }
  .hx-ring { width: 330px; height: 330px; margin: -165px 0 0 -165px; transform: translateY(120px) rotateX(78deg); }
  .hx-scan { left: 0; width: 56%; }
  .hx-steps { width: 48%; right: 0; gap: 7px; }
  .hx-steps li { padding: 8px 9px; font-size: 11.5px; gap: 7px; }
  .hx-steps li b { width: 22px; height: 22px; font-size: 10px; }
  .hx-steps li.on { transform: translateX(-6px) translateZ(30px); }
  .hx-readout { width: 104%; padding: 10px 11px; }
  .hx-readout b { font-size: 12.5px; }
  .hx-photo::before { font-size: 17px; }
  .hx-node .hx-tagcard { padding: 6px 10px 6px 6px; }
  .hx-node .hx-tagcard .ic { width: 26px; height: 26px; }
  .hx-node .hx-tagcard span { display: none; }
  .hx-qmark span { font-size: 230px; }
  .hx-bubble { max-width: 200px; font-size: 12.5px; padding: 10px 12px; }
  .hx-gyro { transform: scale(.74); }
  .hx-about .hx-tagcard span { display: none; }
  .hx-about .hx-tag1 { left: 3%; top: 8%; }
  .hx-about .hx-tag2 { right: 3%; }
}

/* ---------- Motion (only for visitors who haven't asked for less) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hx-fx { animation: hx-in 1.4s ease both; }
  .hx-aurora i:nth-child(1) { animation: hx-drift 22s ease-in-out infinite alternate; }
  .hx-aurora i:nth-child(2) { animation: hx-drift 28s ease-in-out -6s infinite alternate-reverse; }
  .hx-aurora i:nth-child(3) { animation: hx-drift 34s ease-in-out -12s infinite alternate; }
  .hx-floor::before { animation: hx-floor 2.6s linear infinite; }
  .hero .btn-primary::after { animation: hx-shine 5s ease-in-out 1.8s infinite; }
  .hx-rig.hx-sway { animation: hx-sway 11s ease-in-out infinite; }
  .hx-bob { animation: hx-bob 6s ease-in-out infinite; }
  .hx-l:nth-child(2n) .hx-bob { animation-duration: 7.5s; animation-delay: -2s; }
  .hx-l:nth-child(3n) .hx-bob { animation-duration: 8.5s; animation-delay: -4s; }
  .hx-beam::before { animation: hx-beam 2.8s ease-in-out infinite; }
  .hx-beam { animation: hx-blink 2.8s ease-in-out infinite; }
  .hx-slab-art::after, .hx-pcard::after { animation: hx-holo 5s ease-in-out infinite; }
  .spark path { stroke-dasharray: 420; animation: hx-draw 2.2s .5s cubic-bezier(.2, .8, .2, 1) both; }
  .hx-ring { animation: hx-ring 18s linear infinite; }
  .hx-scan[data-step="1"] .hx-laser { opacity: 1; animation: hx-laser 1.8s ease-in-out infinite; }
  .hx-readout b.hx-swap { animation: hx-swap .5s cubic-bezier(.2, .8, .2, 1); }
  .hx-gyro .r1 { animation: hx-r1 14s linear infinite; }
  .hx-gyro .r2 { animation: hx-r2 11s linear infinite; }
  .hx-gyro .r3 { animation: hx-r3 18s linear infinite; }
  .hx-core { animation: hx-core 6s ease-in-out infinite; }
  .hx-qmark { animation: hx-qm 12s ease-in-out infinite; }
  .hx-legal::before { animation: hx-drift 24s ease-in-out infinite alternate; }
  .hx-legal::after { animation: hx-drift 30s ease-in-out -8s infinite alternate-reverse; }
  /* Paused while the hero is off screen or the tab is hidden (hero.js). */
  .hero.hx-off *, .hero.hx-off *::before, .hero.hx-off *::after { animation-play-state: paused !important; }
}
@keyframes hx-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hx-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(7vmax, 4vmax, 0) scale(1.12); } 100% { transform: translate3d(-5vmax, 8vmax, 0) scale(.92); } }
@keyframes hx-floor { to { transform: translateY(60px); } }
@keyframes hx-shine { 0%, 62% { transform: translateX(-130%); } 88%, 100% { transform: translateX(130%); } }
@keyframes hx-sway { 0%, 100% { transform: rotateX(4deg) rotateY(-9deg); } 50% { transform: rotateX(-3deg) rotateY(9deg); } }
@keyframes hx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes hx-beam { 0% { left: -40%; } 60%, 100% { left: 110%; } }
@keyframes hx-blink { 0%, 100% { opacity: 1; } 70% { opacity: .35; } }
@keyframes hx-holo { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes hx-draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes hx-ring { from { transform: translateY(150px) rotateX(78deg) rotateZ(0); } to { transform: translateY(150px) rotateX(78deg) rotateZ(360deg); } }
@keyframes hx-laser { 0%, 100% { top: 10%; } 50% { top: 86%; } }
@keyframes hx-swap { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hx-r1 { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes hx-r2 { from { transform: rotateY(68deg) rotateZ(0); } to { transform: rotateY(68deg) rotateZ(-360deg); } }
@keyframes hx-r3 { from { transform: rotateX(30deg) rotateY(-40deg) rotateZ(0); } to { transform: rotateX(30deg) rotateY(-40deg) rotateZ(360deg); } }
@keyframes hx-core { 0%, 100% { transform: translateZ(40px) rotateY(-14deg); } 50% { transform: translateZ(60px) rotateY(14deg); } }
@keyframes hx-qm { 0%, 100% { transform: translateZ(-160px) rotateY(-16deg); } 50% { transform: translateZ(-160px) rotateY(16deg); } }
@media (max-width: 560px) {
  @keyframes hx-ring { from { transform: translateY(120px) rotateX(78deg) rotateZ(0); } to { transform: translateY(120px) rotateX(78deg) rotateZ(360deg); } }
}
