/* Moveintrade v2: "Movin Night". Warm near-black, one copper accent, serif headlines with italic payoffs,
   mono numbers, everything quietly in motion. Section order follows the reference hierarchy (docs/08 §v2).
   Every animation stops under prefers-reduced-motion; every canvas pauses off-screen (app.js). */

@font-face { font-family: "Rupee"; src: url("../fonts/inter-rupee.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jbmono-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #0d0b0a;
  --bg-2: #12100e;
  --card: #191513;
  --card-2: #211c19;
  --card-3: #2a2420;
  --line: rgba(255, 236, 222, .08);
  --line-2: rgba(255, 236, 222, .14);
  --text: #f3ece5;
  --text-2: #bdb1a7;
  --text-3: #9a8d82;
  --copper: #c8572e;
  --copper-2: #e27a50;
  --copper-3: #8f3c20;
  --paper: #e9ddd0;
  --green: #5fb36a;
  --green-2: #2f6b3a;
  --red: #e0664a;

  --serif: "Rupee", "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Rupee", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Rupee", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-hero: clamp(2.7rem, 1.5rem + 4.6vw, 5rem);
  --t-h2: clamp(2rem, 1.35rem + 2.4vw, 3.4rem);
  --t-h3: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --rail: min(1100px, calc(100vw - 32px));
  --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* faint film grain over everything */
body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
 }  /* static on purpose: an animated full-viewport layer costs a recomposite every step on weak GPUs */
@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); } }
[hidden] { display: none !important; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.up { color: var(--green); } .down { color: var(--red); }
em { font-style: italic; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; }
.kicker { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-2); }
.label { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* page rails: the thin vertical guides the whole page hangs on */
.rails { position: relative; width: var(--rail); margin: 0 auto; }
.rails::before, .rails::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--line), var(--line)) ; opacity: .7; }
.rails::before { left: 0; } .rails::after { right: 0; }
.rule { position: relative; height: 1px; background-image: linear-gradient(90deg, var(--line-2) 50%, transparent 50%); background-size: 6px 1px; }
.rule::before, .rule::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.rule::before { left: -2px; } .rule::after { right: -2px; }

/* ── Nav pill ─────────────────────────────────────────── */
.nav { position: fixed; top: 16px; left: 50%; z-index: 80; transform: translateX(-50%); display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 16px; border-radius: 18px; background: rgba(44, 38, 34, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 230, .1), 0 12px 40px rgba(0, 0, 0, .45); transition: transform .5s var(--ease), opacity .5s; }
.nav.is-intro { transform: translate(-50%, -24px); opacity: 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; text-decoration: none; font: 500 16px/1 var(--sans); letter-spacing: -.01em; }
.brand i { font: italic 400 17px/1 var(--serif); letter-spacing: 0; }
.brand svg { width: 18px; height: 18px; }
.nav a.lnk { padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text-2); transition: color .2s, background .2s; }
.nav a.lnk:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer;
  font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; color: #fff; background: var(--copper); transition: transform .2s var(--ease), background .2s, box-shadow .3s; }
.btn:hover { background: #d6633a; }
.btn:active { transform: translateY(1px); }
.btn--glow { height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; background: linear-gradient(180deg, #e0805a, #c4552d 60%, #b24a26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 40px rgba(200, 87, 46, .45), 0 0 0 1px rgba(255, 170, 130, .25); }
.btn--glow:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 54px rgba(220, 100, 55, .6), 0 0 0 1px rgba(255, 170, 130, .35); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.btn--light { background: var(--paper); color: #1a1310; }
.btn--light:hover { background: #fff; }
@media (max-width: 700px) {
  .nav { width: calc(100vw - 24px); padding-left: 14px; justify-content: space-between; top: 12px; }
  .nav a.lnk { display: none; }
  .brand { margin-right: 0; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: grid; place-items: center; text-align: center; }
.hero canvas.globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.1s var(--ease); cursor: grab; }
.hero canvas.globe.on { opacity: 1; }
.hero canvas.globe.grabbing { cursor: grabbing; }
.hero__in { pointer-events: none; }                       /* let drags reach the globe behind the copy */
.hero__in .access, .hero__in .access * { pointer-events: auto; }
.spin-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; pointer-events: none;
  font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 236, 229, .55); opacity: 0; animation: hint 1s 2.6s var(--ease) forwards; }
.spin-hint svg { width: 16px; height: 16px; animation: nudge 2.4s 3s ease-in-out infinite; }
@keyframes hint { to { opacity: 1; } }
@keyframes nudge { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.hero__tape { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mask-image: linear-gradient(180deg, transparent 30%, #000 70%); -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 70%); }
.hero__tape div { position: absolute; left: 0; white-space: nowrap; font: 500 clamp(28px, 4vw, 54px)/1 var(--mono); color: rgba(255, 230, 215, .05); animation: drift 80s linear infinite; }
.hero__tape div:nth-child(2) { animation-duration: 110s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }
.hero__in { position: relative; padding: 140px 16px 34vh; max-width: 940px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; background: rgba(40, 34, 30, .7); box-shadow: inset 0 0 0 1px var(--line);
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 480px) { .chip { gap: 7px; padding: 6px 10px; font-size: 9.5px; letter-spacing: .07em; white-space: nowrap; } }
.chip b { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--copper); color: #fff; font: 700 10px/1 var(--sans); letter-spacing: 0; }
.chip .sep { width: 1px; height: 12px; background: var(--line-2); }
.chip .live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(95, 179, 106, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(95, 179, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 179, 106, 0); } }
.hero h1 { margin: 26px 0 22px; font: 400 var(--t-hero)/1.04 var(--serif); letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.hero h1 em { color: #f6dccb; }
.hero p.sub { margin: 0 auto 34px; max-width: 46ch; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--text-2); text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.split .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.split.is-in .w { opacity: 1; transform: none; filter: none; }
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.is-in > .fade-up, .fade-up.is-in { opacity: 1; transform: none; }

/* inline access form that the hero CTA expands into */
.access { position: relative; display: inline-grid; justify-items: center; }
.access form { display: flex; align-items: center; gap: 6px; width: min(440px, calc(100vw - 32px)); height: 56px; padding: 6px 6px 6px 18px; border-radius: 999px;
  background: rgba(30, 25, 22, .92); box-shadow: inset 0 0 0 1px rgba(255, 170, 130, .3), 0 10px 40px rgba(200, 87, 46, .3); }
.access form .cc { font: 500 15px/1 var(--mono); color: var(--text-3); }
.access form input[type="tel"] { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 16px/1 var(--mono); letter-spacing: .03em; }
.access form input::placeholder { color: #6f645c; }
.access form .btn { height: 44px; border-radius: 999px; }
.access .hp { position: absolute; left: -9999px; }
.access .note { min-height: 1.4em; margin: 12px 0 0; font-size: 13px; color: var(--text-3); }
.access .note.ok { color: var(--green); } .access .note.err { color: var(--red); }
.access.is-open .btn--glow { display: none; }
.access:not(.is-open) form { display: none; }
.access.is-open form { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* trade pills popping on the globe */
.pill { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 10px; pointer-events: none;
  background: rgba(22, 18, 16, .9); box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 24px rgba(0, 0, 0, .5); font: 500 11px/1.25 var(--mono); color: var(--text-2);
  transform: translate(-50%, calc(-100% - 10px)) scale(.9); opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; }
.pill.on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
.pill .tk { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #2b2420; color: var(--text); font-size: 9px; }
.pill b { color: var(--text); font-weight: 600; }
.pill::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 1px; height: 12px; background: linear-gradient(var(--line-2), transparent); }

/* ── Markets strip (under hero) ───────────────────────── */
.strip { padding: 34px 0 30px; text-align: center; }
.strip .label { display: block; margin-bottom: 20px; color: var(--copper-2); }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__t { display: flex; width: max-content; gap: 44px; animation: drift 46s linear infinite; }
.marquee__t span { font: 400 22px/1 var(--serif); color: #8a7e75; letter-spacing: -.01em; white-space: nowrap; }
.marquee__t span i { font-style: italic; color: #a39488; }

/* ── Narration (order-book field) ─────────────────────── */
.narr { position: relative; height: clamp(560px, 92vh, 860px); display: grid; place-items: center; overflow: hidden; }
.narr canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.narr__meta { position: absolute; left: 12px; top: 16px; display: grid; gap: 8px; z-index: 1; }
.narr__meta .label { color: #a39488; }
.narr__meta .swatch { display: inline-flex; gap: 2px; vertical-align: middle; margin: 0 6px; }
.narr__meta .swatch i { width: 7px; height: 7px; }
.narr p { position: relative; z-index: 1; max-width: 22ch; margin: 0; padding: 0 16px; text-align: center; font: 400 clamp(1.6rem, 1.1rem + 2vw, 2.5rem)/1.28 var(--serif); letter-spacing: -.012em; }
.narr p .w { color: rgba(243, 236, 229, .16); transition: color .5s var(--ease); }
.narr p .w.lit { color: var(--text); }
.narr p em .w.lit { color: #f6dccb; }

/* ── Story stack ──────────────────────────────────────── */
.story { position: relative; padding-bottom: 14vh; }
.story__scene + .story__scene { margin-top: 26vh; }
.story__scene { position: sticky; top: 76px; height: calc(100vh - 100px); min-height: 520px; display: grid; place-items: center; }
.scene { position: relative; width: min(860px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px)); border-radius: 30px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 120%, #2a1d16, #1a1513 55%, #171311); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px rgba(0, 0, 0, .55);
  transform-origin: 50% 0; will-change: transform; }
.scene canvas.halftone { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.scene h3 { position: absolute; left: 50%; top: 50%; z-index: 3; width: min(92%, 17em); margin: 0; transform: translate(-50%, -50%); text-align: center;
  font: 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1.18 var(--serif); letter-spacing: -.012em; text-shadow: 0 4px 30px rgba(0, 0, 0, .9); }
.scene h3 em { color: #f6dccb; }
.tkt { position: absolute; z-index: 2; width: clamp(150px, 20vw, 210px); padding: 12px 14px; border-radius: 6px; font: 500 9px/1.35 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .55), 0 2px 0 rgba(0, 0, 0, .3); transform: rotate(var(--rot, 0deg)); animation: bob 7s var(--ease) infinite alternate; animation-delay: var(--bd, 0s); }
.tkt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: multiply; opacity: .5;
  background-image: radial-gradient(rgba(0, 0, 0, .35) .6px, transparent .7px); background-size: 3px 3px; }
.tkt--cu { background: linear-gradient(170deg, #cf6539, #b8502a); color: #fde9dc; }
.tkt--gr { background: linear-gradient(170deg, #4a443f, #3a3531); color: #e8dfd6; }
.tkt .row { display: flex; justify-content: space-between; gap: 8px; opacity: .85; }
.tkt .big { margin: 8px 0 6px; font: 400 clamp(26px, 3.4vw, 40px)/1 var(--sans); letter-spacing: -.03em; text-transform: none; }
.tkt .big small { font-size: .5em; }
.tkt .bar { height: 14px; margin-top: 8px; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 3px, currentColor 3px 5px, transparent 5px 6px); opacity: .55; }
.tkt .stamp { position: absolute; right: 12px; top: 34px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed currentColor; transform: rotate(-14deg);
  font-size: 9px; text-align: center; opacity: .8; }
.tkt ul { margin: 6px 0 0; padding: 0; list-style: none; text-transform: none; font: 400 13px/1.45 var(--sans); letter-spacing: 0; }
.tkt ul li { display: flex; justify-content: space-between; }
@keyframes bob { from { transform: rotate(var(--rot, 0deg)) translateY(0); } to { transform: rotate(calc(var(--rot, 0deg) * .7)) translateY(-10px); } }
.p-tl { left: 4%; top: 9%; } .p-tr { right: 4%; top: 12%; } .p-bl { left: 9%; bottom: 7%; } .p-br { right: 5%; bottom: 9%; } .p-tc { left: 33%; top: 6%; }
@media (max-width: 700px) {
  .tkt { width: 138px; padding: 9px 10px; } .tkt .big { font-size: 24px; }
  .p-tc { display: none; } .p-tl { left: 3%; top: 4%; } .p-tr { right: 3%; top: 6%; } .p-bl { left: 3%; bottom: 4%; } .p-br { right: 3%; bottom: 5%; }
}

/* ── Introducing + terminal ───────────────────────────── */
.intro { position: relative; z-index: 2; padding: 120px 0 40px; text-align: center; background: var(--bg); }
#product { position: relative; z-index: 2; background: var(--bg); }   /* paint above the sticky story cards as they leave */
.intro .mark { width: 40px; height: 40px; margin: 0 auto 18px; color: var(--paper); }
.intro h2 { margin: 0 0 14px; font: 400 var(--t-h2)/1.08 var(--serif); letter-spacing: -.02em; }
.intro p { margin: 0 auto; max-width: 52ch; color: var(--text-2); }
.logos { margin-top: 56px; border-block: 1px solid var(--line); }
.logos .marquee__t { gap: 0; animation-duration: 38s; }
.lg { display: flex; align-items: center; gap: 10px; padding: 18px 30px; border-right: 1px solid var(--line); }
.lg .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #241e1b; font: 700 10px/1 var(--sans); color: var(--text); }
.lg b { display: block; font: 600 14px/1.2 var(--sans); text-align: left; }
.lg span { font: 500 12px/1.2 var(--mono); color: var(--text-3); }

.term-wrap { position: relative; margin: 56px auto 0; width: min(1060px, calc(100vw - 24px)); padding: 54px 0 0 54px; border-radius: 26px; overflow: hidden;
  background: radial-gradient(80% 60% at 0% 0%, rgba(200, 87, 46, .22), transparent 60%), #15110f; box-shadow: inset 0 0 0 1px var(--line); }
.term-wrap canvas.dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.term { position: relative; height: 620px; border-radius: 14px 0 0 0; overflow: hidden; background: #110e0d; box-shadow: inset 0 0 0 1px var(--line-2), -20px 0 60px rgba(0, 0, 0, .5);
  font-size: 12px; text-align: left; display: grid; grid-template-rows: 46px 58px 34px 1fr; grid-template-columns: 1fr 230px; }
.term__nav { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.term__nav .brand { margin: 0 8px 0 0; font-size: 14px; }
.term__nav a { color: var(--text-3); text-decoration: none; font-weight: 500; }
.term__nav a.on { color: var(--text); }
.term__nav .bal { margin-left: auto; padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); color: var(--text); }
.term__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; padding: 0 18px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.term__sym { display: flex; align-items: center; gap: 10px; font: 600 18px/1 var(--sans); }
.term__sym .ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #2a2420; font-size: 10px; }
.stat .label { display: block; margin-bottom: 5px; font-size: 10px; text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.stat .mono { color: var(--text); font-size: 12.5px; }
.term__tools { display: flex; align-items: center; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--text-3); font-family: var(--mono); }
.term__tools span.on { color: var(--text); padding: 3px 7px; border-radius: 6px; background: #2a2420; }
.term__chart { position: relative; border-right: 1px solid var(--line); }
.term__chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.term__side { grid-column: 2; grid-row: 3 / 5; display: grid; grid-template-rows: auto 1fr auto; }
.book { padding: 10px 12px; font-family: var(--mono); font-size: 11.5px; overflow: hidden; }
.book .hd { display: flex; gap: 14px; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 600; }
.book .hd span:last-child { color: var(--text-3); font-weight: 500; }
.book .r { position: relative; display: flex; justify-content: space-between; padding: 2px 4px; }
.book .r i { position: absolute; right: 0; top: 1px; bottom: 1px; opacity: .14; }
.book .ask { color: var(--red); } .book .ask i { background: var(--red); }
.book .bid { color: var(--green); } .book .bid i { background: var(--green); }
.book .spr { display: flex; justify-content: space-between; padding: 5px 4px; margin: 3px 0; color: var(--text-3); border-block: 1px solid var(--line); font-family: var(--sans); }
.ticketx { padding: 12px; border-top: 1px solid var(--line); }
.ticketx .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 9px; background: #1d1816; margin-bottom: 10px; }
.ticketx .seg span { padding: 7px; border-radius: 7px; text-align: center; font-weight: 600; color: var(--text-3); transition: background .3s, color .3s; }
.ticketx .seg span.on.l { background: #2f7a3c; color: #fff; } .ticketx .seg span.on.s { background: #a53f24; color: #fff; }
.ticketx .lv { display: flex; justify-content: space-between; color: var(--text-3); margin-bottom: 8px; }
.ticketx .trk { position: relative; height: 4px; border-radius: 4px; background: #2d2622; margin: 6px 0 12px; }
.ticketx .trk i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--copper); width: var(--lv, 10%); transition: width .5s var(--ease); }
.ticketx .trk b { position: absolute; top: 50%; left: var(--lv, 10%); width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: left .5s var(--ease); }
.ticketx dl { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; margin: 0 0 10px; font-family: var(--mono); font-size: 11px; }
.ticketx dt { color: var(--text-3); font-family: var(--sans); } .ticketx dd { margin: 0; text-align: right; }
.ticketx .place { width: 100%; height: 34px; border-radius: 8px; border: 0; background: #2f7a3c; color: #fff; font-weight: 600; transition: transform .15s, background .3s; }
.ticketx .place.s { background: #a53f24; }
.ticketx .place.press { transform: scale(.96); }
.pos { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 10px;
  background: rgba(30, 25, 22, .95); box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); font-size: 11.5px; transform: translateY(140%); transition: transform .6s var(--ease); }
.pos.on { transform: none; }
.pos .label { font-size: 9.5px; margin-bottom: 4px; display: block; }
.toast { position: absolute; right: 246px; top: 116px; z-index: 4; padding: 10px 14px; border-radius: 10px; background: #1f3d25; color: #c9f0cf; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .35s var(--ease); }
.toast.on { opacity: 1; transform: none; }
.cursor { position: absolute; z-index: 6; left: 0; top: 0; width: 20px; height: 20px; pointer-events: none; transition: transform .9s cubic-bezier(.6, .05, .2, 1); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6)); }
.cursor.click::after { content: ""; position: absolute; left: -10px; top: -10px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 200, 170, .8); animation: ripple .5s ease-out forwards; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.term__caption { position: absolute; left: 18px; top: 18px; z-index: 2; display: flex; gap: 8px; align-items: center; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.term__caption .live { width: 6px; height: 6px; border-radius: 50%; background: var(--copper-2); animation: ping 2s infinite; }
.term__caption .step { color: var(--text); }
@media (max-width: 900px) {
  .term-wrap { padding: 46px 0 0 16px; }
  .term { grid-template-columns: 1fr; grid-template-rows: 46px 58px 34px 300px auto; height: auto; }
  .term__side { grid-column: 1; grid-row: 5; grid-template-rows: auto auto; }
  .book { display: none; }
  .term__nav a:not(.on) { display: none; }
  .toast { right: 16px; top: 160px; }
}

/* ── Bento ────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; width: min(1060px, calc(100vw - 24px)); margin: 18px auto 0; }
.bc { position: relative; grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r); padding: 14px; background: #191513; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s; }
.bc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px rgba(0, 0, 0, .4); }
.bc--wide { grid-column: span 4; }
.bc__stage { position: relative; height: 236px; border-radius: 14px; overflow: hidden; background: #120f0e; }
.bc__stage canvas.dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.bc__ui { position: absolute; inset: 22px 22px auto; border-radius: 12px; background: #1c1715; box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px rgba(0, 0, 0, .5); padding: 14px; font-size: 12.5px; }
.bc h4 { margin: 18px 6px 6px; font: 500 13px/1.3 var(--sans); color: var(--text-3); }
.bc p { margin: 0 6px 6px; font-size: 15px; line-height: 1.5; color: var(--text); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bc, .bc--wide { grid-column: auto; } }
.lev-ui .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.lev-ui .top b { font-size: 15px; } .lev-ui .top span { color: var(--text-3); font-size: 11px; margin-left: 6px; }
.lev-ui .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 9px; background: #262019; margin-bottom: 12px; }
.lev-ui .seg span { padding: 7px; text-align: center; border-radius: 7px; font-weight: 600; color: var(--text-3); }
.lev-ui .seg span.on { background: #3f8f4a; color: #fff; }
.lev-ui .trk { position: relative; height: 3px; margin: 14px 0 6px; background: #3a302a; border-radius: 3px; }
.lev-ui .trk i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--copper); border-radius: 3px; }
.lev-ui .trk b { position: absolute; top: 50%; left: var(--p, 0%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; }
.lev-ui .ticks { display: flex; justify-content: space-between; font: 500 9.5px/1 var(--mono); color: var(--text-3); }
.lev-ui .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.lev-ui .grid3 .label { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 10.5px; margin-bottom: 4px; display: block; }
.upi-ui .tabs { display: flex; gap: 6px; margin-bottom: 12px; } .upi-ui .tabs span { padding: 5px 10px; border-radius: 7px; color: var(--text-3); } .upi-ui .tabs span.on { background: #2a2420; color: var(--text); }
.upi-ui .amt { font: 500 26px/1 var(--mono); letter-spacing: -.02em; margin: 4px 0 10px; }
.upi-ui .chips { display: flex; gap: 6px; margin-bottom: 12px; } .upi-ui .chips span { padding: 5px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 11px/1 var(--mono); color: var(--text-3); }
.upi-ui .chips span.on { color: var(--text); background: #2a2420; }
.upi-ui .go { display: grid; place-items: center; height: 36px; border-radius: 9px; background: #2a2420; font-weight: 600; color: var(--text-2); transition: background .4s, color .4s; }
.upi-ui .go.s1 { background: #4a3a20; color: #f2d7a6; } .upi-ui .go.s2 { background: #2f7a3c; color: #fff; }
.clock-ui .hd { display: flex; justify-content: space-between; margin-bottom: 14px; } .clock-ui .hd b { display: flex; gap: 6px; align-items: center; }
.clock-ui .hd b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(95, 179, 106, .2); }
.clock-ui .row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 8px; margin: 8px 0; font: 500 10px/1 var(--mono); color: var(--text-3); }
.clock-ui .track { position: relative; height: 18px; border-radius: 5px; background: #241e1b; }
.clock-ui .track i { position: absolute; top: 0; bottom: 0; border-radius: 5px; }
.clock-ui .axis { display: flex; justify-content: space-between; padding-left: 62px; font: 500 9px/1 var(--mono); color: var(--text-3); }
.clock-ui .now { position: absolute; top: 34px; bottom: 26px; width: 2px; background: #fff; transition: left 1s linear; }
.clock-ui .now::after { content: "NOW"; position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); font: 600 8.5px/1 var(--mono); color: #fff; }
.tools-ui .hd { display: flex; justify-content: space-between; margin-bottom: 10px; } .tools-ui .chips { display: flex; gap: 5px; } .tools-ui .chips span { padding: 3px 7px; border-radius: 6px; background: #262019; font: 500 10px/1 var(--mono); color: var(--text-3); }
.tools-ui canvas { width: 100%; height: 74px; } .tools-ui .cons { display: flex; justify-content: space-between; margin-top: 10px; font: 500 10px/1 var(--mono); color: var(--text-3); }
.tools-ui .meter { display: flex; gap: 3px; height: 5px; margin-top: 7px; } .tools-ui .meter i { border-radius: 3px; transition: flex-grow 1s var(--ease); }
.tax-ui .hd { display: flex; justify-content: space-between; margin-bottom: 12px; } .tax-ui .hd b { font-size: 13px; } .tax-ui .hd span { font: 600 10px/1 var(--mono); color: var(--text-3); transition: color .3s; }
.tax-ui .hd span.ok { color: var(--green); }
.tax-ui li { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 12px; }
.tax-ui li span:last-child { font: 500 10.5px/1 var(--mono); color: var(--text-3); }
.tax-ui li .ck { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #4c423b; transition: background .3s, box-shadow .3s; vertical-align: -2px; }
.tax-ui li.done .ck { background: var(--green); box-shadow: none; }
.tax-ui ul { margin: 0; padding: 0; list-style: none; }

/* ── How it works (honest trust, replaces an investor wall) ─ */
.how { padding: 110px 0 40px; }
.how__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 24px 26px; }
.how__head h2 { margin: 0; font: 400 var(--t-h2)/1.08 var(--serif); letter-spacing: -.02em; max-width: 16ch; }
.how__head p { margin: 0; max-width: 40ch; color: var(--text-2); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.how__grid article { padding: 30px 24px 34px; border-right: 1px solid var(--line); }
.how__grid article:last-child { border-right: 0; }
.how__grid .n { font: 500 12px/1 var(--mono); color: var(--copper-2); }
.how__grid h3 { margin: 22px 0 10px; font: 400 var(--t-h3)/1.2 var(--serif); }
.how__grid p { margin: 0; color: var(--text-2); font-size: 15px; }
.how__grid code { font: 500 12px/1 var(--mono); color: var(--text); background: #221c19; padding: 3px 6px; border-radius: 6px; }
@media (max-width: 860px) { .how__head { flex-direction: column; align-items: start; } .how__grid { grid-template-columns: 1fr; } .how__grid article { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ── Learn ────────────────────────────────────────────── */
.learn { display: grid; grid-template-columns: 1.1fr .9fr; margin: 40px 24px; border-radius: 26px; overflow: hidden; background: linear-gradient(120deg, #1f1a17, #1a1513); box-shadow: inset 0 0 0 1px var(--line); }
.learn__copy { padding: clamp(32px, 5vw, 60px); }
.learn__copy h2 { margin: 18px 0 18px; font: 400 clamp(2rem, 1.4rem + 2vw, 2.9rem)/1.08 var(--serif); letter-spacing: -.02em; }
.learn__copy p { margin: 0 0 28px; max-width: 34ch; color: var(--text-2); }
.learn__copy .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.learn__copy .btn { height: 44px; border-radius: 999px; padding: 0 20px; }
.learn__art { position: relative; display: grid; place-items: center; min-height: 380px; margin: 8px; border-radius: 20px; background: #15110f; perspective: 900px; overflow: hidden; }
.passport { position: relative; width: 170px; height: 230px; border-radius: 8px 14px 14px 8px; transform-style: preserve-3d; animation: float 6s ease-in-out infinite;
  background: linear-gradient(135deg, #7a2e19, #5a2010 60%, #4a1a0d); box-shadow: inset 6px 0 0 rgba(0, 0, 0, .25), 0 30px 50px rgba(0, 0, 0, .6); color: #e3b77d; text-align: center; padding: 22px 12px; }
.passport small { display: block; font: 500 9px/1 var(--mono); letter-spacing: .24em; }
.passport .seal { width: 66px; height: 66px; margin: 26px auto 22px; border-radius: 50%; border: 2px solid #e3b77d; display: grid; place-items: center; }
.passport .seal svg { width: 30px; height: 30px; }
.passport b { display: block; font: 500 13px/1.2 var(--serif); letter-spacing: .18em; }
.passport i { display: block; margin-top: 4px; font: italic 400 11px/1 var(--serif); }
.boarding { position: absolute; left: 50%; top: 50%; z-index: -1; width: 112px; padding: 8px 10px; border-radius: 4px; background: #efe5d6; color: #2a1d16; font: 600 9px/1.2 var(--mono);
  transform: translate(-6px, -168px) rotate(6deg); animation: peek 6s ease-in-out infinite; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.boarding::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--copper); border-radius: 4px 4px 0 0; }
.boarding b { display: block; font-size: 14px; margin-top: 4px; } .boarding b span { color: var(--copper); }
@keyframes float { 0%, 100% { transform: rotateY(-14deg) rotateX(6deg) translateY(0); } 50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-10px); } }
@keyframes peek { 0%, 100% { transform: translate(-6px, -168px) rotate(6deg); } 50% { transform: translate(-2px, -182px) rotate(3deg); } }
@media (max-width: 860px) { .learn { grid-template-columns: 1fr; margin: 30px 12px; } }

/* ── Notes ────────────────────────────────────────────── */
.notes { padding: 70px 24px 80px; }
.notes__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.notes__head h2 { margin: 0; font: 400 clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem)/1.1 var(--serif); }
.notes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.note { text-decoration: none; }
.note .art { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #1a1412; }
.note .art img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.95); }
.note:hover .art img { transform: scale(1.04); filter: saturate(1.15) brightness(1.06); }
.note h3 { margin: 16px 0 10px; font: 500 17px/1.35 var(--sans); }
.note .meta { display: flex; gap: 10px; font-size: 13px; color: var(--text-3); }
@media (max-width: 860px) { .notes__grid { grid-template-columns: 1fr; } }

/* ── Rings CTA ────────────────────────────────────────── */
.ring-cta { position: relative; height: min(720px, 92vh); display: grid; place-items: center; text-align: center; overflow: hidden; border-block: 1px solid var(--line); }
.ring-cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-cta h2 { position: relative; margin: 0 0 30px; font: 400 clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem)/1.1 var(--serif); letter-spacing: -.02em; }
.ring-cta h2 em { color: var(--copper-2); }
.ring-cta .access { position: relative; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { padding: 100px 16px 90px; }
.faq h2 { margin: 0 0 46px; text-align: center; font: 400 var(--t-h2)/1.1 var(--serif); letter-spacing: -.02em; }
.faq__list { max-width: 640px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .a { overflow: hidden; }
.faq details p { margin: 0 2px 22px; color: var(--text-2); font-size: 15px; max-width: 60ch; }

/* ── Footer ───────────────────────────────────────────── */
.foot { position: relative; margin-top: 30px; }
.foot__card { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 40px; padding: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 34px) 40px; border-radius: 0 0 28px 28px; background: var(--bg-2); box-shadow: 0 1px 0 var(--line); }
.foot h2 { margin: 0 0 12px; font: 400 clamp(2rem, 1.5rem + 1.8vw, 2.9rem)/1.08 var(--serif); letter-spacing: -.02em; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(120px, auto)); gap: 34px; font-size: 14px; }
.foot__cols h4 { margin: 0 0 16px; font-weight: 500; color: var(--text-3); font-size: 13px; }
.foot__cols a { display: block; margin-bottom: 12px; text-decoration: none; color: var(--text-2); }
.foot__cols a:hover { color: var(--text); }
.foot__legal { grid-column: 1 / -1; display: grid; gap: 8px; padding-top: 28px; border-top: 1px solid var(--line); font: 400 12px/1.6 var(--mono); color: var(--text-3); max-width: 920px; }
.foot__legal b { color: var(--text-2); font-weight: 500; }
.foot__mark { position: relative; height: clamp(150px, 22vw, 300px); margin-top: -28px; overflow: hidden; }
.foot__mark canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) { .foot__card { grid-template-columns: minmax(0, 1fr); } .foot__cols { grid-template-columns: repeat(2, minmax(0, auto)); } .foot__card .access { display: grid; width: 100%; } .foot__card .access form { width: 100%; } }

.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: none; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 16px;
  background: rgba(30, 25, 22, .94); box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 40px rgba(0, 0, 0, .5); font-size: 14px; transform: translateY(150%); transition: transform .4s var(--ease); }
.sticky.on { transform: none; }
@media (max-width: 700px) { .sticky { display: flex; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .split .w, .fade-up { opacity: 1 !important; transform: none !important; filter: none !important; }
  .narr p .w { color: var(--text); }
}

/* Q11: paths into the demo terminal (the waitlist stays the primary CTA) */
.demo-link { display: inline-block; margin-top: 14px; color: var(--text-2); font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255, 236, 222, .25); }
.demo-link:hover { color: var(--text); border-color: var(--copper-2); }
.term__try { position: absolute; right: 22px; top: 7px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--copper); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 12px 40px rgba(200, 87, 46, .45); }
.term__try:hover { background: #d6633a; }
@media (max-width: 640px) { .term__try { right: 12px; top: 8px; height: 38px; padding: 0 14px; font-size: 14px; } }
