/* =====================================================================
   Trivami — styles
   ===================================================================== */
:root {
  --bg: #05070a;
  --bg-soft: #080c11;
  --card: #0c1117;
  --card-hi: #10171f;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #edf1f5;
  --muted: #94a1af;
  --dim: #64707d;
  --up: #2ee6a6;
  --up-hi: #5bf2c0;
  --up-ink: #03140d;
  --up-soft: rgba(46, 230, 166, 0.12);
  --down: #ff5f6d;
  --down-soft: rgba(255, 95, 109, 0.14);
  --gold: #f5c451;
  --gold-soft: rgba(245, 196, 81, 0.14);
  --radius: 18px;
  --shadow: 0 24px 70px -24px rgba(0, 0, 0, 0.8);
  --display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 16px;
  --nav-h: 62px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
b, strong { font-weight: 600; }
code { font-size: 0.92em; }
[hidden] { display: none !important; }
::selection { background: var(--up); color: var(--up-ink); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
/* iPhones turned sideways: keep content clear of the notch */
@supports (padding: max(0px)) {
  .container { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 12px; border-radius: 8px; background: var(--up); color: var(--up-ink); }
.skip:focus { left: 8px; }
.up { color: var(--up); }
.down { color: var(--down); }

svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Nav + reading progress line ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 7, 10, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.nav__links { display: none; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav .btn { margin-left: auto; }
@media (min-width: 860px) { .nav__links { display: flex; } .nav .btn { margin-left: 0; } }
.nav__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--up), #22d3ee);
  box-shadow: 0 0 12px rgba(46, 230, 166, 0.6);
  transform: scaleX(0); transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .nav__progress { animation: progress-grow linear both; animation-timeline: scroll(root block); }
}
@keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--up); color: var(--up-ink);
  font: 700 16px/1.1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 12px 32px -12px rgba(46, 230, 166, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.16s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--up-hi); transform: translateY(-1px); box-shadow: 0 18px 42px -12px rgba(46, 230, 166, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--sm { min-height: 38px; padding: 0 15px; border-radius: 10px; font-size: 14px; }
.btn--xl { min-height: 62px; padding: 0 30px; border-radius: 14px; font-size: 18px; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.05); box-shadow: none; }
.btn--wa { background: #25d366; color: #052e16; box-shadow: 0 12px 32px -12px rgba(37, 211, 102, 0.7); }
.btn--wa:hover { background: #3ee07a; }
.btn--shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 3.8s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 24px 0 48px; text-align: center; }
@media (min-width: 768px) { .hero { padding: 44px 0 60px; } }
.hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.hero__glow::before {
  content: ""; position: absolute; left: 50%; top: -220px; width: 1100px; height: 800px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(46, 230, 166, 0.2), rgba(46, 230, 166, 0.05) 55%, transparent);
}
.hero__glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 50% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 50% at 50% 0%, #000 20%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 13px; font-weight: 500;
}
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--up); animation: ping 2s infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(46, 230, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); }
}
.hero h1 {
  max-width: 19ch; margin: 18px auto 0;
  font-size: clamp(2.15rem, 4.6vw + 1rem, 4.3rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em;
  text-wrap: balance;
}
.grad { background: linear-gradient(100deg, #8af8d3 0%, var(--up) 45%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fn { margin-left: 1px; color: var(--muted); font-size: 0.42em; vertical-align: super; text-decoration: none; }
.hero__lead { max-width: 600px; margin: 18px auto 0; color: var(--muted); font-size: clamp(1.02rem, 0.6vw + 0.9rem, 1.2rem); text-wrap: pretty; }

/* ---------- Video player (tilts flat as you scroll) ---------- */
.player {
  position: relative; max-width: 940px; margin: 30px auto 0; overflow: hidden; text-align: left;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card);
  box-shadow: 0 0 0 1px rgba(46, 230, 166, 0.06), 0 50px 120px -50px rgba(46, 230, 166, 0.45), var(--shadow);
}
.player--vertical { max-width: 400px; }
.js .player.tilt {
  transform: perspective(1600px) rotateX(calc((1 - var(--p, 1)) * var(--tilt, 16deg))) scale(calc(0.93 + var(--p, 1) * 0.07));
  transform-origin: 50% 0;
}
.js .player.tilt.is-playing { transform: none; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
@media (max-width: 640px) { .player { --tilt: 9deg; } }
.player__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 13px; }
.player__dots { display: flex; gap: 6px; }
.player__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.player__title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: var(--up-soft); color: var(--up); font: 700 11px/1 var(--body); letter-spacing: 0.08em; }
.live .dot { width: 6px; height: 6px; }
.player__screen { position: relative; aspect-ratio: var(--video-ar, 16 / 9); background: #0b0f14; }
.player__screen > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__screen video { background: #000; object-fit: contain; }
.player--chart .player__screen { aspect-ratio: 16 / 9; }
.player--chart .player__screen::before { content: "Loading live chart…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 14px; }
@media (max-width: 640px) { .player--chart .player__screen { aspect-ratio: 16 / 11; } }
.player__credit { margin-top: 10px; color: var(--dim); font-size: 12px; }
.player__credit a { color: var(--muted); }

.facade { display: grid; place-items: center; align-content: center; gap: 16px; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; color: #fff; font: 600 15px/1 var(--body); }
.facade::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6)); }
.play { position: relative; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--up); color: var(--up-ink); animation: pulse 2.2s infinite; transition: transform 0.2s; }
.play svg { width: 32px; height: 32px; margin-left: 4px; fill: currentColor; }
.facade:hover .play { transform: scale(1.06); }
.facade__label { position: relative; padding: 9px 15px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.55); }
  70% { box-shadow: 0 0 0 22px rgba(46, 230, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); }
}

/* ---------- Hero CTA ---------- */
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 28px; }
.hero__cta .btn { width: 100%; max-width: 440px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--up); }
.footnote { max-width: 560px; color: var(--dim); font-size: 12.5px; }
.footnote a { color: var(--muted); }

/* ---------- Stats ---------- */
.stats { padding: 0 0 44px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005)); }
.stat { padding: 22px 14px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n + 3) { border-bottom: 0; }
.stat b { display: block; font: 700 clamp(1.75rem, 2.2vw + 1rem, 2.4rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat b sup { margin-left: 2px; color: var(--muted); font-size: 0.45em; }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.stat--accent b { color: var(--up); }
.stat--gold b { color: var(--gold); font-size: clamp(1.45rem, 1.8vw + 0.9rem, 2.1rem); line-height: 1.15; }
@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 28px 16px; border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* ---------- Markets marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; padding: 17px 20px; color: var(--muted); font: 600 13px/1 var(--display); letter-spacing: 0.1em; white-space: nowrap; }
.marquee__track span::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--up); opacity: 0.75; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Big message: words light up while scrolling ---------- */
.manifesto { padding: 96px 0 16px; }
@media (min-width: 768px) { .manifesto { padding: 140px 0 32px; } }
.manifesto__text {
  max-width: 1000px; margin: 0 auto; text-align: center;
  font: 700 clamp(1.65rem, 3.3vw + 0.8rem, 3.3rem)/1.2 var(--display); letter-spacing: -0.03em; text-wrap: balance;
}
.js .manifesto__text .w { color: #26303a; transition: color 0.3s ease; }
.js .manifesto__text .w.lit { color: var(--text); }
.js .manifesto__text .w--buy.lit { color: var(--up); }
.js .manifesto__text .w--sell.lit { color: var(--down); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
/* tighter rhythm around pricing → FAQ → final call to action (no big empty gaps) */
#access { padding-bottom: 64px; }
#pricing { padding-bottom: 48px; }
#faq { padding-top: 48px; padding-bottom: 56px; }
@media (min-width: 768px) {
  #access { padding-bottom: 80px; }
  #pricing { padding-top: 88px; padding-bottom: 56px; }
  #faq { padding-top: 56px; padding-bottom: 72px; }
}
.band { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head .lead { margin: 14px auto 0; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--up); font: 600 12.5px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.1vw + 0.9rem, 2.85rem); font-weight: 700; text-wrap: balance; }
.lead { max-width: 60ch; color: var(--muted); font-size: clamp(1rem, 0.4vw + 0.92rem, 1.13rem); text-wrap: pretty; }

.card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--card-hi), var(--card)); transition: border-color 0.25s ease; }
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: 8px; font-size: 19px; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; }
.card--accent { border-color: rgba(46, 230, 166, 0.35); background: linear-gradient(180deg, rgba(46, 230, 166, 0.09), var(--card) 70%); }
.icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border: 1px solid rgba(46, 230, 166, 0.2); border-radius: 12px; background: var(--up-soft); color: var(--up); }
.icon svg { width: 22px; height: 22px; }
.chip { display: inline-grid; place-items: center; flex: none; min-width: 58px; height: 30px; padding: 0 10px; border-radius: 8px; font: 700 12.5px/1 var(--body); letter-spacing: 0.06em; }
.chip--buy { background: var(--up); color: var(--up-ink); }
.chip--sell { background: var(--down); color: #fff; }
.chip--icon { background: var(--up-soft); color: var(--up); }
.chip--icon svg { width: 17px; height: 17px; }

/* Inside the video */
.chapters { display: grid; gap: 14px; }
@media (min-width: 860px) { .chapters { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.chapter__num { display: block; margin-bottom: 18px; color: transparent; font: 800 46px/1 var(--display); letter-spacing: -0.04em; -webkit-text-stroke: 1px rgba(46, 230, 166, 0.6); }
.section-cta { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- How it works: chart stays on screen while the steps scroll ---------- */
.story__grid { display: grid; }
.story__visual {
  position: sticky; top: var(--nav-h); z-index: 3;
  margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 24px;
  background: linear-gradient(180deg, var(--bg-soft) 86%, rgba(8, 12, 17, 0));
}
.story__steps { margin: 0; padding: 0 0 4vh; list-style: none; }
.story__step { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 42vh; padding: 12px 0; }
.js .story__step { opacity: 0.25; transition: opacity 0.35s ease; }
.js .story__step.is-active { opacity: 1; }
.story__step .chip { margin-bottom: 14px; }
.story__chips { display: flex; gap: 8px; margin-bottom: 14px; }
.story__chips .chip { margin: 0; }
.story__step h3 { margin-bottom: 8px; font-size: clamp(1.35rem, 1vw + 1.05rem, 1.85rem); font-weight: 700; }
.story__step p { max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 0.3vw + 0.95rem, 1.12rem); }
@media (min-width: 960px) {
  .story__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .story__visual { grid-column: 2; grid-row: 1; align-self: start; top: max(90px, calc(50vh - 240px)); margin: 0; padding: 0; background: none; }
  .story__steps { grid-column: 1; grid-row: 1; padding: 4vh 0 8vh; }
  .story__step { min-height: 60vh; padding: 0; }
}

.chart-card { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.chart-card__bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.chart-card__bar b { color: var(--text); font-weight: 600; }
.chart-card__tf { padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); font-size: 12px; }
.chart-card__ind { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--up); font-weight: 600; }
.chart-card__ind .dot { width: 6px; height: 6px; }
.chart-card figcaption { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }

/* alert that drops in over the chart header */
.toast {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 42px;
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border-bottom: 1px solid rgba(255, 95, 109, 0.35);
  background: linear-gradient(90deg, #2a1519, #131a23 70%);
  font-size: 13px; transform: translateY(-100%); opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s ease;
}
.toast.show { transform: none; opacity: 1; }
.toast__icon { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--down-soft); color: var(--down); }
.toast__icon svg { width: 15px; height: 15px; transform-origin: 50% 15%; }
.toast.show .toast__icon svg { animation: ring 1s ease 0.2s 2; }
.toast__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.toast__time { color: var(--muted); font-size: 12px; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }

.signal-chart { width: 100%; height: auto; background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); }
.signal-chart .grid line { stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; }
.signal-chart .hl--buy { fill: rgba(46, 230, 166, 0.08); }
.signal-chart .hl--sell { fill: rgba(255, 95, 109, 0.08); }
.signal-chart .is-up { fill: var(--up); stroke: var(--up); }
.signal-chart .is-down { fill: var(--down); stroke: var(--down); }
.signal-chart .cndl rect { stroke-width: 0; }
.signal-chart .last { stroke-width: 1; stroke-dasharray: 2 4; opacity: 0.6; }
.signal-chart .now-dot { stroke-width: 0; }
.signal-chart .now-ring.is-up, .signal-chart .now-ring.is-down { fill: none; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: now-pulse 1.6s ease-out infinite; }
@keyframes now-pulse { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(1.6); } }
.signal-chart .sig--buy .sig__shape { fill: var(--up); }
.signal-chart .sig--sell .sig__shape { fill: var(--down); }
.signal-chart .sig text { font: 700 12px var(--body); letter-spacing: 0.06em; }
.signal-chart .sig--buy text { fill: var(--up-ink); }
.signal-chart .sig--sell text { fill: #fff; }
.signal-chart .cndl { transform-box: fill-box; transform-origin: 50% 100%; transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.signal-chart .sig { transform-box: fill-box; transform-origin: 50% 50%; transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1); }
.signal-chart .hl { transition: opacity 0.4s ease; }
.js .signal-chart .cndl:not(.on) { opacity: 0; transform: translateY(6px) scaleY(0.6); }
.js .signal-chart .sig:not(.on) { opacity: 0; transform: translateY(var(--dy, 8px)) scale(0.85); }
.js .signal-chart .hl:not(.on) { opacity: 0; }
/* entry + TP1 / TP2 target lines */
.signal-chart .tps { transition: opacity 0.4s ease; }
.js .signal-chart .tps:not(.on) { opacity: 0; }
.signal-chart .tp-line { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0.5; transition: opacity 0.3s ease; }
.signal-chart .tp-line--entry { stroke: var(--up); opacity: 0.45; }
.signal-chart .tp-tag rect { fill: #1d1a10; stroke: rgba(245, 196, 81, 0.55); stroke-width: 1; transition: fill 0.3s ease; }
.signal-chart .tp-tag text { fill: var(--gold); font: 700 10.5px var(--body); letter-spacing: 0.04em; }
.signal-chart .tp.is-hit .tp-line { opacity: 0.95; }
.signal-chart .tp.is-hit .tp-tag rect { fill: var(--gold); stroke: var(--gold); }
.signal-chart .tp.is-hit .tp-tag text { fill: #2a1d00; }
.signal-chart .tp-hit { fill: var(--gold); opacity: 0; transform: scale(0.2); transform-box: fill-box; transform-origin: center; transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); }
.signal-chart .tp.is-hit .tp-hit { opacity: 1; transform: none; filter: drop-shadow(0 0 6px rgba(245, 196, 81, 0.8)); }

/* ---------- Signals with TP1 / TP2: alerts pop up on a phone while scrolling ---------- */
.alerts { display: grid; gap: 8px; }
.sig-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; max-width: 380px; margin: 26px auto 0; padding: 0; list-style: none; text-align: left; }
.sig-legend li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.chip--tp { background: var(--gold-soft); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(245, 196, 81, 0.35); }
.alerts__pin { position: relative; height: 230vh; }
.alerts__sticky {
  position: sticky; top: calc(var(--nav-h) + 8px);
  height: calc(100vh - var(--nav-h) - 16px); height: calc(100svh - var(--nav-h) - 16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.phone {
  position: relative; aspect-ratio: 9 / 18.5;
  height: min(600px, calc(100vh - 150px)); height: min(600px, calc(100svh - 150px));
  padding: 9px; border-radius: 46px;
  background: linear-gradient(145deg, #232d38, #0b1016 60%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 2px #020304, 0 50px 120px -40px rgba(46, 230, 166, 0.45), var(--shadow);
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 38px;
  background:
    radial-gradient(130% 60% at 50% 0%, rgba(46, 230, 166, 0.22), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(34, 211, 238, 0.12), transparent 60%),
    linear-gradient(180deg, #0c151e, #05080c);
}
.phone__screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, #05080c); pointer-events: none; }
.phone__notch { position: absolute; top: 10px; left: 50%; z-index: 2; width: 34%; height: 24px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.phone__time { padding-top: 50px; text-align: center; }
.phone__clock { font: 700 52px/1 var(--display); letter-spacing: -0.03em; }
.phone__date { margin-top: 6px; color: rgba(237, 241, 245, 0.72); font-size: 13px; font-weight: 500; }
.phone__list { display: flex; flex-direction: column; padding: 18px 9px 0; }
.phone__hint { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 1; color: rgba(237, 241, 245, 0.55); font-size: 12px; text-align: center; transition: opacity 0.3s ease; }
.phone__hint.is-hidden { opacity: 0; }
.phone__caption { color: var(--dim); font-size: 12px; text-align: center; }

/* one notification — collapses to 0 height until it pops in */
.nt { display: grid; grid-template-rows: 1fr; }
.nt__in { min-height: 0; overflow: hidden; }
.nt__card {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px;
  background: rgba(34, 43, 54, 0.74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}
.nt__card--tp { border-color: rgba(245, 196, 81, 0.28); }
.js .nt { grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .nt.on { grid-template-rows: 1fr; }
.js .nt .nt__card { opacity: 0; transform: translateY(-14px) scale(0.94); transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.2, 1.3, 0.4, 1); }
.js .nt.on .nt__card { opacity: 1; transform: none; }
.nt__app { flex: none; width: 30px; height: 30px; }
.nt__app img { width: 30px; height: 30px; border-radius: 8px; }
.nt__body { flex: 1; min-width: 0; }
.nt__top { display: flex; justify-content: space-between; gap: 8px; color: rgba(237, 241, 245, 0.6); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.nt__time { font-weight: 500; letter-spacing: 0; text-transform: none; }
.nt__title { display: flex; align-items: center; gap: 6px; margin-top: 3px; overflow: hidden; font-size: 13.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.nt__tag { flex: none; padding: 2px 6px; border-radius: 5px; font: 700 10.5px/1.3 var(--body); letter-spacing: 0.04em; }
.nt__tag--buy { background: var(--up); color: var(--up-ink); }
.nt__tag--sell { background: var(--down); color: #fff; }
.nt__tag--tp { background: var(--gold); color: #2a1d00; }
.nt__detail { margin-top: 2px; color: rgba(237, 241, 245, 0.72); font-size: 12px; line-height: 1.4; }
.nt__row { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.nt__row .nt__detail { flex: 1; min-width: 0; margin-top: 0; }
.nt__profit {
  flex: none; align-self: center; padding: 7px 9px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(46, 230, 166, 0.26), rgba(46, 230, 166, 0.12));
  color: var(--up); font: 800 13px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(46, 230, 166, 0.4), 0 6px 18px -6px rgba(46, 230, 166, 0.7);
}
.js .nt .nt__profit { opacity: 0; transform: scale(0.5); transition: opacity 0.3s ease 0.2s, transform 0.55s cubic-bezier(0.2, 1.7, 0.4, 1) 0.2s; }
.js .nt.on .nt__profit { opacity: 1; transform: none; }

@media (max-width: 959px) {
  .alerts__head .section-head { text-align: center; }
  .alerts__head .lead { margin-inline: auto; }
  /* leave room for the sticky Buy bar at the bottom of the screen */
  .alerts__sticky { padding-bottom: 76px; }
  .phone { height: min(600px, max(400px, calc(100vh - 230px))); height: min(600px, max(400px, calc(100svh - 230px))); }
}
/* smallest phones (320–360px): keep the big buy buttons' text comfortably inside */
@media (max-width: 360px) {
  .btn--xl { padding: 0 16px; font-size: 16.5px; }
  .alerts__sticky { padding-bottom: 64px; }
}
/* phones turned sideways (short screens): no pinned sections — everything shown normally */
@media (max-height: 500px) and (max-width: 1023px) {
  .story__visual { position: static; margin-inline: 0; padding: 0 0 16px; background: none; }
  .story__step { min-height: 0; padding: 18px 0; }
  .js .story__step { opacity: 1; }
  .alerts__pin { height: auto; }
  .alerts__sticky { position: static; height: auto; padding: 12px 0 24px; }
  .phone { height: 520px; }
}
@media (min-width: 960px) {
  .alerts { grid-template-columns: 6fr 5fr; gap: 64px; align-items: start; }
  .alerts__head { position: sticky; top: calc(50vh - 170px); }
  .alerts__pin { height: 250vh; }
  .sig-legend { margin-left: 0; }
}

/* ---------- Getting started: cards stack on top of each other ---------- */
.access { display: grid; gap: 32px; }
.section-head--left { margin: 0 auto; }
.access__btn { margin-top: 24px; }
.stack { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.stack__card { position: sticky; top: calc(var(--nav-h) + 16px + var(--i, 0) * 14px); }
.stack__inner {
  position: relative; overflow: hidden; min-height: 178px; padding: 24px;
  border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(160deg, #121b25, #0b1117 70%);
  box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, 0.9), var(--shadow);
  transform-origin: 50% 0; transform: scale(calc(1 - var(--cover, 0) * 0.06));
}
.stack__inner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); opacity: calc(var(--cover, 0) * 0.55); pointer-events: none; }
.stack__card--final .stack__inner { border-color: rgba(46, 230, 166, 0.4); background: radial-gradient(120% 120% at 100% 0%, rgba(46, 230, 166, 0.16), transparent 60%), linear-gradient(160deg, #121b25, #0b1117 70%); }
.stack__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.stack__top .icon { margin: 0; }
.stack__n { color: transparent; font: 800 44px/1 var(--display); letter-spacing: -0.04em; -webkit-text-stroke: 1px rgba(46, 230, 166, 0.6); }
.stack__inner h3 { margin-bottom: 8px; font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); font-weight: 700; }
.stack__inner p { color: var(--muted); font-size: 15.5px; }
.stack__inner p b { color: var(--text); }
@media (max-width: 959px) {
  .access__head .section-head { text-align: center; }
  .access__head .lead { margin-inline: auto; }
  .access__btn { display: none; }
}
@media (min-width: 960px) {
  .access { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .access__head { position: sticky; top: 140px; }
  .section-head--left { margin: 0; text-align: left; }
  .section-head--left .lead { margin-left: 0; }
  .stack__card { top: calc(130px + var(--i, 0) * 18px); }
  .stack__inner { min-height: 230px; padding: 34px; }
}

/* ---------- Reviews: photo + stars + country, two drifting rows with a 3D tilt-in ---------- */
.rv { position: relative; overflow: hidden; perspective: 1400px; }
.rv__sample { position: relative; z-index: 2; width: max-content; max-width: calc(100% - 32px); margin: 0 auto 28px; padding: 8px 14px; border: 1px dashed rgba(255, 224, 138, 0.6); border-radius: 10px; background: rgba(58, 46, 5, 0.65); color: #ffe08a; font-size: 13px; text-align: center; }
.rv__sample code { padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, 0.3); }
.rv-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: -12px auto 20px; }
.rv-stat { display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 132px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--card-hi), var(--card)); }
.rv-stat b { font: 800 28px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rv-stat > span:last-child { color: var(--muted); font-size: 13px; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { width: 16px; height: 16px; fill: rgba(255, 255, 255, 0.14); }
.rv-stars .on svg { fill: var(--gold); }
.rv-flags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 36px; color: var(--muted); font-size: 13.5px; }
.rv-flags > span:first-child { margin-right: 4px; }
.rv-flagchip { display: grid; place-items: center; width: 34px; height: 26px; border: 1px solid var(--line); border-radius: 7px; background: var(--card); }
.rv-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.rv-more { color: var(--muted); font-size: 13px; }
.rv-wall { display: grid; gap: 16px; transform-origin: 50% 0; will-change: transform, opacity; }
.rv-row { overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.rv-track { display: flex; width: max-content; will-change: transform; }
.rv-set { display: flex; gap: 18px; padding-right: 18px; }
.rv-card {
  display: flex; flex-direction: column; gap: 12px; width: 340px; margin: 0; padding: 20px;
  border: 1px solid var(--line-strong); border-radius: 18px;
  background: linear-gradient(180deg, #121a23, #0c1218); box-shadow: var(--shadow);
  transform-origin: 50% 50%; will-change: transform, opacity;
}
.rv-card__head { display: flex; align-items: center; gap: 12px; }
.rv-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 2px rgba(46, 230, 166, 0.35); }
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-avatar--txt { background: linear-gradient(135deg, hsl(var(--h) 60% 45%), hsl(calc(var(--h) + 40) 60% 28%)); color: #fff; font: 700 15px/1 var(--display); }
.rv-who { display: grid; gap: 3px; min-width: 0; }
.rv-who b { overflow: hidden; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.rv-where { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); font-size: 12.5px; }
.rv-where > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rv-verified { flex: none; margin-left: auto; padding: 4px 8px; border-radius: 999px; background: var(--up-soft); color: var(--up); font: 600 11px/1 var(--body); }
.rv-text { margin: 0; color: var(--text); font-size: 15px; line-height: 1.55; }
.rv-date { margin-top: auto; color: var(--dim); font-size: 12px; }
@media (max-width: 719px) {
  .rv-card { width: 272px; padding: 16px; }
  .rv-stats { gap: 8px; }
  .rv-stat { min-width: 100px; padding: 12px 10px; }
  .rv-stat b { font-size: 22px; }
}
/* motion turned off: rows can be scrolled sideways by hand instead */
.rv--static .rv-row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }

/* Pricing */
.pricing { position: relative; overflow: hidden; }
.pricing::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(46, 230, 166, 0.14), transparent); pointer-events: none; }
.pricing .container { position: relative; }
.price-card {
  position: relative; max-width: 500px; margin: 0 auto; padding: 30px 22px;
  border: 1px solid transparent; border-radius: 24px;
  background:
    linear-gradient(180deg, #0f161e, #0a0f15) padding-box,
    linear-gradient(160deg, rgba(46, 230, 166, 0.85), rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0.04) 65%, rgba(46, 230, 166, 0.35)) border-box;
  box-shadow: 0 40px 120px -40px rgba(46, 230, 166, 0.45), var(--shadow);
}
@media (min-width: 640px) { .price-card { padding: 40px; } }
.price-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.price-card h3 { font-size: 22px; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--up-soft); color: var(--up); font: 600 12.5px/1 var(--body); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 24px 0 2px; }
.price__now { font: 800 clamp(3rem, 5vw + 1rem, 3.8rem)/1 var(--display); letter-spacing: -0.04em; }
.price s { color: var(--dim); font-size: 22px; }
.price__note { color: var(--muted); font-size: 15px; }
.checks { display: grid; gap: 13px; margin: 26px 0 28px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--up-soft); color: var(--up); stroke-width: 3; }
.secure { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 13.5px; }
.secure svg { width: 16px; height: 16px; }
.fine { margin-top: 10px; color: var(--dim); font-size: 12.5px; text-align: center; }
.fine a { color: var(--muted); }
/* pricing layout: heading + perks on the left, price card on the right (phones: heading → card → perks) */
.price-wrap { display: grid; gap: 28px; }
.price-wrap__info { display: contents; }
.price-wrap__head { order: 1; margin-bottom: 0; }
.price-wrap .price-card { order: 2; }
.price-perks { order: 3; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.price-perk { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--card-hi), var(--card)); }
.price-perk .icon { flex: none; width: 40px; height: 40px; margin: 0; }
.price-perk .icon svg { width: 20px; height: 20px; }
.price-perk b { display: block; margin-bottom: 2px; font-size: 15.5px; }
.price-perk p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.price-rating { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 14px; text-decoration: none; }
.price-rating b { color: var(--text); font-size: 15px; }
@media (min-width: 640px) { .price-perks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .price-wrap { grid-template-columns: minmax(0, 1fr) 500px; column-gap: 64px; align-items: center; }
  .price-wrap__info { display: grid; gap: 32px; }
  .price-wrap__head { text-align: left; margin: 0; }
  .price-wrap__head .lead { margin-left: 0; }
  .price-wrap .price-card { margin: 0; }
}

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 780px; margin: 0 auto; }
/* FAQ layout: heading (+ contact) on the left, questions on the right */
.faq-wrap { display: grid; gap: 28px; }
.faq-wrap__head { text-align: center; }
.faq-wrap__head .lead { margin: 14px auto 0; }
.faq-wrap__contact { margin-top: 22px; }
.faq-wrap__contact p { color: var(--text); font-weight: 600; }
.faq-wrap__contact .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.faq-wrap .faq { width: 100%; }
@media (min-width: 960px) {
  .faq-wrap { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .faq-wrap__head { position: sticky; top: 120px; text-align: left; }
  .faq-wrap__head .lead { margin-left: 0; }
  .faq-wrap__contact .row { justify-content: flex-start; }
  .faq-wrap .faq { max-width: none; margin: 0; }
}
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; color: var(--up);
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--up); outline-offset: -2px; border-radius: 14px; }
.faq .answer { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; }
.faq .answer a { color: var(--up); }
.faq .answer .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Final CTA */
.final { padding: 0 0 72px; }
@media (min-width: 768px) { .final { padding-bottom: 88px; } }
.final__box {
  position: relative; overflow: hidden; padding: 52px 22px; text-align: center;
  border: 1px solid rgba(46, 230, 166, 0.25); border-radius: 28px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(46, 230, 166, 0.17), transparent 60%), var(--card);
}
.final__box h2 { max-width: 18ch; margin-inline: auto; }
.final__box .lead { max-width: 520px; margin: 14px auto 28px; }
.final__box .btn { width: 100%; max-width: 440px; }
.final__box .trust { margin-top: 18px; }

/* Footer */
.footer { padding: 56px 0 0; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); font-size: 14px; }
.footer .brand { color: var(--text); }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.footer__brand { grid-column: 1 / -1; display: grid; justify-items: start; gap: 14px; max-width: 360px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h3 { margin-bottom: 4px; color: var(--dim); font: 600 12px/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.footer__col a { color: var(--muted); font-size: 14.5px; text-decoration: none; transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: auto; }
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
/* giant TRIVAMI wordmark at the very bottom — letters rise in when it comes into view */
.wordmark {
  display: flex; justify-content: center; margin: 28px 0 -0.12em; user-select: none;
  font: 800 clamp(4.2rem, 19vw, 15rem)/0.9 var(--display); letter-spacing: -0.05em; text-transform: uppercase;
}
.wordmark span {
  display: inline-block;
  background: linear-gradient(180deg, rgba(237, 241, 245, 0.18), rgba(237, 241, 245, 0.02) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.js .wordmark span { opacity: 0; transform: translateY(60%); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.js .wordmark.in span { opacity: 1; transform: none; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer__links a { text-decoration: none; transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.disclaimer { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; line-height: 1.7; }
.disclaimer p + p { margin-top: 10px; }
.disclaimer strong { color: var(--muted); }

/* ---------- Screen pop-ups: BUY / TP1 / TP2 / SELL float on the left & right of the whole screen ---------- */
.spops {
  position: fixed; inset: 0; z-index: 39; overflow: hidden; pointer-events: none;
  --gap-x: max(10px, calc((100vw - 1120px) / 2 - 210px)); /* big screens: inside the empty side space */
  --s1: 22%; --s-gap: 92px;
}
@media (max-width: 959px) { .spops { --s1: var(--story-top, 16%); --s-gap: 54px; } }
.spop { position: absolute; top: 30%; width: max-content; max-width: min(280px, 46vw); }
.spop--left { left: var(--gap-x); }
.spop--right { right: var(--gap-x); }
.spop--s1 { top: var(--s1); }
.spop--s2 { top: calc(var(--s1) + var(--s-gap)); }
/* "real app" notification style: dark grey card, thin border, white text, small coloured icon, no glow */
.spop__card {
  position: relative; display: flex; align-items: center; gap: 11px;
  padding: 10px 18px 10px 10px; border-radius: 16px; white-space: nowrap;
  background: rgba(30, 36, 45, 0.94); color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  opacity: 0; transform: translateX(-40px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.55s cubic-bezier(0.2, 1.25, 0.4, 1);
}
.spop--right .spop__card { transform: translateX(40px) scale(0.85); }
.spop.on .spop__card { opacity: 1; transform: none; animation: spop-float 4s ease-in-out 0.7s infinite; }
@keyframes spop-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
.spop__icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; font-weight: 800; }
.spop--buy .spop__icon, .spop--tp .spop__icon { background: var(--up); color: var(--up-ink); }
.spop--sell .spop__icon { background: var(--down); color: #fff; }
/* glow + burst ring when it pops (like before), on the same real-app card */
.spop--buy .spop__card, .spop--tp .spop__card {
  border-color: rgba(46, 230, 166, 0.45);
  box-shadow: 0 0 28px -6px rgba(46, 230, 166, 0.65), 0 16px 36px -12px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.spop--sell .spop__card {
  border-color: rgba(255, 95, 109, 0.45);
  box-shadow: 0 0 28px -6px rgba(255, 95, 109, 0.6), 0 16px 36px -12px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.spop--buy .spop__icon, .spop--tp .spop__icon { box-shadow: 0 0 14px rgba(46, 230, 166, 0.75); }
.spop--sell .spop__icon { box-shadow: 0 0 14px rgba(255, 95, 109, 0.75); }
.spop__card::before { content: ""; position: absolute; inset: -2px; border: 2px solid rgba(46, 230, 166, 0.9); border-radius: inherit; opacity: 0; pointer-events: none; }
.spop--sell .spop__card::before { border-color: rgba(255, 95, 109, 0.9); }
.spop.on .spop__card::before { animation: spop-burst 0.8s ease-out 0.1s 1; }
@keyframes spop-burst { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.4); } }
.spop__txt { display: grid; gap: 2px; }
.spop__txt b { color: #fff; font: 700 16px/1.15 var(--display); letter-spacing: -0.01em; }
.spop__txt small { color: rgba(237, 241, 245, 0.6); font: 600 11.5px/1.3 var(--body); }
.spop--tp .spop__txt small { letter-spacing: 0.05em; text-transform: uppercase; }
.spop--tp .spop__txt b { font-size: 22px; letter-spacing: -0.02em; }
/* phones: small pop-ups that suit a small screen */
@media (max-width: 719px) {
  .spop__card { gap: 8px; padding: 6px 12px 6px 6px; border-radius: 12px; transform: translateX(-26px) scale(0.85); }
  .spop--right .spop__card { transform: translateX(26px) scale(0.85); }
  .spop__icon { width: 22px; height: 22px; font-size: 10px; }
  .spop__txt b { font-size: 13px; }
  .spop__txt small { font-size: 9.5px; }
  .spop--tp .spop__txt b { font-size: 16px; }
}

/* Sticky buy bar */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px;
  border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(12, 17, 23, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow);
  transform: translateY(160%); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: none; } /* the button never shrinks; long text on the left gets "…" instead */
.sticky-cta__info { display: grid; min-width: 0; line-height: 1.25; }
.sticky-cta__info b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; }
.sticky-cta__info span { color: var(--muted); font-size: 13px; }
.sticky-cta__info .p { color: var(--up); font-weight: 700; }
@media (min-width: 720px) {
  .sticky-cta { left: 50%; right: auto; width: min(560px, calc(100% - 24px)); transform: translate(-50%, 160%); }
  .sticky-cta.show { transform: translate(-50%, 0); }
}

/* WhatsApp button */
.wa-float {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 49;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #052e16; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 719px) { .sticky-on .wa-float { transform: translateY(-74px); } }

/* Local preview checklist (only shown when opening the page on your own computer) */
.devbar { padding: 9px var(--gutter); background: #3a2e05; color: #ffe08a; font-size: 13px; text-align: center; }
.devbar code { padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, 0.3); }

/* ---------- Scroll reveal ----------
   Fallback (all browsers): fade up once when it comes into view, cards one after another.
   Modern browsers: the browser itself plays the reveal in step with scrolling (smoother, no JS). */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.in { opacity: 1; transform: none; }
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .js .reveal {
      opacity: 1; transform: none; transition: none;
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry calc(var(--i, 0) * 6%) entry calc(60% + var(--i, 0) * 6%);
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Sub pages (thank-you, legal) ---------- */
.page { padding: 56px 0 88px; }
.narrow { max-width: 760px; margin-inline: auto; }
.ty { text-align: center; }
.ty__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--up-soft); color: var(--up); box-shadow: 0 0 0 10px rgba(46, 230, 166, 0.06); }
.ty__icon svg { width: 36px; height: 36px; stroke-width: 2.5; }
.ty h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
.ty .lead { margin: 14px auto 0; }
.ty-card { margin-top: 36px; padding: 26px 22px; text-align: left; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); }
@media (min-width: 640px) { .ty-card { padding: 32px; } }
.ty-card h2 { margin-bottom: 20px; font-size: 22px; }
.ty-steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ty-steps li { position: relative; padding-left: 46px; counter-increment: s; }
.ty-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--up-soft); color: var(--up); font: 700 14px/1 var(--display); }
.ty-steps h3 { margin-bottom: 4px; font-size: 17px; font-weight: 600; }
.ty-steps p { color: var(--muted); font-size: 15px; }
.ty-steps .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ty-more { margin-top: 26px; color: var(--muted); font-size: 15px; }
.ty-more a { color: var(--up); }

.prose h1 { font-size: clamp(2rem, 3vw + 1rem, 2.8rem); }
.prose .updated { margin-top: 10px; color: var(--dim); font-size: 14px; }
.prose .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.prose .toc a { padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 14px; text-decoration: none; }
.prose .toc a:hover { color: var(--text); }
.prose section { padding-top: 44px; }
.prose h2 { margin-bottom: 14px; font-size: 24px; }
.prose h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 600; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--up); }
.prose strong { color: var(--text); }

/* ---------- Reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .story__step { opacity: 1; }
  .js .wordmark span { opacity: 1; transform: none; }
  .stack__inner { transform: none; }
  .stack__inner::after { opacity: 0; }
  .alerts__pin { height: auto; }
  .alerts__sticky { position: static; height: auto; padding: 12px 0; }
}
