/*
 * TradeAssay — the marketing site, fourth design (2026-10).
 *
 * The founder's brief: TradingView's own principles. Pure black; white type;
 * one gradient — cyan into blue into magenta — on the words that matter; the
 * product in a neon frame (pink into blue) rising out of a glow; pieces of
 * the real interface cut out and stacked over one another. Titles are large
 * and tight (TradingView sets 100px titles over 28px grey descriptions);
 * running text is the system face TradingView uses. The sky behind the
 * opening and the closing call is a galaxy drawn live by sky.js.
 *
 * Latin headings are Outfit (self-hosted, OFL) — the closest free match to
 * TradingView's licensed Euclid Circular; running text is -apple-system /
 * Trebuchet MS / Roboto, as on TradingView; Persian is Vazirmatn throughout;
 * figures that must line up are JetBrains Mono. Every page uses this file and
 * site.js; the Persian pages in /fa/ are generated from the same markup by
 * build-site.mjs.
 */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/vendor/fonts/outfit-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/vendor/fonts/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink-0: #000000;
  --ink-1: #0f0f0f;
  --ink-2: #161616;
  --ink-3: #1f1f1f;
  --line: #2e2e2e;
  --line-2: #1f1f1f;
  --fg: #ffffff;
  --fg-2: #dbdbdb;
  --fg-3: #8c8c8c;
  --dim: #707070;
  --up: #089981;
  --up-2: #22ab94;
  --down: #f23645;
  --blue: #2962ff;
  --blue-2: #5b9cf6;
  --cyan: #00bce6;
  --magenta: #d500f9;
  --pink: #ff4ca1;
  --brand-grad: linear-gradient(90deg, #00bce6, #2962ff 50.31%, #d500f9);
  --frame-grad: linear-gradient(105.12deg, #ff4ca1 14.78%, #0e4eff 85.68%);
  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1280px;
  --gut: 20px;
  --nav-h: 64px;
  --display: "Outfit", -apple-system, BlinkMacSystemFont, "Trebuchet MS", Roboto, Ubuntu, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Trebuchet MS", Roboto, Ubuntu, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (min-width: 1024px) { :root { --gut: 32px; } }
@media (min-width: 1440px) { :root { --gut: 40px; } }
html[lang="fa"] { --display: "Vazirmatn", Tahoma, sans-serif; --sans: "Vazirmatn", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 128px; }
body { margin: 0; background: var(--ink-0); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
/* body's clip moves to the viewport as "hidden", which still reports the
   width; main clips for real, so a card mid-animation never widens the page. */
main { overflow-x: clip; }
/* Read by screen readers and search, not drawn: a heading the outline needs. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html[lang="fa"] body { line-height: 1.85; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(41, 98, 255, .55); color: #fff; }
[hidden] { display: none !important; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; direction: ltr; unicode-bidi: isolate; }
.up { color: var(--up-2); }
.down { color: #ff5c69; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: #fff; color: #000; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
/* Pictures of the app, and anything drawn as a chart, read left to right in both languages. */
.ltr, .art, .ppanel-art, .kf-art, .scard-img, .hero-shot, .frame, .neon, .stk, .h4-sky { direction: ltr; }

/* ------------------------------------------------------------- type ---- */
.display { font-family: var(--display); font-size: clamp(44px, 6.8vw, 96px); line-height: 1.02; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
/* TradingView's section title: 64px from tablets, 100px from 1280px. */
.h2 { font-family: var(--display); font-size: clamp(40px, 7.8vw, 100px); line-height: 1; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.h2 > span { display: block; padding-bottom: .06em; }
.h3 { font-family: var(--display); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.14; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.h4 { font-family: var(--display); font-size: 21px; line-height: 1.3; font-weight: 600; }
.h2s { font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
/* TradingView's description under a title: 24px, 28px from 1280px, light grey. */
.desc { font-size: clamp(19px, 2.2vw, 28px); line-height: 1.43; color: var(--fg-2); text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.small { font-size: 15px; line-height: 1.6; color: var(--fg-3); }
.muted { color: var(--fg-3); }
.grad, .gold-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[dir="rtl"] .grad { background-image: linear-gradient(270deg, #00bce6, #2962ff 50.31%, #d500f9); }
.tone { color: var(--dim); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.eyebrow.is-red { color: #ff8a93; }
.eyebrow.is-blue { color: var(--blue-2); }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-1); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.tag.ok { color: var(--up-2); border-color: rgba(34, 171, 148, .35); background: rgba(8, 153, 129, .1); }
.tag.bad { color: #ff8a93; border-color: rgba(242, 54, 69, .35); background: rgba(242, 54, 69, .08); }
.tag.dim { height: 26px; padding: 0 10px; font-size: 12px; letter-spacing: .02em; text-transform: none; }
html[lang="fa"] .eyebrow, html[lang="fa"] .tag { letter-spacing: 0; text-transform: none; font-size: 14px; }
html[lang="fa"] .display, html[lang="fa"] .h2, html[lang="fa"] .h3, html[lang="fa"] .h2s { letter-spacing: 0; line-height: 1.3; font-weight: 800; }
html[lang="fa"] .h2 { font-size: clamp(34px, 6.2vw, 80px); line-height: 1.25; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
html[dir="rtl"] .link svg, html[dir="rtl"] .btn .ar { transform: scaleX(-1); }

/* ---------------------------------------------------------- buttons ---- */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--display); white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .2s, filter .2s; }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 18px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
/* TradingView's "Get started": the gradient, square on one end and cut on a
   slant at the other. */
.btn-primary, .btn-gold { border: 0; border-radius: 8px; color: #fff; background: none; padding-inline: 22px 32px; }
.btn-primary::before, .btn-gold::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 8px; background: linear-gradient(75deg, #00bce6, #2962ff 50.31%, #d500f9);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transition: filter .2s; }
.btn-primary:hover::before, .btn-gold:hover::before { filter: brightness(1.12) saturate(1.1); }
html[dir="rtl"] .btn-primary, html[dir="rtl"] .btn-gold { padding-inline: 22px 32px; }
html[dir="rtl"] .btn-primary::before, html[dir="rtl"] .btn-gold::before { background: linear-gradient(-75deg, #00bce6, #2962ff 50.31%, #d500f9); clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); }
.btn-ghost, .btn-glass { border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn-ghost:hover, .btn-glass:hover { background: #fff; color: #000; border-color: #fff; }
.btn-dark { background: var(--ink-3); color: var(--fg); border-color: var(--line); }
.btn-dark:hover { background: #2a2a2a; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* -------------------------------------------------------------- nav ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid, .nav:focus-within, body:not([data-page="home"]) .nav { background: rgba(0, 0, 0, .9); backdrop-filter: saturate(140%) blur(16px); border-bottom-color: #1a1a1a; }
body:not([data-page="home"]) main { padding-top: var(--nav-h); }
.nav-in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Outfit", sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 42px; height: 26px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 8px; font: 500 17px/1 var(--display); color: #fff; }
.nav-item:hover, .nav-item[aria-expanded="true"] { color: #fff; background: #1f1f1f; }
.nav-item[aria-current="page"] { color: var(--blue-2); }
.nav-item svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-item[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); inset-inline-start: -10px; display: none; width: 660px; padding: 12px; border: 1px solid var(--line); border-radius: 16px;
  background: #0f0f0f; box-shadow: 0 30px 90px rgba(0, 0, 0, .8); }
.mega.is-narrow { width: 480px; }
.nav-drop.is-open .mega { display: block; animation: drop .2s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: start; padding: 12px; border-radius: 10px; }
.mega a:hover { background: #1f1f1f; }
.mega a i { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #1f1f1f; color: #fff; font-style: normal; }
.mega a:hover i { background: linear-gradient(135deg, rgba(0, 188, 230, .35), rgba(41, 98, 255, .35) 50%, rgba(213, 0, 249, .35)); }
.mega a i svg { width: 20px; height: 20px; }
.mega a b { font: 600 16px/1.3 var(--display); }
.mega a span { font-size: 13.5px; line-height: 1.45; color: var(--fg-3); }
.nav-end { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.nav-lang, .nav-signin { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; font: 500 16px/1 var(--display); color: #fff; white-space: nowrap; }
/* The language menu: each language under its flag, in its own words. */
.nav-langs { position: relative; }
.nav-lang .flag, .lang-menu .flag, .drawer-langs .flag { display: inline-block; flex: none; width: 24px; height: 17px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.flag svg, .flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nav-lang .code { font: 600 15px/1 var(--display); letter-spacing: .04em; }
.nav-lang .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-langs.is-open .nav-lang .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; display: none; min-width: 200px; padding: 8px; border: 1px solid var(--line); border-radius: 14px;
  background: #0f0f0f; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.nav-langs.is-open .lang-menu { display: grid; gap: 2px; animation: drop .2s var(--ease); }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; font: 500 16px/1.2 var(--display); color: var(--fg-2); }
.lang-menu a:hover { background: #1f1f1f; color: #fff; }
.lang-menu a[aria-current="true"] { color: #fff; background: linear-gradient(100deg, rgba(0, 167, 214, .22), rgba(41, 98, 255, .22) 50%, rgba(177, 0, 240, .22)); }
.lang-menu a[aria-current="true"]::after { content: ""; width: 7px; height: 7px; margin-inline-start: auto; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 8px #7c4dff; }
.drawer-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.drawer .drawer-langs a { flex: 1 1 0; justify-content: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; }
.drawer .drawer-langs a[aria-current="true"] { border-color: #6b5bff; background: rgba(80, 90, 255, .12); }
.nav-lang:hover, .nav-signin:hover { background: #1f1f1f; }
.nav-lang svg, .nav-signin svg { width: 20px; height: 20px; }
.nav .btn { height: 40px; font-size: 16px; }
.nav-burger { display: none; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: #1f1f1f; }
.nav-burger svg { width: 20px; height: 20px; }
.drawer { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; display: none; overflow-y: auto; padding: 18px var(--gut) 40px; background: #000; }
.drawer.is-open { display: block; }
.drawer .drawer-h { margin: 18px 0 8px; font: 600 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
html[lang="fa"] .drawer .drawer-h { letter-spacing: 0; text-transform: none; }
.drawer a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line-2); font: 500 18px var(--display); }
.drawer .btn { width: 100%; margin-top: 20px; justify-content: center; border-bottom: 0; }
@media (max-width: 1060px) { .nav-links, .nav-signin { display: none; } .nav-burger { display: grid; } }
@media (max-width: 560px) { .nav-lang .code { display: none; } .nav-lang { padding: 0 8px; } .nav .btn { padding-inline: 14px 24px; font-size: 15px; } .brand span { font-size: 20px; } }

/* --------------------------------------------------------- sections ---- */
.sec { padding-block: clamp(96px, 11vw, 160px); position: relative; }
.sec.tight { padding-block: 72px; }
.sec-head { display: grid; gap: 20px; max-width: 900px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head .lede, .sec-head .desc { max-width: 860px; }
@media (max-width: 760px) { .sec-head { margin-bottom: 36px; } }

/* ------------------------------------------------- the neon frame ---- */
/* TradingView's frame around the product: a thin border running pink into
   blue, its light spilling out to each side. */
.neon, .frame { position: relative; border: 2px solid transparent; border-radius: 8px; background: linear-gradient(#000, #000) padding-box, var(--frame-grad) border-box;
  box-shadow: -16px 0 24px -12px rgba(255, 76, 161, .5), 16px 0 24px -12px rgba(14, 78, 255, .5); }
.neon > img, .neon > video, .frame > img, .frame > video { display: block; width: 100%; height: auto; border-radius: 6px; background: #000; }
@media (min-width: 768px) {
  .neon, .frame { border-width: 3px; border-radius: 12px; box-shadow: -16px 0 40px -12px rgba(255, 76, 161, .5), 16px 0 40px -12px rgba(14, 78, 255, .5); }
  .neon > img, .neon > video, .frame > img, .frame > video { border-radius: 9px; }
}
@media (min-width: 1280px) { .neon, .frame { box-shadow: -16px 0 56px -12px rgba(255, 76, 161, .5), 16px 0 56px -12px rgba(14, 78, 255, .5); } }
@media (min-width: 1440px) { .neon, .frame { border-radius: 16px; } .neon > img, .neon > video, .frame > img, .frame > video { border-radius: 13px; } }
.frame .spot { display: none; }

/* ------------------------------------------------------- the hero ---- */
/* TradingView's opening, scene by scene (measured from the founder's
   recording of tradingview.com): the first screen holds still while the
   page scrolls; the title lifts away; the sky behind it goes out of focus
   into a soft glow; a second title arrives; and the product rises out of the
   glow into its neon frame and grows to full size. Ours is a galaxy, drawn
   live by sky.js, and the product is the founder's own recording of the
   backtester.

   site.js pins it (.is-pinned) on screens wide and tall enough, and drives
   it with: --c the copy leaving, --t the second title arriving, --r the
   product rising, --g the glow, --m the links under the product (all 0 → 1),
   and --rest / --travel / --fw for where the frame comes to rest. Without
   that — a phone, reduced motion, no script — the same parts simply stand
   one under the other. */
.hero5 { position: relative; isolation: isolate; }
.h5-pin { position: relative; padding-top: var(--nav-h); overflow-x: clip; }
.h4-sky { position: absolute; inset: 0 0 auto; height: max(640px, min(100svh, 1120px)); z-index: -2; overflow: hidden; background: #000; pointer-events: none; }
.h4-sky canvas, .h4-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.h4-sky canvas { opacity: 0; transition: opacity 1s ease; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.h4-sky.is-live canvas { opacity: 1; }
.h4-poster { object-fit: cover; object-position: 50% 66%; display: none; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.h4-sky.no-sky .h4-poster { display: block; }
.h4-in { display: grid; justify-items: center; gap: 20px; padding-top: clamp(28px, 5vh, 64px); text-align: center; }
/* TradingView's "What's new" line: a small white label, then the news. */
.h4-new { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 12px 4px 5px; border-radius: 8px; border: 1px solid #3d3d3d; background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px); font: 500 15px/1.3 var(--display); color: #fff; transition: border-color .2s; }
html[dir="rtl"] .h4-new { padding: 4px 5px 4px 12px; }
.h4-new:hover { border-color: #8c8c8c; }
.h4-new b { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 5px; background: #fff; color: #000; font: 700 11.5px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
html[lang="fa"] .h4-new b { letter-spacing: 0; font-size: 12.5px; }
.h4-new svg { width: 14px; height: 14px; }
html[dir="rtl"] .h4-new svg { transform: scaleX(-1); }
.h4-title { font: 600 clamp(46px, 7.4vw, 136px)/1 var(--display); letter-spacing: -.02em; }
.h4-title > span { display: block; padding-bottom: .08em; }
html[lang="fa"] .h4-title { font-weight: 800; letter-spacing: 0; line-height: 1.22; font-size: clamp(40px, 7vw, 116px); }
.h4-lede { max-width: 780px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; color: var(--fg-2); text-wrap: pretty; text-shadow: 0 1px 20px #000; }
.h4-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.h4-note { margin-top: -6px; font-size: 14.5px; color: #c9c9c9; text-shadow: 0 0 12px #000, 0 1px 3px #000; }
/* The second title: TradingView's "Supercharged Supercharts". */
.h5-title2 { display: grid; justify-items: center; margin-top: clamp(80px, 12vh, 140px); padding-inline: var(--gut); text-align: center; }
.h5-title2 .h2 { font-size: clamp(36px, 5.4vw, 84px); }
html[lang="fa"] .h5-title2 .h2 { font-size: clamp(30px, 4.4vw, 66px); }
.h4-stage { position: relative; width: min(1285px, calc(100% - 2 * var(--gut))); margin: clamp(32px, 5vh, 56px) auto 0;
  transform: translateY(calc((1 - var(--p, 1)) * 110px)) scale(calc(.9 + .1 * var(--p, 1))); transform-origin: 50% 0; will-change: transform; }
/* The product as TradingView shows its own: large, lifted off the page by a
   deep shadow, its lower part sinking into the black, and one pill sitting
   on that fade. */
.h4-stage .neon { box-shadow: 0 50px 140px 10px rgba(0, 0, 0, .95), 0 0 120px rgba(124, 77, 255, .22), -16px 0 56px -12px rgba(255, 76, 161, .55), 16px 0 56px -12px rgba(14, 78, 255, .55); }
.h4-stage .neon::after { content: ""; position: absolute; inset: auto -3px -3px; height: 58%; z-index: 1; pointer-events: none; border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, .92) 72%, #000); }
.h4-pill { position: absolute; left: 50%; top: var(--pill, 74%); z-index: 3; translate: -50% 0; display: flex; align-items: center; gap: 16px; width: max-content; max-width: calc(100% - 32px);
  padding: 14px 30px 14px 14px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(14, 14, 18, .82); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .7); transition: border-color .2s, background .2s; }
html[dir="rtl"] .h4-pill { padding: 14px 14px 14px 30px; translate: 50% 0; left: auto; right: 50%; }
.h4-pill:hover { border-color: rgba(160, 140, 255, .55); background: rgba(20, 20, 28, .9); }
.h4-pill i { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 15px; font-style: normal; color: #fff;
  background: linear-gradient(#16161d, #16161d) padding-box, linear-gradient(135deg, #00bce6, #2962ff 50%, #d500f9) border-box; border: 1.5px solid transparent; }
.h4-pill i svg { width: 26px; height: 26px; }
.h4-pill b { display: block; font: 600 clamp(19px, 1.7vw, 26px)/1.2 var(--display); color: #fff; }
.h4-pill small { display: block; margin-top: 3px; font-size: clamp(14px, 1.1vw, 16px); color: var(--fg-2); }
@media (max-width: 899px) { .h4-pill { position: relative; left: auto; right: auto; top: auto; translate: none; margin: -40px auto 0; } html[dir="rtl"] .h4-pill { translate: none; } }
/* The glow the product rises out of: the galaxy's own colours, pink on one
   side, blue on the other, violet where they meet. */
.h5-aura { position: absolute; left: 50%; top: 52%; width: min(1500px, 120vw); aspect-ratio: 2.1; z-index: -1; pointer-events: none; translate: -50% -50%;
  background: radial-gradient(34% 44% at 26% 56%, rgba(255, 76, 161, .8), transparent 70%), radial-gradient(34% 44% at 74% 56%, rgba(14, 78, 255, .85), transparent 70%),
              radial-gradient(30% 42% at 50% 44%, rgba(150, 70, 255, .8), transparent 70%), radial-gradient(18% 26% at 50% 40%, rgba(255, 220, 255, .35), transparent 70%);
  filter: blur(50px); opacity: .35; mix-blend-mode: screen; }

/* Pinned: one screen held while the page scrolls past it. */
.hero5.is-pinned { height: 250vh; }
.hero5.is-pinned .h5-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 0; overflow: hidden; }
.hero5.is-pinned .h4-sky { inset: 0; height: 100%; }
.hero5.is-pinned .h4-sky canvas, .hero5.is-pinned .h4-poster { -webkit-mask-image: none; mask-image: none; }
.hero5.is-pinned .h4-in { position: absolute; inset: var(--nav-h) 0 auto; padding-top: clamp(24px, 6vh, 76px);
  opacity: calc(1 - var(--c, 0)); transform: translateY(calc(var(--c, 0) * -80px)) scale(calc(1 - .05 * var(--c, 0))); filter: blur(calc(var(--c, 0) * 6px)); }
.hero5.is-pinned.is-past .h4-in { pointer-events: none; visibility: hidden; }
.hero5.is-pinned .h5-title2 { position: absolute; inset: calc(var(--nav-h) + 3vh) 0 auto; margin: 0;
  opacity: var(--t, 0); transform: translateY(calc((1 - var(--t, 0)) * 44px)); }
.hero5.is-pinned:not(.is-past) .h5-title2 { pointer-events: none; }
.hero5.is-pinned .h5-aura { top: calc(var(--rest, 50vh) + 22%); opacity: calc(.12 + .88 * var(--g, 0)); scale: calc(.6 + .45 * var(--g, 0)); }
.hero5.is-pinned .h4-stage { position: absolute; left: 50%; top: var(--rest, 30vh); width: var(--fw, 80vw); margin: 0;
  transform: translateX(-50%) translateY(calc((1 - var(--r, 0)) * var(--travel, 60vh))) scale(calc(.78 + .22 * var(--r, 0))); }
html[dir="rtl"] .hero5.is-pinned .h4-stage { transform: translateX(50%) translateY(calc((1 - var(--r, 0)) * var(--travel, 60vh))) scale(calc(.78 + .22 * var(--r, 0))); left: auto; right: 50%; }
.hero5.is-pinned .h4-pill { opacity: var(--m, 0); }
/* A short screen (a 13" laptop): the type and the gaps scale with the height too. */
@media (min-width: 700px) and (max-height: 860px) {
  .h4-in { gap: 14px; }
  .h4-title { font-size: min(7.4vw, 11.2vh); }
  html[lang="fa"] .h4-title { font-size: min(7vw, 9.6vh); }
  .h4-lede { font-size: max(16px, min(1.7vw, 2.5vh)); max-width: 720px; }
  .h4-cta .btn-lg { height: 50px; }
  .h5-title2 .h2 { font-size: min(5.4vw, 8.4vh); }
}
/* On load: the title rises in. */
@media (prefers-reduced-motion: no-preference) {
  .js .h4-in > * { animation: h4up .9s var(--ease) both; }
  .js .h4-in > :nth-child(2) { animation-delay: .08s; }
  .js .h4-in > :nth-child(3) { animation-delay: .18s; }
  .js .h4-in > :nth-child(4) { animation-delay: .26s; }
  .js .h4-in > :nth-child(5) { animation-delay: .32s; }
}
@keyframes h4up { from { opacity: .001; transform: translateY(18px); } }

/* ------------------------------------------- the section bar (sticky) ---- */
/* TradingView's round tabs under the header, one per part of the product.
   Ours fills the tab on screen with the galaxy gradient, and a thin line of
   the same colours under the bar shows how far through the product you are. */
.feat { position: relative; }
.snav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(0, 0, 0, .86); backdrop-filter: blur(14px); border-bottom: 1px solid #1a1a1a; }
.snav::after { content: ""; position: absolute; inset: auto auto -1px 0; height: 2px; width: calc(var(--prog, 0) * 100%); background: var(--brand-grad); box-shadow: 0 0 12px rgba(120, 90, 255, .8); }
html[dir="rtl"] .snav::after { inset: auto 0 -1px auto; background: linear-gradient(270deg, #00bce6, #2962ff 50.31%, #d500f9); }
.snav-in { display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.snav-in::-webkit-scrollbar { display: none; }
.snav a { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font: 500 15px/1 var(--sans); color: var(--fg-2); transition: background .25s, color .25s, box-shadow .25s; }
.snav a:hover { background: #1f1f1f; color: #fff; }
.snav a[aria-current="true"] { background: linear-gradient(100deg, #00a7d6, #2962ff 50%, #b100f0); color: #fff; box-shadow: 0 0 22px rgba(80, 90, 255, .45); }
@media (max-width: 900px) { .snav-in { justify-content: flex-start; } }

/* --------------------------------------------- a part of the product ---- */
/* Each part has its own colour in the galaxy's range — cyan, blue, violet,
   magenta, pink — that lights the dark around it as it comes into view
   (--sk, set by site.js), so scrolling down the page travels across the
   galaxy rather than through identical black boxes. */
.fx { position: relative; padding-block: clamp(96px, 11vw, 168px) 0; overflow-x: clip; --hue-a: rgba(0, 188, 230, .22); --hue-b: rgba(41, 98, 255, .18); }
.fx::before { content: ""; position: absolute; inset: 8% -10% -6%; z-index: -1; pointer-events: none; opacity: calc(var(--sk, 1) * .9);
  background: radial-gradient(40% 32% at 18% 62%, var(--hue-a), transparent 70%), radial-gradient(40% 32% at 82% 52%, var(--hue-b), transparent 70%); filter: blur(30px); }
.fx[data-hue="cyan"] { --hue-a: rgba(0, 188, 230, .2); --hue-b: rgba(0, 120, 255, .16); }
.fx[data-hue="blue"] { --hue-a: rgba(41, 98, 255, .22); --hue-b: rgba(0, 188, 230, .14); }
.fx[data-hue="violet"] { --hue-a: rgba(124, 77, 255, .22); --hue-b: rgba(41, 98, 255, .16); }
.fx[data-hue="magenta"] { --hue-a: rgba(213, 0, 249, .18); --hue-b: rgba(124, 77, 255, .18); }
.fx[data-hue="pink"] { --hue-a: rgba(255, 76, 161, .18); --hue-b: rgba(213, 0, 249, .14); }
.fx:last-child { padding-bottom: clamp(96px, 11vw, 168px); }
.fx-head { display: grid; justify-items: center; max-width: 1180px; margin: 0 auto; text-align: center; }
.fx-head .desc { max-width: 920px; margin-top: 24px; }
.fx-head .btn { margin-top: 34px; }
.fx-art { margin-top: clamp(48px, 6vw, 88px); }
.fx-more { display: flex; justify-content: center; margin-top: 44px; }
.fx-head .checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; }
.fx-head .checks li { font-size: 16.5px; }
.fx-head .cta-row { justify-content: center; margin-top: 30px; }
.fx-head .cta-row .btn { margin-top: 0; }
.h2.is-md { font-size: clamp(36px, 5.6vw, 72px); }
html[lang="fa"] .h2.is-md { font-size: clamp(30px, 4.6vw, 58px); }
/* The part's name over its title, in a ring of the galaxy gradient. */
.kicker { display: inline-flex; align-items: center; gap: 9px; height: 36px; margin-bottom: 26px; padding: 0 16px 0 12px; border: 1px solid transparent; border-radius: 999px;
  background: linear-gradient(#050508, #050508) padding-box, linear-gradient(100deg, rgba(0, 188, 230, .9), rgba(41, 98, 255, .9) 50%, rgba(213, 0, 249, .9)) border-box;
  font: 600 14.5px/1 var(--display); color: #fff; box-shadow: 0 0 26px rgba(70, 90, 255, .25); }
html[dir="rtl"] .kicker { padding: 0 12px 0 16px; }
.kicker svg { width: 17px; height: 17px; flex: none; stroke: url(#kg); color: #8fb4ff; }
/* The gradient on the second line of every title drifts slowly through its colours. */
@media (prefers-reduced-motion: no-preference) {
  .h2 .grad, .h4-title .grad, .display .grad { background-size: 220% 100%; animation: gradDrift 10s ease-in-out infinite alternate; }
}
@keyframes gradDrift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ------------------------------- cut-out cards, stacked (the TradingView way) */
/* Each figure is a piece of the real app — cut from the founder's own
   screenshots (shots/site/real) or from the app on the sample journal
   (shots/site/cards) — placed by percentages of the composition so it keeps
   its shape at any width. The one underneath fades into the black; the ones
   on top cast a shadow. A figure may hold a clip instead (is-video), in the
   neon frame. */
.stk { position: relative; width: 100%; max-width: 1180px; margin-inline: auto; aspect-ratio: var(--ar, 16 / 10); }
.stk > figure { position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--w, 100%); z-index: var(--z, 2); overflow: hidden; border-radius: var(--r, 10px); border: 1px solid #333;
  background: #0f0f0f; box-shadow: 0 40px 90px rgba(0, 0, 0, .8), 0 10px 28px rgba(0, 0, 0, .55); translate: 0 calc(var(--py, 0) * 1px); }
.stk > figure > img, .stk > figure > video { display: block; width: 100%; height: auto; }
.stk > figure.is-base { z-index: 1; box-shadow: none; border-color: #262626; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 97%); mask-image: linear-gradient(180deg, #000 55%, transparent 97%); }
.stk > figure.is-whole { -webkit-mask-image: none; mask-image: none; }
.stk > figure.is-fade-end { -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.stk > figure.is-fade-low { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.stk > figure.is-video { border: 3px solid transparent; border-radius: 16px; background: linear-gradient(#000, #000) padding-box, var(--frame-grad) border-box;
  box-shadow: -16px 0 50px -12px rgba(255, 76, 161, .5), 16px 0 50px -12px rgba(14, 78, 255, .5); -webkit-mask-image: none; mask-image: none; }
.stk > figure.is-video > video { border-radius: 13px; aspect-ratio: 3 / 2; object-fit: cover; background: #000; }
/* A card taller than its place is cut at --h. */
.stk > figure.is-crop { height: var(--h, 100%); }
.stk > figure.is-crop > img { height: 100%; object-fit: cover; object-position: 0 0; }
/* A soft light under the composition, the frame's colours. */
.stk::before { content: ""; position: absolute; inset: 8% 4% 4%; z-index: 0; pointer-events: none; filter: blur(40px); opacity: .5;
  background: radial-gradient(45% 50% at 20% 60%, rgba(255, 76, 161, .25), transparent 70%), radial-gradient(45% 50% at 80% 40%, rgba(41, 98, 255, .3), transparent 70%); }
@media (max-width: 640px) { .stk > figure { border-radius: 6px; } .stk > figure.is-minor { display: none; } .stk > figure.is-video { border-width: 2px; border-radius: 8px; } .stk > figure.is-video > video { border-radius: 6px; } }

/* -------------------------------------------- how each part arrives ---- */
/* Driven by the page's scroll, not a timer (site.js): --k runs 0 → 1 on each
   figure as its composition travels up the screen, a little later for each
   card above the first (--d), so the pieces assemble as you scroll and come
   apart again if you scroll back. Every part has its own way in:

     rise    the pieces rise into place (the default)
     deal    Journal — the cards are dealt out of one stack, like a hand
     wipe    Trade Charts — the replay is revealed left to right behind a
             scanning line of light, the way a replay draws its candles
     tilt    Reports — the dashboard lifts up off the table to face you
     curtain Backtest — a curtain hides the chart's future and draws back
     flip    Playbook / Prop Firm — the two cards turn in from either side
     wire    AI, Connections — lines of light draw between the pieces and
             pulses run along them                                          */
.stk > figure { opacity: calc(var(--k, 1) * 1.6 - .3); transform: translateY(calc((1 - var(--k, 1)) * 70px)); }
[data-motion="deal"] > figure { transform: translate(calc((1 - var(--k, 1)) * var(--cx, 0px)), calc((1 - var(--k, 1)) * var(--cy, 0px))) rotate(calc((1 - var(--k, 1)) * var(--rot, -9deg))) scale(calc(.82 + .18 * var(--k, 1))); }
[data-motion="deal"] > figure.is-base { transform: scale(calc(.94 + .06 * var(--k, 1))); }
[data-motion="wipe"] > figure.is-video, [data-motion="wipe"] > figure.is-base { opacity: 1; transform: none; clip-path: inset(0 calc((1 - var(--k, 1)) * 100%) 0 0 round 16px); }
[data-motion="wipe"] > figure:not(.is-base):not(.is-video) { transform: translateX(calc((1 - var(--k, 1)) * var(--sx, 140px))); }
.scan { position: absolute; top: -4%; bottom: -4%; left: calc(var(--x, 0%) + var(--sk, 1) * var(--w, 100%)); width: 3px; z-index: 5; pointer-events: none; opacity: var(--ss, 0);
  background: linear-gradient(#00bce6, #2962ff 45%, #d500f9); box-shadow: 0 0 24px 6px rgba(80, 100, 255, .7), 0 0 80px 20px rgba(160, 60, 255, .35); border-radius: 3px; }
[data-motion="tilt"] { transform: perspective(1800px) rotateX(calc((1 - var(--sk, 1)) * 38deg)) scale(calc(.9 + .1 * var(--sk, 1))); transform-origin: 50% 100%; }
[data-motion="tilt"] > figure:not(.is-base) { transform: translateY(calc((1 - var(--k, 1)) * 110px)) scale(calc(.92 + .08 * var(--k, 1))); }
.curtain { position: absolute; inset: -1px; z-index: 6; overflow: hidden; border-radius: 16px; pointer-events: none; clip-path: inset(0 0 0 calc(var(--sk, 1) * 100%)); }
.curtain::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #07070b 0 46px, #0b0b11 46px 92px); }
.curtain::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--sk, 1) * 100%); width: 4px; translate: -2px 0;
  background: linear-gradient(#00bce6, #2962ff 50%, #d500f9); box-shadow: 0 0 30px 8px rgba(80, 100, 255, .75), 0 0 90px 24px rgba(200, 60, 255, .35); }
.curtain span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .6); font: 600 clamp(15px, 1.5vw, 19px)/1.2 var(--display); color: #fff; white-space: nowrap; opacity: calc(1 - var(--sk, 1) * 2.2); }
.curtain span svg { width: 20px; height: 20px; color: #9db8ff; }
[data-motion="dock"] > figure.is-video { transform: scale(calc(.9 + .1 * var(--k, 1))); filter: brightness(calc(.4 + .6 * var(--k, 1))); }
[data-motion="dock"] > figure:not(.is-video) { transform: translateX(calc((1 - var(--k, 1)) * var(--sx, -160px))) rotateY(calc((1 - var(--k, 1)) * var(--ry, 18deg))); }
[data-motion="flip"] { perspective: 1600px; }
[data-motion="flip"] > .bento-card { transform: rotateY(calc((1 - var(--k, 1)) * var(--fy, 26deg))) translateX(calc((1 - var(--k, 1)) * var(--fx, -90px))); transform-origin: var(--fo, 0% 50%); opacity: calc(var(--k, 1) * 1.6 - .3); }
[data-motion="flip"] > .bento-card:nth-child(2) { --fy: -26deg; --fx: 90px; --fo: 100% 50%; }
@media (prefers-reduced-motion: reduce) {
  .stk > figure, [data-motion] > figure, [data-motion="flip"] > .bento-card, [data-motion="tilt"] { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .curtain, .scan { display: none; }
}

/* Lines of light between the pieces (wire): drawn as their composition
   arrives, then pulses run along them. */
.wires { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires path { fill: none; stroke: url(#wg); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--sk, 1)); opacity: .9; }
.wires path.is-faint { stroke: rgba(255, 255, 255, .14); stroke-dashoffset: 0; }
.wires circle { fill: #fff; filter: drop-shadow(0 0 6px #7fb0ff) drop-shadow(0 0 14px #a855f7); opacity: var(--sk, 1); }

/* -------------------------------------------- the connections hub ---- */
/* TradingView draws its data sources as cards wired to one centre. Ours are
   the platforms a journal comes from, wired into TradeAssay: the live ones
   on one side, the file imports on the other, pulses running inwards. */
.hubx { position: relative; width: 100%; max-width: 1180px; margin-inline: auto; aspect-ratio: 1180 / 560; direction: ltr; }
.hubx-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 4; display: grid; justify-items: center; gap: 10px; width: 17%; aspect-ratio: 1; place-content: center;
  border: 2px solid transparent; border-radius: 28px; background: linear-gradient(#0a0a10, #0a0a10) padding-box, conic-gradient(from var(--ang, 0deg), #00bce6, #2962ff, #d500f9, #ff4ca1, #00bce6) border-box;
  box-shadow: 0 0 60px rgba(90, 80, 255, .45), 0 0 140px rgba(213, 0, 249, .2); }
.hubx-core img { width: 46%; height: auto; }
.hubx-core b { font: 600 clamp(13px, 1.4vw, 18px)/1 var(--display); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@media (prefers-reduced-motion: no-preference) { .hubx-core, .plan.is-pro::before { animation: spinAng 8s linear infinite; } }
@keyframes spinAng { to { --ang: 360deg; } }
.hubx-node { position: absolute; left: var(--x, 0); top: var(--y, 0); z-index: 4; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; width: 23%; padding: 14px 16px;
  border: 1px solid #2e2e2e; border-radius: 16px; background: #0d0d0f; box-shadow: 0 24px 50px rgba(0, 0, 0, .7); transition: border-color .2s, translate .2s;
  opacity: calc(var(--k, 1) * 1.6 - .3); transform: translateX(calc((1 - var(--k, 1)) * var(--nx, 0px))); }
.hubx-node:hover { border-color: #5a5a6a; translate: 0 -2px; }
.hubx-node img { grid-row: span 2; width: clamp(28px, 3.2vw, 42px); height: auto; border-radius: 10px; }
.hubx-node b { font: 600 clamp(13px, 1.3vw, 17px)/1.2 var(--display); text-wrap: balance; }
.hubx-node small { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(11.5px, 1vw, 13.5px); color: var(--fg-3); }
.hubx-node small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5a5a5a; }
.hubx-node.is-live small { color: var(--up-2); }
.hubx-node.is-live small::before { background: var(--up-2); box-shadow: 0 0 8px var(--up-2); }
.hubx-node.is-more { grid-template-columns: 1fr; justify-items: center; text-align: center; border-style: dashed; background: rgba(13, 13, 15, .7); }
.hubx-node.is-more b { font-size: clamp(14px, 1.5vw, 20px); }
@media (max-width: 760px) {
  .hubx { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hubx .wires { display: none; }
  .hubx-core { position: relative; left: auto; top: auto; translate: none; grid-column: 1 / -1; width: 120px; justify-self: center; margin-bottom: 8px; }
  .hubx-node { position: relative; left: auto; top: auto; width: auto; transform: none; padding: 12px; }
}

/* ------------------------------------------- two cards side by side ---- */
/* TradingView's feature cards: black, a thin border, the picture above, a
   big bold title and a line under it, a button. */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bento-card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid #2e2e2e; border-radius: 24px; background: #000; }
/* The picture runs off the card's far edge, cut by it, as on TradingView. */
.bento-art { position: relative; direction: ltr; padding: 40px 0 0 40px; }
.bento-art .stk { max-width: none; width: 116%; }
.bento-copy { position: relative; display: grid; gap: 14px; align-content: end; padding: 28px 40px 40px; }
.bento-copy h3 { font: 700 clamp(28px, 3vw, 44px)/1.12 var(--sans); letter-spacing: -.01em; text-wrap: balance; }
.bento-copy p { font-size: 18px; line-height: 1.55; color: var(--fg-3); max-width: 46ch; }
.bento-copy .btn { justify-self: start; margin-top: 10px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento-art { padding: 24px 0 0 20px; } .bento-copy { padding: 20px 24px 28px; } }
.fx-head + [data-billing] { margin-top: 40px; }

/* --------------------------------------------- figures counting ---- */
.figs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 64px); border-block: 1px solid #262626; }
.fig { display: grid; gap: 8px; align-content: start; padding: 30px 28px; }
.fig + .fig { border-inline-start: 1px solid #262626; }
.fig small { font: 500 15px/1.3 var(--sans); color: var(--fg-3); }
.fig b { font: 600 clamp(30px, 3.8vw, 56px)/1.02 var(--display); letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; text-align: start; white-space: nowrap; }
html[dir="rtl"] .fig b { text-align: right; }
.fig b.up { color: var(--up-2); }
.fig b.down { color: #ff5c69; }
.fig span { font-size: 14px; color: var(--dim); }
@media (max-width: 860px) { .figs { grid-template-columns: 1fr 1fr; } .fig:nth-child(3) { border-inline-start: 0; } .fig:nth-child(n+3) { border-top: 1px solid #262626; } }
@media (max-width: 560px) { .fig { padding: 20px 14px; } .fig b { font-size: clamp(20px, 6.4vw, 30px); } .fig span { font-size: 12.5px; } }

/* --------------------------------------------------- the clip player ---- */
/* A clip in the neon frame, its steps below it: each step plays its own
   clip, and the line under it fills as it plays. */
.player { display: grid; gap: 22px; }
.player-stage { position: relative; aspect-ratio: 1600 / 1064; overflow: hidden; border: 2px solid transparent; border-radius: 8px;
  background: linear-gradient(#000, #000) padding-box, var(--frame-grad) border-box; box-shadow: -16px 0 40px -12px rgba(255, 76, 161, .5), 16px 0 40px -12px rgba(14, 78, 255, .5); }
@media (min-width: 768px) { .player-stage { border-width: 3px; border-radius: 16px; } }
.player-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* Beside the clip, not under it: the clip stays at a size the eye takes in at
   once (the founder's request, 2026-10-04). */
@media (min-width: 861px) {
  .player { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); align-items: center; gap: 26px; max-width: 1180px; margin-inline: auto; }
  .player-steps { grid-template-columns: 1fr; gap: 10px; }
}
.step { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 22px 24px; border-radius: 16px; border: 1px solid #262626; background: #0a0a0a; text-align: start; color: var(--fg-3); overflow: hidden; transition: border-color .2s, background .2s; }
.step:hover { border-color: #3d3d3d; }
.step b { font: 600 18px/1.3 var(--display); color: var(--fg-2); }
.step span { font-size: 15px; line-height: 1.5; color: var(--fg-3); }
.step .k { font: 600 12px var(--mono); color: var(--dim); }
.step::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--brand-grad); }
.step[aria-selected="true"] { border-color: #4a4a4a; background: #121212; }
.step[aria-selected="true"] b { color: #fff; }
.step[aria-selected="true"] span { color: var(--fg-2); }
@media (max-width: 860px) { .player-steps { grid-template-columns: 1fr; } }

.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--fg-2); }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--blue-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ------------------------------------------------------- platforms ----- */
.seg, .billing { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 999px; background: #0f0f0f; border: 1px solid #262626; }
.seg button, .billing button { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 20px; border-radius: 999px; font: 500 16px/1 var(--sans); color: var(--fg-2); }
.seg button:hover, .billing button:hover { color: #fff; }
.seg button[aria-pressed="true"], .billing button[aria-pressed="true"] { background: #fff; color: #000; }
.billing .save { padding: 4px 9px; border-radius: 999px; background: var(--brand-grad); color: #fff; font: 700 12.5px/1 var(--display); }
.billing button[aria-pressed="true"] .save { color: #fff; }
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.plat { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; padding: 24px; border-radius: 20px; background: #0a0a0a; border: 1px solid #262626; transition: border-color .2s, transform .2s; }
.plat:hover { border-color: #4a4a4a; transform: translateY(-2px); }
.plat img { grid-row: 1 / span 2; align-self: start; width: 44px; height: 44px; border-radius: 12px; }
.plat b { font: 600 19px/1.3 var(--display); }
.plat small { grid-row: 2; grid-column: 2; font-size: 14.5px; color: var(--fg-3); }
.plat .tag { grid-row: 1; grid-column: 3; height: 28px; font-size: 12.5px; text-transform: none; letter-spacing: 0; }
.plat .btn { grid-column: 1 / -1; justify-self: start; margin-top: 14px; }
.plat.is-more { grid-column: 1 / -1; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; padding: 22px; text-align: center; border-style: dashed; }
.plat.is-more b { font-size: 22px; }
.plat.is-more small { font-size: 15px; }
@media (max-width: 900px) { .plat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plat-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- pricing ----- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: 20px; margin-top: 36px; text-align: start; }
.plan { display: grid; grid-template-rows: auto 1fr; border-radius: 24px; background: #0a0a0a; border: 1px solid #2e2e2e; overflow: hidden; }
.plan-top { display: grid; gap: 14px; padding: 30px 30px 26px; border-bottom: 1px solid #1f1f1f; }
.plan.is-pro { border: 2px solid transparent; background: linear-gradient(#0a0a0a, #0a0a0a) padding-box, var(--frame-grad) border-box;
  box-shadow: -16px 0 50px -14px rgba(255, 76, 161, .45), 16px 0 50px -14px rgba(14, 78, 255, .5); }
.plan.is-pro .plan-top { background: radial-gradient(120% 120% at 0% 0%, rgba(41, 98, 255, .22), transparent 60%), radial-gradient(120% 120% at 100% 0%, rgba(213, 0, 249, .14), transparent 60%); }
.plan-top header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-top h3 { font: 600 24px/1.2 var(--display); }
.plan-top .badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--brand-grad); color: #fff; font: 700 12.5px/1 var(--display); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price b { font: 600 60px/1 var(--display); letter-spacing: -.03em; }
.price span { font-size: 17px; color: var(--fg-2); }
.plan .per { font-size: 15px; color: var(--fg-3); min-height: 24px; }
.plan .btn { width: 100%; margin-top: 6px; }
.plan:not(.is-pro) .btn { border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; border-radius: 999px; }
.plan:not(.is-pro) .btn:hover { background: #fff; color: #000; }
.plan ul { display: grid; padding: 14px 30px 22px; align-content: start; }
.plan li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid #1a1a1a; font-size: 15.5px; line-height: 1.45; color: var(--fg-2); }
.plan li:last-child { border-bottom: 0; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--fg-3); }
.plan.is-pro li svg { color: var(--blue-2); }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; font-size: 14.5px; color: var(--fg-2); }
.assure span { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { width: 16px; height: 16px; color: var(--up-2); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- FAQ ---- */
.faq2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq2-head { display: grid; gap: 20px; position: sticky; top: 140px; }
.faq2-head .btn { justify-self: start; margin-top: 10px; }
.faq-list { display: grid; border-top: 1px solid #2e2e2e; }
.faq-list details { border-bottom: 1px solid #2e2e2e; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; cursor: pointer; list-style: none; font: 600 clamp(18px, 1.7vw, 22px)/1.35 var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue-2); }
.faq-list summary svg { flex: none; width: 22px; height: 22px; color: var(--fg-3); transition: transform .25s; }
.faq-list details[open] summary svg { transform: rotate(45deg); color: #fff; }
.faq-list details p { padding: 0 4px 28px; font-size: 17px; line-height: 1.7; color: var(--fg-2); max-width: 64ch; }
@media (max-width: 900px) { .faq2 { grid-template-columns: 1fr; gap: 28px; } .faq2-head { position: static; } }

/* -------------------------------------------------------- final CTA ---- */
.final { position: relative; overflow: hidden; isolation: isolate; padding: clamp(140px, 16vw, 220px) 0; text-align: center; }
.final-sky { position: absolute; inset: 0; z-index: -1; background: #000; }
.final-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 80%, transparent); }
.final-sky.is-live canvas { opacity: 1; }
.final-in { position: relative; display: grid; justify-items: center; gap: 22px; }
.final .h2 { max-width: 14ch; text-shadow: 0 2px 30px #000; }
.final .lede { color: var(--fg-2); text-shadow: 0 1px 16px #000; }

/* -------------------------------------------------------- support ------ */
.support3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support3 > div { display: grid; gap: 10px; align-content: start; padding: 30px; border-radius: 20px; background: #0a0a0a; border: 1px solid #262626; }
.support3 b { font: 600 22px/1.3 var(--display); }
.support3 p { font-size: 15.5px; color: var(--fg-3); }
.support3 .btn { justify-self: start; margin-top: 12px; }
@media (max-width: 860px) { .support3 { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- footer ---- */
.foot { padding: 72px 0 40px; border-top: 1px solid #1a1a1a; background: #000; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px; }
.foot .about p { margin-top: 16px; max-width: 34ch; font-size: 15px; color: var(--fg-3); }
.foot-mail { display: inline-block; margin-top: 14px; font-size: 15px; color: var(--fg-2); }
.foot-mail:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot .foot-h { margin-bottom: 14px; font: 600 15px var(--display); color: #fff; }
.foot ul { display: grid; gap: 10px; }
.foot li a { font-size: 14.5px; color: var(--fg-3); }
.foot li a:hover { color: #fff; }
.foot .risk { margin-top: 48px; padding: 22px; border-radius: 16px; background: #0a0a0a; border: 1px solid #1f1f1f; font-size: 13.5px; line-height: 1.7; color: var(--fg-3); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; font-size: 13.5px; color: var(--fg-3); }
.foot-base a:hover { color: #fff; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot .about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } }


/* ---------------------------------------------- feature page parts ----- */
.crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg-3); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 12px; height: 12px; }
html[dir="rtl"] .crumbs svg { transform: scaleX(-1); }
.page-hero { position: relative; padding: 96px 0 56px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 640px; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 0%, rgba(255, 76, 161, .18), transparent 70%), radial-gradient(50% 60% at 50% 0%, rgba(14, 78, 255, .22), transparent 75%); }
.page-hero > .wrap { position: relative; }
.page-hero-grid { display: grid; gap: 22px; max-width: 900px; }
.page-hero .display { font-size: clamp(40px, 5.6vw, 72px); max-width: 18ch; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 44px; padding: 44px; border-radius: var(--radius-lg); background: var(--ink-1); border: 1px solid var(--line-2); }
.split.rev > :first-child { order: 2; }
.split-copy { display: grid; gap: 16px; }
.stack { display: grid; gap: 20px; }
.win { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-1); }
.win .shot { width: 100%; height: auto; }
.sec.alt { background: linear-gradient(180deg, transparent, rgba(41, 98, 255, .035) 30%, rgba(213, 0, 249, .02) 70%, transparent); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-2); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 15px 18px; border-bottom: 1px solid var(--line-2); text-align: center; }
.compare thead th { position: sticky; top: 0; background: var(--ink-1); font-size: 15px; }
.compare tbody th { text-align: start; font-weight: 400; color: #d8dde6; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .grp th { padding-top: 26px; text-align: start; font-weight: 600; color: #fff; background: transparent; }
.compare td svg { width: 18px; height: 18px; margin-inline: auto; color: var(--blue-2); }
.compare .no { color: #4b5466; }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
/* The questions heading sits in a narrow column, and one long word
   ("backtesting.", Turkish "Senkronizasyon") cannot wrap: the heading is
   sized to its own column so the longest word always fits. */
.faq > .rise { container-type: inline-size; }
.faq > .rise .h2 { font-size: min(clamp(40px, 7.8vw, 100px), 17.5cqi); }
html[lang="fa"] .faq > .rise .h2 { font-size: min(clamp(34px, 6.2vw, 80px), 17.5cqi); }
html[lang="tr"] .faq > .rise .h2 { font-size: min(clamp(40px, 7.8vw, 100px), 14.5cqi); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 26px; } .split { grid-template-columns: 1fr; padding: 24px; } .split.rev > :first-child { order: 0; } }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a { display: grid; gap: 8px; padding: 24px; border-radius: 20px; background: var(--ink-1); border: 1px solid var(--line-2); transition: border-color .2s, transform .2s; }
.related a:hover { border-color: rgba(91, 156, 246, .5); transform: translateY(-2px); }
.related b { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 600; }
.related b svg { width: 16px; height: 16px; color: var(--blue-2); }
html[dir="rtl"] .related b svg { transform: scaleX(-1); }
.related span { font-size: 15px; color: var(--fg-2); }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--blue-2); }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.details > div { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: 20px; background: var(--ink-1); border: 1px solid var(--line-2); }
.details b { font-size: 17px; font-weight: 600; }
.details span { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 900px) { .details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .details { grid-template-columns: 1fr; } }
/* ------------------------------------------------- feature pages, v2 ---
 * The feature pages keep their markup (and their translations); this gives
 * them the home page's look. The opener is centred over a composed picture
 * of the feature, sections are cards, pictures float with no frame, and the
 * clip player sits in the blue panel the home page uses. */
.page-hero { text-align: center; padding: clamp(48px, 8vh, 88px) 0 30px; }
.page-hero::before { inset: -20% -10% auto; height: 760px; background: radial-gradient(40% 50% at 50% 0%, rgba(255, 76, 161, .2), transparent 70%), radial-gradient(55% 60% at 50% 0%, rgba(14, 78, 255, .24), transparent 75%); }
.page-hero .page-hero-grid { justify-items: center; margin-inline: auto; max-width: 900px; }
.page-hero .display { max-width: 17ch; }
html[lang="fa"] .page-hero .display { max-width: 20ch; font-size: clamp(36px, 5vw, 64px); }
.page-hero .lede { max-width: 700px; margin-inline: auto; }
.page-hero .hero-cta { justify-content: center; }
.page-hero .crumbs { margin-bottom: 4px; }
.page-hero .split { text-align: start; }
.page-media { margin-top: clamp(32px, 5vh, 52px); }
/* A composition in the opener, or beside the copy of a section, is open
   space: no card behind it. Inside a section's split the stack fills its
   column. */
.page-media > .stk { max-width: 1180px; }
.split > .stk, .split > .page-media { min-width: 0; }
.split:has(> .stk) { overflow: visible; background: none; border-color: transparent; padding-inline: 0; }
@media (min-width: 901px) { .split:has(> .stk) { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } .split.rev:has(> .stk) { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); } }
.page-hero .split .page-media { margin-top: 0; }
/* The app, whole, in the lit frame the home page uses. */
.win.page-media:not(.player) { padding: 1.5px; border: 0; border-radius: 18px; overflow: hidden; background: var(--frame-grad); box-shadow: -16px 0 40px -12px rgba(255, 76, 161, .5), 16px 0 40px -12px rgba(14, 78, 255, .5); }
.page-media img { width: 100%; height: auto; border-radius: 16.5px; }
.page-media video { width: 100%; height: auto; aspect-ratio: 1600 / 1064; background: #0b0b0b; border-radius: 16px; }
/* A raw picture of the app never sits in a frame of its own any more:
   the composed pictures carry their own depth. */
.split > .win:not(.mentor-mock):not(:has(.chal)), .fsplit .win { padding: 1.5px; border: 0; border-radius: 18px; overflow: hidden; background: var(--frame-grad); box-shadow: -16px 0 40px -12px rgba(255, 76, 161, .5), 16px 0 40px -12px rgba(14, 78, 255, .5); }
.split .win .shot { border-radius: 16.5px; }
.split-copy .lede { font-size: 17.5px; }
.split-copy ul { display: grid; gap: 12px; margin-top: 4px; }
.split-copy li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.55; color: #dcdfe4; }
.split-copy li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: #fff; }
.split-copy li b { color: #fff; }
.stack { gap: 20px; }

/* cards (AI modules, mentor, pricing values, prop presets) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.two { grid-template-columns: 1fr 1fr; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { display: grid; gap: 14px; align-content: start; padding: 28px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--ink-1); }
.card .k { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
html[lang="fa"] .card .k { letter-spacing: 0; text-transform: none; font-size: 14px; }
.card p { font-size: 15.5px; color: var(--fg-2); line-height: 1.6; }
.card .big { font: 900 40px/1.05 var(--display); letter-spacing: -.02em; }
.card .win { padding: 1.5px; border: 0; border-radius: 18px; overflow: hidden; background: var(--frame-grad); box-shadow: -16px 0 40px -12px rgba(255, 76, 161, .5), 16px 0 40px -12px rgba(14, 78, 255, .5); margin-top: 6px; }
.card .win .shot { border-radius: 16.5px; }
.card .win .shot { width: 100%; height: auto; }
@media (max-width: 900px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }

/* steps in a row (mentor) */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flow > div { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 20px; background: var(--ink-1); border: 1px solid var(--line-2); }
.flow .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; font: 700 15px var(--mono); }
.flow .opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }

/* small window chrome some mock-ups still use */
.win-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line-2); background: #0c0d10; font-size: 13px; color: var(--fg-2); }
.win-bar b { color: var(--fg); font-weight: 700; }
.win-bar .sp { flex: 1; }

/* the prop-firm challenge, drawn */
.chal { display: grid; gap: 18px; padding: 26px; background: #0c0d10; }
.chal-top { display: flex; align-items: center; gap: 12px; }
.chal-top img { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.chal-top b { font-size: 17px; }
.chal-top small { display: block; color: var(--fg-3); font-size: 13px; }
.chal-top .sp { flex: 1; }
.chal-bal { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chal-bal b { font: 900 38px/1 var(--display); }
.meter { display: grid; gap: 8px; }
.meter header { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--fg-2); }
.meter header b { font-family: var(--mono); font-weight: 600; color: var(--fg); }
.meter i { position: relative; display: block; height: 8px; border-radius: 4px; background: var(--ink-3); overflow: hidden; direction: ltr; }
.meter i em { position: absolute; inset-block: 0; left: 0; border-radius: 4px; background: var(--blue); }
.meter.is-risk i em { background: #f0a43a; }
.meter.is-bad i em { background: var(--down); }
.chal-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chal-foot div { padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; }
.chal-foot small { display: block; font-size: 12px; color: var(--fg-3); }
.chal-foot b { font: 600 16px var(--mono); }
.split > .win.chal-wrap, .split > .win:has(.chal) { border: 1px solid var(--line); background: #0c0d10; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
@media (max-width: 520px) { .chal-foot { grid-template-columns: 1fr 1fr; } }

/* the mentor review, drawn */
.mentor-mock { border: 1px solid var(--line) !important; background: #0c0d10 !important; border-radius: 18px !important; overflow: hidden !important; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.mentor-mock .mm-body { display: grid; gap: 12px; padding: 22px; min-height: 400px; align-content: start; }
.mm-rate { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; color: var(--fg-2); }
.mm-dots { display: flex; gap: 5px; flex: 1; }
.mm-dots i { flex: 1; height: 8px; border-radius: 3px; background: var(--ink-3); }
.mm-dots i:nth-child(-n+7) { background: rgba(91, 156, 246, .5); }
.mm-dots i.on { background: var(--blue); }
.mm-msg { max-width: 80%; padding: 11px 15px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; }
.mm-msg small { display: block; margin-bottom: 2px; font-size: 12px; color: var(--fg-3); }
.mm-msg.is-them { background: var(--ink-3); border-start-start-radius: 4px; }
.mm-msg.is-you { justify-self: end; background: rgba(41, 98, 255, .22); border-start-end-radius: 4px; }
.mm-task { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; font-size: 14px; color: var(--fg-2); }

/* a column of figures (prop firm, broker sync) */
.ledger { border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: var(--ink-1); }
.ledger div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line-2); font-size: 15.5px; color: var(--fg-2); }
.ledger div:last-child { border-bottom: 0; }
.ledger b { color: var(--fg); font-weight: 700; }

/* moving logos (prop-firm presets) */
.marquee { position: relative; overflow: hidden; padding-block: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: tape 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
@keyframes tape { to { transform: translateX(-50%); } }
.chip-logo { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--ink-1); font-size: 15px; font-weight: 700; color: #d4d7dd; white-space: nowrap; }
.chip-logo img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; background: #fff; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* the features hub */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub a { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line-2); border-radius: 20px; background: var(--ink-1); transition: border-color .2s, transform .2s; }
.hub a:hover { border-color: var(--line); transform: translateY(-3px); }
.hub img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--line-2); }
.hub div { display: grid; gap: 8px; padding: 22px 24px 26px; align-content: start; }
.hub b { font-size: 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.hub b svg { width: 16px; height: 16px; }
.hub span { font-size: 15px; color: var(--fg-2); line-height: 1.55; }
html[dir="rtl"] .hub b svg { transform: scaleX(-1); }
@media (max-width: 980px) { .hub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .hub { grid-template-columns: 1fr; } }

.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge.gold { background: rgba(41, 98, 255, .16); color: var(--blue-2); }
.badge.blue { background: rgba(41, 98, 255, .18); color: var(--blue-2); }
.stat { padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--ink-1); }
.stat small { display: block; font-size: 13px; color: var(--fg-3); }
.stat b { display: block; margin-top: 4px; font: 700 24px/1.15 var(--mono); }
.proof { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.proof p { font-size: 14px; color: var(--fg-3); max-width: 230px; line-height: 1.5; }
.proof p b { display: block; color: var(--fg); font: 700 22px/1.2 var(--mono); }

/* ----------------------------------------------------- the calculator --- */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; overflow: hidden; border-radius: var(--radius-lg); }
.calc-in { display: grid; gap: 22px; padding: 30px; border-inline-end: 1px solid var(--line-2); align-content: start; }
.calc label { display: grid; gap: 10px; font-size: 15px; color: var(--fg-2); }
.calc label span { display: flex; justify-content: space-between; }
.calc label b { font: 600 15px var(--mono); color: var(--fg); }
.calc input[type="range"] { width: 100%; accent-color: var(--blue); }
.calc-out { display: grid; gap: 16px; padding: 30px; align-content: start; }
.calc-out .verdict { font-size: 20px; line-height: 1.45; font-weight: 700; }
.calc-range { font-size: 34px; font-weight: 700; }
.band { position: relative; height: 54px; border-radius: 10px; background: var(--ink-0); border: 1px solid var(--line-2); direction: ltr; }
.band i { position: absolute; top: 10px; bottom: 10px; border-radius: 6px; background: rgba(41, 98, 255, .35); border: 1px solid var(--blue); transition: left .25s var(--ease), width .25s var(--ease); }
.band em { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--down); }
.band span { position: absolute; bottom: -22px; font: 500 12px var(--mono); color: var(--fg-3); transform: translateX(-50%); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-in { border-inline-end: 0; border-bottom: 1px solid var(--line-2); } }

/* ----------------------------------------------------------- reveal ---- */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .fpill, .ppanel.is-in { animation: none; }
  .kf-art img { transition: none; }
}

/* -------------------------------------------------------- lang hint ---- */
.lang-hint { position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); font-family: "Vazirmatn", sans-serif; }
.lang-hint button { font-size: 20px; line-height: 1; color: var(--fg-3); }

/* ------------------------------------------------------------ brokers --- */
.brk { display: grid; gap: 18px; }
.brk-claim { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid rgba(41, 98, 255, .45); border-radius: var(--radius); background: rgba(41, 98, 255, .07); max-width: 860px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.brk-claim b { color: var(--fg); font-size: 16px; }
.brk-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink-1); color: var(--fg-3); }
.brk-search:focus-within { border-color: var(--blue); }
.brk-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--fg); font: inherit; font-size: 16px; outline: none; }
.brk-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.brk-tabs .tab { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--ink-1); color: var(--fg-2); font-size: 14px; font-weight: 600; }
.brk-tabs .tab[aria-selected="true"] { background: var(--ink-3); border-color: #3a414e; color: var(--fg); }
.brk .count { font-size: 14px; color: var(--fg-3); margin: 0; }
.brk section { display: grid; gap: 10px; margin-top: 18px; }
.brk h2 { font-size: 20px; font-weight: 750; font-stretch: 106%; }
.brk .secn { color: var(--fg-3); font-family: var(--mono); font-weight: 500; font-size: 15px; }
.brk .secnote { font-size: 14.5px; color: var(--fg-2); max-width: 80ch; }
.brk .tscroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); }
.brk table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.brk th { padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--ink-1); text-align: start; font-size: 12.5px; font-weight: 600; color: var(--fg-3); }
.brk td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.brk tr:last-child td { border-bottom: 0; }
.brk tbody tr:hover td { background: var(--ink-1); }
.brk th.c, .brk td.c { text-align: center; width: 120px; }
.brk .mk { display: inline-block; margin-inline-end: 4px; padding: 2px 8px; border-radius: 5px; background: var(--ink-3); font-size: 12px; font-weight: 600; color: var(--fg-2); }
.brk .yes { color: var(--up-2); font-weight: 700; }
.brk .no { color: #3f4552; }
.brk .empty, .brk .noneleft { padding: 20px; text-align: center; color: var(--fg-3); }
.brk tr[hidden], .brk [hidden] { display: none; }

/* -------------------------------------------------- comparison pages --- */
.cmp-intro { display: grid; gap: 16px; max-width: 760px; margin-bottom: 40px; }
.compare.cmp th, .compare.cmp td { width: auto; text-align: start; vertical-align: top; }
.compare.cmp thead th { font-size: 14px; color: var(--fg-2); }
.compare.cmp tbody th { font-weight: 600; color: var(--fg); width: 28%; }
.compare.cmp .us { color: var(--fg); background: rgba(41, 98, 255, .1); }
.compare.cmp thead .us { color: var(--blue-2); }
.cmp-honest { display: grid; gap: 16px; max-width: 760px; padding: 32px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--ink-1); }

/* ----------------------------------------------------------- articles ---
 * The long reads (and the blog's posts) keep their own markup; this gives it
 * the site's ink, type and accents. Everything sits under .prose so the
 * article's .note / .related / .faq / .step never meet the site's own. */
.progress-track { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress-bar { height: 100%; width: 0; background: var(--blue); transition: width .08s linear; }
.prose { padding: 40px 0 40px; }
.prose article { padding: 24px 0 64px; }
.prose .narrow, .prose article.narrow { max-width: 760px; margin-inline: auto; }
.prose .crumbs { margin-bottom: 18px; font-size: 14px; color: var(--fg-3); }
.prose .crumbs a:hover { color: var(--fg); }
.prose .blog-post-head { margin-bottom: 30px; }
.prose h1 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; text-wrap: balance; }
.prose .standfirst { margin-top: 20px; font-size: 20px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.prose .byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--fg-3); }
.prose .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-3); }
.prose p, .prose li { color: var(--fg-2); font-size: 17.5px; line-height: 1.75; }
.prose article > p, .prose .blog-post-body > p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--fg); font-weight: 650; }
.prose em { color: var(--fg); }
.prose a:not(.btn) { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { margin: 52px 0 16px; font-size: 28px; line-height: 1.2; font-weight: 750; font-stretch: 106%; letter-spacing: -.015em; color: var(--fg); text-wrap: balance; }
.prose h3 { margin: 30px 0 12px; font-size: 20px; font-weight: 700; color: var(--fg); }
.prose h2:has(> .sec-n), .prose .sec-h { display: flex; align-items: baseline; gap: 12px; }
.prose h2 .sec-n { display: inline-grid; flex: none; place-items: center; width: 30px; height: 30px; transform: translateY(-3px); border-radius: 8px; background: var(--ink-3); color: var(--fg); font: 600 14px var(--mono); }
.prose .tldr, .prose .toc { margin: 32px 0 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
.prose .tldr h2, .prose .toc h2, .prose .toc-title, .prose .related h2 { margin: 0 0 12px; font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.prose .tldr ul, .prose .toc ol { margin: 0; }
.prose .tldr li { font-size: 16px; }
.prose .pull { margin: 36px 0; padding-inline-start: 22px; border-inline-start: 3px solid var(--blue); font-size: 22px; line-height: 1.45; font-weight: 600; color: var(--fg); text-wrap: balance; }
.prose .note, .prose .callout { display: block; margin: 0 0 24px; padding: 18px 22px; border: 1px solid var(--line); border-inline-start: 3px solid var(--blue-2); border-radius: 10px; background: var(--ink-1); }
.prose .callout-warn { border-inline-start-color: var(--down); }
.prose .note p, .prose .callout p { margin: 0; font-size: 16px; }
.prose .tbl-scroll, .prose .table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line-2); border-radius: 10px; }
.prose table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 15px; }
.prose caption { caption-side: top; padding: 14px 16px 10px; text-align: start; font-size: 13px; color: var(--fg-3); }
.prose th, .prose td { padding: 11px 16px; border-bottom: 1px solid var(--line-2); text-align: start; color: var(--fg-2); }
.prose th { background: var(--ink-1); font-size: 12.5px; font-weight: 600; color: var(--fg-3); }
.prose td { font-variant-numeric: tabular-nums; }
.prose tr:last-child td { border-bottom: 0; }
.prose .bad { color: #ff6b77; font-weight: 650; }
.prose .good { color: var(--up-2); font-weight: 650; }
.prose .warn { color: var(--blue-2); font-weight: 650; }
.prose .us { color: var(--fg); background: rgba(41, 98, 255, .1); }
.prose .fail-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 26px 0 30px; }
.prose .fc { padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ink-1); }
.prose .fc .n { font: 700 28px/1 var(--mono); color: var(--fg); }
.prose .fc .t { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.prose .fc .n.good { color: var(--up-2); }
.prose .fc .n.bad { color: #ff6b77; }
.prose .steps { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.prose .step { display: block; position: static; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ink-1); text-align: start; }
.prose .step::after { content: none; }
.prose .hero-fig { margin: 30px 0 8px; }
.prose .hero-fig svg, .prose .hero-fig img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--fg-3); }
.prose .calc-wrap { margin: 34px 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
.prose .calc-head { padding: 22px 26px 0; }
.prose .calc-head h3 { margin: 0 0 6px; }
.prose .calc-head p { margin: 0; font-size: 15px; color: var(--fg-3); }
.prose .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 22px 26px 26px; }
@media (max-width: 720px) { .prose .calc-grid { grid-template-columns: 1fr; } }
.prose .field { margin-bottom: 16px; }
.prose .field label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.prose .field output { font: 600 15px var(--mono); color: var(--fg); }
.prose .field input[type=range] { width: 100%; accent-color: var(--blue); }
.prose .field input[type=number] { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--ink-0); color: var(--fg); font: 500 15px var(--mono); }
.prose .readout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 10px; background: var(--line-2); }
.prose .ro { padding: 12px 14px; background: var(--ink-0); }
.prose .ro.wide { grid-column: 1 / -1; }
.prose .ro .k { display: block; font-size: 12px; color: var(--fg-3); }
.prose .ro .v { display: block; margin-top: 3px; font: 700 22px/1.15 var(--mono); color: var(--fg); }
.prose .surv { margin-bottom: 14px; }
.prose .surv-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; color: var(--fg-3); }
.prose .surv-track { height: 8px; overflow: hidden; border-radius: 4px; background: var(--ink-3); }
.prose .surv-fill { height: 100%; border-radius: 4px; transition: width .2s; }
.prose .surv-fill.v-good { background: var(--up); }
.prose .surv-fill.v-warn { background: var(--blue-2); }
.prose .surv-fill.v-bad { background: var(--down); }
.prose .verdict, .prose .calc-verdict { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.prose .v-good.verdict, .prose .calc-verdict.v-good { border-color: rgba(34, 171, 148, .45); background: rgba(34, 171, 148, .08); color: #9fe6d6; }
.prose .v-warn.verdict, .prose .calc-verdict.v-warn { border-color: rgba(41, 98, 255, .45); background: rgba(41, 98, 255, .08); color: #b9d2ff; }
.prose .v-bad.verdict, .prose .calc-verdict.v-bad { border-color: rgba(242, 54, 69, .45); background: rgba(242, 54, 69, .08); color: #ffb3b9; }
.prose .calc-foot { padding: 0 26px 22px; font-size: 13px; color: var(--fg-3); }
.prose .faq { display: block; }
.prose .faq details { border-bottom: 1px solid var(--line-2); }
.prose .faq summary { padding: 16px 0; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--fg); }
.prose .related { display: block; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.prose .related nav { display: grid; gap: 9px; }
.prose .related a { display: inline; padding: 0; border: 0; background: none; }
.prose .post-cta, .prose .cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
.prose .read-next { margin-top: 44px; }
.prose .read-next { display: grid; gap: 12px; }
.prose .blog-card { display: block; padding: 0; text-decoration: none !important; }
.prose .blog-card .blog-card-date { margin: 0; font: 500 12px var(--mono); letter-spacing: .06em; color: var(--fg-3); }
.prose .blog-card h3, .prose .blog-card h2 { margin: 0; font-size: 19px; }
.prose .blog-card .blog-card-excerpt { margin: 0; font-size: 15px; line-height: 1.6; }
.prose .disclaim { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13px; line-height: 1.6; color: var(--fg-3); }

/* ------------------------------------------------------------- learn ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog-card { display: grid; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--ink-1); transition: border-color .15s, transform .15s; }
.blog-card:hover { border-color: var(--line); transform: translateY(-2px); }
.blog-card-cover { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line-2); }
.blog-card-body { display: grid; gap: 10px; padding: 22px; align-content: start; }
.blog-card-date { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.blog-card h2, .blog-card h3 { font-size: 20px; line-height: 1.25; font-weight: 700; font-stretch: 104%; }
.blog-card-excerpt { font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.blog-empty { grid-column: 1 / -1; padding: 24px; text-align: center; color: var(--fg-3); }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.prose .crumbs a:not(.btn), .prose .toc a:not(.btn) { color: var(--fg-2); text-decoration: none; }
.prose .crumbs a:not(.btn):hover, .prose .toc a:not(.btn):hover { color: var(--fg); text-decoration: underline; }

/* --------------------------------------------------------- learn hub ---- */
[data-blog-more][hidden] { display: none; }
.ln-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: end; }
.ln-hero > div { display: grid; gap: 24px; }
.ln-hero .lede { max-width: 60ch; }
.ln-jump { display: grid; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--ink-1); overflow: hidden; }
.ln-jump a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; font-size: 15px; font-weight: 600; color: var(--fg); }
.ln-jump a + a { border-top: 1px solid var(--line-2); }
.ln-jump a:hover { background: var(--ink-2); }
.ln-jump b { font: 700 22px var(--mono); color: var(--fg); }
.ln-jump svg { color: var(--fg-3); }
html[dir="rtl"] .ln-jump svg, html[dir="rtl"] .ln-go svg { transform: scaleX(-1); }

.ln-cover { display: block; background: var(--ink-0); }
.ln-cover svg { display: block; width: 100%; height: auto; direction: ltr; }
.lc-rule, .lc-axis { stroke: #2a303b; fill: none; }
.lc-t { font: 500 14px var(--sans); fill: var(--fg-3); }
.lc-h { font: 700 24px var(--sans); fill: var(--fg); }
.lc-n { font: 600 15px var(--mono); fill: var(--fg); }
.lc-up { fill: var(--up-2); }
.lc-down { fill: #ff6b77; }
.lc-dim { fill: var(--fg-3); font-weight: 500; font-size: 13px; }

.ln-feature, .ln-card, .ln-tool { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--ink-1); overflow: hidden; transition: border-color .15s, transform .15s; }
.ln-feature:hover, .ln-card:hover, .ln-tool:hover { border-color: var(--line); transform: translateY(-2px); }
.ln-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ln-feature .ln-cover { display: grid; align-items: center; border-inline-end: 1px solid var(--line-2); }
.ln-card { display: grid; grid-template-rows: auto 1fr; }
.ln-card .ln-cover { border-bottom: 1px solid var(--line-2); }
.ln-body { display: grid; gap: 14px; align-content: start; padding: 28px; }
.ln-feature .ln-body { align-content: center; padding: 36px; gap: 16px; }
.ln-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.ln-meta .tag { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
html[lang="fa"] .ln-meta { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }
.ln-feature h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.14; font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; text-wrap: balance; }
.ln-card h3 { font-size: 23px; line-height: 1.2; font-weight: 750; font-stretch: 106%; letter-spacing: -.01em; text-wrap: balance; }
html[lang="fa"] .ln-feature h2, html[lang="fa"] .ln-card h3 { font-stretch: 100%; letter-spacing: 0; line-height: 1.4; }
.ln-body p { font-size: 16px; line-height: 1.6; color: var(--fg-2); }
.ln-points { display: grid; gap: 8px; padding: 14px 0; border-block: 1px solid var(--line-2); }
.ln-points span { position: relative; padding-inline-start: 18px; font-size: 14.5px; line-height: 1.5; color: var(--fg); }
.ln-points span::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 7px; height: 2px; background: var(--fg-3); }
.ln-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--blue-2); }
.ln-go svg { transition: transform .15s; }
a:hover > * > .ln-go svg, a:hover > .ln-go svg { transform: translateX(3px); }
html[dir="rtl"] a:hover > * > .ln-go svg, html[dir="rtl"] a:hover > .ln-go svg { transform: scaleX(-1) translateX(3px); }
.ln-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }

.ln-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.ln-tool { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 12px; padding: 24px; }
.ln-tool .k { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
html[lang="fa"] .ln-tool .k { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }
.ln-tool b { font-size: 19px; line-height: 1.3; font-weight: 700; text-wrap: balance; }
.ln-tool .in { font-size: 14px; line-height: 1.55; color: var(--fg-3); }
.ln-tool .eg { padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--ink-0); font: 500 13px/1.5 var(--mono); color: var(--fg); }
html[lang="fa"] .ln-tool .eg { font-family: var(--sans); font-size: 14px; }

.ln-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ln-index a { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--ink-1); font-size: 14px; font-weight: 600; color: var(--fg-2); }
.ln-index a:hover { border-color: var(--line); color: var(--fg); }
.ln-gloss { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--line-2); }
.ln-gloss > div { display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; padding: 28px; background: var(--ink-1); scroll-margin-top: 96px; transition: background .3s; }
.ln-gloss > div:target { background: var(--ink-2); }
.ln-gloss h3 { font-size: 20px; font-weight: 700; }
.ln-gloss p { font-size: 15.5px; line-height: 1.6; color: var(--fg-2); }
.ln-gloss .eg { padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--ink-0); font: 500 13.5px/1.5 var(--mono); color: var(--fg); }
html[lang="fa"] .ln-gloss .eg { font-family: var(--sans); font-size: 14.5px; }
.ln-gloss .link { justify-self: start; font-size: 14.5px; }

@media (max-width: 1000px) {
  .ln-hero { grid-template-columns: 1fr; gap: 32px; }
  .ln-jump { max-width: 460px; }
  .ln-feature { grid-template-columns: 1fr; }
  .ln-feature .ln-cover { border-inline-end: 0; border-bottom: 1px solid var(--line-2); }
  .ln-tools { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ln-grid, .ln-gloss { grid-template-columns: 1fr; }
  .ln-body, .ln-feature .ln-body { padding: 22px; }
  .ln-gloss > div { padding: 22px; }
}
/* Persian labels inside the (left-to-right) charts: right-to-left text,
   anchored so it still grows away from its edge of the chart. */
html[dir="rtl"] .ln-cover .lc-s, html[dir="rtl"] .ln-cover .lc-e { direction: rtl; unicode-bidi: embed; }
html[dir="rtl"] .ln-cover .lc-s { text-anchor: end; }
html[dir="rtl"] .ln-cover .lc-e { text-anchor: start; }


/* --------------------------------------------------------- legal pages ---
 * Privacy, terms and account deletion: a document column and a table of
 * contents that stays in view. Plain on purpose — nothing here sells. */
.legal { padding: 64px 0 96px; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 92px; display: grid; gap: 12px; font-size: 14px; }
.legal-toc b { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
html[lang="fa"] .legal-toc b { font-family: var(--sans); letter-spacing: 0; font-size: 13px; text-transform: none; }
.legal-toc nav { display: grid; gap: 2px; padding-inline-start: 12px; border-inline-start: 1px solid var(--line-2); }
.legal-toc nav a { padding: 5px 0; line-height: 1.4; color: var(--fg-2); }
.legal-toc nav a:hover { color: var(--fg); }
.legal-toc p { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--fg-3); }
.legal-toc p a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; font-weight: 800; font-stretch: 108%; letter-spacing: -.02em; }
html[lang="fa"] .legal-doc h1 { font-stretch: 100%; letter-spacing: 0; line-height: 1.3; }
.legal-doc .updated { margin: 12px 0 28px; font-size: 14px; color: var(--fg-3); }
.legal-doc h2 { margin: 44px 0 12px; font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--fg); scroll-margin-top: 92px; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.75; color: var(--fg-2); }
.legal-doc p + p { margin-top: 14px; }
.legal-doc ul { display: grid; gap: 8px; margin: 10px 0; padding-inline-start: 22px; }
.legal-doc strong, .legal-doc b { color: var(--fg); font-weight: 650; }
.legal-doc a:not(.btn) { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc .tbl { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line-2); border-radius: 10px; }
.legal-doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.legal-doc th, .legal-doc td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: start; vertical-align: top; line-height: 1.55; color: var(--fg-2); }
.legal-doc th { background: var(--ink-1); font-size: 13px; font-weight: 600; color: var(--fg); }
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-doc .contact-box { margin-top: 12px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ink-1); font-size: 16px; color: var(--fg-2); }

/* account deletion */
.da-card { display: grid; gap: 4px; margin: 24px 0; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--ink-1); }
.da-card.is-warn { border-color: rgba(242, 54, 69, .35); background: rgba(242, 54, 69, .06); }
.da-card > b { font-size: 16px; }
.da-card label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: var(--fg-3); }
.da-card input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--ink-0); color: var(--fg); font: 400 15px var(--sans); }
.da-card input:focus { outline: 2px solid var(--blue-2); outline-offset: 1px; border-color: transparent; }
.da-card .btn { width: 100%; margin-top: 16px; }
.da-danger { background: var(--down); color: #fff; }
.da-danger:hover:not([disabled]) { background: #d92b3a; }
.da-card .btn[disabled] { opacity: .45; cursor: not-allowed; }
.da-card .msg { display: none; margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.da-card .msg.err { display: block; border: 1px solid rgba(242, 54, 69, .4); background: rgba(242, 54, 69, .1); color: #ff8b95; }
.da-card .msg.ok { display: block; border: 1px solid rgba(34, 171, 148, .4); background: rgba(34, 171, 148, .1); color: #7fe0cb; }
.da-card [hidden] { display: none !important; }

/* one note from the database (blog-post.html) */
.prose .blog-post-cover { width: 100%; margin-bottom: 26px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.prose .blog-post-head .blog-card-date { display: block; margin-top: 12px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.prose .blog-empty { padding: 40px 0; color: var(--fg-3); }

@media (max-width: 900px) {
  .legal { padding-top: 40px; }
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; }
}
.legal-doc h1 + p { margin-top: 16px; }
/* A wide table inside a grid column must scroll in its own box: without
   min-width 0 the column grows to the table and the whole page scrolls
   sideways on a phone. */
.legal-grid > * { min-width: 0; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } }
/* The cover charts are drawn at 640 units wide; on a phone that is half
   size, so their words are set larger to stay readable. */
@media (max-width: 620px) {
  .lc-t { font-size: 21px; }
  .lc-t.lc-cap { font-size: 18px; } /* two captions share one row */
  .lc-n { font-size: 22px; }
  .lc-h { font-size: 34px; }
  .lc-dim { font-size: 20px; }
}
/* A feature page whose opener is copy beside a drawn mock (Prop Firm,
   Mentor) keeps its copy left-aligned, buttons included. */
.page-hero .split .hero-cta, .page-hero .split .crumbs { justify-content: flex-start; }
.page-hero .split .display { max-width: none; }
.proof p b { font-family: var(--display); font-weight: 900; }

/* ------------------------------------------------ Learn, fourth design ---
 * TradingView's blog in the site's black and galaxy: a large centred title,
 * the subjects as round tabs, the newest read beside its cover, the rest as a
 * grid of covers with their subject on them. */
.ln5-hero { padding: clamp(56px, 9vh, 104px) 0 28px; text-align: center; }
.ln5-hero .wrap { display: grid; justify-items: center; gap: 22px; }
.ln5-title { max-width: 16ch; font: 600 clamp(44px, 6.6vw, 104px)/1.02 var(--display); letter-spacing: -.025em; text-wrap: balance; }
html[lang="fa"] .ln5-title { font-weight: 800; letter-spacing: 0; line-height: 1.3; font-size: clamp(36px, 5.2vw, 76px); }
.ln5-hero .desc { max-width: 820px; }
.ln5-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; padding: 5px; border-radius: 999px; background: #0d0d0f; border: 1px solid #262626; }
.ln5-cats button, .ln5-cats a { height: 40px; padding: 0 18px; border-radius: 999px; font: 500 15.5px/40px var(--sans); color: var(--fg-2); white-space: nowrap; transition: background .2s, color .2s; }
.ln5-cats button:hover, .ln5-cats a:hover { background: #1f1f1f; color: #fff; }
.ln5-cats button[aria-pressed="true"] { background: linear-gradient(100deg, #00a7d6, #2962ff 50%, #b100f0); color: #fff; box-shadow: 0 0 22px rgba(80, 90, 255, .45); }
.ln5-img { position: relative; display: block; overflow: hidden; border-radius: 22px; border: 1px solid #262626; background: #000; }
.ln5-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
a:hover > .ln5-img img { transform: scale(1.03); }
.ln5-tag { position: absolute; inset-inline-start: 14px; bottom: 14px; padding: 7px 12px; border-radius: 8px; background: #000c; border: 1px solid #ffffff22; font: 600 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; backdrop-filter: blur(6px); }
html[lang="fa"] .ln5-tag { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.ln5-feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.ln5-ftxt { display: grid; gap: 16px; align-content: center; }
.ln5-ftxt h2 { font: 600 clamp(32px, 3.6vw, 58px)/1.08 var(--display); letter-spacing: -.02em; text-wrap: balance; }
html[lang="fa"] .ln5-ftxt h2 { font-weight: 800; letter-spacing: 0; line-height: 1.35; }
.ln5-ftxt p { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 54ch; }
.ln5-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--fg-3); }
.ln5-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(48px, 6vw, 80px); }
.ln5-card { display: grid; align-content: start; gap: 14px; }
.ln5-card h3 { font: 600 clamp(20px, 1.7vw, 25px)/1.25 var(--display); text-wrap: balance; }
.ln5-card p { font-size: 15.5px; line-height: 1.6; color: var(--fg-3); }
.ln5-card:hover h3, .ln5-feat:hover h2 { color: #9db8ff; }
[data-cat][hidden] { display: none !important; }
@media (max-width: 980px) { .ln5-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .ln5-feat { grid-template-columns: 1fr; } .ln5-grid { grid-template-columns: 1fr; } .ln5-cats { border-radius: 22px; } }

/* -------------------------------------------- an article, fourth design ---
 * TradingView's article page and the layout the founder showed from FX
 * Replay: LEARN / SUBJECT / TITLE, the subject as a tag, a large title, the
 * cover, the text between a share rail and the table of contents, and a
 * gradient call to action at the end. */
.prose.art { padding-top: 28px; }
.art-layout { display: grid; grid-template-columns: 56px minmax(0, 760px) 260px; justify-content: center; gap: 0 48px; align-items: start; }
.art-layout > article { grid-column: 2; }
/* The article fills its column. Centred with auto margins it was sized to its
   content instead, and a table's 440px minimum made it 442px wide on a 390px
   phone: body clips sideways overflow, so 72px of every line was cut off
   (2026-10-08 — on every article with a table, in both directions). */
.art-layout > article { width: 100%; }
.art-share { grid-column: 1; grid-row: 1; position: sticky; top: 140px; display: grid; gap: 10px; margin-top: 360px; }
.art-share a, .art-share button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #262626; background: #0d0d0f; color: var(--fg-2); transition: border-color .2s, color .2s; }
.art-share a:hover, .art-share button:hover { border-color: #6b5bff; color: #fff; }
.art-share svg { width: 19px; height: 19px; }
.art-share button.is-done { border-color: var(--up-2); color: var(--up-2); }
.art-toc { grid-column: 3; grid-row: 1; position: sticky; top: 140px; margin-top: 360px; max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; }
.art-toc p { margin-bottom: 14px; font: 600 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.art-toc nav { display: grid; gap: 2px; border-inline-start: 1px solid #262626; }
.art-toc a { display: block; padding: 8px 0 8px 16px; margin-inline-start: -1px; border-inline-start: 2px solid transparent; font-size: 14.5px; line-height: 1.45; color: var(--fg-3); }
.art-toc a:hover { color: #fff; }
.art-toc a[aria-current="true"] { color: #fff; border-inline-start-color: #7c4dff; }
.art-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font: 500 13.5px/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.art-crumbs a { color: var(--fg-2); }
.art-crumbs a:hover { color: #fff; }
.art-tag { display: inline-block; padding: 7px 12px; border-radius: 8px; background: #fff; color: #000; font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.prose.art h1 { margin-top: 18px; font: 600 clamp(38px, 5vw, 66px)/1.06 var(--display); letter-spacing: -.02em; font-stretch: 100%; }
.prose.art .standfirst { font-size: clamp(19px, 1.6vw, 22px); color: var(--fg-2); }
.art-cover { margin: 8px 0 44px; }
.art-cover img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid #262626; box-shadow: 0 40px 100px rgba(0, 0, 0, .8), 0 0 80px rgba(124, 77, 255, .12); }
/* The call to action: a deep blue card with a rising line along its foot. */
.prose .post-cta, .prose .cta-band { position: relative; display: grid; gap: 14px; justify-items: start; margin: 60px 0 40px; padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(80px, 9vw, 120px); overflow: hidden; border: 1px solid #2c3f8f; border-radius: 26px;
  background: radial-gradient(90% 120% at 0% 0%, #13235a, #070b1c 60%), #070b1c; box-shadow: 0 0 0 1px rgba(41, 98, 255, .15), 0 40px 100px rgba(0, 0, 0, .7); }
.prose .post-cta::after, .prose .cta-band::after { content: ""; position: absolute; inset: auto 0 0 32%; height: 62%; pointer-events: none; opacity: .9; background: url("/shots/site/covers/cta-line.svg") no-repeat bottom right / 100% 100%; }
.prose .post-cta > *, .prose .cta-band > * { position: relative; z-index: 1; }
.prose .post-cta h2, .prose .post-cta h3, .prose .cta-band h2, .prose .cta-band h3 { margin: 0; font: 600 clamp(26px, 3vw, 40px)/1.15 var(--display); letter-spacing: -.015em; color: #fff; max-width: 22ch; }
.prose .post-cta p, .prose .cta-band p { margin: 0; color: #c7d2f0; max-width: 52ch; }
.prose .post-cta p:has(.btn), .prose .cta-band p:has(.btn) { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 1180px) { .art-layout { grid-template-columns: minmax(0, 760px) 240px; gap: 0 40px; } .art-share { display: none; } .art-layout > article { grid-column: 1; } .art-toc { grid-column: 2; } }
@media (max-width: 900px) { .art-layout { grid-template-columns: minmax(0, 1fr); } .art-toc { display: none; } }

/* The rails and the crumbs are navigation, not links in the text. */
.prose.art .art-toc a, .prose.art .art-crumbs a, .prose.art .art-share a { text-decoration: none; }
.prose.art .art-toc a { color: var(--fg-3); }
.prose.art .art-toc a:hover, .prose.art .art-toc a[aria-current="true"] { color: #fff; }
/* A Persian article (2026-10-08). Letter-spacing pulls Persian's joined
   letters apart and uppercase means nothing in it, so the article's labels and
   headings drop both; the contents list is indented from its start edge. */
/* .art alone means an illustration and is set left to right (line 83); the
   article wrapper shares the name, so a Persian article turns it back. */
html[dir="rtl"] .prose.art { direction: rtl; }
html[lang="fa"] .prose h1, html[lang="fa"] .prose.art h1 { letter-spacing: 0; line-height: 1.35; font-weight: 800; }
html[lang="fa"] .prose h2 { letter-spacing: 0; line-height: 1.45; }
html[lang="fa"] .prose h3 { line-height: 1.5; }
html[lang="fa"] .art-crumbs, html[lang="fa"] .art-tag, html[lang="fa"] .art-toc p,
html[lang="fa"] .prose .tldr h2, html[lang="fa"] .prose .related h2 { letter-spacing: 0; text-transform: none; font-family: var(--display); }
html[lang="fa"] .prose .tldr h2, html[lang="fa"] .prose .related h2 { font-size: 15px; }
html[dir="rtl"] .art-toc a { padding: 8px 16px 8px 0; }
html[lang="fa"] .prose p, html[lang="fa"] .prose li { line-height: 1.95; }
/* A worked formula on a line of its own, never broken across two. */
.prose .formula { padding: 14px 18px; overflow-x: auto; white-space: nowrap; text-align: center; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ink-1); }
.prose .formula .num { font-size: 17px; color: var(--fg); }
@media (max-width: 420px) { .prose .formula { padding: 12px; } .prose .formula .num { font-size: 15px; } }
/* The rising line under the call to action peaks at the top right, beside a
   short English heading. Persian text starts at the right, so there it runs
   the card's full width inside the bottom padding instead — still rising to
   the right: a chart read the other way round is a falling one. */
html[dir="rtl"] .prose .post-cta::after, html[dir="rtl"] .prose .cta-band::after { inset: auto 0 0 0; height: clamp(64px, 8vw, 104px); }
.prose .num { white-space: nowrap; }
.prose .dl-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin: 28px 0; padding: 22px 24px; border: 1px solid #2c3f8f; border-radius: var(--radius); background: linear-gradient(135deg, rgba(41, 98, 255, .14), rgba(213, 0, 249, .06)), var(--ink-1); }
.prose .dl-card .dl-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #107c41; color: #fff; }
.prose .dl-card .dl-ico svg { width: 30px; height: 30px; }
.prose .dl-card b { display: block; color: var(--fg); font-size: 18px; }
.prose .dl-card span { color: var(--fg-3); font-size: 14.5px; }
@media (max-width: 640px) { .prose .dl-card { grid-template-columns: auto 1fr; } .prose .dl-card .btn { grid-column: 1 / -1; justify-self: start; } }
.prose.art .art-crumbs a { color: var(--fg-2); }
.prose.art .art-share a { color: var(--fg-2); }
