@charset "UTF-8";
/* CFI QuantHub Arsenal: the showcase page and its intro pages. Same family as the TradeShala landing:
   graphite black, restrained cobalt glow, emerald accent word, white pill buttons, boxes built around
   real objects, giant cropped wordmark. Data colours keep their meaning: green is up, red is down. */

:root {
  --ink: #07080d; --ink-2: #0c0e14; --ink-3: #141821;
  --line: rgba(200, 212, 240, .08); --line-2: rgba(200, 212, 240, .14);
  --text: #eef1f6; --muted: #9aa1b1; --dim: #6f7688;
  --blue: #3b6dff; --blue-hi: #8fb0ff; --gold: #ffb35c; --cream: #fff1d6; --violet: #9b6bff;
  --green: #16d68f; --green-hi: #5cf2bf; --red: #ff4d63; --red-hi: #ff8a99;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --body: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; color: var(--text); font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; font-optical-sizing: auto; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: #05130d; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* Room light behind the top of every page. */
.stage { position: absolute; inset: 0 0 auto; height: min(100vh, 1040px); overflow: hidden; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
.stage i { position: absolute; inset: 0; display: block; }
.stage .amb { background:
  radial-gradient(50% 60% at 82% 34%, rgba(48, 88, 230, .2), transparent 70%),
  radial-gradient(35% 45% at 100% 0%, rgba(90, 130, 255, .12), transparent 70%),
  radial-gradient(28% 34% at 34% 100%, rgba(255, 170, 90, .055), transparent 70%); }
.stage .floor { inset: auto -10% 0; height: 42%; opacity: .42;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px; transform: perspective(900px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.stage .grain { opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 28px; }

/* Nav: the logo and name stay large. */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; view-transition-name: brand; }
.brand img { height: 72px; width: auto; }
.word { padding: 12px 0 12px 20px; border-left: 1px solid var(--line-2); font: 750 26px/1 var(--display); letter-spacing: .22em; white-space: nowrap; }

/* Buttons. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px;
  font: 600 14px/1 var(--body); white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn.glass { color: var(--text); background: rgba(200, 212, 240, .04); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .07); }
.btn.glass:hover { background: rgba(200, 212, 240, .09); box-shadow: inset 0 0 0 1px rgba(200, 212, 240, .28), inset 0 1px 0 rgba(255, 255, 255, .1); }
.btn.solid { min-height: 56px; padding: 8px 8px 8px 26px; color: #07080d; font-size: 15.5px; background: linear-gradient(180deg, #fff 0%, #e3e8f0 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 0 0 1px rgba(255, 255, 255, .4), 0 12px 40px rgba(47, 107, 255, .26); }
.btn.solid:hover { transform: translateY(-2px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 0 0 1px #fff, 0 18px 50px rgba(47, 107, 255, .36), 0 0 80px rgba(22, 214, 143, .14); }
.btn:active { transform: translateY(1px) scale(.99); }
.arrow { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font: 500 17px/1 var(--body); font-style: normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .25s var(--ease), background .25s; }
.btn.solid:hover .arrow { transform: translateX(2px) rotate(-45deg); background: var(--green); }
.btn.solid.down:hover .arrow { transform: translateY(2px); }

/* Accent word: polished emerald with a sheen that sweeps every few seconds. */
.mark { display: inline-block; color: transparent; padding-right: .04em;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%) 160% 0 / 250% 100% no-repeat,
    linear-gradient(180deg, #effff8 0%, #a6f7d6 26%, #34e0a1 50%, #0c9e6c 68%, #46e3ad 86%, #c9ffe9 100%);
  -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 26px rgba(22, 214, 143, .28));
  animation: sheen 7s 1.4s ease-in-out infinite; }
@keyframes sheen { 0%, 72% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }

.rise { animation: rise .85s var(--ease) both; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ── Arsenal page ─────────────────────────────────────────────────────────── */
.intro { padding-block: clamp(18px, 3vw, 40px) clamp(26px, 3.6vw, 44px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 40px; }
.intro h1 { font: 800 clamp(58px, 9vw, 124px)/.95 var(--display); letter-spacing: -.045em; }
.intro p { max-width: 24ch; padding-bottom: .5em; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; }

.rack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-bottom: clamp(50px, 7vw, 90px); }
.box { --c: var(--green); --mx: 50%; --my: 0%; position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 12px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(200, 212, 240, .055), rgba(200, 212, 240, .015));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .5s var(--ease), box-shadow .5s; }
.box.b-bn { --c: var(--blue); } .box.b-ts { --c: var(--gold); }
/* Lit from below in the box's own colour. */
.box::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -80px; height: 180px; border-radius: 50%; background: var(--c); opacity: .2; filter: blur(50px); transition: opacity .5s; }
/* A soft light follows the pointer. */
.box::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: 0; transition: opacity .4s; background: radial-gradient(340px 340px at var(--mx) var(--my), color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.box:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(200, 212, 240, .2), inset 0 1px 0 rgba(255, 255, 255, .12), 0 34px 70px rgba(0, 0, 0, .55); }
.box:hover::before { opacity: .4; } .box:hover::after { opacity: 1; }
.vis { position: relative; height: 212px; overflow: hidden; border-radius: 18px; background: rgba(6, 7, 12, .66); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .04); }
.box-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 22px 14px 12px; }
.slot { position: absolute; top: 26px; right: 14px; color: var(--dim); font: 500 12px/1 var(--mono); }
.box h2 { font: 750 clamp(26px, 2.5vw, 33px)/1.1 var(--display); letter-spacing: -.025em; }
.box-body > p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.facts { display: flex; gap: 28px; margin-block: 18px 24px; }
.facts dt { color: var(--dim); font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.facts dd { margin-top: 5px; font: 700 23px/1 var(--display); letter-spacing: -.02em; }
.go { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 7px 7px 7px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: rgba(200, 212, 240, .05); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
.box:hover .go { background: #f2f4f8; color: #07080d; }
.box:hover .arrow { transform: rotate(-45deg); background: var(--green); }

/* Box 2: hero number over the real running-return curve. */
.spark-num { position: absolute; z-index: 2; left: 18px; top: 16px; }
.spark-num b { display: block; font: 800 46px/1 var(--display); letter-spacing: -.035em; }
.spark-num span { display: block; margin-top: 6px; color: var(--muted); font: 500 11px/1 var(--mono); }
.spark { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Box 3: TradeShala's light wall, seen through fluted glass. */
.wall { position: absolute; inset: 0; display: flex; align-items: end; gap: 3px; padding: 0 8px; background: linear-gradient(180deg, #06070c, #0b1026); }
.wall i { position: relative; flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--cap, var(--gold)) 0 7px, rgba(143, 176, 255, .95) 7px, rgba(59, 109, 255, .75) 50%, rgba(11, 26, 92, .25) 100%); box-shadow: 0 0 22px rgba(59, 109, 255, .55); }
.wall::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 5px, rgba(0, 0, 0, .3) 5px 7px, transparent 7px 9px), linear-gradient(90deg, rgba(6, 7, 12, .86), rgba(6, 7, 12, .3) 58%, transparent); }
.ts-word { position: absolute; z-index: 2; left: 18px; bottom: 16px; right: 12px; }
.ts-word b { display: block; font: 750 21px/1 var(--display); letter-spacing: .2em; }
.ts-word > span { display: block; margin-top: 9px; color: var(--cream); font: 600 15px/1.25 var(--display); }

/* Candles: drawn stretched to the box; dots and labels are HTML so they stay round and legible. */
.candles { position: absolute; inset: 0; width: 100%; height: 100%; }
.candles .wick { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.candles .lvl { stroke-width: 1.2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; fill: none; opacity: .75; }
.up { fill: var(--green); stroke: var(--green); } .dn { fill: var(--red); stroke: var(--red); }
.lvl.t { stroke: var(--green-hi); } .lvl.p { stroke: var(--blue-hi); } .lvl.s { stroke: var(--red-hi); }
.plot-c { position: absolute; inset: 12px 68px 12px 12px; }
.plot-l { position: absolute; top: 12px; bottom: 12px; right: 8px; width: 56px; }
.plot-l span { position: absolute; right: 0; transform: translateY(-50%); color: var(--muted); font: 500 11px/1 var(--mono); white-space: nowrap; }

/* ── Intro pages ──────────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding-block: clamp(14px, 3vw, 44px) clamp(36px, 5vw, 64px); }
.hero h1 { font: 800 clamp(42px, 5.4vw, 76px)/1.02 var(--display); letter-spacing: -.04em; }
.lead { max-width: 54ch; margin-top: 20px; color: #b3bac8; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.62; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.actions small { color: var(--dim); font: 500 12px/1.3 var(--mono); }

.panel { position: relative; min-width: 0; border-radius: 24px; padding: 22px; background: linear-gradient(180deg, rgba(200, 212, 240, .05), rgba(200, 212, 240, .015));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .07); }
.panel h3 { font: 700 19px/1.2 var(--display); letter-spacing: -.015em; }
.panel p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.obj { position: relative; border-radius: 16px; background: rgba(6, 7, 12, .6); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .04); }
.cap { margin-top: 12px; color: var(--dim); font-size: 13px; line-height: 1.55; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-bottom: clamp(44px, 6vw, 80px); }
.stat { min-width: 0; padding: 20px 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(200, 212, 240, .05), rgba(200, 212, 240, .015)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .07); }
.stat dt { color: var(--muted); font-size: 13.5px; }
.stat dd { margin-top: 8px; font: 750 clamp(30px, 3.2vw, 44px)/1 var(--display); letter-spacing: -.03em; }
.stat dd small { display: block; margin-top: 8px; color: var(--dim); font: 400 13px/1.35 var(--body); letter-spacing: 0; }

.sec { padding-bottom: clamp(50px, 7vw, 92px); }
.sec > h2, .sec-h { font: 750 clamp(30px, 3.6vw, 48px)/1.08 var(--display); letter-spacing: -.03em; margin-bottom: 26px; }

/* Bento built around real objects. */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento .tall { grid-row: span 2; display: flex; flex-direction: column; }
.bento .wide { grid-column: span 2; }
.bento .panel { display: flex; flex-direction: column; }
.bento .obj { flex: 1; margin-bottom: 18px; padding: 14px 16px; }
.bento .tall .obj { display: grid; align-content: space-between; }
.bento h3 { margin-bottom: 8px; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font: 500 13px/1 var(--mono); }
.list-row:first-child { border-top: 0; }
.list-row b { font-weight: 600; color: var(--text); }
.list-row span { color: var(--dim); }
.ladder { display: grid; gap: 6px; font: 500 13px/1 var(--mono); }
.ladder div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(200, 212, 240, .035); }
.ladder span { color: var(--muted); }
.ladder .t { box-shadow: inset 2px 0 0 var(--green); } .ladder .p { box-shadow: inset 2px 0 0 var(--blue-hi); } .ladder .s { box-shadow: inset 2px 0 0 var(--red); }
.bento .session { display: flex; flex-direction: column; justify-content: center; min-height: 110px; }
.session .bar { position: relative; height: 8px; border-radius: 999px; background: rgba(200, 212, 240, .08); overflow: hidden; }
.session .bar::after { content: ""; position: absolute; inset: 0; width: 34%; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--green)); animation: sweep 3.4s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.session .ends { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font: 500 12px/1 var(--mono); }
.seg { display: flex; gap: 2px; height: 28px; }
.seg i { display: block; min-width: 4px; border-radius: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.legend i.w { border-radius: 50%; background: var(--green); }
.legend i.l { border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px var(--red-hi); }

/* Rules, lit from below. */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps li { position: relative; overflow: hidden; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(200, 212, 240, .04), rgba(200, 212, 240, .012)); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -46px; height: 80px; border-radius: 50%; background: var(--c, var(--blue)); opacity: .3; filter: blur(30px); }
.steps .k { display: grid; place-items: center; width: 44px; height: 50px; margin-bottom: 16px; color: #07080d; font: 700 15px/1 var(--display); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(180deg, #fff, #c8d0dd); }
.steps h3 { font: 700 18px/1.2 var(--display); letter-spacing: -.015em; margin-bottom: 8px; }
.steps p { position: relative; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Dashboard screenshot and tabs. */
.shot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px rgba(0, 0, 0, .5); }
.tabs { display: grid; gap: 2px; }
.tabs li { padding: 12px 0; border-top: 1px solid var(--line); }
.tabs li:first-child { border-top: 0; padding-top: 0; }
.tabs b { display: block; font: 700 15.5px/1.3 var(--display); }
.tabs span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Tables. */
.tbl-wrap { overflow-x: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(200, 212, 240, .02); }
.tbl { width: 100%; min-width: 660px; border-collapse: collapse; font: 500 14px/1.3 var(--mono); font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 14px 16px; text-align: right; white-space: nowrap; border-top: 1px solid var(--line); }
.tbl thead th { border-top: 0; color: var(--muted); font: 500 12px/1.3 var(--body); }
.tbl th:first-child, .tbl td:first-child { text-align: left; font-family: var(--body); font-weight: 600; }
.tbl tbody tr:hover td, .tbl tbody tr:hover th { background: rgba(200, 212, 240, .04); }
.tbl tr.total th, .tbl tr.total td { border-top: 1px solid var(--line-2); font-weight: 600; }
.note { margin-top: 14px; max-width: 86ch; color: var(--dim); font-size: 13px; line-height: 1.6; }

/* Closing call to action. */
.closing { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 30px; padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(200, 212, 240, .06), rgba(200, 212, 240, .015)); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .08); }
.closing::after { content: ""; position: absolute; z-index: -1; left: 20%; right: 20%; bottom: -90px; height: 160px; border-radius: 50%; background: var(--blue); opacity: .35; filter: blur(60px); }
.closing { isolation: isolate; }
.closing h2 { font: 750 clamp(28px, 3.4vw, 46px)/1.08 var(--display); letter-spacing: -.03em; }

/* Terminal object on the IPO page. */
.term { padding: 18px; border-radius: 24px; background: linear-gradient(180deg, rgba(200, 212, 240, .07), rgba(200, 212, 240, .02)); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .1), 0 40px 90px rgba(11, 26, 92, .5); }
.term-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding: 2px 4px 14px; }
.term-h b { font: 750 22px/1.1 var(--display); letter-spacing: -.01em; }
.term-h span { color: var(--muted); font: 500 12px/1.2 var(--mono); }
.plot { position: relative; height: clamp(250px, 26vw, 330px); }
.plot .plot-c { inset: 14px 118px 30px 12px; }
.plot .plot-l { top: 14px; bottom: 30px; right: 10px; width: 104px; }
.plot .plot-l span { font-size: 12px; }
.plot .plot-l span b { font-weight: 600; color: var(--text); }
.xticks { position: absolute; left: 12px; right: 118px; bottom: 8px; height: 14px; color: var(--dim); font: 500 11px/1 var(--mono); }
.xticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }

/* ── Bank Nifty charts ────────────────────────────────────────────────────── */
.figure { padding: 18px; border-radius: 24px; background: linear-gradient(180deg, rgba(200, 212, 240, .07), rgba(200, 212, 240, .02)); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .1), 0 40px 90px rgba(11, 26, 92, .5); }
.figure-h { padding: 4px 6px 16px; }
.figure-h span { display: block; color: var(--muted); font-size: 14px; }
.figure-h b { display: block; margin-top: 4px; font: 800 clamp(58px, 7vw, 92px)/1 var(--display); letter-spacing: -.045em; }
.figure-h small { display: block; margin-top: 8px; color: var(--text); font: 600 16px/1 var(--mono); }
.run { position: relative; height: clamp(190px, 18vw, 240px); margin-left: 34px; margin-bottom: 24px; }
.run svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.run .area { fill: url(#runfill); }
.run .line { fill: none; stroke: var(--green-hi); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.run .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.run .zero { stroke: rgba(200, 212, 240, .3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ylab { position: absolute; left: -34px; width: 28px; transform: translateY(-50%); text-align: right; color: var(--dim); font: 500 11px/1 var(--mono); }
.pts { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.pt { position: relative; outline: none; }
.pt > em { position: absolute; left: 50%; top: 100%; margin-top: 8px; transform: translateX(-50%); color: var(--dim); font: 500 11px/1 var(--mono); font-style: normal; }
.pt > i { position: absolute; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--green-hi); opacity: 0; transition: opacity .15s; }
.pt::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-2); opacity: 0; transition: opacity .15s; }
.pt:last-child > i { opacity: 1; background: var(--green-hi); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--green-hi); }
.pt:hover > i, .pt:focus > i, .pt:hover::before, .pt:focus::before { opacity: 1; }
.tip { position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); padding: 8px 10px; border-radius: 10px; color: var(--text); background: #1a1e29; box-shadow: 0 0 0 1px var(--line-2), 0 10px 26px rgba(0, 0, 0, .55); font: 500 12px/1.4 var(--mono); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
.tip b { font-weight: 600; color: var(--text); }
.tip span { color: var(--muted); }
.pt:hover .tip, .pt:focus .tip, .col:hover .tip, .col:focus .tip { opacity: 1; }
.pt .tip { bottom: auto; top: var(--tip); }
.tip.l { left: 0; transform: none; } .tip.r { left: auto; right: 0; transform: none; }

.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.chart-t { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-bottom: 16px; }
.chart-t span { color: var(--dim); font-size: 13px; }

/* Return and drawdown share one scale: 13.3px per percentage point. */
.cols { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.ret { height: 240px; border-bottom: 0; }
.ret::after { content: ""; position: absolute; left: 0; right: 0; top: 213.3px; height: 1px; background: rgba(200, 212, 240, .3); }
.dd { height: 100px; border-top: 1px solid rgba(200, 212, 240, .3); }
.col { position: relative; outline: none; }
.col:hover, .col:focus { background: rgba(200, 212, 240, .035); border-radius: 6px; }
.col > i { position: absolute; left: 50%; width: min(58%, 24px); transform: translateX(-50%); }
.ret .col > i.pos { bottom: 26.7px; height: calc(var(--v) * 13.333px); background: var(--green); border-radius: 4px 4px 0 0; }
.ret .col > i.neg { top: 213.3px; height: calc(var(--v) * 13.333px); background: var(--red); border-radius: 0 0 4px 4px; }
.dd .col > i { top: 0; height: calc(var(--v) * 13.333px); background: var(--red); opacity: .72; border-radius: 0 0 4px 4px; }
.val { position: absolute; left: 50%; transform: translateX(-50%); color: var(--text); font: 600 11.5px/1 var(--mono); white-space: nowrap; }
.months { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); padding-block: 8px; color: var(--muted); font: 500 11.5px/1 var(--mono); text-align: center; }
.dd-label { margin-top: 2px; color: var(--dim); font-size: 12.5px; }

.dotfig { display: flex; flex-direction: column; }
.dotfig .rows { flex: 1; display: grid; align-content: space-between; }
.dotrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding-block: 7px; }
.dotrow b { color: var(--muted); font: 500 12px/1 var(--mono); }
.dotrow span { color: var(--dim); font: 500 12px/1 var(--mono); }
.dots { display: flex; flex-wrap: wrap; gap: 5px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; }
.dots .w { background: var(--green); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.dots .l { box-shadow: inset 0 0 0 2px var(--red-hi); }

.anat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.anat .wl { grid-column: span 1; }
.hbar { margin-top: 14px; }
.hbar div { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 14px; color: var(--muted); }
.hbar div b { color: var(--text); font: 600 15px/1.3 var(--mono); }
.hbar i { display: block; height: 10px; width: var(--w); border-radius: 0 4px 4px 0; }
.kv { display: grid; gap: 0; }
.kv div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.kv div:first-child { border-top: 0; padding-top: 2px; }
.kv dt { color: var(--muted); font-size: 14.5px; }
.kv dd { font: 600 16px/1.2 var(--mono); }
.months-ok { display: flex; gap: 5px; margin-top: 14px; }
.months-ok i { flex: 1; height: 26px; border-radius: 4px; background: var(--green); }
.months-ok i.x { background: transparent; box-shadow: inset 0 0 0 2px var(--red-hi); }

/* Footer. */
.foot { padding-top: 16px; }
.foot p { color: var(--dim); font-size: 13px; line-height: 1.6; text-align: center; padding-inline: 20px; }
.giant { overflow: hidden; height: clamp(62px, 12.5vw, 180px); margin-top: 18px; text-align: center; white-space: nowrap; user-select: none;
  font: 800 clamp(76px, 16.5vw, 240px)/1 var(--display); letter-spacing: -.05em; color: transparent;
  background: linear-gradient(180deg, rgba(200, 212, 240, .16) 0%, rgba(200, 212, 240, .03) 70%, transparent 100%); -webkit-background-clip: text; background-clip: text; }

/* ── Name-and-email step (dialog) ─────────────────────────────────────────── */
.gate { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; color: var(--text); overflow: auto;
  background: linear-gradient(180deg, rgba(22, 26, 36, .98), rgba(11, 13, 19, .98));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 120px rgba(0, 0, 0, .7), 0 0 120px rgba(47, 107, 255, .2); }
.gate::backdrop { background: rgba(4, 5, 9, .5); backdrop-filter: blur(14px) saturate(.85); -webkit-backdrop-filter: blur(14px) saturate(.85); }
.gate[open] { animation: lead-in .45s var(--ease); }
@keyframes lead-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.gate form { position: relative; padding: 32px 28px 24px; }
.gate h2 { font: 800 34px/1.05 var(--display); letter-spacing: -.035em; }
.gate .sub { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.field { margin-top: 18px; }
.field label { display: block; margin-bottom: 8px; color: var(--muted); font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.field input { width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 14px; color: var(--text); font: 500 16px/1.2 var(--body);
  background: rgba(200, 212, 240, .05); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background .2s; }
.field input:focus { outline: none; background: rgba(200, 212, 240, .07); box-shadow: inset 0 0 0 1px var(--blue-hi), 0 0 0 4px rgba(59, 109, 255, .2); }
.gate .btn.solid { width: 100%; justify-content: space-between; margin-top: 22px; }
.gate .btn.solid:disabled { opacity: .7; cursor: progress; transform: none; }
.gate .status { min-height: 20px; margin-top: 12px; color: var(--red-hi); font-size: 13.5px; line-height: 1.4; }
.gate .fine { color: var(--dim); font-size: 12.5px; line-height: 1.5; }
.gate .x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--muted); font: 400 22px/1 var(--body); background: rgba(200, 212, 240, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.gate .x:hover { color: var(--text); background: rgba(200, 212, 240, .1); }
.lead-back { display: inline-block; margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 600; }
.lead-back:hover { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── "Interested?" call-back form ──────────────────────────────────────────── */
.enq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.enq-copy { position: sticky; top: 28px; padding-top: 8px; }
.enq-copy h2 { font: 800 clamp(46px, 5.4vw, 76px)/1 var(--display); letter-spacing: -.045em; }
.enq-copy p { max-width: 34ch; margin-top: 18px; color: #b3bac8; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; }
.enq-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(22px, 3vw, 34px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(200, 212, 240, .065), rgba(200, 212, 240, .015));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 90px rgba(11, 26, 92, .35); }
.enq-card::after { content: ""; position: absolute; z-index: -1; left: 15%; right: 15%; bottom: -110px; height: 180px; border-radius: 50%; background: var(--green); opacity: .16; filter: blur(60px); }
.enq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.enq-grid .field:first-child, .enq-grid .field:nth-child(2) { margin-top: 0; }
.enq-grid .span2 { grid-column: span 2; }
.enq-set { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.enq-set legend, .enq-form .field label { display: block; padding: 0; margin-bottom: 8px; color: var(--muted); font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.enq-set + .enq-grid .field { margin-top: 22px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: rgba(4, 6, 10, .5); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg3 .pick span { display: grid; place-items: center; min-height: 46px; padding: 0 8px; border-radius: 12px; color: var(--muted); font-size: 14.5px; font-weight: 600; text-align: center; line-height: 1.2; transition: background .2s, color .2s; }
.seg3 .pick:hover span { color: var(--text); background: rgba(200, 212, 240, .05); }
.seg3 .pick:has(input:checked) span { color: #07080d; background: linear-gradient(180deg, #fff, #e3e8f0); box-shadow: 0 6px 20px rgba(47, 107, 255, .2); }
.cards2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.pick.card { padding: 16px 44px 16px 16px; border-radius: 16px; background: rgba(200, 212, 240, .04); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background .2s; }
.pick.card::after { content: ""; position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .2s; }
.pick.card:hover { background: rgba(200, 212, 240, .07); }
.pick.card:has(input:checked) { background: rgba(22, 214, 143, .07); box-shadow: inset 0 0 0 1.5px var(--green-hi), 0 0 32px rgba(22, 214, 143, .12); }
.pick.card:has(input:checked)::after { box-shadow: inset 0 0 0 1.5px var(--green-hi), inset 0 0 0 5px #0b1712, inset 0 0 0 9px var(--green-hi); }
.pick.card b { display: block; font: 700 16.5px/1.2 var(--display); letter-spacing: -.01em; }
.pick.card small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.pick:has(input:focus-visible) span, .pick.card:has(input:focus-visible) { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.field select { width: 100%; min-height: 52px; padding: 0 44px 0 16px; border: 0; border-radius: 14px; color: var(--text); font: 500 16px/1.2 var(--body); cursor: pointer; appearance: none;
  background: rgba(200, 212, 240, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239aa1b1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 18px center;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background-color .2s; }
.field select:invalid { color: var(--dim); }
.field select option { color: var(--text); background: #12151d; }
.field select:focus { outline: none; box-shadow: inset 0 0 0 1px var(--blue-hi), 0 0 0 4px rgba(59, 109, 255, .2); }
.field input[type="date"] { cursor: text; }
.field input::placeholder { color: var(--dim); }
.enq .btn.solid { width: 100%; justify-content: space-between; margin-top: 26px; }
.enq .btn.solid:disabled { opacity: .7; cursor: progress; transform: none; }
.enq .status { min-height: 20px; margin-top: 12px; color: var(--red-hi); font-size: 13.5px; line-height: 1.4; }
.enq .fine { color: var(--dim); font-size: 12.5px; line-height: 1.5; }
.enq-done { padding: 10px 2px 4px; outline: none; }
.tick { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5cf2bf, #0c9e6c 70%); box-shadow: 0 0 0 8px rgba(22, 214, 143, .1), 0 18px 50px rgba(22, 214, 143, .35); }
.tick svg { width: 30px; height: 30px; fill: none; stroke: #04140d; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.enq-done:not([hidden]) .tick { animation: pop .5s var(--ease) both; }
.enq-done:not([hidden]) .tick svg { animation: draw .45s .25s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.6); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.enq-done h3 { margin-top: 24px; font: 750 clamp(26px, 2.6vw, 32px)/1.15 var(--display); letter-spacing: -.025em; }
.enq-done p { margin-top: 12px; color: #b3bac8; font-size: 16px; line-height: 1.6; }
.enq-done p b { color: var(--text); font-weight: 600; }
.enq-done .btn { margin-top: 26px; }

/* Home: "Interested in any of our products?" band and its pop-up form. */
.ask { margin-bottom: clamp(44px, 6vw, 84px); }
.ask h2 { max-width: 20ch; }
.ask p { margin-top: 10px; color: #b3bac8; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; }
.gate.enq-pop { width: min(640px, calc(100vw - 32px)); }
.enq-pop-in { position: relative; padding: clamp(24px, 5vw, 32px) clamp(18px, 4.5vw, 28px) 26px; }
.enq-pop-in:has(.enq-done:not([hidden])) > .sub { display: none; }
.gate.enq-pop form { padding: 0; margin-top: 22px; }
.gate.enq-pop .enq-done { margin-top: 22px; }

/* ── Smaller screens ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .rack { grid-template-columns: 1fr; }
  .vis { height: 200px; }
  .hero, .two, .shot { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .tall { grid-row: auto; }
  .anat { grid-template-columns: minmax(0, 1fr); }
  .enq { grid-template-columns: minmax(0, 1fr); }
  .enq-copy { position: static; }
}
@media (max-width: 900px) {
  .tbl th:first-child, .tbl td:first-child { position: sticky; left: 0; background: #0b0d13; box-shadow: 1px 0 0 var(--line); }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .nav { padding-block: 14px; }
  .brand { gap: 12px; }
  .brand img { height: 50px; }
  .word { padding: 8px 0 8px 12px; font-size: 16px; letter-spacing: .16em; }
  .back .t { display: none; }
  .back { width: 44px; padding: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px; }
  .bento, .steps { grid-template-columns: minmax(0, 1fr); }
  .bento .wide { grid-column: auto; }
  .btn.solid { font-size: 15px; padding-left: 20px; }
  .actions .btn.solid { width: 100%; justify-content: space-between; }
  .actions .btn.glass { width: 100%; }
  .plot .plot-c { right: 92px; }
  .plot .plot-l { width: 84px; }
  .plot .plot-l span { font-size: 11px; }
  .xticks { right: 92px; }
  .panel, .figure, .term { padding: 14px; }
  .closing .btn.solid { width: 100%; justify-content: space-between; }
  .enq-grid, .cards2 { grid-template-columns: minmax(0, 1fr); }
  .enq-grid .span2 { grid-column: auto; }
  .enq-grid .field:nth-child(2) { margin-top: 18px; }
  .seg3 .pick span { font-size: 13.5px; padding: 0 4px; }
  .val, .months, .pt > em { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
