/* Gains Global Markets — landing page */

:root {
  --bg: #050505;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(212, 166, 58, 0.18);
  --line-soft: rgba(255, 255, 255, 0.07);
  --gold-light: #f7e08f;
  --gold: #d4a63a;
  --gold-deep: #9a6f1c;
  --text: #ece6d6;
  --muted: #9b9484;
  --dim: #6d675b;
  --up: #3fd69a;
  --down: #ff5f6d;
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gold-grad: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 28%, var(--gold-light) 50%, var(--gold) 72%, var(--gold-deep) 100%);
  /* When the hero starts animating, i.e. once the preloader has cleared. */
  --intro: 1.5s;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(212, 166, 58, 0.35); color: #fff; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(1200px, 100% - 64px); } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Ambient layers ---------- */

.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop span {
  position: absolute;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 166, 58, 0.13), transparent 62%);
  animation: drift 26s ease-in-out infinite alternate;
}
.backdrop span:nth-child(1) { left: -25vmax; top: -30vmax; }
.backdrop span:nth-child(2) { right: -30vmax; top: 30vh; animation-duration: 32s; animation-delay: -8s; opacity: 0.7; }
.backdrop span:nth-child(3) { left: 20vw; bottom: -45vmax; animation-duration: 38s; animation-delay: -16s; opacity: 0.5; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); }
}

.grain {
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.cursor-glow {
  position: fixed; left: 0; top: 0;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  z-index: 0; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 166, 58, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s;
  mix-blend-mode: screen;
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* ---------- Preloader ---------- */

.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--bg);
  animation: preloader-out 0.7s var(--ease) calc(var(--intro) - 0.2s) forwards;
}
.preloader-mark { position: relative; width: 120px; height: 120px; }
.preloader-mark img {
  position: absolute; inset: 18px;
  width: 84px; height: 84px;
  object-fit: contain;
  animation: pop 0.9s var(--ease) 0.15s both;
}
.preloader-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.preloader-ring circle {
  fill: none; stroke: var(--gold); stroke-width: 1.5;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: ring-draw 1.1s var(--ease) forwards;
}
.preloader-word {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.42em; padding-left: 0.42em;
  color: var(--text);
  animation: rise 0.8s var(--ease) 0.35s both;
}
.preloader-word b { color: var(--gold); font-weight: 700; }

@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes preloader-out { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Shared pieces ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font: 600 0.92rem/1 var(--font);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, background-color 0.35s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 11px 20px; font-size: 0.82rem; }

.btn-gold {
  color: #1b1307;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 12px 34px -12px rgba(212, 166, 58, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  overflow: hidden;
}
.btn-gold::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out 2.5s infinite;
}
.btn-gold:hover { box-shadow: 0 18px 44px -12px rgba(212, 166, 58, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

.btn-ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(212, 166, 58, 0.55); background: rgba(212, 166, 58, 0.06); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(212, 166, 58, 0.06);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light);
}

.live-dot {
  position: relative;
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 10px var(--up);
}
.live-dot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--up);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3); opacity: 0; } }

.gold-text, .hero-title .rotator > span, h2 em {
  font-style: normal;
  background: var(--gold-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -120% 0; } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font: 500 0.7rem/1.5 var(--mono);
  color: var(--muted);
}

.section { position: relative; padding: clamp(72px, 10vw, 124px) 0; }

.section-head { max-width: 780px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 0.72rem/1 var(--mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head h2, .mirror-copy h2, .cta h2 {
  margin: 20px 0 18px;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.section-head p, .mirror-copy > p { max-width: 36rem; font-size: clamp(1rem, 1.6vw, 1.1rem); color: var(--muted); }

.fine { margin-top: 18px; font-size: 0.78rem; color: var(--dim); line-height: 1.6; }

/* ---------- Scroll reveal (only once JS is running) ---------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 32px;
  transition: opacity 1s var(--ease) var(--d, 0s), translate 1s var(--ease) var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; translate: none; }

/* Word-by-word heading reveal; words are wrapped by landing.js. */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .w > span {
  display: inline-block;
  translate: 0 110%;
  transition: translate 1s var(--ease) calc(var(--i) * 55ms);
}
.split.in .w > span { translate: none; }
/* The gradient has to live on each word once the words are split into their own boxes. */
.split em { background: none; animation: none; color: inherit; }
.split em .w > span {
  background: var(--gold-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

.tilt, .js .tilt[data-reveal] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease), border-color 0.4s, opacity 1s var(--ease) var(--d, 0s), translate 1s var(--ease) var(--d, 0s);
}
.tilt::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 166, 58, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tilt:hover::before { opacity: 1; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(7, 7, 6, 0.94);
  border-color: var(--line-soft);
}
.js .nav { animation: rise 0.9s var(--ease) var(--intro) both; }
.nav-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 46px; height: 37px; object-fit: contain; }
.brand-word { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; white-space: nowrap; }
.brand-word b {
  font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  position: relative;
  font-size: 0.86rem; font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-menu-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease); }
.nav.open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; left: 16px; right: 16px; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 22px 22px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: rgba(8, 8, 8, 0.96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-menu-cta { display: inline-flex; margin-top: 18px; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .brand-word { font-size: 0.68rem; letter-spacing: 0.16em; }
  .brand img { width: 40px; height: 32px; }
}
/* Small phones: tighten the wordmark so it never runs into the menu button. */
@media (max-width: 380px) {
  .nav-inner { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-word { font-size: 0.6rem; letter-spacing: 0.13em; }
  .hero .hero-title { font-size: 2.1rem; }
}
@media (max-width: 299px) {
  .brand-word { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 96px;
  overflow: hidden;
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }

.hero-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  perspective: 420px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero-floor div {
  position: absolute; left: -50%; right: -50%; bottom: -64px; height: 220%;
  background-image:
    linear-gradient(rgba(212, 166, 58, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 166, 58, 0.2) 1px, transparent 1px);
  background-size: 64px 64px;
  transform-origin: 50% 100%;
  animation: floor 2.4s linear infinite;
}
@keyframes floor {
  from { transform: rotateX(74deg) translateY(0); }
  to   { transform: rotateX(74deg) translateY(64px); }
}

.hero-copy { position: relative; z-index: 2; }
.hero-title {
  margin: 24px 0;
  font-size: clamp(2.3rem, 4.5vw, 3.7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hl { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.04em; }
.hl > span { display: inline-block; animation: line-up 1.1s var(--ease) calc(var(--intro) + var(--i) * 0.12s) both; }
@keyframes line-up { from { transform: translateY(108%) rotate(2deg); } to { transform: none; } }

.hl > .rotator { display: inline-grid; perspective: 600px; }
.rotator > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(70%) rotateX(-70deg);
  filter: blur(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.rotator > span.is-in { opacity: 1; transform: none; filter: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-70%) rotateX(70deg); filter: blur(8px); }

.hero-sub { max-width: 34rem; font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--muted); }
[data-hero] { animation: rise 1s var(--ease) calc(var(--intro) + var(--d, 0s)) both; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 38px; }

.hero-steps { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-steps li { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.hero-steps span { font: 600 0.7rem/1 var(--mono); color: var(--gold); }

.hero-visual { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; justify-self: end; }
.hero-visual canvas {
  position: absolute; inset: -6%;
  width: 112%; height: 112%; max-width: none;
  animation: pop 1.6s var(--ease) calc(var(--intro) - 0.3s) both;
}

.toasts {
  position: absolute; left: -4%; bottom: 4%; z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
  width: min(300px, 78%);
}
.toast {
  display: flex; align-items: center; gap: 12px;
  max-height: 80px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 12, 8, 0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  animation: toast-in 0.7s var(--ease) both;
  transition: opacity 0.5s, max-height 0.5s var(--ease), padding 0.5s var(--ease), margin 0.5s var(--ease), transform 0.5s var(--ease);
}
.toast.out { opacity: 0; max-height: 0; padding-block: 0; margin-top: -10px; transform: scale(0.94); }
.toast b { display: block; font-size: 0.8rem; font-weight: 600; }
.toast small { display: block; font: 0.68rem/1.4 var(--mono); color: var(--muted); }
.toast-icon {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 10px;
  background: rgba(212, 166, 58, 0.12); color: var(--gold-light);
}
.toast-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.toast.is-copy .toast-icon { background: rgba(63, 214, 154, 0.12); color: var(--up); }
@keyframes toast-in { from { opacity: 0; transform: translateX(-24px) scale(0.96); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px;
  width: 24px; height: 38px; margin-left: -12px;
  border: 1.5px solid rgba(212, 166, 58, 0.5); border-radius: 12px;
  animation: rise 1s var(--ease) calc(var(--intro) + 1s) both;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--gold);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: -1; max-width: 400px; justify-self: center; margin: 0 auto 28px; }
  .toasts { left: 50%; bottom: -10px; transform: translateX(-50%); width: min(290px, 92%); }
  /* Two notifications at most, so the stack never reaches the copy below. */
  .toast:not(:nth-last-child(-n+2)) { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 12px; padding: 0 30px; border-right: 1px solid var(--line-soft); }
.ticker-item b { font: 600 0.8rem/1 var(--mono); }
.ticker-item small { font-size: 0.72rem; color: var(--dim); white-space: nowrap; }
.ticker-item svg { width: 64px; height: 22px; fill: none; stroke-width: 1.5; }
.ticker-item.up svg { stroke: var(--up); }
.ticker-item.down svg { stroke: var(--down); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- How it works ---------- */

.flow { display: grid; grid-template-columns: 1fr 72px 1fr 72px 1fr; align-items: center; margin-top: 64px; }

.flow-node {
  position: relative;
  height: 100%;
  padding: 32px 28px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212, 166, 58, 0.05), rgba(255, 255, 255, 0.015) 40%);
  animation: node-glow 6s ease-in-out infinite;
}
.flow-node:nth-of-type(2) { animation-delay: 2s; }
.flow-node:nth-of-type(3) { animation-delay: 4s; }
@keyframes node-glow {
  0%, 30%, 100% { border-color: var(--line-soft); box-shadow: none; }
  8%, 18% { border-color: rgba(212, 166, 58, 0.6); box-shadow: 0 0 0 1px rgba(212, 166, 58, 0.25), 0 30px 70px -30px rgba(212, 166, 58, 0.55); }
}
.flow-icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin-bottom: 26px;
  border: 1px solid var(--line); border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(247, 224, 143, 0.18), rgba(212, 166, 58, 0.04));
  color: var(--gold-light);
}
.flow-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flow-step { font: 600 0.7rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.flow-node h3 { margin: 10px 0 10px; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.flow-node p { margin-bottom: 20px; font-size: 0.94rem; color: var(--muted); }

.flow-link { position: relative; height: 2px; margin: 0 6px; background: linear-gradient(90deg, rgba(212, 166, 58, 0.1), rgba(212, 166, 58, 0.45), rgba(212, 166, 58, 0.1)); }
.flow-link::before, .flow-link::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--gold); }
.flow-link::before { left: -4px; }
.flow-link::after { right: -4px; }
.flow-link span {
  position: absolute; top: -3px; left: 0;
  width: 34px; height: 8px; border-radius: 8px;
  background: radial-gradient(closest-side, var(--gold-light), rgba(212, 166, 58, 0.6) 50%, transparent);
  filter: drop-shadow(0 0 6px var(--gold));
  opacity: 0;
  animation: link-x 6s ease-in-out 0.6s infinite;
}
.flow-link:nth-of-type(2) span { animation-delay: 2.6s; }
@keyframes link-x {
  0% { left: -10%; opacity: 0; }
  4% { opacity: 1; }
  22% { left: 90%; opacity: 1; }
  26%, 100% { left: 90%; opacity: 0; }
}

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; justify-items: center; }
  .flow-node { width: 100%; }
  .flow-link { width: 2px; height: 56px; margin: 6px 0; background: linear-gradient(180deg, rgba(212, 166, 58, 0.1), rgba(212, 166, 58, 0.45), rgba(212, 166, 58, 0.1)); }
  .flow-link::before, .flow-link::after { left: 50%; margin: 0 0 0 -3.5px; }
  .flow-link::before { top: -4px; }
  .flow-link::after { top: auto; bottom: -4px; }
  .flow-link span { top: 0; left: -3px; width: 8px; height: 30px; animation-name: link-y; }
  @keyframes link-y {
    0% { top: -10%; opacity: 0; }
    4% { opacity: 1; }
    22% { top: 60%; opacity: 1; }
    26%, 100% { top: 60%; opacity: 0; }
  }
}

/* ---------- Kinetic band ---------- */

.band { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line-soft); }
.band-track {
  display: flex; align-items: center; gap: 0.45em;
  width: max-content;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.band-track span { color: transparent; -webkit-text-stroke: 1px rgba(212, 166, 58, 0.5); }
.band-track span.solid { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }
.band-track i { font-style: normal; font-size: 0.4em; color: var(--gold); }

/* ---------- Live terminal ---------- */

.terminal {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 18, 10, 0.9), rgba(8, 8, 8, 0.94));
  box-shadow: 0 50px 120px -50px rgba(212, 166, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font: 0.76rem/1 var(--mono);
}
.term-dots { display: flex; gap: 7px; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3326; }
.term-dots i:first-child { background: #6b5527; }
.term-title { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); }
.term-title b { color: var(--text); }
.term-title em { font-style: normal; color: var(--gold-light); }
.term-status { display: flex; align-items: center; gap: 10px; margin-left: auto; color: var(--muted); }
.sim-badge {
  padding: 5px 9px;
  border: 1px solid rgba(212, 166, 58, 0.4); border-radius: 6px;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-light);
}

.term-body { display: grid; grid-template-columns: 1fr 310px; }
.term-chart { position: relative; height: 410px; border-right: 1px solid var(--line-soft); }
.term-chart canvas { width: 100%; height: 100%; }
.chart-legend { position: absolute; left: 16px; top: 14px; display: flex; gap: 14px; font: 0.68rem/1 var(--mono); color: var(--muted); }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend span::before { content: ""; width: 14px; height: 2px; border-radius: 2px; }
.lg-fast::before { background: var(--gold-light); }
.lg-slow::before { background: rgba(236, 230, 214, 0.35); }

.term-log { position: relative; height: 410px; padding: 16px 18px; overflow: hidden; font: 0.72rem/1.5 var(--mono); }
.term-log::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, rgba(9, 8, 7, 0.98)); pointer-events: none; }
.log-head { margin-bottom: 12px; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.term-log li {
  display: grid; grid-template-columns: 44px 1fr; gap: 10px;
  padding: 7px 8px; margin: 0 -8px;
  border-radius: 8px;
  color: var(--muted);
  animation: log-in 0.6s var(--ease) both;
}
.term-log time { color: var(--dim); }
.term-log li.signal span { color: var(--gold-light); }
.term-log li.bot span { color: var(--text); }
.term-log li.copy span { color: var(--up); }
.term-log li.win span { color: var(--up); }
.term-log li.loss span { color: var(--down); }
@keyframes log-in { from { opacity: 0; transform: translateX(14px); background: rgba(212, 166, 58, 0.14); } to { opacity: 1; transform: none; background: transparent; } }

.term-mirror { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: center; gap: 12px; padding: 18px; border-top: 1px solid var(--line-soft); }
.acct { padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); }
.acct-bot { border-color: var(--line); }
.acct-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.acct-head b { display: block; font-size: 0.86rem; }
.acct-head small { display: block; font: 0.72rem/1.5 var(--mono); color: var(--muted); }
.acct-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: rgba(212, 166, 58, 0.12); color: var(--gold-light); }
.acct-you .acct-icon { background: rgba(63, 214, 154, 0.1); color: var(--up); }
.acct-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.acct-pos { min-height: 1.5em; font: 0.76rem/1.5 var(--mono); color: var(--muted); }
.acct-pnl { margin-top: 6px; font: 600 1.45rem/1.2 var(--mono); color: var(--dim); transition: color 0.3s; }
.acct-pnl.up { color: var(--up); }
.acct-pnl.down { color: var(--down); }

.mirror-link { position: relative; height: 2px; background: linear-gradient(90deg, rgba(212, 166, 58, 0.5), rgba(63, 214, 154, 0.5)); }
.mirror-link em {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 9px;
  border: 1px solid var(--line-soft); border-radius: 999px;
  background: #0c0b09;
  font: 0.6rem/1.4 var(--mono); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.mirror-link span {
  position: absolute; top: -4px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 14px var(--gold), 0 0 4px #fff;
  opacity: 0;
}
.mirror-link.fire span { animation: mirror-pulse 0.9s var(--ease); }
.mirror-link.fire em { animation: mirror-tag 0.9s var(--ease); }
@keyframes mirror-pulse { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes mirror-tag { 40% { border-color: var(--up); color: var(--up); } }

.term-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-soft); }
.term-stats div { padding: 14px 18px; border-right: 1px solid var(--line-soft); }
.term-stats div:last-child { border-right: 0; }
.term-stats small { display: block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.term-stats b { font: 600 1.05rem/1.6 var(--mono); }
.term-stats b.up { color: var(--up); }
.term-stats b.down { color: var(--down); }

@media (max-width: 900px) {
  .term-body { grid-template-columns: 1fr; }
  .term-chart { height: 300px; border-right: 0; }
  .term-log { height: 230px; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 700px) {
  .term-bar { flex-wrap: wrap; gap: 10px 14px; }
  .term-dots { display: none; }
  .term-status { margin-left: 0; }
  .term-mirror { grid-template-columns: 1fr; padding: 14px; }
  .mirror-link { width: 2px; height: 34px; justify-self: center; background: linear-gradient(180deg, rgba(212, 166, 58, 0.5), rgba(63, 214, 154, 0.5)); }
  .mirror-link span { left: -4px; top: 0; }
  @keyframes mirror-pulse { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
  .term-stats { grid-template-columns: repeat(2, 1fr); }
  .term-stats div:nth-child(2) { border-right: 0; }
  .term-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

/* ---------- Copy trading ---------- */

.mirror { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.mirror-visual { position: relative; width: 100%; max-width: 580px; aspect-ratio: 4 / 3; justify-self: center; }
.mirror-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.core { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.core img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.7));
  animation: float 6s ease-in-out infinite;
}
.core::before, .core::after {
  content: ""; position: absolute; inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(212, 166, 58, 0.55);
  animation: core-ring 2.8s ease-out infinite;
}
.core::after { animation-delay: 1.4s; }
.core.fire img { animation: float 6s ease-in-out infinite, core-flash 0.8s var(--ease); }
@keyframes core-ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.1); opacity: 0; } }
@keyframes core-flash { 30% { filter: brightness(1.6) drop-shadow(0 0 18px rgba(247, 224, 143, 0.8)); } }
@keyframes float { 50% { transform: translateY(-6px); } }

.scale { display: grid; gap: 12px; margin: 34px 0 6px; }
.scale-row {
  display: grid; grid-template-columns: 96px 1fr 76px 70px; align-items: center; gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line-soft); border-radius: 14px;
  background: var(--surface);
  font-size: 0.82rem;
}
.scale-row.is-bot { border-color: var(--line); background: rgba(212, 166, 58, 0.06); }
.scale-row span { color: var(--muted); }
.scale-row.is-bot span { color: var(--gold-light); font-weight: 600; }
.scale-row i { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.scale-row i b {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: max(var(--w), 4px);
  border-radius: inherit;
  background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease) 0.5s;
}
.scale.in .scale-row i b { transform: none; }
.scale-row:nth-child(2) i b { transition-delay: 0.62s; }
.scale-row:nth-child(3) i b { transition-delay: 0.74s; }
.scale-row:nth-child(4) i b { transition-delay: 0.86s; }
.scale-row em, .scale-row strong { font: 0.76rem/1 var(--mono); text-align: right; }
.scale-row em { color: var(--muted); }
.scale-row strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .mirror { grid-template-columns: 1fr; gap: 24px; }
  .mirror-visual { max-width: 460px; }
}
@media (max-width: 480px) {
  .scale-row { grid-template-columns: 1fr auto auto; gap: 6px 12px; }
  .scale-row i { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Strategy ---------- */

.strategy { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; margin-top: 56px; align-items: start; }

.code-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0f0d09, #080807);
  box-shadow: 0 40px 100px -50px rgba(212, 166, 58, 0.45);
  overflow: hidden;
}
.code-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.code-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3326; }
.code-bar span { margin-left: 10px; font: 0.72rem/1 var(--mono); color: var(--dim); }
/* Lines are blocks, so the newlines between them in the markup are dropped. */
.code-card pre { margin: 0; padding: 22px 22px 14px; overflow-x: auto; white-space: normal; font: 0.84rem/2 var(--mono); color: var(--text); }
.code-line { display: block; white-space: pre; }
.js .code-line { clip-path: inset(0 100% 0 0); transition: clip-path 0.55s steps(22) calc(0.4s + var(--i) * 0.2s); }
.js .code-card.in .code-line { clip-path: inset(0 0 0 0); }
.code-card .k { color: var(--gold); }
.code-card .s { color: #ecd9a0; }
.code-card .n { color: #7fd8b0; }
.code-card .p { color: var(--dim); }
.code-card .c { color: var(--dim); font-style: italic; }
.code-card .on { color: var(--up); }
.caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -0.2em; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-note { display: block; padding: 0 22px 18px; font-size: 0.72rem; color: var(--dim); }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line-soft); border-radius: 18px;
  background: var(--surface);
}
.feature:hover { border-color: var(--line); }
.feature h3 { margin: 18px 0 8px; font-size: 1.02rem; font-weight: 700; }
.feature p { font-size: 0.86rem; color: var(--muted); }

.fx { width: 120px; height: 48px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fx-cross path { stroke-width: 2; stroke-dasharray: 140; animation: draw 3.2s var(--ease) infinite; }
.fx-cross .slow { stroke: rgba(236, 230, 214, 0.35); }
.fx-cross .fast { stroke: var(--gold-light); animation-delay: 0.2s; }
.fx-cross circle { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: dot-pop 3.2s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 140; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -140; } }
@keyframes dot-pop { 0%, 30% { transform: scale(0); } 40% { transform: scale(1.8); } 50%, 80% { transform: scale(1); } 100% { transform: scale(0); } }

.fx-shield circle { stroke: rgba(212, 166, 58, 0.5); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: shield-ring 2.4s ease-out infinite; }
.fx-shield path { stroke: var(--gold-light); stroke-width: 1.8; }
.fx-shield .tick { stroke: var(--up); stroke-width: 2.2; stroke-dasharray: 20; animation: tick 2.4s var(--ease) infinite; }
@keyframes shield-ring { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
@keyframes tick { 0%, 20% { stroke-dashoffset: 20; } 50%, 100% { stroke-dashoffset: 0; } }

.fx-bars rect { fill: var(--gold); transform-box: fill-box; transform-origin: bottom; animation: bar 2.8s var(--ease) infinite; }
.fx-bars rect:nth-child(1) { opacity: 0.45; }
.fx-bars rect:nth-child(2) { opacity: 0.6; animation-delay: 0.12s; }
.fx-bars rect:nth-child(3) { opacity: 0.8; animation-delay: 0.24s; }
.fx-bars rect:nth-child(4) { fill: var(--gold-light); animation-delay: 0.36s; }
@keyframes bar { 0% { transform: scaleY(0.1); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0.1); } }

.fx-gauge path { stroke-width: 5; }
.fx-gauge .track { stroke: rgba(255, 255, 255, 0.07); }
.fx-gauge .fill { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: 0.24; animation: gauge 4s var(--ease) infinite; }
.fx-gauge .limit { stroke: var(--down); stroke-width: 2.5; }
@keyframes gauge { 0% { stroke-dashoffset: 1; } 50%, 85% { stroke-dashoffset: 0.24; stroke: var(--gold); } 65% { stroke: var(--gold-light); } 100% { stroke-dashoffset: 1; } }

@media (max-width: 960px) { .strategy { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .code-card pre { padding: 18px 16px 12px; font-size: 0.74rem; }
  .code-note { padding: 0 16px 16px; }
}

/* ---------- Markets ---------- */

.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.market {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 26px 24px 0;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.market:hover { border-color: var(--line); }
.market-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; color: var(--gold-light); }
.market-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.market h3 { margin: 22px 0 8px; font-size: 1.25rem; font-weight: 700; }
.market p { margin-bottom: 18px; font-size: 0.88rem; color: var(--muted); }
.market .spark { width: calc(100% + 48px); max-width: none; height: 70px; margin: auto -24px 0; }
.spark .line { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) 0.4s; }
.spark .area { opacity: 0; transition: opacity 1.2s 1.2s; }
.market.in .spark .line { stroke-dashoffset: 0; }
.market.in .spark .area { opacity: 1; }

@media (max-width: 1040px) { .markets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .markets { grid-template-columns: 1fr; } .market { min-height: 260px; } }

/* ---------- Control ---------- */

.controls { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line-soft); }
.control { position: relative; padding: 34px 28px 10px 0; }
.control::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px;
  background: var(--gold-grad);
  transition: width 1.2s var(--ease) calc(var(--d, 0s) + 0.3s);
}
.control.in::before { width: 70%; }
.control-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: rgba(212, 166, 58, 0.1); color: var(--gold-light); }
.control-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.control h3 { margin-bottom: 8px; font-size: 1.05rem; font-weight: 700; }
.control p { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 900px) { .controls { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .controls { grid-template-columns: 1fr; } .control { padding-right: 0; } }

/* ---------- CTA ---------- */

.cta { position: relative; padding: clamp(100px, 14vw, 170px) 0; overflow: hidden; text-align: center; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: radial-gradient(circle, rgba(212, 166, 58, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.cta-rings span {
  position: absolute; left: -300px; top: -300px;
  width: 600px; height: 600px;
  border: 1px solid rgba(212, 166, 58, 0.35); border-radius: 50%;
  animation: ripple 6s ease-out infinite;
}
.cta-rings span:nth-child(2) { animation-delay: 2s; }
.cta-rings span:nth-child(3) { animation-delay: 4s; }
@keyframes ripple { from { transform: scale(0.2); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } }

.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-logo { width: min(380px, 82vw); height: auto; margin-bottom: 30px; filter: drop-shadow(0 18px 40px rgba(212, 166, 58, 0.25)); animation: float 6s ease-in-out infinite; }
.cta h2 { max-width: 14ch; margin-top: 26px; font-size: clamp(2.4rem, 6.4vw, 4.8rem); }
.cta p { max-width: 34rem; color: var(--muted); }

/* ---------- Footer ---------- */

.footer { padding: 56px 0 36px; border-top: 1px solid var(--line-soft); background: rgba(0, 0, 0, 0.4); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
.footer-logo img { width: 190px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { font-size: 0.86rem; color: var(--muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-light); }
.risk { max-width: 920px; margin-top: 28px; font-size: 0.78rem; line-height: 1.7; color: var(--dim); }
.risk b { color: var(--muted); }
.copy { margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--dim); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .preloader, .grain, .cursor-glow, .scroll-cue { display: none; }
  .js [data-reveal], .split .w > span { opacity: 1; translate: none; }
  .js .code-line { clip-path: none; }
  .scale-row i b { transform: none; }
  .control::before { width: 70%; }
  .spark .line { stroke-dashoffset: 0; }
  .spark .area { opacity: 1; }
}
